arXiv AI

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.

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 Machine Learning
Oct 19

Memory Bandwidth, Not FLOPs: Profiling and Accelerating Query-Based Segmentation Decoders on Edge GPUs

The paper shows that query‑based segmentation decoders on edge GPUs are limited by memory bandwidth rather than FLOPs. Profiling reveals that non‑tensor‑core operations consume a large fraction of decoder time and bytes, saturating the DRAM bus. CompactInst mitigates this by using parameter‑free spatial pooling and a lightweight refinement head, achieving significant speedups on Jetson Orin Nano while maintaining accuracy.

By Oliver Busemann (Osnabr\"uck University, CLAAS E-Systems GmbH), Torben T\"oniges (CLAAS E-Systems GmbH), Martin Atzmueller (Semantic Information Systems Group, Osnabr\"uck University, German Research Center for Artificial Intelligence)
arXiv Machine Learning
Sep 3

Unfolding the Leech Lattice: Fused Multi-Shell Decoding and VRAM Layouts for 2-Bit LLM Weights

The paper introduces a multi‑shell decoder for Leech‑lattice vector quantization, achieving the best reported 2‑bit quality under its evaluation protocol. It presents a GPU‑friendly layout that fuses dequantization with matrix‑vector multiplication, demonstrating significant speed and memory advantages over traditional one‑hot masks and other 4‑bit methods. Experiments show the new kernel outperforms baseline approaches across multiple model sizes, with measurable gains in throughput and reduced byte traffic.

By Pier-Jean Malandrino (Scub)
arXiv Machine Learning
Nov 16

LazyWeights: Decode-on-Demand Edge LLMs

LazyWeights is a technique that retains existing quantized formats (GPTQ, AWQ, llama.cpp’s K‑ and I‑quants) but optimizes GPTQ to compress integer codes, losslessly Huffman‑encode them, and decode on demand in a small ASIC unit between DRAM and L2. This approach allows GPU kernels to run unchanged while only moving coded bytes, yielding 5.7–31.4% smaller models for Phi‑3‑mini, Mistral‑7B and SmolLM‑1.7B under 1% and 3.5% perplexity budgets. The 0.21 mm² ASIC decoder (1 GHz, 7 nm) reduces latency and energy per token on Jetson Orin by up to 36 % and 38 % (and more with prompt‑lookup speculation), and on Jetson Nano it cuts time and energy per token by 58–64 % and 53–57 % respectively, enabling a streamed Mistral‑7B to run 6.6× faster at 3.89 bits per weight.

By Arnab Sanyal, Gourav Datta, Sandeep P. Chinchali
arXiv AI
Oct 5

Hardware-Native Joint Sparse-Quantization for Trillion-Scale Mixture-of-Experts

The paper introduces a hardware-software co‑design framework that compresses Mixture‑of‑Experts (MoE) model weights into low‑precision, hardware‑native sparse representations, enabling efficient execution on Sparse Tensor Cores (SpTCs). By relaxing discrete support selection through continuous reparameterization, the method jointly optimizes quantized weights and supports a router‑weighted reconstruction objective, achieving up to 4.35 percentage‑point gains in joint sparse‑quantization accuracy while retaining 96.09% of the original model’s performance. A custom grouped sparse GEMM kernel further boosts inference speed, outperforming NVIDIA’s baseline by up to 1.65× and reducing latency by up to 4.03× on B200 GPUs.

By Kwanhee Lee, Namhoon Lee, Dan Alistarh
arXiv Machine Learning
Sep 10

Celty: SpMSpV GPU Kernel and SIMT Co-Design for Efficient Dual-Sparse LLM Inference

Celty introduces a co-designed sparse format, GPU kernel, and SIMT microarchitecture to efficiently handle Sparse Matrix‑Sparse Vector (SpMSpV) workloads in large language model inference. Its Run‑Length Compressed CSC (RLC‑CSC) format allows vectorized loading of compressed weight columns and skips memory accesses by exploiting both weight pruning and activation sparsity. The Celty Sparse SIMT Core adds a pipelined RLC decoder that eliminates software index reconstruction and uses local registers for conflict‑free accumulation, achieving up to 5.3× speedup over cuBLAS at 70% dual‑sparsity.

By Ruokai Yin, Priyadarshini Panda