Skip to content

Commit d8d8b2a

Browse files
authored
pin torch version (huggingface#5297)
1 parent 84b82a6 commit d8d8b2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/diffusers-pytorch-cuda/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ ENV PATH="/opt/venv/bin:$PATH"
2525
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
2626
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
2727
python3 -m pip install --no-cache-dir \
28-
torch \
29-
torchvision \
28+
torch==2.0.1 \
29+
torchvision==0.15.2 \
3030
torchaudio \
3131
invisible_watermark && \
3232
python3 -m pip install --no-cache-dir \

0 commit comments

Comments
 (0)