Skip to content

Commit 2cf9c4c

Browse files
authored
[CI/Build] Fix version conflict on transformers (#1490)
### What this PR does / why we need it? Fix version conflict on transformers: `pip._vendor.pkg_resources.ContextualVersionConflict: (transformers 4.53.0 (/usr/local/python3.10.17/lib/python3.10/site-packages), Requirement.parse('transformers<4.53.0'), {'vllm-ascend'})` Fix https://github.com/vllm-project/vllm-ascend/actions/runs/15933263325/job/44947231642 ### Does this PR introduce _any_ user-facing change? Fix broken build ### How was this patch tested? CI passed with new existing test. Signed-off-by: MengqingCao <cmq0113@163.com>
1 parent 5f43916 commit 2cf9c4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ requires = [
2020
"quart",
2121
"numba",
2222
# Remove after https://github.com/vllm-project/vllm-ascend/issues/1470
23-
"transformers<4.53.0",
23+
"transformers==4.52.4",
2424
]
2525
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ numba
2727
torch-npu==2.5.1.post1.dev20250619
2828

2929
# Remove after https://github.com/vllm-project/vllm-ascend/issues/1470
30-
transformers<4.53.0
30+
transformers==4.52.4

0 commit comments

Comments
 (0)