M2M Model2Metal

Qwen-Image-2.1 & Turbo — Apple Silicon Quantizations & Speeds

#2 open-weights image model (1047 Elo): resident warm MLX 8-bit hits 5.00s @ 1K (28.26s @ 2K) in Turbo 8-step and 16.21s in 30-step StepCache.

Open on Hugging Face (Qwen/Qwen-Image-2.1) ← All Models
Quantization & Engine
Output Spec
Weights & Recipe
image Qwen-Image-2.1 & Turbo AA 1047 Elo Hugging Face Qwen · 2 configs · min 48 GB 5.3× faster
Details →
RECMLX 8-bit (Turbo 8-step)
mflux 0.24.0 Resident Warm (MLX 0.32.5) · @hiddendevj
1024x1024Pomavia Lab
8 steps · M5 Ultra
≥ 48 GB
5.00s
● 76.8%
Compute Peak
39.0 GB
5.32×
HF
MLX 8-bit (30-step + StepCache 0.2)
mflux 0.24.0 Resident Warm (MLX 0.32.5) · @hiddendevj
1024x1024Pomavia Lab
30 steps · M5 Ultra
≥ 48 GB
16.21s
● 75.0%
Compute Peak
38.0 GB
1.64×
HF
Optimization history — 1024×1024 Bilingual Text-Rendering Image Time (Lower = Better)
26.6 s2026-12-02Diffusers MPS BF1621.1 s2026-12-04mflux 8-bit Cold CLI16.21 s2026-12-06Warm 30-Step + StepCache5.0 s2026-12-06Warm Turbo 8-Step MLX
Compatible Apple Silicon Macs
Weights & verified launch recipes
MLX 8-bit (Turbo 8-step) — Qwen/Qwen-Image-2.1 ↗
python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1-Turbo --base-model qwen-image-2.1-turbo -q 8 --warmup --steps 8 --width 1024 --height 1024
MLX 8-bit (30-step + StepCache 0.2) — Qwen/Qwen-Image-2.1 ↗
python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1 --base-model qwen-image-2.1 -q 8 --warmup --steps 30 --guidance 4.0 --step-cache-ratio 0.2 --width 1024 --height 1024
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline
MLX 8-bit (30-step + StepCache 0.2) (mflux 0.24.0 Resident Warm (MLX 0.32.5))
● 75.0% · Compute Peak
Sustained 103.5 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 Resident Warm (MLX 0.32.5))
30-step + StepCache 0.2 (16.21s warm) sustains 103.5 effective TFLOPS (75.0% Compute Roofline).
MLX 8-bit (Turbo 8-step) (mflux 0.24.0 Resident Warm (MLX 0.32.5))
● 76.8% · Compute Peak
Sustained 106.0 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 Resident Warm (MLX 0.32.5))
7B DiT Turbo 8-step (5.00s warm @ 1K) sustains 106.0 TFLOPS (76.8% Compute Roofline) on MLX 8-bit.
📋 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-02
Baseline
diffusers 0.43.0 (MPS BF16)
30-step PyTorch MPS BF16 @ 1024×1024 26.6s Gen Time
0.714s/step · 30 steps
46.2 GB Wired
Exact CJK & EN signage ✅
2026-12-04
MLX 8-bit
mflux 0.24.0 · MLX 8-bit
30-step Native MLX 8-bit (+22% vs MPS; 4-bit rejected due to signage typos) 21.1s Total @ 1K (106.1s @ 2K)
1.71 it/s · 30 steps
38.0 GB Wired
Exact CJK & EN signage at 1K/2K ✅
2026-12-05
Turbo Cold
mflux 0.24.0 · Qwen-Image-2.1-Turbo
Official 8-step CFG=1 Turbo checkpoint in single-shot CLI MLX 8-bit 11.4s Cold @ 1K · 35.2s @ 2K
8 steps · 3x faster 2K
39.0 GB Wired
Crisp CJK signage & composition ✅
2026-12-06
30-Step Warm ★
mflux 0.24.0 · Resident MLX 8-bit
Resident warm 30-step + step_cache_ratio=0.2 (19.36s uncached warm) 16.21s Warm @ 1K (+64% vs MPS)
0.33s load · 30 steps
36.5 GB MLX · 38.0 GB Wired
Zero NaN · Matches uncached (std=33.3) ✅
2026-12-06
Optimal ★
mflux 0.24.0 · Resident Turbo 8-bit
Resident warm Qwen-Image-2.1-Turbo 8-step (eliminates per-image CLI JIT & load) 5.00s Warm @ 1K · 28.26s Warm @ 2K
0.48s load · 5.32x faster vs MPS baseline!
36.0 GB MLX · 39.0 GB Wired
Zero NaN · Exact CJK signage (std=40.1) ✅
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 5.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=486400 iogpu.wired_lwm_mb=465920
Submit lab PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 15.2s (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) · ≈ 20.8s (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) · ≈ 10.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=121600 iogpu.wired_lwm_mb=116480
Submit lab PR ↗
Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 20.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=60800 iogpu.wired_lwm_mb=58240
Submit lab PR ↗