Back to Articles
Performance & Runtime Improvements Repository Restructuring PNPM Workspaces Modular Class Structure Examples Repository Prettier New Models and Architectures New Build System New Library Features ModelRegistry New Environment Settings Improved Logging Controls Standalone Tokenizers.js Library Miscellaneous Improvements Acknowledgements We're excited to announce that Transformers.js v4 is now available on NPM! After a year of development (we started in March 2025 🤯), we're finally ready for you to use it.
npm i @huggingface/transformers
Performance & Runtime Improvements
The biggest change is undoubtedly the adoption of a new WebGPU Runtime, completely rewritten in C++. We've worked closely with the ONNX Runtime team to thoroughly test this runtime across our ~200 supported model architectures, as well as many new v4-exclusive architectures.






