vLLM: Fix vLLM CPU dockerfile to resolve cmake deprecated issue (#13026)

This commit is contained in:
Xiangyu Tian 2025-03-31 16:09:25 +08:00 committed by GitHub
parent 300eb01d98
commit 34b1b14225
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
git clone https://github.com/vllm-project/vllm.git && \
cd ./vllm && \
git checkout v0.6.6.post1 && \
pip install cmake>=3.26 wheel packaging ninja "setuptools-scm>=8" numpy && \
pip install cmake==3.31.6 wheel packaging ninja "setuptools-scm>=8" numpy && \
pip uninstall -y intel-extension-for-pytorch && \
pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu && \
VLLM_TARGET_DEVICE=cpu python3 setup.py install && \