NoFOMO
Search 中EN Sign in Sign up

Peaked at #3 Off the board

Transformers adds kernels dependency

Hugging Face adds 'kernels' as a default dependency to transformers, giving good out-of-box performance across hardware.

Rank over time

Key points

  • @art_zucker announced that transformers is adding its first default dependency in about 6 years: kernels.
  • The kernels library downloads only what the user's hardware needs for their torch version, without the installs that FA2 used to require.
  • Kernels are explicitly registered in transformers and activated by default.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

Arthur Zucker @art_zucker 8,585 followers

Big announcement today: for the first time in probably 6 years we are adding 1 default dependency to transformers: kernels. The kernel library brings good default performances to any model, on many hardware. It does not require crazy installs like FA2 use to, it only downloads what your hardware needs for your torch version. There’s a lot more to it, inviting you to read https://t.co/5EnxSlDnET. This is super important for transformers as it reinforces our commitment to performances, but also to community built kernels: you are all actors of the ecosystem, and a crazy dev can push a specialized kernel that will help the entire community. Kernels are explicitly registered in transformers and will be activated by default, we tested but of course if you have any feedback or issues, ping us on github we’ll fix them asap!
304likes 39reposts 11replies 18.6Kviews

View on X Save

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link