arXiv AI By Fabian Waschkowski, Prabod Rathnayaka, Lukas Wesemann

BaseRT: Advancing Best-in-Class LLM Inference with Apple M5 Neural Accelerators

Read the original on arXiv AI →

arXiv:2607. 19438v1 Announce Type: cross Abstract: 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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
Oct 23

Evaluating the Applicability of LLM Inference Optimizations on Apple Silicon

The paper investigates how well common large‑language‑model (LLM) inference optimizations perform on Apple Silicon compared to server‑class NVIDIA GPUs. Four optimization families—KV‑cache pruning, speculative decoding, ported GPU kernels, and post‑training quantization—are evaluated on four Apple machines under a single‑request decode workload, with matched RTX 4090 comparisons where possible. Results show that KV‑cache pruning can boost Apple throughput up to 1.75×, while speculative decoding actually reduces throughput on Apple; CUDA kernel designs transfer only partially, and quantization gains vary by machine, indicating that speedups depend on the specific technique, runtime, hardware, and workload regime.

By Kyrylo Yemets, Andrii Yaroshevych, Victor Muryn, Ostap Khomenko, Pavlo Kryven, Maksym Kmet, Maksym Shamrai, Mariya Hirna
arXiv AI
Nov 14

metalSPARSE: A 2:4 Semi-Structured Sparse GEMV Kernel for Apple Silicon GPUs

The paper introduces metalSPARSE, the first 2:4 semi‑structured sparse GEMV kernels for Apple Silicon GPUs, along with a fused decoder written in Metal. By streaming compressed weights and expanding them in registers, the authors achieve a 3.6× speedup over HuggingFace Transformers on an 8 GB M2 MacBook Air and 1.52× over MLX on a 16 GB M4 for Qwen2.5‑1.5B decoding, while maintaining model quality through a Wanda mask, block‑wise reconstruction, and low‑rank adapters quantized to 4 bits. The results demonstrate that sparsity can deliver most of the theoretical bandwidth savings on edge devices without dedicated sparse hardware.

By Tek Raj Awasthi (Friedrich-Alexander-Universit\"at Erlangen-N\"urnberg), Babita Awasthi
arXiv AI
Aug 28

Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Models

The paper reports the development of 2‑bit microkernels for CPUs and mixed‑precision 2‑bit kernels for Intel Xe2 GPUs, achieving near‑roofline performance. Integrated into LLM inference pipelines, these kernels deliver up to 7× speedup over 16‑bit inference on CPUs and 6.7× on GPUs, surpassing the current state‑of‑the‑art bitnet.cpp runtime by 2.2×. The work demonstrates that ultra‑low‑bit LLM models can be deployed efficiently, offering significant gains in latency, memory, throughput, and energy consumption.

By Evangelos Georganas, Dhiraj Kalamkar, Alexander Heinecke, Pradeep Dubey