Skip to content

Commit

Permalink
fixing an issue in pytorch docker images with cuda failure
Browse files Browse the repository at this point in the history
  • Loading branch information
KalanaRatnayake committed Aug 8, 2024
1 parent 4a7c017 commit 12cafd8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pytorch-images/r3630.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ WORKDIR /
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends python3-pip

#####################################################################################
## Install PyTorch 2.4
#####################################################################################

RUN wget https://developer.download.nvidia.cn/compute/redist/jp/v60/pytorch/torch-2.4.0a0+3bcc3cddb5.nv24.07.16234504-cp310-cp310-linux_aarch64.whl

RUN python3 -m pip install --no-cache-dir torch-2.4.0a0+3bcc3cddb5.nv24.07.16234504-cp310-cp310-linux_aarch64.whl

RUN rm torch-2.4.0a0+3bcc3cddb5.nv24.07.16234504-cp310-cp310-linux_aarch64.whl

#####################################################################################
## Install PyTorch
#####################################################################################

RUN python3 -m pip install --no-cache-dir torch torchvision torchaudio
RUN python3 -m pip install --no-cache-dir torchvision torchaudio

#####################################################################################
##
Expand Down

0 comments on commit 12cafd8

Please sign in to comment.