Itdaily - Amazon TorchNeuron brings PyTorch and Trainium together

Amazon TorchNeuron brings PyTorch and Trainium together

Purple sign for the PyTorch Conference Europe 2026, with blurred attendees in the background.
?????????????

Amazon launches TorchNeuron, allowing PyTorch code to run directly on AWS Trainium chips without any modifications. The technology is being released as open source.

Optimizing AI models for specific hardware is often a time-consuming process. Developers typically have to rewrite and re-validate their existing code, which can take months of work. Amazon aims to solve this problem with the introduction of TorchNeuron. This allows users of the popular PyTorch library to seamlessly move their work to AWS’s specialized hardware.

No code rewriting required

Approximately 85 percent of AI researchers and developers currently write their code in PyTorch. Until recently, however, the hardware on which this code could run was much more limited than the software itself. TorchNeuron changes that landscape. The code now runs natively on AWS Trainium chips via a simple configuration change, without the developer needing to adjust the logic of their model.

Amazon has proven this with demonstrations where the same training script was run on different chips. The results showed that the models learned at exactly the same speed. For startups, this time saving is no luxury. When developers don’t lose time on hardware adjustments, they can focus entirely on improving their own products, Amazon states.

This also offers benefits for large companies. The ability to use the same hardware for both training and inference ensures that computing power is used more efficiently.

Open source from October 20

TorchNeuron will be available as open source under the Apache 2.0 license starting October 20. The technology now also supports newer generations, such as Trainium2 and Trainium3. This clears the way for faster iterations within the entire AI industry.