The transformers library has merged a change that makes the kernels library a default dependency. The update automatically downloads and activates the appropriate kernels based on a user’s hardware and software versions, providing device-specific acceleration for CUDA, ROCm, Metal, and XPU.
This is the first time the project has added a default dependency in approximately six years. The move follows months of testing and is intended to eliminate the complex installation processes previously required for performance tools like FA2.
