BaseRT: Advancing Best-in-Class LLM Inference with Apple M5 Neural Accelerators
On the map: Mixture-of-experts → Efficient MoE training and inference systems
Abstract (arXiv)
Apple's M5 generation introduces a redesigned GPU architecture in which every core carries a dedicated Neural Accelerator: on-die matrix units exposed through the Metal~4 tensor API. We show that BaseRT, our native Metal inference runtime for large language models on Apple Silicon, exploits these units to push inference throughput on Apple hardware substantially beyond both llama.cpp and MLX. Building on BaseRT's framework-free design, we add a family of hand-written Metal~4 tensor-core kernels (including dense and mixture-of-experts GEMM and flash-attention prefill kernels) that route the compute-bound matrix multiplications of inference through the M5 Neural Accelerators while leaving the memory-bound decode path on our existing specialised kernels. On an Apple M5 Pro, across fifteen model configurations spanning the Qwen3, Qwen3.5/3.6, Llama~3.2, and Gemma~4 families from sub-1B to 35B parameters, BaseRT delivers up to 6.4× higher prompt-processing throughput than llama.cpp and 3.9× higher than MLX, with the largest margins on the mixture-of-experts models where matrix multiplication dominates, while maintaining its lead on decode of up to 1.75× over llama.cpp and 1.33× over MLX. These results establish a new performance ceiling for on-device LLM inference and show that the M5's tensor cores are the decisive lever for prompt processing on Apple Silicon. BaseRT is publicly available at https://github.com/basecompute/baseRT.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Efficient MoE training and inference systems, one of 12 directions in Mixture-of-experts. Builds on 4 of its 20 references that are in the map. First posted on arXiv 21 Jul 2026.
Builds on
4 of 20 references.
References · 4
- 2026Agentic Artificial Intelligence (AI): Architectures, Taxonomies, and Evaluation of Large Language Model Agentscited by 14
- 2024DaDu-Corki: Algorithm-Architecture Co-Design for Embodied AI-powered Robotic Manipulationcited by 13
- 2025Edge-First Language Model Inference: Models, Metrics, and Tradeoffscited by 13
- 2026BaseRT: Best-in-Class LLM Inference on Apple Silicon via Native Metalcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Production-Grade Local LLM Inference on Apple Silicon: A Comparative Study of MLX, MLC-LLM, Ollama, llama.cpp, and PyTorch MPS
- 2026SMEPilot: Characterizing and Optimizing LLM Inference with Scalable Matrix Extensions
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inference
- 2026Architecture-Aware LLM Inference Optimization on AMD Instinct GPUs: A Comprehensive Benchmark and Deployment Study
- 2026Blink: CPU-Free LLM Inference by Delegating the Serving Stack to GPU and SmartNIC
- 2025Challenging GPU Dominance: When CPUs Outperform for On-Device LLM Inference
- 2026Silicon Showdown: Performance, Efficiency, and Ecosystem Barriers in Consumer-Grade LLM Inference
- 2025Understanding the Performance and Power of LLM Inferencing on Edge Accelerators