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
9451235e
Unverified
Commit
9451235e
authored
Mar 01, 2024
by
Sayak Paul
Committed by
GitHub
Mar 01, 2024
Browse files
[Urgent][Docker CI] pin `uv` version for now and a minor change in the Slack notification (#7155)
pin uv version for now.
parent
c2b6ac4e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
.github/workflows/build_docker_images.yml
.github/workflows/build_docker_images.yml
+2
-2
docker/diffusers-flax-cpu/Dockerfile
docker/diffusers-flax-cpu/Dockerfile
+1
-1
docker/diffusers-flax-tpu/Dockerfile
docker/diffusers-flax-tpu/Dockerfile
+1
-1
docker/diffusers-onnxruntime-cpu/Dockerfile
docker/diffusers-onnxruntime-cpu/Dockerfile
+1
-1
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.
.github/workflows/build_docker_images.yml
View file @
9451235e
...
@@ -62,13 +62,13 @@ jobs:
...
@@ -62,13 +62,13 @@ jobs:
# For posting a rich message using Block Kit
# For posting a rich message using Block Kit
payload
:
|
payload
:
|
{
{
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{
github.event.pull_request.html_url ||
github.event.head_commit.url }}",
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.head_commit.url }}",
"blocks": [
"blocks": [
{
{
"type": "section",
"type": "section",
"text": {
"text": {
"type": "mrkdwn",
"type": "mrkdwn",
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{
github.event.pull_request.html_url ||
github.event.head_commit.url }}"
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.head_commit.url }}"
}
}
}
}
]
]
...
...
docker/diffusers-flax-cpu/Dockerfile
View file @
9451235e
...
@@ -23,7 +23,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -23,7 +23,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)
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip uv
&&
\
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3
-m
uv pip
install
--upgrade
--no-cache-dir
\
python3
-m
uv pip
install
--upgrade
--no-cache-dir
\
clu
\
clu
\
"jax[cpu]>=0.2.16,!=0.3.2"
\
"jax[cpu]>=0.2.16,!=0.3.2"
\
...
...
docker/diffusers-flax-tpu/Dockerfile
View file @
9451235e
...
@@ -23,7 +23,7 @@ ENV PATH="/opt/venv/bin:$PATH"
...
@@ -23,7 +23,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)
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip uv
&&
\
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3
-m
pip
install
--no-cache-dir
\
python3
-m
pip
install
--no-cache-dir
\
"jax[tpu]>=0.2.16,!=0.3.2"
\
"jax[tpu]>=0.2.16,!=0.3.2"
\
-f
https://storage.googleapis.com/jax-releases/libtpu_releases.html
&&
\
-f
https://storage.googleapis.com/jax-releases/libtpu_releases.html
&&
\
...
...
docker/diffusers-onnxruntime-cpu/Dockerfile
View file @
9451235e
...
@@ -22,7 +22,7 @@ RUN python3 -m venv /opt/venv
...
@@ -22,7 +22,7 @@ RUN python3 -m venv /opt/venv
ENV
PATH="/opt/venv/bin:$PATH"
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
&&
\
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
==
2.1.2
\
torchvision
==
0.16.2
\
torchvision
==
0.16.2
\
...
...
docker/diffusers-onnxruntime-cuda/Dockerfile
View file @
9451235e
...
@@ -22,7 +22,7 @@ RUN python3 -m venv /opt/venv
...
@@ -22,7 +22,7 @@ RUN python3 -m venv /opt/venv
ENV
PATH="/opt/venv/bin:$PATH"
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
&&
\
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
==
2.1.2
\
torchvision
==
0.16.2
\
torchvision
==
0.16.2
\
...
...
docker/diffusers-pytorch-compile-cuda/Dockerfile
View file @
9451235e
...
@@ -24,7 +24,7 @@ RUN python3.9 -m venv /opt/venv
...
@@ -24,7 +24,7 @@ RUN python3.9 -m venv /opt/venv
ENV
PATH="/opt/venv/bin:$PATH"
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.9
-m
pip
install
--no-cache-dir
--upgrade
pip uv
&&
\
RUN
python3.9
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3.9
-m
uv pip
install
--no-cache-dir
\
python3.9
-m
uv pip
install
--no-cache-dir
\
torch
\
torch
\
torchvision
\
torchvision
\
...
...
docker/diffusers-pytorch-cpu/Dockerfile
View file @
9451235e
...
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
...
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
ENV
PATH="/opt/venv/bin:$PATH"
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
&&
\
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
\
torch
\
torchvision
\
torchvision
\
...
...
docker/diffusers-pytorch-cuda/Dockerfile
View file @
9451235e
...
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
...
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
ENV
PATH="/opt/venv/bin:$PATH"
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
&&
\
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
\
torch
\
torchvision
\
torchvision
\
...
...
docker/diffusers-pytorch-xformers-cuda/Dockerfile
View file @
9451235e
...
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
...
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
ENV
PATH="/opt/venv/bin:$PATH"
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
&&
\
RUN
python3
-m
pip
install
--no-cache-dir
--upgrade
pip
uv
==
0.1.11
&&
\
python3
-m
pip
install
--no-cache-dir
\
python3
-m
pip
install
--no-cache-dir
\
torch
\
torch
\
torchvision
\
torchvision
\
...
...
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