TorchNeuron
What is TorchNeuron?
torch-neuronx is the native PyTorch backend for AWS Trainium, enabling developers to run PyTorch models directly on AWS Trainium2 and Trainium3 hardware. It integrates via the PyTorch PrivateUse1 extension, supporting both eager execution for debugging and torch.compile for production-grade performance.
torch-neuronx is a powerful, open-source native PyTorch backend developed by Amazon Web Services to unlock the full potential of AWS Trainium hardware. By integrating seamlessly through PyTorch’s PrivateUse1 extension, it allows machine learning engineers to transition existing PyTorch workflows to high-performance Trn2 and Trn3 instances without significant code changes. This tool is essential for organizations looking to scale deep learning workloads, offering both the flexibility of eager mode for research and the optimized throughput of torch.compile for production environments.
Key capabilities include robust support for distributed training paradigms like FSDP2 and DTensor, alongside native compatibility with popular libraries such as vLLM and TorchTitan. Technical highlights feature advanced graph compilation for complex architectures and specialized support for mixed-precision execution. Data scientists, ML researchers, and infrastructure engineers working on large-scale AI models will find torch-neuronx indispensable for achieving superior performance and cost-efficiency on AWS cloud infrastructure.
TorchNeuron is built by Amazon Web Services (AWS) and fits into the AI/Dev Infrastructure category. It was released on Oct 20, 2026.
TorchNeuron is free to use and open source, with the source code on GitHub. Teams typically use it for model serving, hardware acceleration, observability and sandboxing, with domain-specific use in Enterprise, Healthcare and Research labs.
Who TorchNeuron is for
Teams and individual developers working in AI/Dev Infrastructure.