Skip to content

Commit 698d721

Browse files
Reverts c636924
PiperOrigin-RevId: 862309699
1 parent fcb87c0 commit 698d721

3 files changed

Lines changed: 72 additions & 66 deletions

File tree

dependencies/requirements/base_requirements/requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ absl-py
22
aqtp
33
array-record
44
cloud-accelerator-diagnostics
5-
# TODO(b/477743392): Remove the pinned versions once the yanked version detection problem is resolved
6-
cloud-tpu-diagnostics==0.1.5
5+
cloud-tpu-diagnostics
76
datasets
87
flax
98
gcsfs
@@ -13,7 +12,6 @@ google-cloud-mldiagnostics
1312
google-cloud-monitoring
1413
grain[parquet]
1514
huggingface_hub
16-
hf-xet==1.2.0
1715
jax
1816
jaxlib
1917
jaxtyping
@@ -40,7 +38,7 @@ tensorflow-datasets
4038
tensorflow-text
4139
tensorflow
4240
tiktoken
43-
tokamax==0.0.8
41+
tokamax
4442
transformers
4543
qwix
4644
google-jetstream @ https://github.com/AI-Hypercomputer/JetStream/archive/29329e8e73820993f77cfc8efe34eb2a73f5de98.zip

dependencies/requirements/generated_requirements/tpu-requirements.txt

