mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-13 02:15:01 +08:00
Revert "[ci][build] limit cmake version" (#10271)
This commit is contained in:
parent
18081451f9
commit
377b74fe87
@ -31,7 +31,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,<=3.30' ninja packaging 'setuptools-scm>=8' wheel jinja2 \
|
'cmake>=3.26' 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
|
||||||
|
|||||||
@ -21,7 +21,7 @@ RUN --mount=type=bind,source=.git,target=.git \
|
|||||||
# These packages will be in rocketce eventually
|
# These packages will be in rocketce eventually
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
pip install -v --prefer-binary --extra-index-url https://repo.fury.io/mgiessing \
|
pip install -v --prefer-binary --extra-index-url https://repo.fury.io/mgiessing \
|
||||||
'cmake>=3.26,<=3.30' ninja packaging 'setuptools-scm>=8' wheel jinja2 \
|
'cmake>=3.26' ninja packaging 'setuptools-scm>=8' wheel jinja2 \
|
||||||
torch==2.3.1 \
|
torch==2.3.1 \
|
||||||
-r requirements-cpu.txt \
|
-r requirements-cpu.txt \
|
||||||
xformers uvloop==0.20.0
|
xformers uvloop==0.20.0
|
||||||
|
|||||||
@ -62,7 +62,7 @@ Build from source
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pip install --upgrade pip
|
$ pip install --upgrade pip
|
||||||
$ pip install cmake>=3.26,<=3.30 wheel packaging ninja "setuptools-scm>=8" numpy
|
$ pip install cmake>=3.26 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
|
||||||
|
|
||||||
- Finally, build and install vLLM CPU backend:
|
- Finally, build and install vLLM CPU backend:
|
||||||
|
|||||||
@ -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,<=3.30",
|
"cmake>=3.26",
|
||||||
"ninja",
|
"ninja",
|
||||||
"packaging",
|
"packaging",
|
||||||
"setuptools>=61",
|
"setuptools>=61",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# Should be mirrored in pyproject.toml
|
# Should be mirrored in pyproject.toml
|
||||||
cmake>=3.26,<=3.30
|
cmake>=3.26
|
||||||
ninja
|
ninja
|
||||||
packaging
|
packaging
|
||||||
setuptools>=61
|
setuptools>=61
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
-r requirements-common.txt
|
-r requirements-common.txt
|
||||||
|
|
||||||
# Dependencies for TPU
|
# Dependencies for TPU
|
||||||
cmake>=3.26,<=3.30
|
cmake>=3.26
|
||||||
ninja
|
ninja
|
||||||
packaging
|
packaging
|
||||||
setuptools-scm>=8
|
setuptools-scm>=8
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
-r requirements-common.txt
|
-r requirements-common.txt
|
||||||
|
|
||||||
ray >= 2.9
|
ray >= 2.9
|
||||||
cmake>=3.26,<=3.30
|
cmake>=3.26
|
||||||
ninja
|
ninja
|
||||||
packaging
|
packaging
|
||||||
setuptools-scm>=8
|
setuptools-scm>=8
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user