周一,亚马逊网络服务(AWS)发布了一款名为TorchNeuron的工具,使人工智能初创公司能够轻松将其AI应用迁移至亚马逊的AI芯片Trainium。通过此举,亚马逊也在直接挑战那些帮助英伟达成为AI应用默认硬件选择、并推动其崛起为首选AI硬件供应商的软件优势。
TorchNeuron与PyTorch配合使用,PyTorch是一个免费的开源工具包,开发人员利用它来构建、训练和运行AI模型。据亚马逊称,只需更改一行配置,即可让使用PyTorch编写的AI应用在Trainium上运行,无需重写代码。
亚马逊表示,约85%的AI应用是用PyTorch编写的。该框架最初由Facebook开发,但自2022年起,它已成为维护开源项目的Linux基金会的一部分。多年来,英伟达一直致力于确保其CUDA软件——即允许应用在英伟达GPU及其他硬件上运行的软件基础设施——能够无缝支持使用PyTorch编写的AI应用。因此,英伟达的硬件现已深深嵌入该工具包中,几乎成为默认选择。
TorchNeuron源自对PyTorch的适配,因此熟悉PyTorch的开发人员已经知道如何使用它。亚马逊并非首家试图轻松将其芯片引入该平台的公司。PyTorch用户也可以通过简单的配置更改,将应用移植到AMD GPU甚至苹果的芯片上。
然而,亚马逊认为,移植到Trainium不仅简单,还使AI初创公司能够访问亚马逊的整个云生态。毫不意外的是,AWS声称对于初创公司而言,这是一个比使用“新云”(neoclouds)更好的选择,其中许多新云服务与英伟达及其硬件紧密绑定,例如Coreweave、Nebius和Firmus。
AWS安纳普纳实验室(负责制造亚马逊定制芯片的部门)技术软件副总裁科林·布雷思(Colin Brace)通过电子邮件向TechCrunch表示:“你是在AWS上构建应用,而不是押注于单一用途的计算提供商,然后匆忙围绕其构建其他一切。”他继续说道,“在AWS上,从原型到生产的基础设施已经就绪,使创始人能够快速移动并在需要时扩展规模。”
AWS表示,由于同一芯片同时处理训练(教导AI模型)和推理(将完成的模型投入工作,例如回答用户问题),并且与初创公司所需的云基础设施紧密集成,因此即使AWS不提供最低的每令牌价格,其云服务也能帮助它们节省资金。
布雷思说:“Trainium的价值在于性价比,以及它是用于训练和推理的一体化平台,从而改善了整个工作负载的经济性。”他以Deepgram为例——该公司使用原生PyTorch支持迁移到Trainium,并以生产级精度实现了每美元处理70%更多的音频数据。Deepgram是一家AI语音应用提供商,是ElevenLabs的竞争对手。
但亚马逊并不满足于仅为PyTorch应用开发人员提供一个轻松迁移至其云端的选项。
亚马逊还表示,它正推动PyTorch减少对英伟达的自动依赖,并将为此贡献代码到PyTorch主项目中。在宣布新工具的博文中,该公司写道:
“亚马逊的方法超越了其自身的硬件。该公司正在向PyTorch本身贡献上游更改,与PyTorch社区合作,移除将框架绑定到特定芯片的代码。目标是使PyTorch对整个开发人员社区(而不仅仅是Trainium用户)更加硬件无关。”
虽然这种策略无疑有利于那些销售与英伟达竞争的硬件和云服务的企业,但PyTorch的一个核心宗旨是隐藏让AI代码在硬件上运行时所遇到的所有繁琐困难。我们将拭目以待,看亚马逊承诺的将英伟达排除得如此彻底,究竟会给开发人员带来更多选择和更实惠的选项,还是仅仅带来更多的配置麻烦。
无论哪种情况,如果亚马逊成功地将PyTorch与英伟达深度解耦,这将对这家GPU巨头产生比单纯应对芯片竞争对手更为深远的 ramifications。正如Brace所说:“真正的问题在于消除那种让开发者根本无法做出真实选择的锁定效应。”
On Monday, Amazon Web Services released a tool called TorchNeuron that lets AI startups easily move their AI apps onto Amazon’s AI chip, Trainium. In doing so, Amazon is also taking a direct stab at the the software advantage that has helped Nvidia become the default hardware choice for AI apps, and spurred its rise as AI hardware provider of choice.
TorchNeuron works with PyTorch, a free, open-source toolkit that developers use to build, train, and run AI models. It lets AI apps written with PyTorch run on Trainium by changing just one line of configuration, according to Amazon — no code rewrite required.
Amazon says about 85% of AI apps are written with PyTorch. Facebook originally developed it, but since 2022, it has been part of the Linux Foundation, which maintains open-source projects. Nvidia has spent years ensuring its CUDA software — the software infrastructure that allows apps to run on Nvidia GPUs and its other hardware — seamlessly supports AI apps written with PyTorch. As a result, Nvidia’s hardware is now deeply embedded in the toolkit, essentially by default.
TorchNeuron is adapted from PyTorch, so developers who know PyTorch already know how to use it. Amazon isn’t the first company to attempt to easily bring their chips to the platform. PyTorch users can also port their apps to AMD GPUs or even Apple’s chips with a simple configuration change.
However, Amazon argues that porting to Trainium isn’t just easy; it also gives AI startups access to Amazon’s entire cloud. Unsurprisingly, AWS claims that this is a better choice for startups than using neoclouds, many of which are tied to Nvidia and its hardware, like Coreweave, Nebius, and Firmus.
“You’re building on AWS. You’re not betting on a single-purpose compute provider and scrambling to build everything else around it,” Colin Brace, VP of Technology Software at AWS Annapurna Labs (the unit that makes Amazon’s custom chips) told TechCrunch via email. “On AWS,” he continued, “the infrastructure to go from prototype to production is already there, allowing a founder to move fast and scale when they need to.”
AWS says that because the same chip both handles training (teaching the AI model) and inference (putting the finished model to work, as when it answers a user’s question), and is tightly integrated with the cloud infrastructure that startups need, its cloud will save them money, even if AWS doesn’t offer the cheapest per-token price.
“Trainium’s value is price-performance plus the fact that it’s one platform for both training and inference, which improves the economics across a full workload,” Brace said. “Look at Deepgram — they moved to Trainium using native PyTorch, support and they’re processing 70% more audio per dollar at production-grade accuracy.” Deepgram is an AI voice app provider, a competitor to ElevenLabs.
But Amazon isn’t content to just give PyTorch app developers an easy option to move to its cloud.
Amazon also says it is pushing PyTorch to be less automatically centered on Nvidia, and it will contribute the code to do that to the main PyTorch project. In the blog post announcing the new tool, the company wrote:
“Amazon’s approach extends beyond its own hardware. The company is contributing changes upstream to PyTorch itself, working with the PyTorch community to remove code that ties the framework to specific chips. The goal is to make PyTorch more hardware-agnostic for the entire developer community, not just Trainium users.”
While such a tactic is undoubtedly good for those who are selling hardware and cloud services that compete with Nvidia, one of the points of PyTorch is to hide all the pesky difficulties of getting AI code to run on hardware. We’ll have to wait and see if pushing Nvidia out that far gives developers more choice and more affordable options, as Amazon promises, or just more configuration headaches.
Either way, if Amazon succeeds in deeply uncoupling PyTorch from Nvidia, this could have much bigger ramifications for the GPU giant than simply dealing with chip competitors. As Brace said: “The real story is removing the lock-in that kept developers from having a real choice at all.”
首次收录 · 2026-10-20 · 12.87 分