Upgrade intermediary layer for nvidia too.

This commit is contained in:
Nicolas Patry 2024-02-13 18:00:00 +01:00
parent 6f68bb14c7
commit 2e44f082c8

View File

@ -37,7 +37,7 @@ RUN cargo build --release
# Python builder # Python builder
# Adapted from: https://github.com/pytorch/pytorch/blob/master/Dockerfile # Adapted from: https://github.com/pytorch/pytorch/blob/master/Dockerfile
FROM nvidia/cuda:12.1.0-devel-ubuntu20.04 as pytorch-install FROM nvidia/cuda:12.1.0-devel-ubuntu22.04 as pytorch-install
ARG PYTORCH_VERSION=2.1.1 ARG PYTORCH_VERSION=2.1.1
ARG PYTHON_VERSION=3.10 ARG PYTHON_VERSION=3.10