ComfyUI-AppleSilicon-Optimized Adds Metal Kernels, 2 to 3.7x on Mac
ComfyUI-AppleSilicon-Optimized swaps attention, sampling and VAE paths for Metal kernels: 3.66x on MOSS-Image, 2.3x on Qwen-Image 2.1, no workflow changes.
It installs like any other custom node. There are no new nodes to wire, no MLX conversion step, and no second copy of every model: your existing workflows run unchanged, just faster.
The pack also makes FP8 and INT8 checkpoints run on MPS, including the INT8 ConvRot files that most new models now ship.
The author's card, measured December 2, 2026 on an M5 Ultra with 80 GPU cores and ComfyUI v0.47.1. Warm second run, same workflow and machine.
Speed on image models
| Workflow | Stock | With the pack | Speedup |
|---|---|---|---|
| MOSS-Image SFT, 1024² / 25 steps | 68.9 s | 18.8 s | 3.66x |
| Fibo 2.0 Dev, 1024² / 30 steps | 87.9 s | 31.6 s | 2.78x |
| Krea 2 Turbo, 1024² / 8 steps | 15.4 s | 6.0 s | 2.54x |
| Ideogram 4, 1024² / 12 steps | 43.3 s | 17.4 s | 2.49x |
| Fibo 2.0 Edit Turbo, 1024² / 4 steps | 16.2 s | 6.9 s | 2.36x |
| Flux.2 Klein 9B, 1024² / 4 steps | 5.6 s | 2.4 s | 2.32x |
| Qwen-Image 2.1, 1024² / 25 steps | 28.8 s | 12.5 s | 2.30x |
| Z-Image Turbo, 1024² / 8 steps | 7.8 s | 3.4 s | 2.26x |
| Flux.3 Base, 1024² / 50 steps | 69.6 s | 33.0 s | 2.11x |
SDXL is the exception at about 1.03x, and edit workflows land between 1.6 and 2.4x. The repository's own tables put SDXL at 2.61 s against 2.40 s.
Video, audio and upscaling
Same machine and session: YuE2, background removal, LTX 2.5, MiniMax H3, Wan 2.2 and SeedVR2.
The largest numbers come from jobs stock ComfyUI runs on the CPU: YuE2's language model goes from 38 min 40 s to 31.6 s for a full song, and BiRefNet background removal drops from 21.5 s to 0.74 s for four frames. Video models gain less, roughly 1.5 to 2x: LTX 2.5 at 1280 × 704 with 121 frames runs 90.6 s against 46.0 s, MiniMax H3 at 864 × 480 with 124 frames runs 258.2 s against 158.6 s.
What kind of Mac it needs
| Hardware | Status in the repository |
|---|---|
| M5 Ultra, macOS 27, Metal 4.1 toolchain | Fully validated, 35-case regression on ComfyUI v0.47.1 |
| M5 Max | Tested during earlier optimization work, not on the current stack |
| M5 Pro, M6 and newer non-Ultra | Routes enabled, never benchmarked |
| M1 to M4, older macOS | Experimental: portable kernels only, speed and parity unverified |
| Intel Macs, Windows, Linux | Untouched |
Installing it
https://github.com/luix93/ComfyUI-AppleSilicon-Optimized, or clone it into ComfyUI/custom_nodes.
Setup executes at prestartup, before Torch loads, and prints Setup verified when it is done.
Setup selects PyTorch 2.15.0 with torchvision 0.29.2, or 2.14.1 on Python 3.10, and may replace a newer untested build. Keep ComfyUI in a virtual environment.
If another extension imports Torch before setup runs, the pack skips that launch; the README points to a manual installer for that case.
What to verify yourself
The author reruns a 35-case suite on every ComfyUI release and only claims byte-identical output for the routes listed in the numerics policy. Opt-in INT8 attention is approximate by design and is never on by default. In the release thread an M2 Max owner offered to run timings, and no one has yet published independent numbers or a comparison against Draw Things or the older ComfyUI-AppleSilicon-int8-Fast node.
The repository is on GitHub, with the benchmark reports and regression logs in benchmarks/.
Comments
Sign in with GitHub to join the discussion.