Skip to content

Commit 869bad3

Browse files
DN6sayakpaul
andauthored
FIx torch and cuda version in ONNX tests (#7164)
update Co-authored-by: Sayak Paul <[email protected]>
1 parent 01ee097 commit 869bad3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docker/diffusers-onnxruntime-cuda/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04
1+
FROM nvidia/cuda:12.1.0-runtime-ubuntu20.04
22
LABEL maintainer="Hugging Face"
33
LABEL repository="diffusers"
44

@@ -24,9 +24,9 @@ ENV PATH="/opt/venv/bin:$PATH"
2424
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
2525
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2626
python3 -m uv pip install --no-cache-dir \
27-
torch==2.1.2 \
28-
torchvision==0.16.2 \
29-
torchaudio==2.1.2 \
27+
torch \
28+
torchvision \
29+
torchaudio \
3030
"onnxruntime-gpu>=1.13.1" \
3131
--extra-index-url https://download.pytorch.org/whl/cu117 && \
3232
python3 -m uv pip install --no-cache-dir \

0 commit comments

Comments
 (0)