From 6922947033be62bd55dd87514111a6eaff785f1e Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Sat, 25 Oct 2025 09:36:44 +0800 Subject: [PATCH] [Misc] Limit ray version (#3660) We notice that with ray>2.48.0, the npu card count is not correct from ray. This is a know bug. Let's limit ray version to <2.48.0 now. - vLLM version: v0.11.0rc3 - vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.0 Signed-off-by: wangxiyuan --- Dockerfile | 2 +- Dockerfile.310p | 2 +- Dockerfile.310p.openEuler | 2 +- Dockerfile.a3 | 2 +- Dockerfile.a3.openEuler | 2 +- Dockerfile.openEuler | 2 +- requirements-dev.txt | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2fb1c669..e988028d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi python3 -m pip cache purge # Install modelscope (for fast download) and ray (for multinode) -RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \ +RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' && \ python3 -m pip cache purge CMD ["/bin/bash"] diff --git a/Dockerfile.310p b/Dockerfile.310p index b1adc1a9..21205895 100644 --- a/Dockerfile.310p +++ b/Dockerfile.310p @@ -55,7 +55,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi python3 -m pip cache purge # Install modelscope (for fast download) and ray (for multinode) -RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \ +RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' && \ python3 -m pip cache purge CMD ["/bin/bash"] diff --git a/Dockerfile.310p.openEuler b/Dockerfile.310p.openEuler index eeac1b33..38015239 100644 --- a/Dockerfile.310p.openEuler +++ b/Dockerfile.310p.openEuler @@ -53,7 +53,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi python3 -m pip cache purge # Install modelscope (for fast download) and ray (for multinode) -RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \ +RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' && \ python3 -m pip cache purge CMD ["/bin/bash"] diff --git a/Dockerfile.a3 b/Dockerfile.a3 index be2e797f..320e8fc7 100644 --- a/Dockerfile.a3 +++ b/Dockerfile.a3 @@ -54,7 +54,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi python3 -m pip cache purge # Install modelscope (for fast download) and ray (for multinode) -RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \ +RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' && \ python3 -m pip cache purge CMD ["/bin/bash"] \ No newline at end of file diff --git a/Dockerfile.a3.openEuler b/Dockerfile.a3.openEuler index 268aec23..1e6ba351 100644 --- a/Dockerfile.a3.openEuler +++ b/Dockerfile.a3.openEuler @@ -52,7 +52,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi python3 -m pip cache purge # Install modelscope (for fast download) and ray (for multinode) -RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \ +RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' && \ python3 -m pip cache purge CMD ["/bin/bash"] \ No newline at end of file diff --git a/Dockerfile.openEuler b/Dockerfile.openEuler index 17d046b2..2486dbae 100644 --- a/Dockerfile.openEuler +++ b/Dockerfile.openEuler @@ -52,7 +52,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi python3 -m pip cache purge # Install modelscope (for fast download) and ray (for multinode) -RUN python3 -m pip install modelscope 'ray>=2.47.1' 'protobuf>3.20.0' && \ +RUN python3 -m pip install modelscope 'ray>=2.47.1,<=2.48.0' 'protobuf>3.20.0' && \ python3 -m pip cache purge CMD ["/bin/bash"] diff --git a/requirements-dev.txt b/requirements-dev.txt index 13864a0c..ad60f499 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -13,8 +13,8 @@ types-psutil pytest-cov regex sentence_transformers -ray>=2.47.1 +ray>=2.47.1,<=2.48.0 protobuf>3.20.0 librosa soundfile -pytest_mock \ No newline at end of file +pytest_mock