Skip to content

Commit 935e9d4

Browse files
authored
Pin transformers to fix v0.9.1 doctest (vllm-project#2048)
### What this PR does / why we need it? Pin transformers to fix v0.9.1 doctest ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? doctest passed - vLLM version: v0.10.0 - vLLM main: vllm-project/vllm@c657369 Signed-off-by: Yikun Jiang <[email protected]>
1 parent 1a25b0a commit 935e9d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/e2e/doctests/002-pip-binary-installation-test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ function install_binary_test() {
4949
pip install vllm=="$(get_version pip_vllm_version)"
5050
pip install vllm-ascend=="$(get_version pip_vllm_ascend_version)"
5151

52+
# TODO(yikun): Remove this when 0.9.1rc2 is released
53+
# https://github.com/vllm-project/vllm-ascend/issues/2046
54+
if [ "$PIP_VLLM_ASCEND_VERSION" == "0.9.1rc1" ] || [ "$PIP_VLLM_ASCEND_VERSION" == "0.9.0rc2" ] ; then
55+
pip install "transformers<4.53.0"
56+
fi
57+
5258
pip list | grep vllm
5359

5460
# Verify the installation

0 commit comments

Comments
 (0)