File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
diffusers-pytorch-xformers-cuda Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1- FROM nvidia/cuda:12.1 .0-runtime-ubuntu20.04
1+ FROM nvidia/cuda:12.9 .0-runtime-ubuntu20.04
22LABEL maintainer="Hugging Face"
33LABEL repository="diffusers"
44
5- ARG PYTHON_VERSION=3.11
5+ ARG PYTHON_VERSION=3.10
66ENV DEBIAN_FRONTEND=noninteractive
77
88RUN apt-get -y update \
@@ -36,8 +36,12 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
3636RUN uv pip install --no-cache-dir \
3737 torch \
3838 torchvision \
39- torchaudio \
40- --index-url https://download.pytorch.org/whl/cu121
39+ torchaudio
40+
41+ # Install compatible versions of numba/llvmlite for Python 3.10+
42+ RUN uv pip install --no-cache-dir \
43+ "llvmlite>=0.40.0" \
44+ "numba>=0.57.0"
4145
4246RUN uv pip install --no-cache-dir "git+https://github.com/huggingface/diffusers.git@main#egg=diffusers[test]"
4347
Original file line number Diff line number Diff line change 1- FROM nvidia/cuda:12.1 .0-runtime-ubuntu20.04
1+ FROM nvidia/cuda:12.9 .0-runtime-ubuntu20.04
22LABEL maintainer="Hugging Face"
33LABEL repository="diffusers"
44
5- ARG PYTHON_VERSION=3.11
5+ ARG PYTHON_VERSION=3.10
66ENV DEBIAN_FRONTEND=noninteractive
77
88RUN apt-get -y update \
@@ -36,8 +36,12 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
3636RUN uv pip install --no-cache-dir \
3737 torch \
3838 torchvision \
39- torchaudio \
40- --index-url https://download.pytorch.org/whl/cu121
39+ torchaudio
40+
41+ # Install compatible versions of numba/llvmlite for Python 3.10+
42+ RUN uv pip install --no-cache-dir \
43+ "llvmlite>=0.40.0" \
44+ "numba>=0.57.0"
4145
4246RUN uv pip install --no-cache-dir "git+https://github.com/huggingface/diffusers.git@main#egg=diffusers[test]"
4347
You can’t perform that action at this time.
0 commit comments