Skip to content

Commit f2909cd

Browse files
committed
upgrade maxext
1 parent a15fc00 commit f2909cd

3 files changed

Lines changed: 84 additions & 64 deletions

File tree

.github/workflows/run_tests_against_package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,9 @@ jobs:
9797
export MAXTEXT_ASSETS_ROOT=$(pwd)/src/MaxText/assets
9898
export MAXTEXT_TEST_ASSETS_ROOT=$(pwd)/src/MaxText/test_assets
9999
export MAXTEXT_PKG_DIR=$(pwd)/src/MaxText
100+
# omit this libtpu init args for gpu tests
101+
if [ "${{ inputs.device_type }}" != "cuda12" ]; then
102+
export LIBTPU_INIT_ARGS='--xla_tpu_scoped_vmem_limit_kib=65536'
103+
fi
100104
# TODO: Fix the skipped tests and remove the deselect flags
101105
.venv/bin/python3 -m pytest ${{ inputs.pytest_addopts }} -v -m "${FINAL_PYTEST_MARKER}" --durations=0 --deselect "tests/aot_hlo_identical_test.py::AotHloIdenticalTest::test_default_hlo_match" --deselect "tests/tokenizer_test.py::TokenizerTest::test_detokenize"

base_requirements/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ google-cloud-aiplatform
1111
google-cloud-monitoring
1212
grain[parquet]
1313
huggingface_hub
14-
jax!=0.7.1, !=0.7.2
15-
jaxlib!=0.7.1, !=0.7.2
14+
jax
15+
jaxlib
1616
jaxtyping
1717
jsonlines
1818
ml-collections
@@ -36,6 +36,7 @@ tensorflow-datasets
3636
tensorflow-text
3737
tensorflow
3838
tiktoken
39+
tokamax
3940
transformers
4041
qwix
4142
google-jetstream @ https://github.com/AI-Hypercomputer/JetStream/archive/29329e8e73820993f77cfc8efe34eb2a73f5de98.zip

generated_requirements/tpu-requirements.txt

Lines changed: 77 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,36 @@
22
# If you need to modify dependencies, please do so in the host requirements file and run seed-env again.
33

