Apple Silicon and macOS VMs: Faster LLM Inference with llama.cpp

298 points · 43 comments on HN · read original →

Points and comments are a snapshot, not live.

Article body wasn't reachable. The HN discussion summary is below.

What commenters are saying

The thread clarifies the fix applies only to Apple Virtualization.framework VMs, not bare-metal. It works around a VM limitation where the guest reports an older Metal GPU family and a 32 KB threadgroup memory limit, causing llama.cpp to select slower kernels. The process-scoped layer reports Apple family 9 and 64 KB, allowing faster kernel paths. Other Metal apps may benefit, though MLX-LM stayed flat. Commenters note Apple does not document why the paravirtual GPU exposes lesser capabilities.