Skip to content

Commit

Permalink
Skip pruning the CUDA 12.4 docker (#2411)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2411

Test Plan: https://github.com/pytorch/benchmark/actions/runs/10288893760

Differential Revision: D60915594

fbshipit-source-id: d0429dc90cac358bc8936431802da686bcd0d4b7
  • Loading branch information
xuzhao9 authored and facebook-github-bot committed Aug 7, 2024
1 parent 0da28c0 commit 9a99b9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/gcp-a100-runner-dind.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ RUN sudo mkdir -p /workspace; sudo chown runner:runner /workspace
# Use the CUDA installation scripts from pytorch/builder
# Install CUDA 12.4 only to reduce docker size
RUN cd /workspace; mkdir -p pytorch-ci; cd pytorch-ci; wget https://raw.githubusercontent.com/pytorch/pytorch/main/.ci/docker/common/install_cuda.sh
RUN sudo bash -c "set -x;export OVERRIDE_GENCODE=\"${OVERRIDE_GENCODE}\" OVERRIDE_GENCODE_CUDNN=\"${OVERRIDE_GENCODE_CUDNN}\"; bash /workspace/pytorch-ci/install_cuda.sh 12.4"
# do not prune CUDA libraries as they are being used by Kineto and NCU
RUN sudo bash -c "set -x;export OVERRIDE_GENCODE=\"${OVERRIDE_GENCODE}\" OVERRIDE_GENCODE_CUDNN=\"${OVERRIDE_GENCODE_CUDNN}\"; . /workspace/pytorch-ci/install_cuda.sh; install_124"

# Install miniconda
RUN wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /workspace/Miniconda3-latest-Linux-x86_64.sh
Expand Down

0 comments on commit 9a99b9b

Please sign in to comment.