NoFOMO
搜索 中EN 登录 注册

最高第 3 名 已下榜

Transformers新增kernels依赖

Hugging Face为transformers新增默认依赖kernels,为多硬件提供开箱即用性能。

名次变化

要点

  • @art_zucker 宣布 transformers 在大约 6 年来首次新增默认依赖:kernels。
  • kernels 库只下载用户硬件针对其 torch 版本所需的内容,不需要 FA2 过去那种复杂安装。
  • kernels 在 transformers 中显式注册,并将默认启用。

要点和反应摘要由 AI 依据本页推文整理,请以原推为准。 我们怎么用 AI

原推

Arthur Zucker @art_zucker 8,585 粉丝

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!
304点赞 39转发 11回复 1.9万浏览

在 X 上查看 收藏

讨论 0

还没有人讨论,来说第一句。

推荐信源

觉得我们漏了哪个一手信源,或者该关注什么话题?告诉我们。审核通过后,所有人的榜单都会覆盖到它。

@用户名,或者主页链接