Skip to content

Commit

Permalink
build for cuda 12
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr committed Nov 24, 2023
1 parent 5307c8e commit 44ef3f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
context: base
test: true
base_image: ubuntu:22.04
base_image_gpu: nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
base_image_gpu: nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04
external_base_image: true
branch: ${{ github.ref }}
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
context: base
test: true
base_image: ubuntu:22.04
base_image_gpu: nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
base_image_gpu: nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04
external_base_image: true
branch: ${{ github.ref }}
python-minimal:
Expand Down
2 changes: 1 addition & 1 deletion python-pytorch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USER root

RUN if ! [[ -z "${CUDA_VERSION}" ]]; then \
# CUDA support
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118; \
pip3 install torch torchvision torchaudio; \
else \
# CPU only
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu; \
Expand Down

0 comments on commit 44ef3f0

Please sign in to comment.