gabejacobs
commited on
Commit
•
88014f0
1
Parent(s):
156ea5f
upgrade torch
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -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.0
|
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
|
|
|
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
|