Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
869bad3e
Unverified
Commit
869bad3e
authored
Mar 04, 2024
by
Dhruv Nair
Committed by
GitHub
Mar 04, 2024
Browse files
FIx torch and cuda version in ONNX tests (#7164)
update Co-authored-by:
Sayak Paul
<
spsayakpaul@gmail.com
>
parent
01ee0978
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docker/diffusers-onnxruntime-cuda/Dockerfile
docker/diffusers-onnxruntime-cuda/Dockerfile
+4
-4
No files found.
docker/diffusers-onnxruntime-cuda/Dockerfile
View file @
869bad3e
FROM
nvidia/cuda:1
1.6.2-cudnn8-devel
-ubuntu20.04
FROM
nvidia/cuda:1
2.1.0-runtime
-ubuntu20.04
LABEL
maintainer="Hugging Face"
LABEL
maintainer="Hugging Face"
LABEL
repository="diffusers"
LABEL
repository="diffusers"
...
@@ -24,9 +24,9 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -24,9 +24,9 @@ ENV PATH="/opt/venv/bin:$PATH"
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3
-m
uv pip
install
--no-cache-dir
\
python3
-m
uv pip
install
--no-cache-dir
\
torch
==
2.1.2
\
torch
\
torchvision
==
0.16.2
\
torchvision
\
torchaudio
==
2.1.2
\
torchaudio
\
"onnxruntime-gpu>=1.13.1"
\
"onnxruntime-gpu>=1.13.1"
\
--extra-index-url
https://download.pytorch.org/whl/cu117
&&
\
--extra-index-url
https://download.pytorch.org/whl/cu117
&&
\
python3
-m
uv pip
install
--no-cache-dir
\
python3
-m
uv pip
install
--no-cache-dir
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment