HuggingFace/Kernels: 200 WebGPU Kernels for Local AI
HuggingFace/Kernels: 200 WebGPU Kernels for Local AI
Hugging Face released @huggingface/kernels, a minimal JavaScript library for loading and running optimized WebGPU kernels from the Hugging Face Hub, alongside an initial collection of 207 Apache-2.0 licensed kernels at huggingface.co/webgpu-kernels. Each kernel is published as a versioned repository containing a manifest, correctness and benchmark cases, and parameterized WGSL shader templates, and the team also launched Fleet, an in-browser GPU benchmarking suite that crowdsources correctness and performance evidence. In comparisons against ONNX Runtime WebGPU on an Apple M4 GPU across 809 matching cases, the kernels were 2.57x faster by geometric mean and 1.90x faster at the median.
Source: Hacker News AI · huggingface.co