Quantization & Engine
Output Spec
Weights & Recipe
RECPATCH ↗BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 4 steps
≥ 96 GB
82.50s
● 71.8%
Near-Peak
90.0 GB
21.4×
PATCH ↗MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE
Native MLX 0.32.5 (mlx-video + wan22_mlx.py) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 4 steps
≥ 32 GB
88.74s
● 67.4%
Near-Peak
31.5 GB
19.9×
PATCH ↗BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
1280x720Pomavia Lab
81f (5.06s) · 4 steps
≥ 128 GB
357.30s
● 75.5%
Compute Peak
109.8 GB
—
PATCH ↗BF16 DiT + FP32 VAE (Zero-Training FirstBlockCache)
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 40 steps
≥ 128 GB
819.40s
● 64.8%
Near-Peak
105.0 GB
2.15×
PATCH ↗BF16 DiT + FP32 VAE (TaylorSeerCache w/ blocks.* fix)
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 40 steps
≥ 128 GB
843.90s
● 62.9%
Near-Peak
100.9 GB
2.09×
Optimization history — 832×480 · 81-Frame Video 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
BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA — lightx2v/Wan2.2-Distill-Loras ↗
python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --mode lightning4 --vae-bf16 --width 832 --height 480
MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE — Wan-AI/Wan2.2-T2V-A14B-Diffusers ↗
python models/video/wan2.2-t2v-a14b/run_mlx.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --sequential --width 832 --height 480
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline BF16 DiT + FP32 VAE (Zero-Training FirstBlockCache) (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 64.8% · Near-Peak Sustained 89.4 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
40-step CFG + FirstBlockCache sustains 89.4 TFLOPS (64.8%); superseded by 4-step lightx2v LoRA (82.5s).
BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 71.8% · Near-Peak Sustained 99.1 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
Dual 14B DiT @ 32,760 tokens (4 steps + BF16 VAE = 82.5s) sustains 99.1 TFLOPS (71.8% Near-Roofline).
BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 75.5% · Compute Peak Sustained 104.2 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
720p 73,710-token 3D full attention sustains 104.2 TFLOPS (75.5% Compute Roofline).
MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE (Native MLX 0.32.5 (mlx-video + wan22_mlx.py))
● 67.4% · Near-Peak Sustained 93.0 TFLOPS / 138 TFLOPS peak (Native MLX 0.32.5 (mlx-video + wan22_mlx.py))
Native MLX 8-bit pre-fused LoRA DiT sustains 93.0 TFLOPS (67.4% Near-Roofline) while cutting RAM 90 GB -> 21.6 GB MLX.
BF16 DiT + FP32 VAE (TaylorSeerCache w/ blocks.* fix) (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 62.9% · Near-Peak Sustained 86.8 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
40-step TaylorSeerCache sustains 86.8 TFLOPS (62.9%); superseded by 4-step lightx2v LoRA (82.5s).
📋 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-01 Baseline | diffusers 0.43.0 + torch 2.15.0 (MPS) | Official 40-step CFG=4.0/3.0 + FP32 VAE (832×480, 81f = 5.06s) | 1,765.3s (29.4 min) 14.1s load · 1.0x baseline | 99.5 GB Wired | f0/f40/f80 Cinema Reference ✅ |
2026-12-03 Kernel/Patch | diffusers 0.43.0 + wan22_mps.py | Training-free TaylorSeerCache (patched skip=blocks.\d+, cache=proj_out regex) | 843.9s (2.09x faster) 13.8s load · 40 steps no-LoRA | 100.9 GB Wired | f0/f40/f80 Visual Check Pass ✅ |
2026-12-04 Training-Free ★ | diffusers 0.43.0 + wan22_mps.py | Training-free FirstBlockCache(threshold=0.12) across dual 14B MoE transformers | 819.4s (2.15x faster, skips 22/40 steps) 14.4s load · Pixel-faithful to 40-step | 105.0 GB Wired | Near-identical to uncached 40-step ✅ |
2026-12-05 MPS Speed ★ | diffusers 0.43.0 + wan22_mps.py | Fused lightx2v 4-step Dual-LoRA (asserted weight delta >1e-5, shift=5.0) + BF16 VAE | 82.5s @ 480p (21.4x) · 357.3s @ 720p 24.6s load · Saves 10.6–17.9 GB vs FP32 VAE | 90.0 GB Wired @ 480p · 109.8 GB @ 720p | Zero NaN/banding · Fits 128 GB Mac! ✅ |
2026-12-06 MLX 8-bit Low-RAM ★ | Native MLX 0.32.5 (mlx-video + wan22_mlx.py) | Pre-quantization BF16 Dual-LoRA fuse + 8-bit DiT (gs=64) sequential swap + precomputed Cross-KV | 88.74s @ 480p (6.05s VAE · 92.85s dual) 1.0s load · Unlocks 32 GB / 48 GB / 64 GB Macs! | 21.57 GB MLX · 31.49 GB Wired (-65% vs MPS!) | 40-layer cos=0.99885 vs BF16 · f0/f40/f80 ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 82.5s (832x480)
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) · ≈ 250.0s (832x480)
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) · ≈ 343.8s (832x480)
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) · ≈ 165.0s (832x480)
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) · ≈ 330.0s (832x480)
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) · ≈ 532.3s (832x480)
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