31409

GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inference

Rithik Sharma, Reese Levine, Zheyuan Chen, Ananthajit Srikanth, Yanwen Xu, Tyler Sorensen
UC Santa Cruz
arXiv:2610.17321 [cs.DC], (12 Oct 2026)

@misc{sharma2026gpu,

   title={GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inference},

   author={Rithik Sharma and Reese Levine and Zheyuan Chen and Ananthajit Srikanth and Yanwen Xu and Tyler Sorensen},

   year={2026},

   eprint={2610.17321},

   archivePrefix={arXiv},

   primaryClass={cs.DC},

   url={https://arxiv.org/abs/2610.17321}

}

Download Download (PDF)   View View   Source Source   

205

views

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.
No votes yet.
Please wait...

You must be logged in to post a comment.

* * *

* * *

HGPU group © 2010-2026 hgpu.org

All rights belong to the respective authors

Contact us: