mlsanityData to 14 Oct 2026

GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inference

arXiv 2610.17321 ↗First posted 12 Oct 2026cs.DC cs.LG cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

As demand for LLM inference grows and consumer GPUs grow more capable, edge deployment is becoming increasingly attractive. WebGPU is compelling in this setting because it offers cross-platform portability and browser accessibility. However, these same strengths also make high performance difficult to achieve, as an implementation that performs well in one context may not perform well in another. To address this, we present GPU Goldmines, a framework for specifying, executing, and tuning WebGPU kernels. We instantiate GPU Goldmines with kernels for key LLM building blocks: matrix multiplication, matrix-vector multiplication, and flash attention. We characterize performance across diverse devices, shapes, and browsers, and use the resulting database to accelerate subsequent autotuning and configuration selection. On shapes drawn from Llama and Qwen models, our matrix multiplication kernels outperform ONNX Runtime and llama.cpp WebGPU kernels by 7.0x and 1.41x geometric mean, respectively, and deliver end-to-end improvements of 1.48x in the prefill stage of llama.cpp for chat workloads.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 46 references that are in the map. First posted on arXiv 12 Oct 2026.

Builds on

24 of 46 references.

References · 24

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  7. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  8. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
  9. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  10. 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
  11. 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 177
  12. 2018Learning to Optimize Tensor Programscited by 140
12 more
  1. 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 103
  2. 2024A Review on Edge Large Language Models: Design, Execution, and Applicationscited by 100
  3. 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 75
  4. 2024Fast On-device LLM Inference with NPUscited by 62
  5. 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 38
  6. 2017CLTune: A Generic Auto-Tuner for OpenCL Kernelscited by 27
  7. 2023Stream-K: Work-centric Parallel Decomposition for Dense Matrix-Matrix Multiplication on the GPUcited by 23
  8. 2024WebLLM: A High-Performance In-Browser LLM Inference Enginecited by 14
  9. 2017CLBlast: A Tuned OpenCL BLAS Librarycited by 9
  10. 2024Anatomizing Deep Learning Inference in Web Browserscited by 6
  11. 2023Empowering In-Browser Deep Learning Inference on Edge Devices with Just-in-Time Kernel Optimizationscited by 4
  12. 2024Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloadscited by 4

Built on by

Not cited yet.