Skip to content

Commit

Permalink
feat: update pytorch
Browse files Browse the repository at this point in the history
  • Loading branch information
origyZ committed May 7, 2024
1 parent 037530a commit f12cf5e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pytorch/base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvidia/cuda:11.6.2-devel-ubuntu20.04
FROM nvidia/cuda:12.2.2-devel-ubuntu20.04

RUN set -eux; \
apt-get update; \
Expand All @@ -11,7 +11,6 @@ RUN set -eux; \
rm -rf /var/lib/apt/lists/*

RUN pip install --disable-pip-version-check --no-cache-dir \
torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 torchtext==0.14.1 \
--extra-index-url https://download.pytorch.org/whl/cu116; \
torch==2.1.0 torchvision==0.16 torchaudio==2.1.0 torchtext==0.16.0; \
pip install --disable-pip-version-check --no-cache-dir \
Pillow scikit-learn pyyaml

0 comments on commit f12cf5e

Please sign in to comment.