Skip to content

Commit 0bb20a8

Browse files
authored
Update base image to 2410 (#8164)
Fixes # . ### Description A few sentences describing the changes proposed in this pull request. ### 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 <[email protected]>
1 parent 530cc1f commit 0bb20a8

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/cron.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- "PT110+CUDA113"
1717
- "PT113+CUDA118"
1818
- "PT210+CUDA121"
19-
- "PTLATEST+CUDA124"
19+
- "PT240+CUDA126"
20+
- "PTLATEST+CUDA126"
2021
include:
2122
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes
2223
- environment: PT110+CUDA113
@@ -28,9 +29,12 @@ jobs:
2829
- environment: PT210+CUDA121
2930
pytorch: "pytorch==2.1.0 torchvision==0.16.0 --extra-index-url https://download.pytorch.org/whl/cu121"
3031
base: "nvcr.io/nvidia/pytorch:23.08-py3" # CUDA 12.1
31-
- environment: PTLATEST+CUDA124
32+
- environment: PT240+CUDA126
33+
pytorch: "pytorch==2.4.0 torchvision==0.19.0 --extra-index-url https://download.pytorch.org/whl/cu121"
34+
base: "nvcr.io/nvidia/pytorch:24.08-py3" # CUDA 12.6
35+
- environment: PTLATEST+CUDA126
3236
pytorch: "-U torch torchvision --extra-index-url https://download.pytorch.org/whl/cu121"
33-
base: "nvcr.io/nvidia/pytorch:24.08-py3" # CUDA 12.4
37+
base: "nvcr.io/nvidia/pytorch:24.10-py3" # CUDA 12.6
3438
container:
3539
image: ${{ matrix.base }}
3640
options: "--gpus all"
@@ -80,7 +84,7 @@ jobs:
8084
if: github.repository == 'Project-MONAI/MONAI'
8185
strategy:
8286
matrix:
83-
container: ["pytorch:23.08", "pytorch:24.08"]
87+
container: ["pytorch:23.08", "pytorch:24.08", "pytorch:24.10"]
8488
container:
8589
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
8690
options: "--gpus all"
@@ -129,7 +133,7 @@ jobs:
129133
if: github.repository == 'Project-MONAI/MONAI'
130134
strategy:
131135
matrix:
132-
container: ["pytorch:24.08"]
136+
container: ["pytorch:24.10"]
133137
container:
134138
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
135139
options: "--gpus all"
@@ -233,7 +237,7 @@ jobs:
233237
if: github.repository == 'Project-MONAI/MONAI'
234238
needs: cron-gpu # so that monai itself is verified first
235239
container:
236-
image: nvcr.io/nvidia/pytorch:24.08-py3 # testing with the latest pytorch base image
240+
image: nvcr.io/nvidia/pytorch:24.10-py3 # testing with the latest pytorch base image
237241
options: "--gpus all --ipc=host"
238242
runs-on: [self-hosted, linux, x64, integration]
239243
steps:

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.08-py3
14+
ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:24.10-py3
1515
FROM ${PYTORCH_IMAGE}
1616

1717
LABEL maintainer="[email protected]"

tests/test_trt_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def tearDown(self):
4646
if current_device != self.gpu_device:
4747
torch.cuda.set_device(self.gpu_device)
4848

49-
@SkipIfAtLeastPyTorchVersion((2, 5, 0))
49+
@SkipIfAtLeastPyTorchVersion((2, 4, 1))
5050
def test_handler(self):
5151
from ignite.engine import Engine
5252

0 commit comments

Comments
 (0)