Hugging Face has released @huggingface/kernels, a small library for loading and running optimised WebGPU kernels from its Hub, along with an initial collection of 207 kernels, Hugging Face said on 1 September 2026.
The release is the first step in an effort by Hugging Face’s WebAI team to make AI inference in the browser faster.
Each kernel is published as a versioned package that includes its interface, shader templates, correctness and benchmark cases, and usage instructions.
Hugging Face also launched Fleet, an in-browser suite that runs and scores the kernels on a user’s own hardware. With consent, results are contributed back to help find incorrect results and performance problems on devices the company cannot test itself.
The kernels cover operations used across a wide range of machine learning architectures.