Skip to content

Commit

Permalink
build: update torch to 2.4.0 for cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpinDale committed Sep 1, 2024
1 parent 2050b42 commit 7844103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ COPY ./ /workspace/aphrodite-engine

WORKDIR /workspace/aphrodite-engine

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 Aphrodite: docker build --build-arg APHRODITE_CPU_DISABLE_AVX512="true" ...
ARG APHRODITE_CPU_DISABLE_AVX512
Expand Down
2 changes: 1 addition & 1 deletion requirements-cpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7844103

Please sign in to comment.