Transformers.js v4 preview lands on NPM with a new WebGPU runtime and Node/Bun/Deno support
Hugging Face published a preview of Transformers.js v4 and started distributing it on NPM under the @next tag. The release highlights a new WebGPU runtime (rewritten in C++ and integrated with ONNX Runtime), broader runtime support (browser + Node/Bun/Deno), and a refactored monorepo setup plus a faster esbuild-based build system.
Why it matters
If you build local-first or privacy-sensitive AI UX, shipping models in JavaScript is one of the cleanest ways to avoid “API glue” and data egress. WebGPU acceleration across browser + server-side JS also makes it more realistic to run embeddings and smaller LLM workloads near users.
What to do
Try the preview in a small benchmark (embeddings, vision, or a constrained-gen task) and measure cold-start + steady-state latency on your target devices. If you ship web apps, validate offline caching behavior and model download size impacts before betting on it for production.
More from February 10, 2026
- MisActBench + DeAction target “off-task” clicks in computer-use agents before they execute
- Study of 7,156 pull requests finds task type matters more than which AI coding agent you use
- iGRPO trains math reasoning with “best draft so far” self-feedback, beating GRPO under the same rollout budget
- GEBench benchmarks image generators on multi-step GUI “state transitions” and temporal coherence