Skip to content
Andrew Voirol
WorkLogAboutContact
HomeWorkLog

AboutContact

✦ Just one prompt away from figuring it all out.

Wednesday, July 22, 2026edge-ai-lab-development

The zero-overhead inference vision: MLX vs. llama.cpp on Apple Silicon

BenchmarksApple SiliconDebugging

Explored whether we could bypass llama.cpp entirely and compile straight via mlx-swift for zero-overhead Metal inference. The CudaBuild plugin validation failure in mlx-swift 0.31.6 was the trigger — if the MLX dependency is fragile, is it worth the complexity? The answer turned out to be nuanced: MLX is the fastest engine when compiled in Release (after the debug scheme discovery), but llama.cpp is the most portable and has the widest model format support. Both stay. The vision isn't picking a winner — it's giving the user three backends and letting the benchmark numbers speak for themselves. That's the whole point of Edge AI Lab: not opinions about which runtime is best, but reproducible data on your actual hardware.

← Previous

ModelMetadata is dead — long live ModelCapabilityProfile

Next →

From Hoberman sphere breathing to C60 spring-mass physics


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkBuilder’s LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol✦Just one prompt away from figuring it all out.