mirror of https://github.com/vllm-project/vllm
[Bugfix] Fix a bug caused by pip install setuptools>=49.4.0 for CPU backend (#5249)
This commit is contained in:
parent
ec784b2526
commit
87d5abef75
|
@ -7,7 +7,7 @@ RUN apt-get update -y \
|
|||
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10 --slave /usr/bin/g++ g++ /usr/bin/g++-12
|
||||
|
||||
RUN pip install --upgrade pip \
|
||||
&& pip install wheel packaging ninja setuptools>=49.4.0 numpy
|
||||
&& pip install wheel packaging ninja "setuptools>=49.4.0" numpy
|
||||
|
||||
FROM cpu-test-1 AS build
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ Build from source
|
|||
.. code-block:: console
|
||||
|
||||
$ pip install --upgrade pip
|
||||
$ pip install wheel packaging ninja setuptools>=49.4.0 numpy
|
||||
$ pip install wheel packaging ninja "setuptools>=49.4.0" numpy
|
||||
$ pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
- Finally, build and install vLLM CPU backend:
|
||||
|
|
Loading…
Reference in New Issue