Skip to content

Commit 71b1b5c

Browse files
authored
Merge branch 'vllm-project:main' into main
2 parents 59f2e7a + 941d54a commit 71b1b5c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ requires = [
1414
"pandas-stubs",
1515
"setuptools>=64",
1616
"setuptools-scm>=8",
17+
"transformers<=4.57.1",
1718
"torch-npu==2.7.1",
1819
"torch==2.7.1",
1920
"torchvision",

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ numba
2828
#--pre
2929
#--extra-index-url https://mirrors.huaweicloud.com/ascend/repos/pypi
3030
torch-npu==2.7.1
31+
32+
transformers<=4.57.1

vllm_ascend/patch/platform/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616

1717
import os
1818

19-
import vllm_ascend.envs as envs_ascend
2019
import vllm_ascend.patch.platform.patch_config # noqa
2120
import vllm_ascend.patch.platform.patch_distributed # noqa
2221
import vllm_ascend.patch.platform.patch_mamba_config # noqa
2322
import vllm_ascend.patch.platform.patch_sched_yield # noqa
2423

25-
if envs_ascend.DYNAMIC_EPLB not in ("true", "1") or os.getenv(
24+
if os.getenv("DYNAMIC_EPLB", "false").lower() in ("true", "1") or os.getenv(
2625
"EXPERT_MAP_RECORD", "false") == "true":
2726
import vllm_ascend.patch.platform.patch_multiproc_executor # noqa

0 commit comments

Comments
 (0)