mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-19 20:27:06 +08:00
[Bugfix] Use cmake 3.26.1 instead of 3.26 to avoid build failure (#19019)
Signed-off-by: Lu Fang <lufang@fb.com>
This commit is contained in:
parent
cc977286e7
commit
d32aa2e670
@ -34,7 +34,7 @@ RUN --mount=type=bind,source=.git,target=.git \
|
|||||||
if [ "$GIT_REPO_CHECK" != 0 ]; then bash tools/check_repo.sh ; fi
|
if [ "$GIT_REPO_CHECK" != 0 ]; then bash tools/check_repo.sh ; fi
|
||||||
|
|
||||||
RUN python3 -m pip install -U \
|
RUN python3 -m pip install -U \
|
||||||
'cmake>=3.26' ninja packaging 'setuptools-scm>=8' wheel jinja2 \
|
'cmake>=3.26.1' ninja packaging 'setuptools-scm>=8' wheel jinja2 \
|
||||||
-r requirements/neuron.txt
|
-r requirements/neuron.txt
|
||||||
|
|
||||||
ENV VLLM_TARGET_DEVICE neuron
|
ENV VLLM_TARGET_DEVICE neuron
|
||||||
|
|||||||
@ -17,7 +17,7 @@ Third, install Python packages for vLLM CPU backend building:
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install "cmake>=3.26" wheel packaging ninja "setuptools-scm>=8" numpy
|
pip install "cmake>=3.26.1" wheel packaging ninja "setuptools-scm>=8" numpy
|
||||||
pip install -v -r requirements/cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
pip install -v -r requirements/cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
# Should be mirrored in requirements/build.txt
|
# Should be mirrored in requirements/build.txt
|
||||||
requires = [
|
requires = [
|
||||||
"cmake>=3.26",
|
"cmake>=3.26.1",
|
||||||
"ninja",
|
"ninja",
|
||||||
"packaging>=24.2",
|
"packaging>=24.2",
|
||||||
"setuptools>=77.0.3,<80.0.0",
|
"setuptools>=77.0.3,<80.0.0",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# Should be mirrored in pyproject.toml
|
# Should be mirrored in pyproject.toml
|
||||||
cmake>=3.26
|
cmake>=3.26.1
|
||||||
ninja
|
ninja
|
||||||
packaging>=24.2
|
packaging>=24.2
|
||||||
setuptools>=77.0.3,<80.0.0
|
setuptools>=77.0.3,<80.0.0
|
||||||
|
|||||||
@ -7,7 +7,7 @@ torchvision==0.22.0
|
|||||||
torchaudio==2.7.0
|
torchaudio==2.7.0
|
||||||
|
|
||||||
triton==3.2
|
triton==3.2
|
||||||
cmake>=3.26,<4
|
cmake>=3.26.1,<4
|
||||||
packaging>=24.2
|
packaging>=24.2
|
||||||
setuptools>=77.0.3,<80.0.0
|
setuptools>=77.0.3,<80.0.0
|
||||||
setuptools-scm>=8
|
setuptools-scm>=8
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
-r common.txt
|
-r common.txt
|
||||||
|
|
||||||
# Dependencies for TPU
|
# Dependencies for TPU
|
||||||
cmake>=3.26
|
cmake>=3.26.1
|
||||||
packaging>=24.2
|
packaging>=24.2
|
||||||
setuptools-scm>=8
|
setuptools-scm>=8
|
||||||
wheel
|
wheel
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
-r common.txt
|
-r common.txt
|
||||||
|
|
||||||
ray>=2.9
|
ray>=2.9
|
||||||
cmake>=3.26
|
cmake>=3.26.1
|
||||||
packaging>=24.2
|
packaging>=24.2
|
||||||
setuptools-scm>=8
|
setuptools-scm>=8
|
||||||
setuptools>=77.0.3,<80.0.0
|
setuptools>=77.0.3,<80.0.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user