Lines changed: 67 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,26 @@
44
absl-py>=2.3.1
55
aiofiles>=25.1.0
66
aiohappyeyeballs>=2.6.1
7-
aiohttp>=3.13.3
7+
aiohttp>=3.13.2
88
aiosignal>=1.4.0
99
annotated-doc>=0.0.4
1010
annotated-types>=0.7.0
1111
antlr4-python3-runtime>=4.9.3
12-
anyio>=4.12.1
12+
anyio>=4.11.0
1313
aqtp>=0.9.0
1414
array-record>=0.8.3
15-
astroid>=4.0.3
15+
astroid>=4.0.2
1616
astunparse>=1.6.3
1717
attrs>=25.4.0
1818
auditwheel>=6.5.0
19-
black>=25.12.0
19+
black>=24.10.0
2020
blobfile>=3.1.0
2121
build>=1.3.0
22+
cachetools>=6.2.2
2223
certifi>=2025.11.12
2324
cfgv>=3.5.0
2425
charset-normalizer>=3.4.4
26+
cheroot>=11.1.2
2527
chex>=0.1.91
2628
click>=8.3.1
2729
cloud-accelerator-diagnostics>=0.1.1
@@ -30,47 +32,46 @@ cloudpickle>=3.1.2
3032
clu>=0.0.12
3133
colorama>=0.4.6
3234
contourpy>=1.3.3
33-
coverage>=7.13.1
35+
coverage>=7.12.0
3436
cycler>=0.12.1
35-
datasets>=4.5.0
37+
datasets>=4.4.1
3638
decorator>=5.2.1
3739
dill>=0.4.0
3840
distlib>=0.4.0
39-
distro>=1.9.0
4041
dm-tree>=0.1.9
4142
docstring-parser>=0.17.0
4243
editdistance>=0.8.1
4344
einops>=0.8.1
45+
einshape>=1.0
4446
etils>=1.13.0
4547
evaluate>=0.4.6
4648
execnet>=2.1.2
47-
fastapi>=0.128.0
49+
fastapi>=0.122.0
4850
filelock>=3.20.0
4951
flatbuffers>=25.9.23
50-
flax>=0.12.2
52+
flax>=0.12.1
5153
fonttools>=4.60.1
5254
frozenlist>=1.8.0
5355
fsspec>=2025.10.0
5456
gast>=0.6.0
5557
gcsfs>=2025.10.0
56-
google-api-core>=2.29.0
57-
google-api-python-client>=2.188.0
58-
google-auth-httplib2>=0.3.0
59-
google-auth-oauthlib>=1.2.4
60-
google-auth>=2.47.0
61-
google-cloud-aiplatform>=1.134.0
62-
google-cloud-appengine-logging>=1.8.0
58+
google-api-core>=2.28.1
59+
google-api-python-client>=2.187.0
60+
google-auth-httplib2>=0.2.1
61+
google-auth-oauthlib>=1.2.2
62+
google-auth>=2.43.0
63+
google-cloud-aiplatform>=1.128.0
64+
google-cloud-appengine-logging>=1.7.0
6365
google-cloud-audit-log>=0.4.0
64-
google-cloud-bigquery>=3.40.0
66+
google-cloud-bigquery>=3.38.0
6567
google-cloud-core>=2.5.0
66-
google-cloud-logging>=3.13.0
67-
google-cloud-mldiagnostics>=0.5.10
68-
google-cloud-monitoring>=2.29.0
69-
google-cloud-resource-manager>=1.16.0
70-
google-cloud-storage>=3.8.0
71-
google-crc32c>=1.8.0
72-
google-genai>=1.60.0
73-
google-jetstream @ https://github.com/AI-Hypercomputer/JetStream/archive/29329e8e73820993f77cfc8efe34eb2a73f5de98.zip
68+
google-cloud-logging>=3.12.1
69+
google-cloud-mldiagnostics>=0.5.5
70+
google-cloud-monitoring>=2.28.0
71+
google-cloud-resource-manager>=1.15.0
72+
google-cloud-storage>=3.6.0
73+
google-crc32c>=1.7.1
74+
google-genai>=1.52.0
7475
google-pasta>=0.2.0
7576
google-resumable-media>=2.8.0
7677
google-tunix>=0.1.3
@@ -85,33 +86,33 @@ h5py>=3.15.1
8586
hf-transfer>=0.1.9
8687
hf-xet>=1.2.0 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
8788
httpcore>=1.0.9
88-
httplib2>=0.31.1
89+
httplib2>=0.31.0
8990
httpx>=0.28.1
9091
huggingface-hub>=0.36.0
91-
humanize>=4.15.0
92+
humanize>=4.14.0
9293
hypothesis>=6.142.1
93-
identify>=2.6.16
94+
identify>=2.6.15
9495
idna>=3.11
9596
immutabledict>=4.2.2
9697
importlab>=0.8.1
97-
importlib-metadata>=8.7.1
98+
importlib-metadata>=8.7.0
9899
importlib-resources>=6.5.2
99100
iniconfig>=2.3.0
100101
isort>=7.0.0
102+
jaraco-functools>=4.3.0
101103
jax>=0.8.1
102104
jaxlib>=0.8.1
103-
jaxtyping>=0.3.5
105+
jaxtyping>=0.3.3
104106
jinja2>=3.1.6
105-
joblib>=1.5.3
107+
joblib>=1.5.2
106108
jsonlines>=4.0.0
107-
kagglehub>=0.4.1
108-
kagglesdk>=0.1.15
109+
kagglehub>=0.3.13
109110
keras>=3.12.0
110111
kiwisolver>=1.4.9
111112
libclang>=18.1.1
112113
libcst>=1.8.6
113114
libtpu>=0.0.30 ; platform_machine == 'x86_64' and sys_platform == 'linux'
114-
llvmlite>=0.46.0
115+
llvmlite>=0.45.1
115116
lxml>=6.0.2
116117
markdown-it-py>=4.0.0
117118
markdown>=3.10
@@ -121,8 +122,8 @@ mccabe>=0.7.0
121122
mdurl>=0.1.2
122123
ml-collections>=1.1.0
123124
ml-dtypes>=0.5.4
124-
ml-goodput-measurement>=0.0.16
125-
mlperf-logging @ https://github.com/mlcommons/logging/archive/38ab22670527888c8eb7825a4ece176fcc36a95d.zip
125+
ml-goodput-measurement>=0.0.15
126+
more-itertools>=10.8.0
126127
mpmath>=1.3.0
127128
msgpack>=1.1.2
128129
msgspec>=0.20.0
@@ -131,40 +132,40 @@ multiprocess>=0.70.18
131132
mypy-extensions>=1.1.0
132133
namex>=0.1.0
133134
nest-asyncio>=1.6.0
134-
networkx>=3.6.1
135+
networkx>=3.6
135136
ninja>=1.13.0
136137
nltk>=3.9.2
137-
nodeenv>=1.10.0
138-
numba>=0.63.1
138+
nodeenv>=1.9.1
139+
numba>=0.62.1
139140
numpy-typing-compat>=20250818.2.0
140141
numpy>=2.0.2
141142
oauthlib>=3.3.1
142143
omegaconf>=2.3.0
143-
opentelemetry-api>=1.39.1
144+
opentelemetry-api>=1.38.0
144145
opt-einsum>=3.4.0
145146
optax>=0.2.6
146147
optree>=0.18.0
147148
optype>=0.14.0
148-
orbax-checkpoint>=0.11.32
149+
orbax-checkpoint>=0.11.28
149150
packaging>=25.0
150-
pandas>=3.0.0
151+
pandas>=2.3.3
151152
parameterized>=0.9.0
152-
pathspec>=1.0.3
153+
pathspec>=0.12.1
153154
pathwaysutils>=0.1.3
154155
pillow>=12.0.0
155-
platformdirs>=4.5.1
156+
platformdirs>=4.5.0
156157
pluggy>=1.6.0
157158
portpicker>=1.6.0
158-
pre-commit>=4.5.1
159-
prometheus-client>=0.24.1
159+
pre-commit>=4.5.0
160+
prometheus-client>=0.23.1
160161
promise>=2.3
161162
propcache>=0.4.1
162-
proto-plus>=1.27.0
163+
proto-plus>=1.26.1
163164
protobuf>=5.29.5
164165
psutil>=7.1.3
165-
pyarrow>=23.0.0
166+
pyarrow>=22.0.0
166167
pyasn1-modules>=0.4.2
167-
pyasn1>=0.6.2
168+
pyasn1>=0.6.1
168169
pycnite>=2024.7.31
169170
pycryptodomex>=3.23.0
170171
pydantic-core>=2.41.5
@@ -173,19 +174,19 @@ pydot>=4.0.1
173174
pyelftools>=0.32
174175
pyglove>=0.4.5
175176
pygments>=2.19.2
176-
pyink>=25.12.0
177-
pylint>=4.0.4
177+
pyink>=24.10.1
178+
pylint>=4.0.3
178179
pyparsing>=3.2.5
179180
pyproject-hooks>=1.2.0
180181
pytest-xdist>=3.8.0
181182
pytest>=8.4.2
182183
python-dateutil>=2.9.0.post0
183184
python-dotenv>=1.2.1
184-
pytokens>=0.4.0
185185
pytype>=2024.10.11
186+
pytz>=2025.2
186187
pyyaml>=6.0.3
187-
qwix>=0.1.5
188-
regex>=2026.1.15
188+
qwix>=0.1.4
189+
regex>=2025.11.3
189190
requests-oauthlib>=2.0.0
190191
requests>=2.32.5
191192
rich>=14.2.0
@@ -196,8 +197,9 @@ scipy>=1.16.3
196197
sentencepiece>=0.2.1
197198
seqio>=0.0.20
198199
setuptools>=80.9.0
200+
shapely>=2.1.2
199201
shortuuid>=1.0.13
200-
simple-parsing>=0.1.8
202+
simple-parsing>=0.1.7
201203
simplejson>=3.20.2
202204
six>=1.17.0
203205
sniffio>=1.3.1
@@ -211,32 +213,35 @@ tensorboard-plugin-profile>=2.13.0
211213
tensorboard>=2.19.0
212214
tensorboardx>=2.6.4
213215
tensorflow-datasets>=4.9.9
214-
tensorflow-metadata>=1.17.3
216+
tensorflow-metadata>=1.17.2
215217
tensorflow-text>=2.19.0
216218
tensorflow>=2.19.1
217219
tensorstore>=0.1.79
218220
termcolor>=3.2.0
219221
tiktoken>=0.12.0
220222
tokamax>=0.0.8
221-
tokenizers>=0.22.2
223+
tokenizers>=0.22.1
222224
toml>=0.10.2
223-
tomlkit>=0.14.0
225+
tomlkit>=0.13.3
224226
toolz>=1.1.0
225227
tqdm>=4.67.1
226-
transformers>=4.57.6
228+
transformers>=4.57.3
227229
treescope>=0.1.10
230+
typeguard>=2.13.3
228231
typing-extensions>=4.15.0
229232
typing-inspection>=0.4.2
230-
tzdata>=2025.3 ; sys_platform == 'emscripten' or sys_platform == 'win32'
233+
tzdata>=2025.2
231234
uritemplate>=4.2.0
232235
urllib3>=2.5.0
233-
uvicorn>=0.40.0
236+
uvicorn>=0.38.0
234237
virtualenv>=20.35.4
235238
wadler-lindig>=0.1.7
236239
websockets>=15.0.1
237240
werkzeug>=3.1.3
238-
wheel>=0.46.1
241+
wheel>=0.45.1
239242
wrapt>=2.0.1
243+
xprof>=2.21.1
240244
xxhash>=3.6.0
241245
yarl>=1.22.0
242246
zipp>=3.23.0
247+
zstandard>=0.25.0

src/MaxText/managed_mldiagnostics.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,7 @@ def should_log_key(key, value):
7070
run_group=config.managed_mldiagnostics_run_group,
7171
configs=config_dict,
7272
gcs_path=config.managed_mldiagnostics_dir,
73+
# TODO: b/455623960 - Remove the following once multi-region and prod support are enabled.
74+
region="us-central1",
75+
environment="autopush", # Default would be "prod" for formal launch.
7376
)

0 commit comments

Comments
 (0)