๐Ÿฆ™Stalecollected in 5h

llama.cpp GGUF Outperforms MLX for Qwen3.5 on M3 Ultra

PostLinkedIn
๐Ÿฆ™Read original on Reddit r/LocalLLaMA

๐Ÿ’กllama.cpp GGUF crushes MLX on M3 Ultra Qwen3.5 PPโ€”fast local agents now viable!

โšก 30-Second TL;DR

What Changed

MLX Qwen3.5 PP unbearably slow on real tasks with large contexts/debugging.

Why It Matters

Dispels myth that MLX is best for Apple Silicon LLMs; llama.cpp enables viable local agentic coding on high-end Macs. Newbies and Mac users gain fast workflows.

What To Do Next

Build latest llama.cpp from source and test Qwen3.5 GGUF with llama-server on your Apple Silicon Mac.

Who should care:Developers & AI Engineers

๐Ÿง  Deep Insight

Web-grounded analysis with 6 cited sources.

๐Ÿ”‘ Enhanced Key Takeaways

  • โ€ขQwen3.5-397B GGUF quantized models using llama.cpp RPC in layer-split mode across 4 GPUs achieve viable inference on large prompts up to 32k tokens despite sequential processing limitations at 65k[1].
  • โ€ขMLX on Mac exhibits KV cache consistency issues during conversation branching, leading to frequent re-processing, which llama.cpp avoids through superior cache handling[2].
  • โ€ขQwen3.5-122B is a Mixture-of-Experts (MoE) model with 122B total parameters but only 10B active, enabling efficient local runs on 64GB RAM MacBooks under GGUF quantization[5].
  • โ€ขllama.cpp supports AMD GPUs via ROCm or Vulkan, delivering good performance on hardware like Radeon 7900 XTX with standard GGUF quants excluding NVIDIA-specific MXFP4[2].

๐Ÿ› ๏ธ Technical Deep Dive

  • โ€ขQwen3.5 models support 262k context window, expandable to 1M tokens, with GGUF quants from 2 to 16 bits available on Hugging Face for llama.cpp compatibility[5][6].
  • โ€ขllama.cpp benchmarks on Apple Silicon use commands like ./llama-bench -m model.gguf -p 512 -n 128 -ngl 99, measuring PP (prompt processing at batch size 512) and TG (text generation at batch size 1) in tokens/second[4].
  • โ€ขIn distributed setups, llama.cpp RPC with sparkrun uses --tp 4 --o split_mode=layer for layer-wise splitting across nodes over 100Gbps Ethernet, prioritizing RAM efficiency over parallel speed[1].
  • โ€ขApple M3 Ultra benchmarks in llama.cpp discussions track performance across commits (e.g., 8e672ef from 2023), showing improvements in Metal GPU utilization for quantized models[4].

๐Ÿ”ฎ Future ImplicationsAI analysis grounded in cited sources

llama.cpp will dominate Apple Silicon LLM inference by mid-2026
Ongoing optimizations for Metal and KV cache, combined with MLX's unresolved branching issues, position it as the preferred runtime for large-context agentic tasks on M3/M4 hardware[2][4].
Qwen3.5 GGUF quants will standardize for multi-GPU consumer setups
Benchmarks demonstrate RPC layer-splitting enables 397B model access without custom quantization hardware, accelerating adoption as pre-quants proliferate on Hugging Face[1][6].

โณ Timeline

2023-11
llama.cpp commit 8e672ef establishes baseline Apple Silicon benchmarks for PP and TG metrics
2025-01
Qwen3.5 series released by Alibaba as leading open MoE model with 122B parameters
2025-06
llama.cpp adds advanced Metal optimizations improving large model performance on M3 Ultra
2025-12
Qwen3.5 GGUF quants including 397B variants published on Hugging Face for llama.cpp
2026-02
llama.cpp RPC distributed mode benchmarks highlight Qwen3.5 scalability across GPUs
2026-03
Community reports confirm llama.cpp superiority over MLX for Qwen3.5 on Mac Studio M3 Ultra
๐Ÿ“ฐ

Weekly AI Recap

Read this week's curated digest of top AI events โ†’

๐Ÿ‘‰Related Updates

AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/LocalLLaMA โ†—