Quantization & Engine
Output Spec
Weights & Recipe
1024x1024Pomavia Lab
8 steps · M5 Ultra
≥ 32 GB
7.90s
● 72.1%
Near-Peak
36.8 GB
—
Optimization history — 1024×1024 Photorealistic Generation Time (Lower = Better)
Compatible Apple Silicon Macs
× Mac mini / MacBook Air (M4) (24G)✓ Mac mini / MBP 14″ / iMac (M6) (32G)✓ Mac mini / MBP (M5 Pro) (64G)✓ Mac Studio / MBP (M5 Max) (128G)✓ Mac Studio / Mac Pro (M2 Ultra) (192G)✓ Mac Studio (M3 Ultra) (256G)✓ Mac Studio (M5 Ultra · 256 GB) (256G)✓ Mac Studio (M5 Ultra · 512 GB) (512G)
Weights & verified launch recipes
MLX 8-bit / BF16 — Tongyi-MAI/Z-Image-Turbo ↗
mflux-generate-z-image-turbo --model /path/to/Z-Image-Turbo -q 8 --steps 8 --width 1024 --height 1024 --seed 42 --prompt '...'
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline MLX 8-bit / BF16 (mflux 0.24.0 (MLX 0.32.5))
● 72.1% · Near-Peak Sustained 99.5 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 (MLX 0.32.5))
6B DiT 8-step (7.9s total incl. CLI init) achieves 99.5 TFLOPS (72.1% Near-Roofline; warm loop can save ~1.2s).
📋 Per-Mac dated & verifiable optimization logs
Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB) · macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)
Pomavia Lab verified log | Date & stage | Engine & quant | Optimization / ablation parameters | Measured speed | Wired RAM & NVMe I/O | Verification & repro |
|---|---|---|---|---|---|
2026-12-03 Baseline | mflux 0.24.0 · MLX BF16 | Unquantized BF16 @ 1024×1024 (9 steps, guidance=0) | 8.9s Total (~6.5s denoise) 1.38 it/s · 9 steps | 36.0 GB Wired | Exact CJK + EN signage ✅ |
2026-12-05 Optimal ★ | mflux 0.24.0 · MLX 8-bit | 8-bit quantized DiT @ 1024×1024 (8 steps) & 1536×864 (9 steps) | 7.9s @ 1K · 10.8s @ 1536×864 1.45 it/s · 8 steps | 36.5 GB Wired (fits 36–48 GB Macs) | Matches BF16 photorealism ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 7.9s (1024x1024)
Roofline-sized · awaiting lab PR This Mac has the native M5/M6 Neural GPU matrix path — keep the M5 QxA8 (min_tokens=64) recipe enabled.
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920 Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 23.9s (1024x1024)
Roofline-sized · awaiting lab PR Note: M2/M3/M4 chips lack the native M5 QxA8 unit — set a8_prefill_enabled=false (use native A16 GPU or calibrated Dual-ANE prefill).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960 Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 32.9s (1024x1024)
Roofline-sized · awaiting lab PR Note: M2/M3/M4 chips lack the native M5 QxA8 unit — set a8_prefill_enabled=false (use native A16 GPU or calibrated Dual-ANE prefill).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720 Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 15.8s (1024x1024)
Roofline-sized · awaiting lab PR This Mac has the native M5/M6 Neural GPU matrix path — keep the M5 QxA8 (min_tokens=64) recipe enabled.
sudo sysctl iogpu.wired_limit_mb=121600 iogpu.wired_lwm_mb=116480 Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 31.6s (1024x1024)
Roofline-sized · awaiting lab PR This Mac has the native M5/M6 Neural GPU matrix path — keep the M5 QxA8 (min_tokens=64) recipe enabled.
sudo sysctl iogpu.wired_limit_mb=60800 iogpu.wired_lwm_mb=58240 Mac mini / MBP 14″ / iMac (M6) (32 GB · 170 GB/s) · ≈ 51.0s (1024x1024)
Roofline-sized · awaiting lab PR This Mac has the native M5/M6 Neural GPU matrix path — keep the M5 QxA8 (min_tokens=64) recipe enabled.
sudo sysctl iogpu.wired_limit_mb=28160 iogpu.wired_lwm_mb=26560