M2M Model2Metal

Z-Image-Turbo — Apple Silicon Quantizations & Speeds

Mid-RAM photorealistic bilingual champion: 7.9–8.9s @ 1024², 10.8s @ 1536x864, only 31–36 GB RAM, accurate CJK+EN signage.

Open on Hugging Face (Tongyi-MAI/Z-Image-Turbo) ← All Models
Quantization & Engine
Output Spec
Weights & Recipe
image Z-Image-Turbo AA 936 Elo Hugging Face Z-Image · 1 config · min 32 GB 1.1× faster
Details →
RECMLX 8-bit / BF16
mflux 0.24.0 (MLX 0.32.5) · @hiddendevj
1024x1024Pomavia Lab
8 steps · M5 Ultra
≥ 32 GB
7.90s
● 72.1%
Near-Peak
36.8 GB
—
HF
Optimization history — 1024×1024 Photorealistic Generation Time (Lower = Better)
8.9 s2026-12-03mflux BF16 (9-step)7.9 s2026-12-05mflux 8-bit (8-step)
⚡ 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 & stageEngine & quantOptimization / ablation parametersMeasured speedWired RAM & NVMe I/OVerification & 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
Submit lab PR ↗
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
Submit lab PR ↗
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
Submit lab PR ↗
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
Submit lab PR ↗
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
Submit lab PR ↗
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
Submit lab PR ↗