Skip to content

Commit 3b27bb6

Browse files
authored
6920 update base image 23.08 (#6921)
Fixes #6920 ### 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. - [x] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [x] 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: Wenqi Li <wenqil@nvidia.com>
1 parent e48c3e2 commit 3b27bb6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/cron.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
base: "nvcr.io/nvidia/pytorch:21.06-py3" # CUDA 11.3
3131
- environment: PTLATEST+CUDA121
3232
pytorch: "-U torch torchvision --extra-index-url https://download.pytorch.org/whl/cu118"
33-
base: "nvcr.io/nvidia/pytorch:23.06-py3" # CUDA 12.1
33+
base: "nvcr.io/nvidia/pytorch:23.08-py3" # CUDA 12.2
3434
container:
3535
image: ${{ matrix.base }}
3636
options: "--gpus all"
@@ -76,7 +76,7 @@ jobs:
7676
if: github.repository == 'Project-MONAI/MONAI'
7777
strategy:
7878
matrix:
79-
container: ["pytorch:22.10", "pytorch:23.06"]
79+
container: ["pytorch:22.10", "pytorch:23.08"]
8080
container:
8181
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
8282
options: "--gpus all"
@@ -121,7 +121,7 @@ jobs:
121121
if: github.repository == 'Project-MONAI/MONAI'
122122
strategy:
123123
matrix:
124-
container: ["pytorch:23.06"]
124+
container: ["pytorch:23.08"]
125125
container:
126126
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
127127
options: "--gpus all"
@@ -221,7 +221,7 @@ jobs:
221221
if: github.repository == 'Project-MONAI/MONAI'
222222
needs: cron-gpu # so that monai itself is verified first
223223
container:
224-
image: nvcr.io/nvidia/pytorch:23.06-py3 # testing with the latest pytorch base image
224+
image: nvcr.io/nvidia/pytorch:23.08-py3 # testing with the latest pytorch base image
225225
options: "--gpus all --ipc=host"
226226
runs-on: [self-hosted, linux, x64, integration]
227227
steps:

.github/workflows/pythonapp-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
pytorch: "torch==1.13.1 torchvision==0.14.1"
4444
base: "nvcr.io/nvidia/cuda:11.6.1-devel-ubuntu18.04"
4545
- environment: PT210+CUDA121DOCKER
46-
# 23.06: 2.1.0a0+4136153
46+
# 23.08: 2.1.0a0+29c30b1
4747
pytorch: "-h" # we explicitly set pytorch to -h to avoid pip install error
48-
base: "nvcr.io/nvidia/pytorch:23.06-py3"
48+
base: "nvcr.io/nvidia/pytorch:23.08-py3"
4949
container:
5050
image: ${{ matrix.base }}
5151
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:23.06-py3
14+
ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:23.08-py3
1515
FROM ${PYTORCH_IMAGE}
1616

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

monai/transforms/spatial/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ def __call__(
837837
lazy_ = self.lazy if lazy is None else lazy
838838
return resize( # type: ignore
839839
img,
840-
sp_size,
840+
tuple(int(_s) for _s in sp_size),
841841
_mode,
842842
_align_corners,
843843
_dtype,

0 commit comments

Comments
 (0)