44
absl-py>=2.3.1
5-
aiofiles>=24.1.0
5+
aiofiles>=25.1.0
66
aiohappyeyeballs>=2.6.1
7-
aiohttp>=3.13.0
7+
aiohttp>=3.13.1
88
aiosignal>=1.4.0
99
annotated-types>=0.7.0
1010
antlr4-python3-runtime>=4.9.3
1111
anyio>=4.11.0
1212
aqtp>=0.9.0
1313
array-record>=0.8.1
14-
astroid>=3.3.11
14+
astroid>=4.0.1
1515
astunparse>=1.6.3
16-
attrs>=25.3.0
17-
auditwheel>=6.4.1
16+
attrs>=25.4.0
17+
auditwheel>=6.4.2
1818
black>=24.10.0
1919
blobfile>=3.1.0
20-
build>=1.2.2.post1
21-
cachetools>=6.2.0
20+
build>=1.3.0
21+
cachetools>=6.2.1
2222
certifi>=2025.10.5
23-
cffi>=2.0.0 ; platform_python_implementation == 'PyPy'
2423
cfgv>=3.4.0
25-
charset-normalizer>=3.4.3
26-
chex>=0.1.90
24+
charset-normalizer>=3.4.4
25+
cheroot>=11.0.0
26+
chex>=0.1.91
2727
click>=8.3.0
2828
cloud-accelerator-diagnostics>=0.1.1
2929
cloud-tpu-diagnostics>=0.1.5
3030
cloudpickle>=3.1.1
3131
clu>=0.0.12
3232
colorama>=0.4.6
33-
contourpy>=1.3.2
34-
coverage>=7.10.7
33+
contourpy>=1.3.3
34+
coverage>=7.11.0
3535
cycler>=0.12.1
3636
datasets>=4.2.0
3737
decorator>=5.2.1
@@ -41,82 +41,90 @@ dm-tree>=0.1.9
4141
docstring-parser>=0.17.0
4242
editdistance>=0.8.1
4343
einops>=0.8.1
44+
einshape>=1.0
4445
etils>=1.13.0
4546
evaluate>=0.4.6
4647
execnet>=2.1.1
47-
fastapi>=0.118.2
48-
filelock>=3.18.0
49-
flatbuffers>=25.2.10
50-
flax>=0.11.2
51-
fonttools>=4.59.0
48+
fastapi>=0.119.1
49+
filelock>=3.20.0
50+
flatbuffers>=25.9.23
51+
flax>=0.12.0
52+
fonttools>=4.60.1
5253
frozenlist>=1.8.0
53-
fsspec>=2025.7.0
54+
fsspec>=2025.9.0
5455
gast>=0.6.0
55-
gcsfs>=2025.7.0
56+
gcsfs>=2025.9.0
5657
google-api-core>=2.26.0
57-
google-api-python-client>=2.184.0
58+
google-api-python-client>=2.185.0
5859
google-auth-httplib2>=0.2.0
5960
google-auth-oauthlib>=1.2.2
6061
google-auth>=2.41.1
61-
google-cloud-aiplatform>=1.120.0
62-
google-cloud-appengine-logging>=1.6.2
63-
google-cloud-audit-log>=0.3.3
62+
google-benchmark>=1.9.4
63+
google-cloud-aiplatform>=1.121.0
64+
google-cloud-appengine-logging>=1.7.0
65+
google-cloud-audit-log>=0.4.0
6466
google-cloud-bigquery>=3.38.0
6567
google-cloud-core>=2.4.3
6668
google-cloud-logging>=3.12.1
67-
google-cloud-monitoring>=2.27.2
68-
google-cloud-resource-manager>=1.14.2
69+
google-cloud-monitoring>=2.28.0
70+
google-cloud-resource-manager>=1.15.0
6971
google-cloud-storage>=2.19.0
7072
google-crc32c>=1.7.1
71-
google-genai>=1.42.0
73+
google-genai>=1.45.0
74+
google-jetstream @ https://github.com/AI-Hypercomputer/JetStream/archive/daedc21c393f23449fb54ddc4f75fca34348ea9c.zip
7275
google-pasta>=0.2.0
7376
google-resumable-media>=2.7.2
74-
google-tunix>=0.1.1
75-
googleapis-common-protos>=1.70.0
76-
grain>=0.2.12
77-
grpc-google-iam-v1>=0.14.2
77+
google-tunix>=0.1.3
78+
googleapis-common-protos>=1.71.0
79+
grain>=0.2.13
80+
grpc-google-iam-v1>=0.14.3
7881
grpcio-status>=1.71.2
7982
grpcio>=1.75.1
8083
gviz-api>=1.10.0
8184
h11>=0.16.0
82-
h5py>=3.14.0
85+
h5py>=3.15.1
86+
hf-transfer>=0.1.9
8387
hf-xet>=1.1.10 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
8488
httpcore>=1.0.9
8589
httplib2>=0.31.0
8690
httpx>=0.28.1
8791
huggingface-hub>=0.35.3
88-
humanize>=4.13.0
89-
hypothesis>=6.136.4
92+
humanize>=4.14.0
93+
hypothesis>=6.142.1
9094
identify>=2.6.15
91-
idna>=3.10
92-
immutabledict>=4.2.1
95+
idna>=3.11
96+
immutabledict>=4.2.2
9397
importlab>=0.8.1
9498
importlib-metadata>=8.7.0
9599
importlib-resources>=6.5.2
96100
iniconfig>=2.1.0
97-
isort>=6.1.0
98-
jax>=0.7.0, !=0.7.1, !=0.7.2
99-
jaxlib>=0.7.0, !=0.7.1, !=0.7.2
101+
isort>=7.0.0
102+
jaraco-functools>=4.3.0
103+
jax-triton>=0.3.0
104+
jax>=0.8.0
105+
jaxlib>=0.8.0
100106
jaxtyping>=0.3.3
101107
jinja2>=3.1.6
102108
joblib>=1.5.2
103109
jsonlines>=4.0.0
104110
kagglehub>=0.3.13
105111
keras>=3.11.3
106-
kiwisolver>=1.4.8
112+
kiwisolver>=1.4.9
107113
libclang>=18.1.1
108114
libcst>=1.8.5
109-
libtpu>=0.0.19
115+
libtpu>=0.0.24 ; platform_machine == 'x86_64' and sys_platform == 'linux'
116+
llvmlite>=0.45.1
110117
lxml>=6.0.2
111-
markdown-it-py>=3.0.0
118+
markdown-it-py>=4.0.0
112119
markdown>=3.9
113120
markupsafe>=3.0.3
114-
matplotlib>=3.10.3
121+
matplotlib>=3.10.7
115122
mccabe>=0.7.0
116123
mdurl>=0.1.2
117124
ml-collections>=1.1.0
118125
ml-dtypes>=0.5.3
119126
ml-goodput-measurement>=0.0.15
127+
mlperf-logging @ https://github.com/mlcommons/logging/archive/38ab22670527888c8eb7825a4ece176fcc36a95d.zip
120128
more-itertools>=10.8.0
121129
mpmath>=1.3.0
122130
msgpack>=1.1.2
@@ -130,20 +138,23 @@ networkx>=3.5
130138
ninja>=1.13.0
131139
nltk>=3.9.2
132140
nodeenv>=1.9.1
141+
numba>=0.62.1
142+
numpy-typing-compat>=20250818.2.0
133143
numpy>=2.0.2
134144
oauthlib>=3.3.1
135145
omegaconf>=2.3.0
136-
opentelemetry-api>=1.37.0
146+
opentelemetry-api>=1.38.0
137147
opt-einsum>=3.4.0
138148
optax>=0.2.6
139149
optree>=0.17.0
150+
optype>=0.14.0
140151
orbax-checkpoint>=0.11.25
141152
packaging>=25.0
142153
pandas>=2.3.3
143154
parameterized>=0.9.0
144155
pathspec>=0.12.1
145156
pathwaysutils>=0.1.3
146-
pillow>=11.3.0
157+
pillow>=12.0.0
147158
platformdirs>=4.5.0
148159
pluggy>=1.6.0
149160
portpicker>=1.6.0
@@ -153,38 +164,38 @@ promise>=2.3
153164
propcache>=0.4.1
154165
proto-plus>=1.26.1
155166
protobuf>=5.29.5
156-
psutil>=7.0.0
167+
psutil>=7.1.0
157168
pyarrow>=21.0.0
158169
pyasn1-modules>=0.4.2
159170
pyasn1>=0.6.1
160171
pycnite>=2024.7.31
161-
pycparser>=2.23 ; implementation_name != 'PyPy' and platform_python_implementation == 'PyPy'
162172
pycryptodomex>=3.23.0
163-
pydantic-core>=2.41.1
164-
pydantic>=2.12.0
173+
pydantic-core>=2.41.4
174+
pydantic>=2.12.3
165175
pydot>=4.0.1
166176
pyelftools>=0.32
167177
pyglove>=0.4.5
168178
pygments>=2.19.2
169179
pyink>=24.10.1
170-
pylint>=3.3.9
171-
pyparsing>=3.2.3
180+
pylint>=4.0.2
181+
pyparsing>=3.2.5
172182
pyproject-hooks>=1.2.0
173183
pytest-xdist>=3.8.0
174-
pytest>=8.4.1
184+
pytest>=8.4.2
175185
python-dateutil>=2.9.0.post0
176186
python-dotenv>=1.1.1
177187
pytype>=2024.10.11
178188
pytz>=2025.2
179189
pyyaml>=6.0.3
180190
qwix>=0.1.1
181-
regex>=2025.9.18
191+
regex>=2025.10.23
182192
requests-oauthlib>=2.0.0
183193
requests>=2.32.5
184-
rich>=14.1.0
194+
rich>=14.2.0
185195
rsa>=4.9.1
186196
safetensors>=0.6.2
187-
scipy>=1.16.0
197+
scipy-stubs>=1.16.2.4
198+
scipy>=1.16.2
188199
sentencepiece>=0.2.1
189200
seqio>=0.0.20
190201
setuptools>=80.9.0
@@ -207,29 +218,33 @@ tensorflow-datasets>=4.9.9
207218
tensorflow-metadata>=1.17.2
208219
tensorflow-text>=2.19.0
209220
tensorflow>=2.19.1
210-
tensorstore>=0.1.76
221+
tensorstore>=0.1.78
211222
termcolor>=3.1.0
212223
tiktoken>=0.12.0
224+
tokamax>=0.0.3
213225
tokenizers>=0.22.1
214226
toml>=0.10.2
215227
tomlkit>=0.13.3
216-
toolz>=1.0.0
228+
toolz>=1.1.0
217229
tqdm>=4.67.1
218-
transformers>=4.57.0
230+
transformers>=4.57.1
219231
treescope>=0.1.10
220-
typing-extensions>=4.14.1
232+
triton>=3.5.0
233+
typeguard>=2.13.3
234+
typing-extensions>=4.15.0
221235
typing-inspection>=0.4.2
222236
tzdata>=2025.2
223237
uritemplate>=4.2.0
224238
urllib3>=2.5.0
225-
uvicorn>=0.37.0
226-
virtualenv>=20.34.0
239+
uvicorn>=0.38.0
240+
virtualenv>=20.35.3
227241
wadler-lindig>=0.1.7
228242
websockets>=15.0.1
229243
werkzeug>=3.1.3
230244
wheel>=0.45.1
231-
wrapt>=1.17.3
245+
wrapt>=2.0.0
246+
xprof>=2.20.7
232247
xxhash>=3.6.0
233248
yarl>=1.22.0
234249
zipp>=3.23.0
235-
zstandard>=0.23.0
250+
zstandard>=0.25.0

0 commit comments

Comments
 (0)