gabejacobs commited on
Commit
aed1647
1 Parent(s): 88014f0

reverting cuda/torch versions

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM nvidia/cuda:12.1.0-base-ubuntu22.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  PYTHONUNBUFFERED=1 \
@@ -17,7 +17,7 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
17
 
18
  RUN useradd -m -u 1000 ac
19
  RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip wheel
20
- ENV TORCH_COMMAND="pip install torch==2.1.0+cu121 torchaudio --extra-index-url https://download.pytorch.org/whl/cu121"
21
  RUN --mount=type=cache,target=/root/.cache python -m $TORCH_COMMAND
22
  RUN ln -s /usr/lib/x86_64-linux-gnu/libnvrtc.so.11.2 /usr/lib/x86_64-linux-gnu/libnvrtc.so
23
  USER 1000
 
1
+ FROM nvidia/cuda:11.8.0-base-ubuntu22.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  PYTHONUNBUFFERED=1 \
 
17
 
18
  RUN useradd -m -u 1000 ac
19
  RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip wheel
20
+ ENV TORCH_COMMAND="pip install torch==2.0.1+cu118 torchaudio --extra-index-url https://download.pytorch.org/whl/cu118"
21
  RUN --mount=type=cache,target=/root/.cache python -m $TORCH_COMMAND
22
  RUN ln -s /usr/lib/x86_64-linux-gnu/libnvrtc.so.11.2 /usr/lib/x86_64-linux-gnu/libnvrtc.so
23
  USER 1000