From 1a50592081daf66f39fc862ef67dca8b08dae57f Mon Sep 17 00:00:00 2001 From: wangli Date: Fri, 4 Jul 2025 17:33:15 +0800 Subject: [PATCH 1/2] fix transformer verison conflict Signed-off-by: wangli --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d6cb55d1f2..d376270fd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,6 @@ requires = [ "quart", "numba", # Remove after https://github.com/vllm-project/vllm-ascend/issues/1470 - "transformers==4.52.4", + "transformers>=4.52.4,<4.53.1", ] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index f2a1c6ff20..27957ded7d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,4 +27,4 @@ numba torch-npu==2.5.1.post1.dev20250619 # Remove after https://github.com/vllm-project/vllm-ascend/issues/1470 -transformers==4.52.4 +transformers>=4.52.4,<4.53.1 From 71f09d11ca3c2ae900515329ceb48859e0d37677 Mon Sep 17 00:00:00 2001 From: wangli Date: Fri, 4 Jul 2025 18:03:13 +0800 Subject: [PATCH 2/2] add test Signed-off-by: wangli --- .github/workflows/vllm_ascend_test.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/vllm_ascend_test.yaml b/.github/workflows/vllm_ascend_test.yaml index 3aec441335..18ea6f9a86 100644 --- a/.github/workflows/vllm_ascend_test.yaml +++ b/.github/workflows/vllm_ascend_test.yaml @@ -248,8 +248,8 @@ jobs: env: PIP_EXTRA_INDEX_URL: https://mirrors.huaweicloud.com/ascend/repos/pypi run: | - pip install -r requirements-dev.txt pip install -v -e . + pip install -r requirements-dev.txt - name: Run e2e test for V1 Engine env: @@ -345,9 +345,8 @@ jobs: env: PIP_EXTRA_INDEX_URL: https://mirrors.huaweicloud.com/ascend/repos/pypi run: | - pip install -r requirements-dev.txt pip install -v -e . - + pip install -r requirements-dev.txt - name: Run vllm-project/vllm-ascend test for V1 Engine env: VLLM_USE_V1: 1