Breaking News

AWS and Google Expand PyTorch Across Alternative AI Chips

Written by Charles Owen-Jackson | Nov 27, 2026, 3:18:17 PM

One of the biggest challenges facing software teams is reducing their dependence on a particular hardware platform without having to rewrite their software accordingly. In an effort to address that, AWS and Google have unveiled new open-source software designed to make their custom AI chips easier to use with PyTorch, one of the most widely used machine-learning frameworks. Announced at a PyTorch conference on October 20, AWS’s TorchNeuron and Google’s TorchTPU aim to help developers run their existing AI workloads on alternative hardware with fewer code changes.

The development could also make AWS and Google more competitive with Nvidia’s industry-leading GPUs, which have become central to AI development. While alternatives like AWS Trainium and Google’s Tensor Processing Units (TPUs) already support AI workloads, using them has often required developers to adapt models, tools and workflows. Nvidia, meanwhile, benefits from the widespread adoption of its CUDA software ecosystem. The new software seeks to significantly reduce those barriers.

Both developments build on the ability of PyTorch to recognize different hardware devices. This allows developers to switch compatible workloads to Trainium or TPUs with relatively simple configuration changes, while retaining familiar programming interfaces. They also support immediate execution for debugging and compilation for performance optimization, further reducing the need for specialist hardware expertise.

Bringing native PyTorch support to alternative AI chips

AWS’s TorchNeuron is now available in public beta for the Trainium2 and Trainium3 processors, allowing developers to direct compatible PyTorch workloads to these chips using the .to('neuron') command. It also supports standard distributed-computing interfaces and integrates with AWS’s Neuron Kernel Interface for developers who need greater performance through customized operations.

Google’s TorchTPU, developed alongside PyTorch engineers at Meta, similarly makes TPUs available as native PyTorch devices. Now open source, the software supports both training and inference using familiar tools. Integrations include TorchTitan for large-scale model training and vLLM and SGLang for efficiently serving AI models to applications.

Both developments also extend into the broader AI software ecosystem. For instance, Hugging Face has introduced native Trainium support across libraries including Transformers and Diffusers, while Google has announced similar integrations for TPUs. In both cases, the approach seeks to make it easier to run existing open-source models on different hardware configurations, although compatibility and performance ultimately still depend on individual workload characteristics.

What greater hardware choice means for software teams

For software companies and enterprise development teams, the immediate opportunity is improved flexibility when selecting infrastructure for AI training or inference. Reducing the need for platform-specific code should make it easier to evaluate alternatives to Nvidia data center GPUs, including the H100, H200 and B200.

That said, easier compatibility doesn’t necessarily guarantee equivalent performance or reduced costs. Ultimately, all hardware architectures still differ in their processing capabilities, memory configurations and software maturity. Even PyTorch acknowledges that achieving peak TPU performance may still require additional customization, for instance. Developers also still need to consider cloud pricing, hardware availability, operational complexity and the maturity of supporting tools.