Unverified Commit d32aa2e6 authored by Lu Fang's avatar Lu Fang Committed by GitHub
Browse files

[Bugfix] Use cmake 3.26.1 instead of 3.26 to avoid build failure (#19019)


Signed-off-by: default avatarLu Fang <lufang@fb.com>
parent cc977286
...@@ -34,7 +34,7 @@ RUN --mount=type=bind,source=.git,target=.git \ ...@@ -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: ...@@ -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
``` ```
......
[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",
......
# 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 ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment