LIVE NEWS
  • Hyperscalers List GPUs at Nearly 2× the GPU-Cloud Price, Fluence Research Finds
  • Nvidia AI trade: Huang exit, Congress reshape Big Tech stock outlook
  • NASA’s Voyager 1 probe forever changed our view of Jupiter: Space photo of the week
  • Did Boston Scientific’s marketing of Watchman outpace the science?
  • US air travel disruptions to persist until late on Sunday, FAA head says
  • DuckLake 1.1 solves the absurd complexity of data lakes at AI scale
  • Securing the Asia-Pacific digital battlespace: TechNet Indo-Pacific 2026
  • This Week In Space podcast: Episode 236 — Alienspotting
Prime Reports
  • Home
  • Popular Now
  • Crypto
  • Cybersecurity
  • Economy
  • Geopolitics
  • Global Markets
  • Politics
  • See More
    • Artificial Intelligence
    • Climate Risks
    • Defense
    • Healthcare Innovation
    • Science
    • Technology
    • World
Prime Reports
  • Home
  • Popular Now
  • Crypto
  • Cybersecurity
  • Economy
  • Geopolitics
  • Global Markets
  • Politics
  • Artificial Intelligence
  • Climate Risks
  • Defense
  • Healthcare Innovation
  • Science
  • Technology
  • World
Home»Artificial Intelligence»Google Open-Sources TorchTPU, a Native PyTorch Backend for Cloud TPUs
Artificial Intelligence

Google Open-Sources TorchTPU, a Native PyTorch Backend for Cloud TPUs

primereportsBy primereportsOctober 21, 2026No Comments3 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Google Open-Sources TorchTPU, a Native PyTorch Backend for Cloud TPUs
Share
Facebook Twitter LinkedIn Pinterest Email






Google has open-sourced TorchTPU, a native PyTorch backend for Cloud TPUs. It was co-developed with the PyTorch team at Meta and announced at PyTorch Conference 2026 on October 20, 2026. Existing PyTorch code targets a TPU through a standard torch.device("tpu"). TPUs now sit beside GPUs and CPUs as a native PyTorch device. Google team states that TorchTPU replaces PyTorch/XLA and recommends it for all new workloads.

TL;DR

  • Size: A software stack, not a model. 4 open repos: TorchTPU, vLLM-TorchTPU, SGLang-TorchTPU, TorchTitan. TorchTPU is v0.2.0 on PyPI, Python 3.11+, Apache 2.0.
  • Runs on: Google Cloud TPUs. Tested on generations from v5e, scaled to 8,192 Ironwood (TPU7x) chips. Serving supports FP8, MXFP4 and NVFP4 checkpoints.
  • Performance: Eager mode for debugging, torch.compile for production-level throughput.
  • Best: 52% MFU training Qwen 3 8B with TorchTitan on Ironwood (self-reported).
  • Worst: Out-of-box eager took 11.49s per step in a fine-tuning case, versus 2.78s fully tuned.

What is TorchTPU?

TorchTPU is an open-source PyTorch backend from Google and Meta that runs PyTorch models natively on TPUs. It plugs in through PyTorch’s PrivateUse1 interface. Tensors are ordinary PyTorch tensors, with no subclasses or wrappers. It runs one process per device and preserves tensor views and in-place mutations.

The predecessor, PyTorch/XLA, recorded lazy-tensor graphs. Developers often added code to mark compilable regions. PyTorch/XLA also only supported pure SPMD code. TorchTPU also handles divergent MPMD execution.

How does TorchTPU execute PyTorch code?

TorchTPU ships 3 eager modes:

  • Strict (default): dispatches each operator asynchronously with standard PyTorch semantics.
  • Debug: runs synchronously with tensor bounds checking.
  • DeferAndFuse: fuses runs of eager operators to cut HBM traffic. The TorchTPU paper says it can be 50% or more faster than Strict.

For peak speed, torch.compile(backend="tpu") captures the graph with TorchDynamo. It lowers through StableHLO to OpenXLA, which emits TPU machine code. Compiled executables are cached across processes, hosts and job restarts.

Custom Pallas kernels are callable as standard PyTorch functions. Prebuilt Tokamax kernels and Helion tile kernels also work.

Distribution uses the tpu_dist process group. It supports DDP, FSDP2 and DTensor, along with a topology-aware mesh for TPU interconnects.

How fast is TorchTPU?

All figures below are self-reported by Google and partners.

  • Training scale: TorchTitan reached up to 52% MFU on Qwen 3 8B. Google reports near-linear scaling up to 8,192 Ironwood TPUs.
  • Tuning ladder: In a TorchTitan fine-tuning case, step time fell from 11.49s to 2.78s. DeferAndFuse alone gave 1.15x. Full torch.compile gave 3.80x.
  • Model coverage: Google continuously tests about 5,000 Hugging Face models in eager and compiled modes.
  • Fleet serving: Zenteiq grew daily output from 1.47B to 5.97B tokens per 1,000 TPU v6e chips. That gain came from llm-d routing on GKE, not TorchTPU alone.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleQ&A: Why a pivotal IPCC meeting in Ethiopia ended in ‘profound disappointment’
Next Article Xbox may finally be giving Game Pass the overhaul it badly needs
primereports
  • Website

Related Posts

Artificial Intelligence

DuckLake 1.1 solves the absurd complexity of data lakes at AI scale

November 15, 2026
Artificial Intelligence

Microsoft doesn’t ‘have an ETA for full recovery’ on outage yet

November 14, 2026
Artificial Intelligence

AWS had its agents build a free and open emulator for AWS. They now maintain it, too.

November 12, 2026
Add A Comment
Leave A Reply Cancel Reply

Top Posts

Threat of further violence looms after Mexican cartel rampage

February 25, 2026116 Views

‘Two-sided risk’ Medicare Advantage plans improve patient outcomes

February 24, 202673 Views

Inside the global business of ‘three-parent IVF’ | A STAT investigation

November 2, 202630 Views
Stay In Touch
  • Facebook
  • YouTube
  • TikTok
  • WhatsApp
  • Twitter
  • Instagram
Latest Reviews

Subscribe to Updates

Get the latest tech news from FooBar about tech, design and biz.

PrimeReports.org
Independent global news, analysis & insights.

PrimeReports.org brings you in-depth coverage of geopolitics, markets, technology and risk – with context that helps you understand what really matters.

Editorially independent · Opinions are those of the authors and not investment advice.
Facebook X (Twitter) LinkedIn YouTube
Key Sections
  • World
  • Crypto
  • Cybersecurity
  • Geopolitics
  • Global Markets
  • Artificial Intelligence
All Categories
  • Artificial Intelligence
  • Climate Risks
  • Crypto
  • Cybersecurity
  • Defense
  • Economy
  • Geopolitics
  • Global Markets
  • Healthcare Innovation
  • Politics
  • Popular Now
  • Science
  • Technology
  • World
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Disclaimer
  • Cookie Policy
  • DMCA / Copyright Notice
  • Editorial Policy

Sign up for Prime Reports Briefing – essential stories and analysis in your inbox.

By subscribing you agree to our Privacy Policy. You can opt out anytime.
Latest Stories
  • Hyperscalers List GPUs at Nearly 2× the GPU-Cloud Price, Fluence Research Finds
  • Nvidia AI trade: Huang exit, Congress reshape Big Tech stock outlook
  • NASA’s Voyager 1 probe forever changed our view of Jupiter: Space photo of the week
© 2026 PrimeReports.org. All rights reserved.
Privacy Terms Contact

Type above and press Enter to search. Press Esc to cancel.