Skip to content

Commit fa1ef8b

Browse files
authored
Update base image to 2408 (#8049)
Fixes #8048 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
1 parent d0ba8a6 commit fa1ef8b

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/cron.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ jobs:
1313
strategy:
1414
matrix:
1515
environment:
16-
- "PT191+CUDA113"
1716
- "PT110+CUDA113"
18-
- "PT113+CUDA113"
19-
- "PTLATEST+CUDA121"
17+
- "PT113+CUDA118"
18+
- "PT210+CUDA121"
19+
- "PTLATEST+CUDA124"
2020
include:
2121
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes
2222
- environment: PT110+CUDA113
2323
pytorch: "torch==1.10.2 torchvision==0.11.3 --extra-index-url https://download.pytorch.org/whl/cu113"
2424
base: "nvcr.io/nvidia/pytorch:21.06-py3" # CUDA 11.3
25-
- environment: PT113+CUDA113
26-
pytorch: "torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu113"
27-
base: "nvcr.io/nvidia/pytorch:21.06-py3" # CUDA 11.3
28-
- environment: PT113+CUDA122
25+
- environment: PT113+CUDA118
2926
pytorch: "torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu121"
30-
base: "nvcr.io/nvidia/pytorch:23.08-py3" # CUDA 12.2
27+
base: "nvcr.io/nvidia/pytorch:22.10-py3" # CUDA 11.8
28+
- environment: PT210+CUDA121
29+
pytorch: "pytorch==2.1.0 torchvision==0.16.0 --extra-index-url https://download.pytorch.org/whl/cu121"
30+
base: "nvcr.io/nvidia/pytorch:23.08-py3" # CUDA 12.1
3131
- environment: PTLATEST+CUDA124
3232
pytorch: "-U torch torchvision --extra-index-url https://download.pytorch.org/whl/cu121"
33-
base: "nvcr.io/nvidia/pytorch:24.03-py3" # CUDA 12.4
33+
base: "nvcr.io/nvidia/pytorch:24.08-py3" # CUDA 12.4
3434
container:
3535
image: ${{ matrix.base }}
3636
options: "--gpus all"
@@ -80,7 +80,7 @@ jobs:
8080
if: github.repository == 'Project-MONAI/MONAI'
8181
strategy:
8282
matrix:
83-
container: ["pytorch:23.08", "pytorch:24.03"]
83+
container: ["pytorch:23.08", "pytorch:24.08"]
8484
container:
8585
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
8686
options: "--gpus all"
@@ -129,7 +129,7 @@ jobs:
129129
if: github.repository == 'Project-MONAI/MONAI'
130130
strategy:
131131
matrix:
132-
container: ["pytorch:24.03"]
132+
container: ["pytorch:24.08"]
133133
container:
134134
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
135135
options: "--gpus all"
@@ -233,7 +233,7 @@ jobs:
233233
if: github.repository == 'Project-MONAI/MONAI'
234234
needs: cron-gpu # so that monai itself is verified first
235235
container:
236-
image: nvcr.io/nvidia/pytorch:24.03-py3 # testing with the latest pytorch base image
236+
image: nvcr.io/nvidia/pytorch:24.08-py3 # testing with the latest pytorch base image
237237
options: "--gpus all --ipc=host"
238238
runs-on: [self-hosted, linux, x64, integration]
239239
steps:

.github/workflows/pythonapp-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
pytorch: "-h" # we explicitly set pytorch to -h to avoid pip install error
4545
base: "nvcr.io/nvidia/pytorch:23.08-py3"
4646
- environment: PT210+CUDA121DOCKER
47-
# 24.03: 2.3.0a0+40ec155e58.nv24.3
47+
# 24.08: 2.3.0a0+40ec155e58.nv24.3
4848
pytorch: "-h" # we explicitly set pytorch to -h to avoid pip install error
49-
base: "nvcr.io/nvidia/pytorch:24.03-py3"
49+
base: "nvcr.io/nvidia/pytorch:24.08-py3"
5050
container:
5151
image: ${{ matrix.base }}
5252
options: --gpus all --env NVIDIA_DISABLE_REQUIRE=true # workaround for unsatisfied condition: cuda>=11.6

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# To build with a different base image
1313
# please run `docker build` using the `--build-arg PYTORCH_IMAGE=...` flag.
14-
ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:24.03-py3
14+
ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:24.08-py3
1515
FROM ${PYTORCH_IMAGE}
1616

1717
LABEL maintainer="monai.contact@gmail.com"

0 commit comments

Comments
 (0)