Google open sources TorchTPU to run PyTorch on TPUs

Google released TorchTPU, a native PyTorch backend for its TPUs, a day after AWS shipped TorchNeuron, widening the push against Nvidia.
What it means for founders
- Your compute bill now has two credible challengers to Nvidia. With Google and AWS both offering PyTorch paths onto their own chips, a team spending heavily on GPUs can run a real benchmark on TPUs or Trainium and bring the numbers to its next pricing conversation.
- Portability is cheap insurance. Keep model code free of hardware specific calls and lean on libraries such as Transformers and vLLM that already support several chips. That helps keep a GPU shortage or price rise from becoming an outage.
- Ask for migration help in writing. Both clouds want your workload on their own silicon, so ask Google Cloud and AWS what credits or engineering support they will commit before you move a training or inference job.
- Watch the test pass rate and the open issue list. If the remaining TorchTPU issues close and the TPU results on the Transformers CI dashboard turn green, that is a sign the stack is maturing for production inference.
The story
Google released TorchTPU as open source on Tuesday, October 20, at PyTorch Conference 2026. It is a native PyTorch backend that treats the company's Tensor Processing Units as an ordinary device, next to GPUs and CPUs. The announcement says the code was built together with Meta's PyTorch team, and the repository is under the Apache 2.0 license, with release 0.2.0 on PyPI.
The timing matters. AWS shipped TorchNeuron for its Trainium chips one day earlier, a release Enki covered in AWS opens TorchNeuron beta to run PyTorch on Trainium. TechCrunch framed the two launches as parallel attacks on Nvidia, whose GPUs remain the default target for most AI apps.
What Google shipped
Developers debug in eager mode, then switch on torch.compile when they want speed. The backend handles data and tensor parallel training, and Google wired it into widely used open serving and training projects: vLLM with Inferact, SGLang with RadixArk, plus llm-d 1.0, TorchTitan, VeRL and Ray. Google claims TorchTitan hit model FLOPs utilization as high as 52% when training Qwen 3 8B on Ironwood TPUs.
Two extras stand out. A TPU agent suite, now in preview, installs into agent tools such as Claude Code and Antigravity, with support for Cursor and Codex promised later, and walks users through onboarding, profiling and kernel tuning. Google also brought LiteRT, its on-device runtime, into the PyTorch ecosystem for phones, laptops and embedded hardware.
Hugging Face drops its workaround
Hugging Face says the older torch_xla path was hard to debug, with lazy tensors and recompilations set off by small edits. Now a Transformers v5 model lands on a TPU by passing a single device argument, Diffusers pipelines run unchanged, and the old Optimum TPU layer is no longer needed. Hugging Face reports that 96.5% of the Transformers tests it runs on TPU pass, and says 19 of the 34 issues it filed against TorchTPU are fixed.
Meta's director of PyTorch engineering, Jana van Greunen, said in Google's post: "We cannot be constrained by a single hardware architecture."
What we don't know yet
- How TPU pricing compares with GPU rental for the same job, since Google published utilization figures but no cost per token or per training run.
- How much real code changes when a team moves an existing GPU project, beyond the Hugging Face libraries.
- When the agent suite leaves preview and starts accepting outside contributions.
Sources
Primary sources
Reporting
Enki Daily
Get stories like this every weekday morning.
The day's AI stories for founders, each with what it means for your company. Free.
More in Products & Launches
- Google brings Gemini Personal Intelligence to cars

For founders: First-party data is the moat. Gemini answers driving questions from email, calendar and photos that an independent voice or travel assistant cannot reach…
The Verge · 14h ago - AWS opens TorchNeuron beta to run PyTorch on Trainium

For founders: Cheap to test, costly to finish. A pilot needs little more than a device string change and a Trn2 instance, so benchmarking an existing job is a small bet.
TechCrunch · 1d ago - Google launches Nano Banana 2.1, cutting image prices

For founders: Rerun your unit economics. If your product generates high volumes of 1K or 2K images, output cost per image halves.
The Decoder · 14d ago - Google limits free Gemini app users to Flash-Lite

For founders: Check what your team actually uses. Anyone doing real work in the free Gemini app on a personal account drops to the lightest model on October 9.
The Verge · 14d ago - OpenAI tests visual ads in ChatGPT image generation

For founders: A new paid channel, but measurable on your own stack. Support for AppsFlyer, Branch, Triple Whale and Northbeam means a consumer or app startup can judge…
TechCrunch · 15d ago