Skip to content

Commit 314cfdd

Browse files
authored
[ci] uniform run times and wheels for pytorch cuda. (#13047)
* uniform run times and wheels for pytorch cuda. * 12.9 * change to 24.04. * change to 24.04.
1 parent e7de7d8 commit 314cfdd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docker/diffusers-pytorch-cuda/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:12.9.0-runtime-ubuntu20.04
1+
FROM nvidia/cuda:12.9.1-runtime-ubuntu24.04
22
LABEL maintainer="Hugging Face"
33
LABEL repository="diffusers"
44

@@ -36,7 +36,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
3636
RUN uv pip install --no-cache-dir \
3737
torch \
3838
torchvision \
39-
torchaudio
39+
torchaudio \
40+
--index-url https://download.pytorch.org/whl/cu129
4041

4142
# Install compatible versions of numba/llvmlite for Python 3.10+
4243
RUN uv pip install --no-cache-dir \

docker/diffusers-pytorch-xformers-cuda/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:12.9.0-runtime-ubuntu20.04
1+
FROM nvidia/cuda:12.9.1-runtime-ubuntu24.04
22
LABEL maintainer="Hugging Face"
33
LABEL repository="diffusers"
44

@@ -36,7 +36,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
3636
RUN uv pip install --no-cache-dir \
3737
torch \
3838
torchvision \
39-
torchaudio
39+
torchaudio \
40+
--index-url https://download.pytorch.org/whl/cu129
4041

4142
# Install compatible versions of numba/llvmlite for Python 3.10+
4243
RUN uv pip install --no-cache-dir \

0 commit comments

Comments
 (0)