Skip to content

Commit

Permalink
Bump torch and ROCM versions for v1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinoda committed Oct 17, 2024
1 parent f51fab4 commit 8496009
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN cp -ar /src /app
# Base
FROM app_base AS app_nvidia
# Install pytorch for CUDA 12.1
RUN pip3 install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 \
RUN pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 \
--index-url https://download.pytorch.org/whl/cu121
# Install oobabooga/text-generation-webui
RUN pip3 install -r /app/requirements.txt
Expand All @@ -51,7 +51,7 @@ RUN chmod +x /scripts/build_extensions.sh && \
# Base No AVX2
FROM app_base AS app_nvidia_noavx2
# Install pytorch for CUDA 12.1
RUN pip3 install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 \
RUN pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 \
--index-url https://download.pytorch.org/whl/cu121
# Install oobabooga/text-generation-webui
RUN ls /app
Expand All @@ -68,8 +68,8 @@ RUN chmod +x /scripts/build_extensions.sh && \
# Base
FROM app_base AS app_rocm
# Install pytorch for ROCM
RUN pip3 install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 \
--index-url https://download.pytorch.org/whl/rocm5.6
RUN pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 \
--index-url https://download.pytorch.org/whl/rocm6.1
# Install oobabooga/text-generation-webui
RUN pip3 install -r /app/requirements_amd.txt

Expand Down

0 comments on commit 8496009

Please sign in to comment.