Browser
9 entries · 2 sections
Editor’s pick
II Inference Engines 1
Candle Library
Hugging Face's minimalist Rust ML framework with CPU, CUDA, Metal, and WebAssembly backends and many ready-made model ports.
XIV Edge, Mobile & Browser 8
MediaPipe LLM Inference API Library
MediaPipe task for running LLMs in Android, iOS, and web apps, now marked maintenance-only by Google, which recommends LiteRT-LM for new projects.
WebLLM Library
In-browser LLM engine that runs models on WebGPU with an OpenAI-style API, streaming output, and web-worker isolation.
Transformers.js Library
Runs Hugging Face models in browsers, Node, Bun, and Deno on ONNX Runtime; version 4 swaps in a rewritten C++ WebGPU runtime.
ONNX Runtime Web Docs
Documentation for the browser builds of ONNX Runtime, with WebAssembly, WebGPU, and WebNN execution providers for in-page inference.
wllama Library
WebAssembly binding for llama.cpp that runs GGUF models in a browser tab, with worker isolation, split-file loading, and WebGPU support in v3.
WebGPU Specification Spec
W3C specification for the browser API that exposes GPU compute and rendering, which in-browser LLM runtimes use for acceleration.
Web Neural Network API (WebNN) Spec
W3C candidate recommendation draft for a browser API that runs neural network graphs on NPUs, GPUs, and CPUs; browser availability is still limited.
Chrome Prompt API Docs
Chrome's JavaScript API for prompting Gemini Nano on-device; the docs say the web version is still in development and list storage and hardware needs.