hy3d-comfyui (v2)

Published 2026-08-26 09:13:30 +00:00 by ignohr

Installation

docker pull forgejo.ignohr.com/ignohr/hy3d-comfyui:v2
sha256:892eb7f1cb84ca47ccc0cd8eb437a328b0e177751732eaa43d3a74ca18bae119

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:d938ff3d4eee15d8600de84bf85eac6ecd0f20bc92dfe305dafbff0bdc974c0f in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ENV IMAGEIO_FFMPEG_EXE=/usr/bin/ffmpeg
ENV FILEBROWSER_CONFIG=/workspace/runpod-slim/.filebrowser.json
ARG CUDA_VERSION_DASH=13-0
ARG TORCH_VERSION=2.10.0+cu130
ARG TORCHVISION_VERSION=0.25.0+cu130
ARG TORCHAUDIO_VERSION=2.10.0+cu130
ARG FILEBROWSER_VERSION=v2.59.0
ARG FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c printf "torch==%s\ntorchvision==%s\ntorchaudio==%s\n" "$TORCH_VERSION" "$TORCHVISION_VERSION" "$TORCHAUDIO_VERSION" > /opt/comfyui-runtime-constraints.txt # buildkit
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends git python3.12 python3.12-venv python3.12-dev build-essential libssl-dev wget gnupg xz-utils openssh-client openssh-server nano curl htop tmux ca-certificates less net-tools iputils-ping procps openssl ffmpeg rsync && wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb && dpkg -i cuda-keyring_1.1-1_all.deb && apt-get update && apt-get install -y --no-install-recommends cuda-minimal-build-${CUDA_VERSION_DASH} && apt-get clean && rm -rf /var/lib/apt/lists/* && rm cuda-keyring_1.1-1_all.deb && rm -f /usr/lib/python3.12/EXTERNALLY-MANAGED # buildkit
COPY /usr/local/lib/python3.12 /usr/local/lib/python3.12 # buildkit
COPY /usr/local/bin /usr/local/bin # buildkit
COPY /usr/local/share/jupyter /usr/local/share/jupyter # buildkit
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c mkdir -p /usr/local/etc/jupyter/jupyter_server_config.d && echo '{"ServerApp":{"jpserver_extensions":{"jupyter_server_terminals":true,"jupyterlab":true,"jupyter_resource_usage":true,"jupyterlab_nvdashboard":true}}}' > /usr/local/etc/jupyter/jupyter_server_config.d/extensions.json # buildkit
COPY /opt/comfyui-baked /opt/comfyui-baked # buildkit
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c pip uninstall -y uv 2>/dev/null || true && rm -f /usr/local/bin/uv /usr/local/bin/uvx # buildkit
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c curl -fSL "https://github.com/filebrowser/filebrowser/releases/download/${FILEBROWSER_VERSION}/linux-amd64-filebrowser.tar.gz" -o /tmp/fb.tar.gz && echo "${FILEBROWSER_SHA256} /tmp/fb.tar.gz" | sha256sum -c - && tar xzf /tmp/fb.tar.gz -C /usr/local/bin filebrowser && rm /tmp/fb.tar.gz # buildkit
ENV PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64
ENV NVIDIA_REQUIRE_CUDA=
ENV NVIDIA_DISABLE_REQUIRE=true
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=all
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && mkdir -p /run/sshd && rm -f /etc/ssh/ssh_host_* # buildkit
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c mkdir -p /workspace/runpod-slim # buildkit
WORKDIR /workspace/runpod-slim
EXPOSE [22/tcp 8080/tcp 8188/tcp 8888/tcp]
COPY start.sh /start.sh # buildkit
RUN |6 CUDA_VERSION_DASH=13-0 TORCH_VERSION=2.10.0+cu130 TORCHVISION_VERSION=0.25.0+cu130 TORCHAUDIO_VERSION=2.10.0+cu130 FILEBROWSER_VERSION=v2.59.0 FILEBROWSER_SHA256=8cd8c3baecb086028111b912f252a6e3169737fa764b5c510139e81f9da87799 /bin/sh -c update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 && update-alternatives --set python3 /usr/bin/python3.12 # buildkit
ENTRYPOINT ["/start.sh"]
ENV DEBIAN_FRONTEND=noninteractive
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libopengl0 libegl1 libgl1 git cuda-cudart-dev-13-0 libcusparse-dev-13-0 libcublas-dev-13-0 libcusolver-dev-13-0 libcufft-dev-13-0 libcurand-dev-13-0 && rm -rf /var/lib/apt/lists/*
ENV COMFYUI=/opt/comfyui-baked
ENV CUDA_HOME=/usr/local/cuda
ENV TORCH_CUDA_ARCH_LIST=12.0
ENV FORCE_CUDA=1
WORKDIR /opt/comfyui-baked
/bin/sh -c git clone --depth 1 https://github.com/kijai/ComfyUI-Hunyuan3DWrapper.git custom_nodes/ComfyUI-Hunyuan3DWrapper
/bin/sh -c pip install --no-cache-dir -r custom_nodes/ComfyUI-Hunyuan3DWrapper/requirements.txt omegaconf beartype torchdiffeq pytorch_custom_utils pytorch_lightning x_transformers rembg onnxruntime runpod && pip install --no-cache-dir --no-build-isolation pyfqmr diso pynanoinstantmeshes "git+https://github.com/EasternJournalist/utils3d.git" "git+https://github.com/NVlabs/nvdiffrast.git"
/bin/sh -c cd custom_nodes/ComfyUI-Hunyuan3DWrapper/hy3dgen/texgen/custom_rasterizer && pip install --no-cache-dir --no-build-isolation . && cd $COMFYUI/custom_nodes/ComfyUI-Hunyuan3DWrapper/hy3dgen/texgen/differentiable_renderer && python3.12 setup.py build_ext --inplace
COPY file:4066a14c93d32dfe6adfb667a3a853568eab5c7bf44172d0d129b6105a776765 in /hy3d_handler.py
ENTRYPOINT ["python3.12" "/hy3d_handler.py"]

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-08-26 09:13:30 +00:00
2
OCI / Docker
linux/amd64
6.3 GiB
Versions (2) View all
v2 2026-08-26
v1 2026-08-26