Skip to content

Commit 6ea9742

Browse files
authored
Workaround OOM issue in classification 2D integration tests (#3949)
* [DLMED] update to 21.10 Signed-off-by: Nic Ma <[email protected]> * [DLMED] fix typo in integration test config Signed-off-by: Nic Ma <[email protected]>
1 parent 6ff8535 commit 6ea9742

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
if: github.repository == 'Project-MONAI/MONAI'
6363
strategy:
6464
matrix:
65-
container: ["pytorch:21.02", "pytorch:22.02"] # 21.02 for backward comp.
65+
container: ["pytorch:21.02", "pytorch:21.10"] # 21.02 for backward comp.
6666
container:
6767
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
6868
options: "--gpus all"
@@ -106,7 +106,7 @@ jobs:
106106
if: github.repository == 'Project-MONAI/MONAI'
107107
strategy:
108108
matrix:
109-
container: ["pytorch:21.02", "pytorch:22.02"] # 21.02 for backward comp.
109+
container: ["pytorch:21.02", "pytorch:21.10"] # 21.02 for backward comp.
110110
container:
111111
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
112112
options: "--gpus all"

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
integration-py3:
99
container:
10-
image: nvcr.io/nvidia/pytorch:21.12-py3 # CUDA 11.5
10+
image: nvcr.io/nvidia/pytorch:21.10-py3 # CUDA 11.4
1111
options: --gpus all
1212
runs-on: [self-hosted, linux, x64, common]
1313
steps:
@@ -34,7 +34,7 @@ jobs:
3434
which python
3535
python -m pip install --upgrade pip wheel
3636
python -m pip uninstall -y torch torchvision
37-
python -m pip install torch==1.11.0+cu115 torchvision==0.12.0+cu115 -f https://download.pytorch.org/whl/torch_stable.html
37+
python -m pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html
3838
python -m pip install -r requirements-dev.txt
3939
- name: Run integration tests
4040
run: |

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

1717
LABEL maintainer="[email protected]"

0 commit comments

Comments
 (0)