mlsanityData to 7 Oct 2026

Measuring and Reducing WebGPU Dispatch Overhead for LLM Inference

arXiv 2608.08730 ↗First posted 9 Aug 2026cs.LG cs.DC cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models are deployed to multiple types of environments, from internet browsers to edge devices, and WebGPU serves as a modern cross-platform standard. The engines for browser-based LLM inference have proliferated, yet the overhead of WebGPU per-operation dispatch remains poorly characterized. In this work, we introduce a sequential-dispatch measurement method and show that naive single-operation measurements overestimate per-dispatch cost by conflating dispatch with synchronization. Using our method, we measure the per-dispatch cost and show that it is independent of data type used. We show that the dispatch overhead, not kernel quality, is the bottleneck at batch size 1, and isolate the dispatch count as the cause. Therefore, we conclude that at batch size 1, the effective approach to LLM inference optimization in WebGPU is reducing dispatch count. Our findings point to dispatch amortization, in the inference engines and in the WebGPU specification, as a path to practical browser-based inference.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 32 references that are in the map. First posted on arXiv 9 Aug 2026.

Builds on

15 of 32 references.

References · 15

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  2. 2024Qwen2.5 Technical Reportcited by 4,713
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  4. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  5. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  6. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  7. 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 14
  8. 2024WebLLM: A High-Performance In-Browser LLM Inference Enginecited by 13
  9. 2023Operator Fusion in XLA: Analysis and Evaluationcited by 8
  10. 2025Characterizing and Optimizing LLM Inference Workloads on CPU-GPU Coupled Architecturescited by 8
  11. 2026Event Tensor: A Unified Abstraction for Compiling Dynamic Megakernelcited by 4
  12. 2026Characterizing WebGPU Dispatch Overhead for LLM Inference Across Four GPU Vendors, Three Backends, and Three Browserscited by 2
3 more
  1. 2026Llamas on the Web: Memory-Efficient, Performance-Portable, and Multi-Precision LLM Inference with WebGPUcited by 2
  2. 2026Unlocking the Edge deployment and ondevice acceleration of multi-LoRA enabled one-for-all foundational LLMcited by 1
  3. 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inferencecited by 1

Built on by

Not cited yet.