minor fix
Docker Build and Release Upload / build-comfyui-rocm (push) Has been cancelled
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
Docker Build and Release Upload / build-comfyui-cuda (push) Failing after 6m52s

This commit is contained in:
2026-05-17 20:58:48 -07:00
parent 002f10e8fb
commit 2a524d3391
2 changed files with 20 additions and 4 deletions
+4 -3
View File
@@ -16,9 +16,10 @@ RUN apt update && apt install -y \
sox \ sox \
libsox-dev libsox-dev
# 2. Clone and build the torchaudio # 2. Clone and build the torchaudio stable
RUN git clone -b main https://github.com/pytorch/audio.git && \ RUN wget https://github.com/pytorch/audio/archive/refs/tags/v2.11.0.tar.gz && \
cd audio && \ tar -xf v2.11.0.tar.gz && \
cd audio-2.11.0 && \
pip install --no-build-isolation --no-deps -v . pip install --no-build-isolation --no-deps -v .
# Set working directory # Set working directory
+16 -1
View File
@@ -34,6 +34,11 @@ RUN apt update -y && \
zlib1g-dev \ zlib1g-dev \
libncurses5-dev \ libncurses5-dev \
libopenblas-dev \ libopenblas-dev \
libjpeg-dev \
libpng-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libpthreadpool-dev \ libpthreadpool-dev \
libgoogle-glog-dev \ libgoogle-glog-dev \
libgtest-dev \ libgtest-dev \
@@ -147,11 +152,21 @@ RUN git clone https://github.com/pytorch/pytorch.git && \
# Build pytorch-audio # Build pytorch-audio
FROM pytorch AS torchaudio FROM pytorch AS torchaudio
WORKDIR /build/torchaudio WORKDIR /build/torchaudio
RUN wget https://github.com/pytorch/audio/archive/refs/tags/v2.11.0.tar.gz && \
tar -xf v2.11.0.tar.gz && \
cd audio-2.11.0 && \
pip install --no-build-isolation --no-deps -v .
# Tested Working via comfyui-cuda-dockerfile
# Build pytorch-vision # Build pytorch-vision
FROM torchaudio AS torchvision FROM torchaudio AS torchvision
WORKDIR /build/torchaudio WORKDIR /build/torchaudio
RUN git clone https://github.com/pytorch/vision.git ENV FORCE_CUDA=0
RUN git clone https://github.com/pytorch/vision.git . && \
pip install numpy pillow ninja setuptools wheel && \
python setup.py bdist_wheel && \
pip install dist/torchvision-*.whl
# Not tested and not verified ROCM build
# Build final stripped down image # Build final stripped down image
FROM ubuntu:26.04 FROM ubuntu:26.04