Skip to content

Commit f1eccef

Browse files
abhinavg4ayushdg
andauthored
Update transformers dependency to exact version 4.55.2 in pyproject.t… (#1471)
* Update transformers dependency to exact version 4.55.2 in pyproject.toml and uv.lock to prevent import failures in Cosmos Embed. Downgrade tokenizers version to 0.21.4 for compatibility. Signed-off-by: Abhinav Garg <abhinavg@stanford.edu> * Update transformers dependency in pyproject.toml and uv.lock to allow versions up to 4.55.2, ensuring compatibility with Cosmos Embed imports. Signed-off-by: Abhinav Garg <abhinavg@stanford.edu> --------- Signed-off-by: Abhinav Garg <abhinavg@stanford.edu> Co-authored-by: Ayush Dattagupta <ayushdg95@gmail.com>
1 parent 53a320e commit f1eccef

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ override-dependencies = [
202202
"numpy>=2.0.0,<=2.2.0", # Override nemo-toolkits constraint of <2.0.0, upperbounds for Numba compatibility
203203
"protobuf>=5.29.5", # Override nemo-toolkits constraint of ~=5.29.5
204204
"setuptools>=80.10.1", # Override setuptools range in other dependencies to address CVE GHSA-58pv-8j8x-9vj2
205-
"transformers>=4.55.2",
205+
"transformers<=4.55.2", # Else Cosmos Embed imports fail
206206
]
207207

208208

uv.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)