Close Menu
NCIJ Network NCIJ Network
    What's Hot

    United Oil & Gas eyes billion-barrel Jamaican drilling targets as it maps out next steps

    October 20, 2026

    Funding shortages and growing demand stall Illinois conservation efforts

    October 20, 2026

    Three ways to boost the UK’s fragile food security | Food security

    October 20, 2026
    Facebook X (Twitter) Instagram
    Trending
    • United Oil & Gas eyes billion-barrel Jamaican drilling targets as it maps out next steps
    • Funding shortages and growing demand stall Illinois conservation efforts
    • Three ways to boost the UK’s fragile food security | Food security
    • Reform leader accuses MSP of ‘squatting’ in seat after resignation
    • Qilin and INC Ransomware Groups Exploit Palo Alto Networks Flaw to Bypass MFA
    • As silky sharks decline, Costa Rica’s dominant trade faces a reckoning
    • Perenco brings ‘complex’ North Sea P&A and infrastructure removal campaign to an end
    • Three journalists of color named IRE’s 2027 Chauncey Bailey Fellows, carrying his investigative legacy forward
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Tuesday, October 20
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

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

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKOctober 20, 2026 Artificial Intelligence No Comments3 Mins Read
    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.

    Backend cloud Google native OpenSources PyTorch TorchTPU TPUs
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Cloudflare Releases Clairic, a System One Extraction Model on Workers AI

    Exa 3.0 Search API Tops Perplexity, Brave and Parallel on 8 Benchmarks

    Inception Releases Mercury 3 Diffusion LLM at 1,068 Tokens per Second

    Meet Drex Max: Nace AI’s Multimodal Decision Model for Computer-Use Agents with a Score 67.59

    MiniMax Just Launched M3.1 Flash: 428B MoE Agentic Model at $0.15/M Input

    ConnectWise Suspends Cloud Services in Response to Cyberattack

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    United Oil & Gas eyes billion-barrel Jamaican drilling targets as it maps out next steps

    October 20, 2026

    Funding shortages and growing demand stall Illinois conservation efforts

    October 20, 2026

    Three ways to boost the UK’s fragile food security | Food security

    October 20, 2026

    Reform leader accuses MSP of ‘squatting’ in seat after resignation

    October 20, 2026
    Latest Posts

    How AAU Failed to Protect Young Athletes From Sexual Abuse — ProPublica

    August 13, 2026

    So Much Solar: Digging Into the List of Every US Power Plant That Went Online This Year

    August 13, 2026

    Dogs can tell fear from sadness — and scientists saw it in their brains

    August 13, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    United Oil & Gas eyes billion-barrel Jamaican drilling targets as it maps out next steps

    October 20, 2026

    Funding shortages and growing demand stall Illinois conservation efforts

    October 20, 2026

    Three ways to boost the UK’s fragile food security | Food security

    October 20, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

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