Google TorchTPU goes open source: native PyTorch on TPUs
Google open-sourced TorchTPU, a native PyTorch backend for TPUs, under Apache 2.0. Why a second chip option matters for your AI hosting bill, and what to test.
Most AI software runs on PyTorch, and most PyTorch runs on Nvidia. That lock-in is why GPU pricing sets the floor on what your AI vendors charge you. On October 20, Google open-sourced TorchTPU, a native PyTorch backend for its TPU chips, built with Meta's PyTorch team. It won't change your stack this week. It does give the market a credible second lane, and a second lane is what puts pressure on price.
What actually happened
Per Google Cloud's announcement at PyTorch Conference 2026, TorchTPU lets existing PyTorch workloads run on TPUs "with minimal code changes." You debug in eager mode, the way PyTorch normally runs, then switch to torch.compile for production speed.
The GitHub repository is licensed Apache 2.0. The current public release is 0.2.0 on PyPI, and it needs Python 3.11 or later.
Google also announced TPU support across the tools teams actually ship with:
- Serving: vLLM, SGLang, and llm-d 1.0
- Training: TorchTitan and Ray, plus a VeRL reinforcement-learning backend that is still in preview
- Hugging Face: in Transformers v5, you pass
device_map="tpu"to load a model on a TPU
The performance numbers are Google's own: up to 52% model FLOPs utilization training Qwen 3 8B, with near-linear scaling on up to 8,192 Ironwood TPUs. Meta says it runs LLM, ads, and recommendation workloads on TPUs through TorchTPU. Google's TPU agent suite for AI coding tools is in early preview. The announcement says nothing about TPU pricing.
Why TorchTPU matters for your business
You probably don't rent chips. Your vendors do. If you pay for an AI API, a hosted model, or a chatbot platform, someone's GPU bill is inside your invoice. When the same PyTorch code can run on two chip families, hosting providers get options, and options compress margins. That's the slow-moving win here.
If you do self-host a model, portability is now testable. A team running an open-weights model on vLLM can price the same workload on a TPU instance without a rewrite. Run the benchmark on your real traffic, not Google's chart. Throughput per dollar on your prompts is the only number that counts.
"Minimal code changes" is not "no code changes." Custom CUDA kernels, quantization libraries, and niche dependencies are where ports break. Version 0.2.0 is early software. Keep your production path where it is until the test passes.
Exit options are worth having before you need them. We wrote the same thing about AWS TorchNeuron on Trainium. Now there are two non-Nvidia PyTorch paths backed by hyperscalers. Your architecture should be able to use either.
Key takeaways
- Google open-sourced TorchTPU on October 20, a native PyTorch backend for TPUs co-developed with Meta
- Apache 2.0 license; current release is 0.2.0 on PyPI, Python 3.11+
- TPU support announced for vLLM, SGLang, TorchTitan, Ray, and Hugging Face Transformers v5
- Google's 52% MFU and 8,192-chip scaling figures are vendor benchmarks
- No pricing changes were announced; the benefit is competition on hosting costs
- If you self-host a model, benchmark your own workload on TPU before you trust the port
Your AI stack shouldn't be welded to one chip, one cloud, or one model vendor. We build AI systems on open tools you own, with the provider kept behind a swappable layer so you can move when the price moves. See how we build, or run the numbers on your current AI spend.
Sources: Google Cloud, TorchTPU on GitHub.
- #torchtpu
- #pytorch
- #google-cloud
- #tpu
- #ai-infrastructure
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
Stripe Atlas in MCP: an AI agent can start your company filing
Stripe Atlas now works through the Stripe MCP server, so an AI agent can prep a Delaware LLC or C corp application. Signing, payment, and choices stay with you.
Read itOpenAI 12-hour prompt caching: 2.5x writes, do the math
OpenAI's Responses API adds 12-hour prompt caching for agents. Cache writes cost 2.5x input, reads 0.1x. Here's the break-even math before you flip the TTL.
Read it