Z-Image-Turbo 6B (ComfyUI)
Tongyi-MAI
Z-Image-Turbo 6B for ComfyUI, accelerated by TheStage AI Qlip engines.
Perfomance
Latency Benchmarks
We measured generation time on H100, RTX 5090 and B200 against eager PyTorch in the same ComfyUI graph. Lower time is better.
H100, 1024x1024, 8 steps, cfg 1.0
| Method | Time (s) | Speedup |
|---|---|---|
| Eager (PyTorch) | 1.142 | 1.0x |
| torch.compile (KJNodes) | 0.999 | 1.14x |
| SGLDiffusion | 0.920 | 1.24x |
| Qlip BF16 + LoRA | 0.957 | 1.19x |
| Qlip FP8 + LoRA | 0.773 | 1.48x |
| Qlip FP8 + LoRA + Qlip Cache | 0.565 | 2.02x |
RTX 5090, 1024x1024, 8 steps
| Method | Time (s) | Speedup |
|---|---|---|
| Eager (PyTorch) | 2.333 | 1.0x |
| Qlip FP8-dynamic + LoRA | 1.644 | 1.42x |
| Qlip NVFP4 + LoRA | 1.143 | 2.04x |
| Qlip NVFP4 + FP4 attention + LoRA † | 1.017 | 2.29x |
| Qlip NVFP4 + FP4 attention, no LoRA † | 0.884 | 2.64x |
† FP4-attention engines need the fp4attn TensorRT plugin, which ships in an upcoming qlip release. Until then use the NVFP4 engines without FP4 attention.
B200, 1024x1024, 8 steps
| Method | Time (s) | Speedup |
|---|---|---|
| Eager (PyTorch) | 0.611 | 1.0x |
| Qlip FP8-dynamic + LoRA | 0.493 | 1.24x |
| Qlip NVFP4 + LoRA | 0.435 | 1.40x |
Benchmarking Methodology
All numbers are a single generation with batch size 1, measured warm: engines are already loaded and the first (cold) run is excluded. Each table states what is timed (full generation, sampler only, or transformer only) and the settings. Qlip rows with + LoRA use engines with runtime LoRA support, which adds about 5-15% compared to engines without LoRA, even when no LoRA is applied.
Algorithm summary:
Load the original Z-Image-Turbo 6B checkpoint in ComfyUI.
For Qlip rows, attach Qlip Engines Loader with the engines for the given precision and GPU.
Run one warm-up generation to load engines and initialize GPU caches.
Run the generation with fixed prompt, seed and settings.
Report the time of the warm run; speedup is eager time divided by Qlip time.