Update Dockerfile.ci to install vllm package using the correct URL format
- Modified the pip install command for vllm to use the correct URL format for direct installation from the specified commit hash, ensuring a more reliable installation process. - Removed the fallback option for pre-release installation to streamline the installation command. Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
1 parent
63fd163efb
commit
2ac33489b5
1 file changed
+3
-3
@@ -11,9 +11,9 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install vLLM wheel for the specific commit
|
||||
# 正确的格式应该是直接下载 wheel 文件,而不是使用 extra-index-url
|
||||
RUN pip install https://wheels.vllm.ai/nightly/706f123b23b75097da9a3f51ce538bd784fdc75b/vllm-1.0.0.dev-cp310-cp310-manylinux1_x86_64.whl \
|
||||
|| pip install vllm --pre --extra-index-url https://wheels.vllm.ai/nightly
|
||||
# URL format: https://wheels.vllm.ai/<commit_hash>/
|
||||
# Current vLLM commit: 706f123b23b75097da9a3f51ce538bd784fdc75b
|
||||
RUN uv pip install --system --upgrade --force-reinstall vllm --extra-index-url https://wheels.vllm.ai/706f123b23b75097da9a3f51ce538bd784fdc75b
|
||||
|
||||
# Install vllm-omni into the same uv-managed Python environment used by the base image.
|
||||
RUN uv pip install --system --no-cache-dir ".[dev]"
|
||||
|
||||
Reference in new issue
Block a user