Hugging Face's WebGPU release packages 207 GPU operations with defined interfaces, implementations and tests so browser-AI developers can load and improve them separately. These operations are building blocks used when running models. In the team's Apple M4 comparison, 809 cases with matching outputs and reliable timings showed a 2.57-fold geometric-mean speedup over the tested ONNX Runtime Web implementation. The timing covered work on the GPU itself, leaving out SetupThe combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.Full definition → such as loading kernels. It therefore measures operation-level performance, while the accompanying Fleet ToolAn operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.Full definition → collects device-specific results needed to understand how those implementations behave elsewhere.
Terms in this piece · Glossary
Setup — The combination of a model, a harness, its connections and the path the task's data takes, considered together for a task.
Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.