Introducing @huggingface/kernels: 200+ WebGPU Kernels for Local AI
Hugging Face released @huggingface/kernels, a JavaScript loader for 207 Apache-2.0 WebGPU kernels published as versioned Hub repositories.
Hugging Face released @huggingface/kernels, a JavaScript loader for 207 Apache-2.0 WebGPU kernels published as versioned Hub repositories.
Browser cache partitioning (in Chrome, keying by Network Isolation Key plus URL) forces every origin running Transformers.js to re-download identical model weights and the ONNX Runtime Wasm file.
Running local AI in a Chrome Manifest V3 extension works best when the background service worker hosts all Transformers.js models and agent state, while the side panel UI and content scripts act as thin clients over a typed messaging contract.
Transformers.js v4 ships on NPM with a new C++ WebGPU runtime built with the ONNX Runtime team, enabling WebGPU-accelerated models in browsers as well as Node, Bun and Deno.
LLM-driven "vibe coding" of games degrades as projects grow and context windows fill, so the fix is keeping projects lean through high-level abstractions and explicit context management.
Transformers.js v3 adds WebGPU acceleration via ONNX Runtime Web, claimed up to 100x faster than WASM and enabled by passing `device: 'webgpu'` when loading a pipeline.
Agents.js is a JavaScript library from huggingface.js that gives LLMs tool access in the browser or on Node.
Doodle Dash is a Quick, Draw!-style sketch-guessing game that runs entirely in the browser, using a MobileViT-small model (5.6M parameters, ~20 MB) fine-tuned on Google's Quick, Draw! dataset.
Falcon 40B Instruct can be deployed to Hugging Face Inference Endpoints through the web UI by choosing a repository, cloud, region and instance.
A Node.js/Express server can generate web apps from a text prompt by streaming tokens from a code LLM (WizardCoder-15B on Hugging Face Inference Endpoints) straight into the browser as HTML.