AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

PyTorch uses tensors to hold data, autograd to calculate gradients and a repeated training loop to update model weights. Google and Meta introduced TorchTPU on October 20, 2026, while TorchNeuron for AWS Trainium entered public beta; both developments aim to make PyTorch usable on more chips, though peak performance may still require code changes.

Google and Meta presented TorchTPU on October 20, 2026, to run PyTorch on Google’s tensor processing units, while TorchNeuron, a PyTorch backend for Amazon’s Trainium chips, entered public beta the same day. The announcements address a practical barrier for AI developers: moving models between chip platforms can require changes to code, so broader PyTorch support could make hardware choices more flexible, although the source says peak performance may still require adjustments.

PyTorch is an open source Python library used to build and train neural networks. Its basic data structure is a tensor, a container for numbers that can represent inputs, model weights or results. Operations on tensors form the calculations a model uses to make a prediction.

Buying for a business?Offer from Amazon

Get business pricing on tech for your team

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

During training, autograd tracks those calculations. After a model’s prediction is compared with the expected answer, a loss function produces a measure of error. Calling loss.backward() computes gradients, which indicate how each weight contributed to the error. An optimizer then adjusts the weights; the gradients are cleared before the next batch of examples.

That cycle is the training loop: make a prediction, calculate loss, compute gradients, update weights and reset gradients. PyTorch’s eager execution runs operations as Python reaches them and constructs the calculation graph during execution. The source summarizes the design with the documentation phrase, “what you run is what you differentiate.” Its explainer’s code examples were written and tested with PyTorch 2.12; it reports that PyTorch 2.15 was released October 28, 2026.

At a glance
reportWhen: Developments announced October 20, 2026…
The developmentGoogle and Meta presented TorchTPU, and TorchNeuron for AWS Trainium entered public beta on October 20, 2026, as the article explains how PyTorch works and why chip support matters.
Timeline titled Ten years in seven steps. 2016: development starts, with people from the Lua Torch community and funding from Meta. January 2017: first public release. December 2019: the NeurIPS paper, An Imperative Style, High-Performance Deep Learning Library. September 12, 2022: PyTorch Foundation under the Linux Foundation; business decisions by members, technical decisions by maintainers. March 15, 2023: PyTorch 2.0 brings torch.compile, optional, code stays backward compatible. October 20, 2026: TorchTPU and TorchNeuron, native PyTorch on Google TPUs and AWS Trainium. Highlighted, October 28, 2026: PyTorch 2.15, 3,117 commits from 583 contributors since 2.14.
From lab tool to foundation project. Sources: Paszke et al., NeurIPS 2019; PyTorch blog (September 12, 2022; March 15, 2023; October 20, 2026; October 28, 2026). Chart: Thorsten Meyer AI.

PyTorch’s Reach Across Chips

The framework sits between a team’s model code and the hardware that runs it. Support for Google TPUs and AWS Trainium could give organizations more options when selecting accelerators, and may reduce the amount of work needed to move existing PyTorch projects. That matters because teams have already built workflows and skills around their chosen framework.

Hardware support does not by itself guarantee that a model will run at its best on every chip. The source says TorchTPU’s authors caution that reaching peak performance can still require changes. The announcements point to wider compatibility, while the cost and effort of switching remain dependent on the model and hardware.

Products Worth Considering

Samsung Galaxy Tab S11 128GB Wi-Fi Android Tablet with S Pen, Silver

Samsung Galaxy Tab S11 128GB Wi-Fi Android Tablet with S Pen, Silver

Logitech MX Master 4 Ergonomic Wireless Mouse with Haptic Feedback, Graphite

Logitech MX Master 4 Ergonomic Wireless Mouse with Haptic Feedback, Graphite

As an affiliate, we earn on qualifying purchases.

How PyTorch Became a Standard Tool

PyTorch began in 2016, with its first public release in January 2017, according to the 2019 research paper cited by the source. That paper described a design in which Python programs control the library’s behavior. The source says much of the underlying system is written in C++ for performance, including its tensor, CPU and GPU operations, and automatic differentiation components.

Since September 12, 2022, the PyTorch Foundation, a project of the Linux Foundation, has stewarded the project. PyTorch is one of several open source machine learning frameworks. The source describes PyTorch as eager by default with optional compilation, JAX as centered on composable function transformations, and TensorFlow 2 as eager by default with graph export through tf.function. These are differences in approach, not a ranking.

The article is part three of a six-part explainer series about AI. Its focus here is the software layer used to build and train many models, rather than a new model or a reported change in training results.

Limits of Cross Chip Support

The source does not provide independent performance comparisons for TorchTPU or TorchNeuron, or quantify how much work typical projects will need to run on the new backends. TorchNeuron’s public beta status means its availability and capabilities may continue to change. It is also unclear from the material how broadly either backend will support models and PyTorch features.

The source reports the stated goal for TorchTPU as making a TPU port require no more than changing a device name in one line of code. It also says the authors caution that peak performance can require changes. The goal should not be read as a guarantee that every model can be moved with a one-line edit.

What Backend Testing Will Show

The next evidence will come from developers testing the backends on real workloads: whether existing models run correctly, how much code adaptation is needed, and what performance they achieve. TorchNeuron is in public beta, so its development and reported compatibility remain in progress. The source does not give a schedule for further releases or benchmarks.

For teams evaluating a move, the relevant next step is to compare their own models and workloads across the supported hardware, including the engineering changes required to reach their performance targets. The October announcements establish an effort to broaden PyTorch’s chip support; they do not yet settle how easy or cost effective switching will be in practice.

Key Questions

What is PyTorch used for?

PyTorch is an open source Python library for building and training neural networks. It provides tensor operations, automatic differentiation and tools for running training loops.

What does autograd do?

Autograd tracks tensor calculations and computes gradients during backpropagation. Those gradients help an optimizer adjust a model’s weights to reduce its loss.

What were TorchTPU and TorchNeuron announced to do?

Google and Meta presented TorchTPU for running PyTorch on Google TPUs. TorchNeuron, a PyTorch backend for AWS Trainium, entered public beta on October 20, 2026.

Does PyTorch support mean a model can move between chips unchanged?

Not necessarily. The source describes easier portability as a goal, but says TorchTPU’s authors note that code changes may still be needed for peak performance.

Source: Thorsten Meyer AI

You May Also Like

How Kumo Relational Handles Relational Data Without Model Training

NVIDIA says Kumo Relational predicts from linked database tables without task-specific training; independent validation and production costs remain unclear.

Why I Gave My AI Agents One Shared Memory

Thorsten Meyer describes a markdown-based memory shared across his AI agents, with an index-first recall system and a reported 97.4% top-one score.

Claude’s New Feature Could Help Show Whether Text Was Made With AI

The Independent reports Claude may leave a trail indicating AI-generated text, but its method, scope and launch timing are not available.

The ‘Weight Virus’ Paper Examines Risks To AI Model Weights

A HCLTech paper tests whether changes can hide in model weights, but its authors say it does not demonstrate a self-spreading virus.