From 0575195a247740f8bde9c6cfbe05b737391afae6 Mon Sep 17 00:00:00 2001 From: Atinoda <61033436+Atinoda@users.noreply.github.com> Date: Thu, 12 Oct 2023 19:42:05 +0100 Subject: [PATCH] Pin torch to CUDA 11.8 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a13a7f0..55ef2ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV VIRTUAL_ENV=/venv RUN python3 -m venv $VIRTUAL_ENV ENV PATH="$VIRTUAL_ENV/bin:$PATH" RUN pip3 install --upgrade pip setuptools && \ - pip3 install torch torchvision torchaudio + pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 FROM env_base AS app_base # Copy and enable all scripts