Skip to content

Commit 7802ff6

Browse files
authored
[docker] Updated GPU Dockerfiles to CUDA 11.2 (ray-project#16269)
1 parent 6f5064b commit 7802ff6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ key="$1"
1717
case $key in
1818
--gpu)
1919
GPU="-gpu"
20-
BASE_IMAGE="nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04"
20+
BASE_IMAGE="nvidia/cuda:11.2.0-cudnn8-devel-ubuntu18.04"
2121
;;
2222
--no-cache-build)
2323
NO_CACHE="--no-cache"

ci/travis/build-docker-images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _build_cpu_gpu_images(image_name, no_cache=True) -> List[str]:
120120

121121
if image_name == "base-deps":
122122
build_args["BASE_IMAGE"] = (
123-
"nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04"
123+
"nvidia/cuda:11.2.0-cudnn8-devel-ubuntu18.04"
124124
if gpu == "-gpu" else "ubuntu:focal")
125125
else:
126126
# NOTE(ilr) This is a bit of an abuse of the name "GPU"

docker/base-deps/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The base-deps Docker image installs main libraries needed to run Ray
22

3-
# The GPU option is nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04
3+
# The GPU option is nvidia/cuda:11.2.0-cudnn8-devel-ubuntu18.04
44
ARG BASE_IMAGE="ubuntu:focal"
55
FROM ${BASE_IMAGE}
66
# FROM directive resets ARG

0 commit comments

Comments
 (0)