创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

亚马逊开源 Trainium 原生 PyTorch 后端

AI 总结

亚马逊于当地时间10月19日宣布推出开源工具 TorchNeuron,称其为 Trainium 芯片的原生 PyTorch 后端,开发者只需更改一处设备配置,就能让现有 PyTorch 代码在 Trainium 上运行,无需重写。该工具定于10月20日在加州圣何塞举行的北美 PyTorch 大会上以 Apache 2.0 许可进入公测,支持 Trainium2 和 Trainium3。亚马逊称其演示中同一训练脚本在传统芯片和 Trainium 上的学习内容与速度一致,但据 The Next Web 报道,首版仍缺少动态输入形状等部分 PyTorch 功能,约有2.2万项 PyTorch 测试被跳过;Cartesia、Deepgram 等为早期用户。

深度见解

亚马逊表示,除 Trainium 后端外,它还在向 PyTorch 上游贡献代码,移除将框架与特定芯片绑定的部分,目标是让 PyTorch 对整个开发者社区更加硬件无关。

Frontier models span language, video and audio, on architectures from dense and mixture-of-experts transformers to diffusion, state-space, world and structure-prediction models. PyTorch is where AI research happens, where the models are defined, and increasingly where production happens too. Researchers want to experiment and innovate, and customers want the performance AWS Trainium offers to enable them to achieve their performance and scale goals. The training and serving libraries are written against PyTorch’s own APIs, and new libraries and new versions ship continuously. Over the last several years, PyTorch made those APIs accelerator-agnostic, with official extension points for registering custom hardware.

Today, to address the growing demand from the developers and research community on Trainium, we are excited to share an even simpler approach to program the chip as a standard PyTorch device, ahead of its open source launch at PyTorch Conference North America on Oct. 20. AWS Trainium is a portfolio of AI chips designed from the ground up for next generation cloud scale AI training and inference. We are announcing TorchNeuron, an open source native PyTorch backend for Trainium, so the model code, the libraries, and the tools you already use run on Trainium. This integration builds directly on the accelerator-agnostic extension points, including the PrivateUse1 device backend and torch.accelerator APIs, created by the PyTorch community.

#Amazon#AWS#TorchNeuron#PyTorch#AWS Trainium#Trainium2#Trainium3#Nvidia#CUDA#Cartesia#Deepgram#Hugging Face

原文约 16 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。