Transformers.js 4.3 ships structured output, new model architectures, and Safari WebGPU support
nicodotdev · x · 2026-09-16
Hugging Face released Transformers.js v4.3 (16.3k stars). Highlights:
- Structured output: an experimental dependency-free @huggingface/transformers-structured-output package constrains generation to a JSON schema, JSON object, or regex, stripping schema-breaking tokens at decoding time. Pure JavaScript, no WASM, minimal overhead, plugs into the existing logits processor.
- New architectures: three new model architectures supported, including LFM2.5-350M ONNX community builds.
- WebGPU: now works on Safari 26+.
- Also: documentation overhaul, ONNX Runtime upgrade, and many community contributions.
Useful for developers running models in-browser who need reliable structured JSON output.
Related event: Transformers.js 4.3 brings JSON-constrained decoding to the browser(3 posts)→
More from Infra
- Running Qwen 27B and DeepSeek v4 Flash together on a single heterogeneous machine — QuixiAI · 2026-09-16
- vLLM and Unsloth make the cut in a roundup of local LLM serving and training tools — thisdudelikesAI · 2026-09-16
- Unsloth launches desktop app to run and train LLMs locally — thisdudelikesAI · 2026-09-16
- Is GPU compute a financial engineering problem? Framing AI lab economics around 80% margins — sarahdrinkwater · 2026-09-16
- German data center boom may triple Hessen power demand as DFKI works on energy-efficient AI — FlorianGallwitz · 2026-09-16
- Novita open-sources Chord W4A16 MoE kernels, up to 2.15x faster Kimi K2.x inference on B300 — vllm_project · 2026-09-16