Image generation on trogdor: ComfyUI with Z-Image Turbo (Portainer git stack)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Moriarty 70e47e8a0d Now part of cmoriarty/trogdor-services; kept as history
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 12:28:22 -05:00
samples Measured 2026-11-30: both model files work beside search and voice; headroom flag; samples 2026-11-30 09:37:48 -05:00
docker-compose.yml Measured 2026-11-30: both model files work beside search and voice; headroom flag; samples 2026-11-30 09:37:48 -05:00
README.md Now part of cmoriarty/trogdor-services; kept as history 2026-11-30 12:28:22 -05:00

Image generation on trogdor

Since 2026-11-30 this service runs from cmoriarty/trogdor-services, one stack for everything on trogdor's two RTX 5000s. This repo's Portainer stack is removed. The repo is kept for the measurements below and the reason behind each setting; its compose file is no longer deployed.

ComfyUI with the model Z-Image Turbo, on trogdor's second Quadro RTX 5000, beside the search and voice stacks. It is Portainer stack 157 images (endpoint 39), and it restarts by itself.

  • The web page is http://trogdor:8096. In it, open the template named "Z-Image Turbo" (file image_z_image_turbo.json; not opened in a browser on the day of the test); the model files it asks for are already there.
  • Programs use the same port: POST /prompt with a workflow, then GET /history/<id> and GET /view.
  • It runs the ComfyUI that ships in the image (0.46.0), with no manager and no added nodes, so it downloads nothing at start. Paid API nodes are switched off.

Measured on 2026-11-30

1,024 by 1,024 pictures, 8 steps, the settings of ComfyUI's own template. Search and voice were running on the same card, and a speech-to-text request was sent every 6 seconds while the pictures were drawn.

Model file Size First picture Each further picture Speech to text meanwhile
z_image_turbo_int8_convrot (8-bit) 6.2 GB 13 s 11.7 s 8 of 8 worked, 0.4 to 1.1 s
z_image_turbo_bf16 (full) 12.3 GB 26 s 15 to 16 s 10 of 10 worked, 0.4 to 1.0 s
  • The full file is larger than the room left on the card. ComfyUI keeps part of it in the server's main memory and moves pieces in as it works, which costs about 4 s a picture.
  • The same prompt and seed give nearly the same picture from both files: see samples/, 8-bit on the left. The sign the prompt asked for, "TROGDOR CYCLES", is spelled right in both.
  • Idle, ComfyUI holds about 2.3 GB of the card. With search (5.7 GB) and speech to text (2.2 GB) the card then holds 10.3 of 16 GB. The card read 80 C while drawing.

The headroom setting

Without --vram-headroom 2.0, ComfyUI filled the card to within 0.2 to 0.5 GB, and one speech-to-text request in about ten failed with "CUDA out of memory". --reserve-vram 2.0 did not prevent that in this version; the headroom flag did (2.3 GB stayed free, no failures in 18 requests).

Not done

  • Nothing is connected. Open WebUI can use ComfyUI for its image button; that is a change to its settings.
  • Only 1,024 by 1,024 was tried, and only a dozen pictures. No larger sizes, no editing of existing pictures.