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.âÂÂ
When you purchase through links in our articles, we may earn a small commission. This doesnâÂÂt affect our editorial independence.
