huggingface/transformers.js
v4.3.2State-of-the-art Machine Learning for the web: run ONNX & WebGPU models directly in the browser or Node.js with zero server costs.
Transformers.js lets you run machine learning models from Hugging Face directly inside a web browser or Node.js without a backend server. Using WebGPU and WebAssembly, it eliminates cloud inference costs and keeps user data completely private on the device.
Add support for LFM3 and LFM3-VL by @xenova in #1821. Drop-in upgrade. Migration: None.
Key Release Highlights (v4.3.2)
- Add support for LFM3 and LFM3-VL by @xenova in #1821
- test: stabilize Whisper, Idefics3, and tokenizer CI timeouts by @nico-martin in #1808
- Expose getSupportedDevices() under env.backends.onnx by @Amarnath10i in #1753
- Fix negative integer random seeds by @original4422 in #1798
Verified safe drop-in upgrade for @huggingface/transformers in package.json.
npm install @huggingface/transformers@4.3.2Ecosystem Compatibility Matrix & Verified Graph Warnings
Zero-Noise Historical Release Timeline (1)
Format: [Core Change] + [Required Action] + [Migration Effort]Add support for LFM3 and LFM3-VL by @xenova in #1821. Drop-in upgrade. Migration: None.
Upgrade & Migration Q&A (huggingface/transformers.js v4.3.2)
Direct Answers for Engineers & AI AgentsIs huggingface/transformers.js v4.3.2 safe to upgrade in production?
huggingface/transformers.js v4.3.2 is classified as COMPATIBLE (PATCH release). Add support for LFM3 and LFM3-VL by @xenova in #1821. Drop-in upgrade. Migration: None.
What breaking changes or compatibility risks exist in huggingface/transformers.js v4.3.2?
No breaking API changes or peer dependency conflicts are recorded for huggingface/transformers.js v4.3.2 in the RepoSense compatibility graph.
What is the bundle size impact of @huggingface/transformers v4.3.2?
Measured bundle size telemetry is currently unavailable for @huggingface/transformers v4.3.2; verify build output locally before deploying.
How do I upgrade @huggingface/transformers to v4.3.2?
Upgrade @huggingface/transformers to v4.3.2 by running "npm install @huggingface/transformers@4.3.2" and applying the migration steps: npm install @huggingface/transformers@4.3.2