Skip to content

Commit 9451235

Browse files
authored
[Urgent][Docker CI] pin uv version for now and a minor change in the Slack notification (huggingface#7155)
pin uv version for now.
1 parent c2b6ac4 commit 9451235

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/workflows/build_docker_images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
# For posting a rich message using Block Kit
6363
payload: |
6464
{
65-
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
65+
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.head_commit.url }}",
6666
"blocks": [
6767
{
6868
"type": "section",
6969
"text": {
7070
"type": "mrkdwn",
71-
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
71+
"text": "${{ matrix.image-name }} Docker Image build result: ${{ job.status }}\n${{ github.event.head_commit.url }}"
7272
}
7373
}
7474
]

docker/diffusers-flax-cpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ENV PATH="/opt/venv/bin:$PATH"
2323

2424
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
2525
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
26-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
26+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2727
python3 -m uv pip install --upgrade --no-cache-dir \
2828
clu \
2929
"jax[cpu]>=0.2.16,!=0.3.2" \

docker/diffusers-flax-tpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ENV PATH="/opt/venv/bin:$PATH"
2323

2424
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
2525
# follow the instructions here: https://cloud.google.com/tpu/docs/run-in-container#train_a_jax_model_in_a_docker_container
26-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
26+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2727
python3 -m pip install --no-cache-dir \
2828
"jax[tpu]>=0.2.16,!=0.3.2" \
2929
-f https://storage.googleapis.com/jax-releases/libtpu_releases.html && \

docker/diffusers-onnxruntime-cpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN python3 -m venv /opt/venv
2222
ENV PATH="/opt/venv/bin:$PATH"
2323

2424
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
25-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
25+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2626
python3 -m uv pip install --no-cache-dir \
2727
torch==2.1.2 \
2828
torchvision==0.16.2 \

docker/diffusers-onnxruntime-cuda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN python3 -m venv /opt/venv
2222
ENV PATH="/opt/venv/bin:$PATH"
2323

2424
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
25-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
25+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2626
python3 -m uv pip install --no-cache-dir \
2727
torch==2.1.2 \
2828
torchvision==0.16.2 \

docker/diffusers-pytorch-compile-cuda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN python3.9 -m venv /opt/venv
2424
ENV PATH="/opt/venv/bin:$PATH"
2525

2626
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
27-
RUN python3.9 -m pip install --no-cache-dir --upgrade pip uv && \
27+
RUN python3.9 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2828
python3.9 -m uv pip install --no-cache-dir \
2929
torch \
3030
torchvision \

docker/diffusers-pytorch-cpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
2323
ENV PATH="/opt/venv/bin:$PATH"
2424

2525
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
26-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
26+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2727
python3 -m uv pip install --no-cache-dir \
2828
torch \
2929
torchvision \

docker/diffusers-pytorch-cuda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
2323
ENV PATH="/opt/venv/bin:$PATH"
2424

2525
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
26-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
26+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2727
python3 -m uv pip install --no-cache-dir \
2828
torch \
2929
torchvision \

docker/diffusers-pytorch-xformers-cuda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN python3 -m venv /opt/venv
2323
ENV PATH="/opt/venv/bin:$PATH"
2424

2525
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
26-
RUN python3 -m pip install --no-cache-dir --upgrade pip uv && \
26+
RUN python3 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
2727
python3 -m pip install --no-cache-dir \
2828
torch \
2929
torchvision \

0 commit comments

Comments
 (0)