Compare commits

15 Commits

Author SHA1 Message Date
derek b1ae60d36f More fixes
Docker Build and Release Upload / build-uvicorn (push) Successful in 4m34s
Docker Build and Release Upload / build-rocm (push) Successful in 54m21s
Docker Build and Release Upload / build-cuda (push) Successful in 1h12m26s
2026-04-24 20:18:44 -07:00
derek c80d24411a test new route
Docker Build and Release Upload / build-uvicorn (push) Successful in 4m20s
Docker Build and Release Upload / build-rocm (push) Failing after 6m52s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-24 20:09:04 -07:00
derek c9f2e3bf2f Test sideload torchsde
Docker Build and Release Upload / build-rocm (push) Failing after 6m51s
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-24 19:52:22 -07:00
derek d5de4893ec Fix packages
Docker Build and Release Upload / build-uvicorn (push) Successful in 4m49s
Docker Build and Release Upload / build-rocm (push) Failing after 6m40s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-24 19:11:20 -07:00
derek 0b68bc2db0 fix package
Docker Build and Release Upload / build-rocm (push) Failing after 20s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
2026-04-24 19:01:07 -07:00
derek 6266b91c6d Fix builder
Docker Build and Release Upload / build-rocm (push) Failing after 1m1s
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-24 18:56:53 -07:00
derek feb21eb9a0 Merge branch 'main' of https://git.mistox.net/derek/ComfyUI-ARM64-Docker
Docker Build and Release Upload / build-rocm (push) Failing after 10s
Docker Build and Release Upload / build-uvicorn (push) Successful in 3m40s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-24 18:32:06 -07:00
derek 5e1f151630 Update to new Ubuntu LTS 2026-04-24 18:30:51 -07:00
derek fdeeed9f18 Update comfyui-rocm-dockerfile
Docker Build and Release Upload / build-rocm (push) Failing after 2m30s
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-16 21:27:22 -07:00
derek 8be260c568 Allow pip packages
Docker Build and Release Upload / build-rocm (push) Failing after 2m0s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
2026-04-16 19:23:08 -07:00
derek 24148cf5b6 Add libraries
Docker Build and Release Upload / build-rocm (push) Failing after 1m47s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
2026-04-16 19:19:01 -07:00
derek e3f2375e4c build with no libraries and pass in the device via compose
Docker Build and Release Upload / build-rocm (push) Failing after 28s
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-16 19:15:17 -07:00
derek 29d76e276c Change from ubuntu to alpine
Docker Build and Release Upload / build-rocm (push) Failing after 2m40s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
Docker Build and Release Upload / build-uvicorn (push) Has been cancelled
2026-04-16 19:02:36 -07:00
derek bf459496fe Fix CD/CI
Docker Build and Release Upload / build-rocm (push) Failing after 1m45s
Docker Build and Release Upload / build-uvicorn (push) Successful in 4m27s
Docker Build and Release Upload / build-cuda (push) Has been cancelled
2026-04-16 18:16:21 -07:00
derek da23bf9502 Update runner for faster compiles
Docker Build and Release Upload / build-uvicorn (push) Failing after 7s
Docker Build and Release Upload / build-cuda (push) Failing after 1m20s
Docker Build and Release Upload / build-rocm (push) Failing after 1m21s
2026-04-16 17:46:19 -07:00
4 changed files with 64 additions and 36 deletions
+39 -5
View File
@@ -6,7 +6,9 @@ on:
- main
jobs:
build:
# Build ComfyUI-Cuda
build-cuda:
runs-on: alpine-linux
steps:
- name: checkout
@@ -25,25 +27,57 @@ jobs:
run: |
docker buildx build \
--platform=linux/arm64 \
-t mistox/comfyui-cuda-ampere \
-t mistox/comfyui-cuda-ampere:latest \
-f comfyui-cuda-dockerfile \
--push \
.
# Build ComfyUI-Rocm
build-rocm:
runs-on: alpine-linux
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build and push comfyui-rocm
run: |
docker buildx build \
--platform=linux/arm64 \
-t mistox/comfyui-rocm-ampere \
-t mistox/comfyui-rocm-ampere:latest \
-f comfyui-rocm-dockerfile \
--push \
.
# Job 3: Uvicorn Build
build-uvicorn:
runs-on: alpine-linux
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build and push uvicorn
run: |
docker buildx build \
--platform=linux/arm64 \
-t mistox/uvicorn-ampere \
-t mistox/uvicorn-ampere:latest \
-f uvicorn-dockerfile \
--push \
.
.
+18 -22
View File
@@ -1,44 +1,40 @@
# Use the official ROCm base image
FROM rocm/dev-ubuntu-24.04:6.2
FROM ubuntu:26.04
# Set environment variables for 7900 XTX (gfx1100)
ENV HSA_OVERRIDE_GFX_VERSION=11.0.0
ENV TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1
ENV PIP_BREAK_SYSTEM_PACKAGES=1
ENV PYTHONUNBUFFERED=1
# Install system dependencies
RUN apt-get update && apt-get install -y \
RUN apt update -y && apt install -y --no-install-recommends \
rocm \
python3-pip \
python3-venv \
python3-dev \
python3-torch-rocm \
python3-torchaudio \
git \
libgl1-mesa-glx \
libglib2.0-0 \
libgl1 \
libglib2.0-bin \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Clone ComfyUI
RUN git clone https://github.com/comfyanonymous/ComfyUI.git .
# Install PyTorch with ROCm 6.2 support (matching the base image)
RUN pip3 install --no-cache-dir torch torchvision torchaudio \
--index-url https://download.pytorch.org/whl/rocm6.2
# Create sub dependancy
RUN grep -vE 'torch|nvidia|cuda|triton|kornia|spandrel' requirements.txt > req_no_torch.txt
# Install ComfyUI dependencies
RUN pip3 install --no-cache-dir -r requirements.txt
# Install non torch dependant requirements
RUN pip3 install --no-cache-dir --break-system-packages -r req_no_torch.txt
# Set custom Nodes
# Manually install the sensitive ones with --no-deps
RUN pip3 install --no-deps --break-system-packages torchsde kornia spandrel
# Setup Manager
WORKDIR /app/custom_nodes
# Install ComfyUi Manager
RUN git clone https://github.com/Comfy-Org/ComfyUI-Manager.git
# Go back to root
WORKDIR /app
# Expose the default ComfyUI port
EXPOSE 8188
# Launch ComfyUI
CMD ["python3", "main.py", "--listen", "0.0.0.0"]
CMD ["python3", "main.py", "--listen", "0.0.0.0"]
+3 -3
View File
@@ -1,10 +1,10 @@
services:
ollama:
container_name: ai-ollama
pull_policy: always
tty: true
restart: unless-stopped
image: docker.io/ollama/ollama:latest
pull_policy: always
restart: unless-stopped
tty: true
volumes:
- ./data/ollama/ollama:/root/.ollama
environment:
+4 -6
View File
@@ -2,19 +2,17 @@ services:
ollama:
container_name: ai-ollama
image: docker.io/ollama/ollama:latest # This is only X86_64 right now. Working on building an image for this on ROCM
restart: unless-stopped
pull_policy: always
restart: unless-stopped
tty: true
volumes:
- ./data/ollama/ollama:/root/.ollama
ports:
- 7869:11434
environment:
- OLLAMA_KEEP_ALIVE=24h
- HSA_OVERRIDE_GFX_VERSION=11.0.0 # This is for the RX 7900XTX
devices:
- /dev/kfd:/dev/kfd # Shared surface driver for ROCm
- /dev/dri:/dev/dri # Direct Rendering Infrastructure for GPU access
- /dev/kfd:/dev/kfd
- /dev/dri:/dev/dri
ollama-webui:
container_name: ai-ollama-webui
@@ -26,7 +24,7 @@ services:
ports:
- 8009:8080
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
- OLLAMA_BASE_URLS=http://host.docker.internal:7869
- OLLAMA_BASE_URLS=http://ollama:11434
- ENV=prod
- WEBUI_AUTH=True
- WEBUI_NAME=Mistox AI