From a686f2962a5d8c8587e841c8c8b2ac2c866c1ce8 Mon Sep 17 00:00:00 2001 From: zhangxinyuehfad <59153331+zhangxinyuehfad@users.noreply.github.com> Date: Tue, 25 Nov 2025 21:21:42 +0800 Subject: [PATCH] [0.11.0][Bugfix] fix e2e full test (#4424) ### What this PR does / why we need it? pin Transformer version to 4.57.1 fix 'dict' object has no attribute 'model_type' https://github.com/vllm-project/vllm-ascend/actions/runs/19660859460/job/56306822464 picked from https://github.com/vllm-project/vllm-ascend/pull/4423 Signed-off-by: hfadzxy --- pyproject.toml | 1 + requirements.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e5c9d7b..916b984 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ requires = [ "scipy", "setuptools>=64", "setuptools-scm>=8", + "transformers<=4.57.1", "torch-npu==2.7.1", "torch==2.7.1", "torchvision", diff --git a/requirements.txt b/requirements.txt index 0947fe3..999d2ce 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,3 +26,5 @@ numba #--pre #--extra-index-url https://mirrors.huaweicloud.com/ascend/repos/pypi torch-npu==2.7.1 + +transformers<=4.57.1