Skip to content

Commit

Permalink
Cuda 11.8 -> Cuda 12.1 (InseeFrLab#160)
Browse files Browse the repository at this point in the history
* build for cuda 12

* cuda 12.1.1

* Update base.json
  • Loading branch information
avouacr authored Nov 25, 2023
1 parent 5307c8e commit 05e40a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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.1-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.1-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
2 changes: 1 addition & 1 deletion releases/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"output_image":"base:latest"
},
{
"base_image":"nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
"base_image":"nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04",
"output_image":"base:latest",
"gpu":"true"
}
Expand Down

0 comments on commit 05e40a6

Please sign in to comment.