Amazon targets Trainium gains with new TorchNeuron developer tool
TorchNeuron enables code written in the PyTorch AI coding language to run on Trainium AI chips with minimal modification
Amazon unveiled TorchNeuron, a new developer tool designed to make it easier to deploy PyTorch applications on its Trainium chips.
PyTorch is a free, open source toolkit that developers use to build, train, and run AI models. According to Amazon, TorchNeuron will allow developers to run their existing AI code on AWS Trainium chips by changing just one line of configuration, making it easier to adopt new hardware.
Long-term, aim appears to be aimed at providing developers with an easy-to-use alternative to Nvidia’s CUDA ecosystem for AI training and inference.
"Today, 85% of AI researchers and developers write their code in PyTorch. Until now, the hardware that code could run on was far more limited than the code itself, and expanding to new chips meant rewriting and revalidating work that took months to perfect," said the firm.
"Amazon is now closing that gap. With TorchNeuron, the PyTorch code developers already write runs natively on Amazon's AWS Trainium chips, with a single configuration change and no rewrite."
The company said that when its engineers ran the same AI training script on a conventional chip and Trainium, the AI model learned the same things at the same rate; the only difference was a setting that told the code which chip to use.
This, Amazon noted, means that the tools developers already use to test, debug, and scale their AI models all work on Trainium without modification.
Sign up today and you will receive a free copy of our Future Focus 2026 report - the leading resource for IT decision-maker insight on priorities and investment areas in AI, security and more.
A boon for startups?
PyTorch said early adopters include startups, enterprises, machine learning industry partners, and academic institutions, with applications spanning autonomous vehicles, robotics, video generation, speech, telecommunications, healthcare, and geospatial modeling.
"With PyTorch native support on AWS Trainium, we ran our standard inference pipeline with minimal changes to our PyTorch code," said Arjun Desai, co-founder of voice AI firm Cartesia.
"Small, fast ops map efficiently through the native path, so we didn’t have to hand-write kernels for them. That lets our team concentrate on writing high-performance NKI kernels for the layers that are called repeatedly and drive end-to-end latency."
TorchNeuron will roll out as free and open source software under the Apache 2.0 license at PyTorch Conference North America.
Looking ahead, Amazon said that it's contributing changes upstream to PyTorch itself, working with the community to remove code that ties the framework to specific chips.
The aim is to make PyTorch more hardware-agnostic for the entire developer community, not just Trainium users. Google is already working on TorchTPU, a similar project to run PyTorch natively on its chips.
"By reducing the friction of adopting new hardware, TorchNeuron introduces something the AI industry has largely lacked: meaningful choice," said Amazon. "When developers can move between chips without penalty, chipmakers have to earn developers' business, and developers benefit from lower costs and faster iteration."
FOLLOW US ON SOCIAL MEDIA
Follow ITPro on Google News and add us as a preferred source to keep tabs on all our latest news, analysis, views, and reviews.
You can also follow ITPro on LinkedIn, X, Facebook, and BlueSky.
Emma Woollacott is a freelance journalist writing for publications including the BBC, Private Eye, Forbes, Raconteur and specialist technology titles.
-
AWS Quick: Amazon targets productivity software battle with Microsoft and GoogleNews The hyperscaler wants a piece of the productivity pie with AWS Quick
-
"Tech giants aren't above the law": Google forced to halt Belgian data centre buildNews After changing plans without full planning permission, the company has been ordered to down tools
-
‘Our most prolific engineers have demonstrated that neither the developer role nor their output is defined by the use of AI’: Amazon tells software engineers that not every task needs AI as token consumption surgesNews The tech giant wants staff to stop tokenmaxxing and start using AI when it's sensible
-
AWS expands language support for Amazon Q DeveloperNews AWS has expanded support for languages in Amazon Q Developer, making it easier for developers to code in their first language.
-
Everything you need to know about Amazon Q, including features, pricing, and business tiersExplainer Amazon Q can help developers write code faster and help workers with no coding experience build their own generative AI apps
-
Oak9’s IaC security platform now available on AWSNews The solution speeds up app deployment while providing comprehensive security
-
AWS Proton software delivery platform is now available in select regionsNews New service streamlines microservices management
-
AWS introduces fully managed Fault Injection SimulatorNews The simulator allows enterprises to perform controlled chaos experiments on AWS workloads
-
Amazon updates development environment powering AlexaNews New language and version controls boost bot development experience
-
Amazon is previewing its new cloud-based location serviceNews Mapping API lets developers use mobile device location