@@ -36,7 +36,7 @@ case "${TARGET}" in
3636 torch110 )
3737 # PyTorch 1.10 + Python 3.8
3838 docker_build_and_push \
39- --build-arg base_image=" nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18 .04" \
39+ --build-arg base_image=" nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20 .04" \
4040 --build-arg python_version=" 3.8.15" \
4141 --build-arg pip_install_torch_args=" torch==1.10.* torchvision==0.11.* -f https://download.pytorch.org/whl/cu113/torch_stable.html" \
4242 --build-arg pip_install_dep_args=" cupy-cuda11x pytorch-ignite onnx ${TEST_PIP_PACKAGES} "
@@ -45,25 +45,25 @@ case "${TARGET}" in
4545 torch111 )
4646 # PyTorch 1.11 + Python 3.9
4747 docker_build_and_push \
48- --build-arg base_image=" nvidia/cuda:11.3.1 -cudnn8-devel-ubuntu18 .04" \
48+ --build-arg base_image=" nvidia/cuda:11.5.2 -cudnn8-devel-ubuntu20 .04" \
4949 --build-arg python_version=" 3.9.7" \
50- --build-arg pip_install_torch_args=" torch==1.11.* torchvision==0.12.* -f https://download.pytorch.org/whl/cu113 /torch_stable.html" \
50+ --build-arg pip_install_torch_args=" torch==1.11.* torchvision==0.12.* -f https://download.pytorch.org/whl/cu115 /torch_stable.html" \
5151 --build-arg pip_install_dep_args=" cupy-cuda11x pytorch-ignite onnx ${TEST_PIP_PACKAGES} "
5252 ;;
5353
5454 torch112 )
5555 # PyTorch 1.12 + Python 3.10
5656 docker_build_and_push \
57- --build-arg base_image=" nvidia/cuda:11.3 .1-cudnn8-devel-ubuntu18 .04" \
57+ --build-arg base_image=" nvidia/cuda:11.7 .1-cudnn8-devel-ubuntu20 .04" \
5858 --build-arg python_version=" 3.10.5" \
59- --build-arg pip_install_torch_args=" torch==1.12.* torchvision==0.13.* -f https://download.pytorch.org/whl/cu113 /torch_stable.html" \
59+ --build-arg pip_install_torch_args=" torch==1.12.* torchvision==0.13.* -f https://download.pytorch.org/whl/cu117 /torch_stable.html" \
6060 --build-arg pip_install_dep_args=" cupy-cuda11x pytorch-ignite onnx ${TEST_PIP_PACKAGES} "
6161 ;;
6262
6363 torch113 )
6464 # PyTorch 1.13 + Python 3.10
6565 docker_build_and_push \
66- --build-arg base_image=" nvidia/cuda:11.7.1-cudnn8-devel-ubuntu18 .04" \
66+ --build-arg base_image=" nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22 .04" \
6767 --build-arg python_version=" 3.10.5" \
6868 --build-arg pip_install_torch_args=" torch==1.13.* torchvision==0.14.* -f https://download.pytorch.org/whl/cu117/torch_stable.html" \
6969 --build-arg pip_install_dep_args=" cupy-cuda11x pytorch-ignite onnx ${TEST_PIP_PACKAGES} "
@@ -72,7 +72,7 @@ case "${TARGET}" in
7272 torch200 )
7373 # PyTorch 2.0 + Python 3.10
7474 docker_build_and_push \
75- --build-arg base_image=" nvidia/cuda:11.7.1-cudnn8-devel-ubuntu18 .04" \
75+ --build-arg base_image=" nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22 .04" \
7676 --build-arg python_version=" 3.10.5" \
7777 --build-arg pip_install_torch_args=" torch==2.0.* torchvision==0.15.* -f https://download.pytorch.org/whl/cu117/torch_stable.html" \
7878 --build-arg pip_install_dep_args=" cupy-cuda11x pytorch-ignite onnx ${TEST_PIP_PACKAGES} "
0 commit comments