Key Info
Hugging Face's transformers library is adding kernels as a default dependency, its first new default dependency in roughly six years.
Highlights
- The kernel library provides good default performance for any model across many hardware types
- It avoids heavy installs like FA2 and only downloads what the user's hardware needs for their torch version
- The move reinforces transformers' commitment to performance and to community-built kernels
- Developers can push specialized kernels that benefit the whole ecosystem