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
2a1d2f62
Unverified
Commit
2a1d2f62
authored
Oct 20, 2024
by
Sayak Paul
Committed by
GitHub
Oct 20, 2024
Browse files
[Docker] pin torch versions in the dockerfiles. (#9721)
* pin torch versions in the dockerfiles. * more
parent
56d6d21b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
docker/diffusers-onnxruntime-cuda/Dockerfile
docker/diffusers-onnxruntime-cuda/Dockerfile
+1
-1
docker/diffusers-pytorch-compile-cuda/Dockerfile
docker/diffusers-pytorch-compile-cuda/Dockerfile
+1
-1
docker/diffusers-pytorch-cpu/Dockerfile
docker/diffusers-pytorch-cpu/Dockerfile
+1
-1
docker/diffusers-pytorch-cuda/Dockerfile
docker/diffusers-pytorch-cuda/Dockerfile
+1
-1
docker/diffusers-pytorch-xformers-cuda/Dockerfile
docker/diffusers-pytorch-xformers-cuda/Dockerfile
+1
-1
No files found.
docker/diffusers-onnxruntime-cuda/Dockerfile
View file @
2a1d2f62
...
@@ -28,7 +28,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -28,7 +28,7 @@ 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.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
RUN
python3.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3.10
-m
uv pip
install
--no-cache-dir
\
python3.10
-m
uv pip
install
--no-cache-dir
\
torch
\
"
torch
<2.5.0"
\
torchvision
\
torchvision
\
torchaudio
\
torchaudio
\
"onnxruntime-gpu>=1.13.1"
\
"onnxruntime-gpu>=1.13.1"
\
...
...
docker/diffusers-pytorch-compile-cuda/Dockerfile
View file @
2a1d2f62
...
@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -29,7 +29,7 @@ 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.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
RUN
python3.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3.10
-m
uv pip
install
--no-cache-dir
\
python3.10
-m
uv pip
install
--no-cache-dir
\
torch
\
"
torch
<2.5.0"
\
torchvision
\
torchvision
\
torchaudio
\
torchaudio
\
invisible_watermark
&&
\
invisible_watermark
&&
\
...
...
docker/diffusers-pytorch-cpu/Dockerfile
View file @
2a1d2f62
...
@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -29,7 +29,7 @@ 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.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
RUN
python3.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3.10
-m
uv pip
install
--no-cache-dir
\
python3.10
-m
uv pip
install
--no-cache-dir
\
torch
\
"
torch
<2.5.0"
\
torchvision
\
torchvision
\
torchaudio
\
torchaudio
\
invisible_watermark
\
invisible_watermark
\
...
...
docker/diffusers-pytorch-cuda/Dockerfile
View file @
2a1d2f62
...
@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -29,7 +29,7 @@ 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.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
RUN
python3.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3.10
-m
uv pip
install
--no-cache-dir
\
python3.10
-m
uv pip
install
--no-cache-dir
\
torch
\
"
torch
<2.5.0"
\
torchvision
\
torchvision
\
torchaudio
\
torchaudio
\
invisible_watermark
&&
\
invisible_watermark
&&
\
...
...
docker/diffusers-pytorch-xformers-cuda/Dockerfile
View file @
2a1d2f62
...
@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -29,7 +29,7 @@ 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.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
RUN
python3.10
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3.10
-m
pip
install
--no-cache-dir
\
python3.10
-m
pip
install
--no-cache-dir
\
torch
\
"
torch
<2.5.0"
\
torchvision
\
torchvision
\
torchaudio
\
torchaudio
\
invisible_watermark
&&
\
invisible_watermark
&&
\
...
...
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