mirror of https://github.com/vllm-project/vllm
[Hardware][Intel CPU] Update torch 2.4.0 for CPU backend (#6931)
This commit is contained in:
parent
db35186391
commit
c16eaac500
|
@ -26,7 +26,7 @@ COPY ./ /workspace/vllm
|
|||
|
||||
WORKDIR /workspace/vllm
|
||||
|
||||
RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/test/cpu
|
||||
RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
# Support for building with non-AVX512 vLLM: docker build --build-arg VLLM_CPU_DISABLE_AVX512="true" ...
|
||||
ARG VLLM_CPU_DISABLE_AVX512
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
-r requirements-common.txt
|
||||
|
||||
# Dependencies for x86_64 CPUs
|
||||
torch == 2.4.0; platform_machine != "ppc64le"
|
||||
torch == 2.4.0+cpu; platform_machine != "ppc64le"
|
||||
torchvision; platform_machine != "ppc64le" # required for the image processor of phi3v, this must be updated alongside torch
|
||||
|
|
Loading…
Reference in New Issue