diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index a784f2c7fa..b34f2c87ac 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -62,7 +62,7 @@ jobs: if: github.repository == 'Project-MONAI/MONAI' strategy: matrix: - container: ["pytorch:21.02", "pytorch:21.12"] # 21.02 for backward comp. + container: ["pytorch:21.02", "pytorch:22.01"] # 21.02 for backward comp. container: image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image options: "--gpus all" @@ -106,7 +106,7 @@ jobs: if: github.repository == 'Project-MONAI/MONAI' strategy: matrix: - container: ["pytorch:21.02", "pytorch:21.12"] # 21.02 for backward comp. + container: ["pytorch:21.02", "pytorch:22.01"] # 21.02 for backward comp. container: image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image options: "--gpus all" diff --git a/.github/workflows/pythonapp-gpu.yml b/.github/workflows/pythonapp-gpu.yml index 7825c03ae1..635d5ab834 100644 --- a/.github/workflows/pythonapp-gpu.yml +++ b/.github/workflows/pythonapp-gpu.yml @@ -23,7 +23,7 @@ jobs: - "PT18+CUDA102" - "PT18+CUDA112" - "PT19+CUDA114" - - "PT110+CUDA115" + - "PT110+CUDA116" - "PT110+CUDA102" include: # https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes @@ -43,11 +43,11 @@ jobs: # 21.10: 1.10.0a0+0aef44c pytorch: "-h" base: "nvcr.io/nvidia/pytorch:21.10-py3" - - environment: PT110+CUDA115 + - environment: PT110+CUDA116 # we explicitly set pytorch to -h to avoid pip install error - # 21.12: 1.11.0a0+b6df043 + # 22.01: 1.11.0a0+bfe5ad2 pytorch: "-h" - base: "nvcr.io/nvidia/pytorch:21.12-py3" + base: "nvcr.io/nvidia/pytorch:22.01-py3" - environment: PT110+CUDA102 pytorch: "torch==1.10.1 torchvision==0.11.2" base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04" diff --git a/Dockerfile b/Dockerfile index 43dc103e0f..ab79eaaa5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ # To build with a different base image # please run `docker build` using the `--build-arg PYTORCH_IMAGE=...` flag. -ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:21.12-py3 +ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:22.01-py3 FROM ${PYTORCH_IMAGE} LABEL maintainer="monai.contact@gmail.com"