Skip to content

Commit

Permalink
Use CUDA installation scripts from pytorch/builder
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jan 28, 2024
1 parent 1a3f8b4 commit 9c1f91d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-gcp-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build TorchBench Nightly GCP Base Docker
run: |
cd benchmark/docker
docker buildx build . \
docker build . \
-f gcp-a100-runner-dind.dockerfile -t xzhao9/gcp-a100-runner-dind:latest
- name: Push docker to remote
if: ${{ env.WITH_PUSH == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion docker/gcp-a100-runner-dind.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN sudo mkdir -p /workspace; sudo chown runner:runner /workspace
# NVIDIA drivers list available at gs://ubuntu_nvidia_packages/
# We assume that the host NVIDIA driver binaries and libraries are mapped to the docker filesystem

# Source of the CUDA installation scripts:
# Use the CUDA installation scripts from pytorch/builder
RUN cd /workspace; git clone https://github.com/pytorch/builder.git
RUN sudo bash -c 'source /workspace/builder/common/install_cuda.sh; install_118'
RUN sudo bash -c 'source /workspace/builder/common/install_cuda.sh; install_121'
Expand Down

0 comments on commit 9c1f91d

Please sign in to comment.