mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-10 09:03:02 +08:00
Switch to cuDNN 9 in the CUDA Docker images
This commit is contained in:
parent
02020feb80
commit
b54fdc8363
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ RUN distro="ubuntu$(. /etc/lsb-release; echo "$DISTRIB_RELEASE" | tr -d '.')" &&
|
|||
# the CUDA toolkit that is required by Elixir numerical packages
|
||||
# (nvcc and runtime libraries). Note that we do not need to install
|
||||
# the driver, it is already provided by NVIDIA Container Toolkit.
|
||||
apt-get install -y git cuda-nvcc-${CUDA_VERSION} cuda-libraries-${CUDA_VERSION} libcudnn8 && \
|
||||
cuda_version="${CUDA_VERSION}" && cuda_major="${cuda_version%-*}" && \
|
||||
apt-get install -y git cuda-nvcc-${CUDA_VERSION} cuda-libraries-${CUDA_VERSION} libcudnn9-cuda-$cuda_major && \
|
||||
apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Build stage: builds the release
|
||||
|
|
Loading…
Reference in a new issue