Skip to content

Commit fdd2f33

Browse files
committed
Move __init__ from src/MaxText to src/maxtext
1 parent 78ad983 commit fdd2f33

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling", "hatch-requirements-txt"]
33
build-backend = "hatchling.build"
44

55
[tool.hatch.version]
6-
path = "src/MaxText/__init__.py"
6+
path = "src/maxtext/__init__.py"
77

88
[project]
99
name = "maxtext"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023–2025 Google LLC
1+
# Copyright 2023–2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

src/maxtext/experimental/rl/grpo_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
from ml_goodput_measurement.src.goodput import GoodputRecorder
6868

69-
import MaxText as mt
69+
import maxtext as mt
7070
from maxtext.configs import pyconfig
7171
from maxtext.utils.globals import EPS
7272
from maxtext.trainers.pre_train.train import get_first_step

tests/integration/grpo_trainer_correctness_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import jax.numpy as jnp
3535
from jax.sharding import Mesh
3636
import jsonlines
37-
import MaxText as mt
37+
import maxtext as mt
3838
from maxtext.configs import pyconfig
3939
from maxtext.utils.globals import MAXTEXT_ASSETS_ROOT, MAXTEXT_PKG_DIR, MAXTEXT_TEST_ASSETS_ROOT
4040
from maxtext.common.common_types import MODEL_MODE_TRAIN

tests/unit/engram_vs_reference_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
from jax.sharding import Mesh
4747

4848
from maxtext.configs import pyconfig
49-
from MaxText import maxtext_utils
49+
from maxtext import maxtext_utils
5050

5151
from maxtext.layers.engram import CompressedTokenizer as CompressedTokenizerJAX
5252
from maxtext.layers.engram import NgramHashMapping as NgramHashMappingJAX

tests/unit/moba_vs_reference_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import torch
3232
from jax.sharding import Mesh
3333

34-
from MaxText import maxtext_utils, pyconfig
34+
from maxtext import maxtext_utils, pyconfig
3535
from maxtext.layers.attention_op import AttentionOp
3636
from tests.utils.test_helpers import get_test_config_path
3737

tests/unit/sharding_compare_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import os
2020
import jax
2121
import jax.numpy as jnp
22-
from MaxText import maxtext_utils
22+
from maxtext import maxtext_utils
2323
from maxtext.configs import pyconfig
2424
# import optax
2525

tests/utils/sharding_dump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import jax
2727
from jax.sharding import NamedSharding, PartitionSpec
2828
from jax.tree_util import tree_flatten_with_path
29-
from MaxText import maxtext_utils
29+
from maxtext import maxtext_utils
3030
from maxtext.configs import pyconfig
3131

3232
from maxtext.utils.globals import MAXTEXT_REPO_ROOT

0 commit comments

Comments
 (0)