# Google and Meta Open-source TorchTPU to Bring Native PyTorch Support to Google TPUs

DevFeed: [Google and Meta Open-source TorchTPU to Bring Native PyTorch Support to Google TPUs](<https://devfeed.tech/articles/google-and-meta-open-source-torchtpu-to-bring-native-pytorch-support-to-google-tpus-112552.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/11/torchtpu-native-pythorch-tpu/>)

Author: Sergio De Simone

Published: 2026-11-02T17:00:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [PyTorch](<https://devfeed.tech/topics/pytorch.md>), [distributed-training](<https://devfeed.tech/topics/distributed-training.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [development](<https://devfeed.tech/tags/development.md>), [facebook](<https://devfeed.tech/tags/facebook.md>), [google](<https://devfeed.tech/tags/google.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [meta](<https://devfeed.tech/tags/meta.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [torchtpu](<https://devfeed.tech/tags/torchtpu.md>), [torchtpu-native-pythorch-tpu](<https://devfeed.tech/tags/torchtpu-native-pythorch-tpu.md>), [tpus](<https://devfeed.tech/tags/tpus.md>)

## AI overview

TorchTPU, an open-source Google and Meta project, brings native PyTorch execution to Google TPUs with minor migration changes. Compared with PyTorch/XLA, which the article says required explicit compilable regions, had high compile latency, lacked native eager execution, and lagged in distributed primitives, TorchTPU prioritizes eager execution and also supports compiled and distributed workloads. GPU migrations can replace the `cuda` device with `tpu` and `nccl` with `tpu_dist`, or use `torch.accelerator.current_accelerator`. TorchTPU offers strict, debug, and DeferAndFuse eager modes; Google claims DeferAndFuse can be at least 50% faster than Strict Eager while reducing peak HBM memory. Google evaluated about 5,000 Hugging Face models across 500+ architectures, and reported Muse Glimmer throughput and large-scale Qwen3 MoE training results on TPUv7. The project remains early-stage, with dynamic shapes, compilation performance, operator coverage, reinforcement learning, and quantization on its roadmap.

## Source excerpt

TorchTPU is an open-source project developed by Google in collaboration with Meta that provides a native PyTorch backend for Google TPUs. It enables PyTorch workloads to execute on TPU hardware with minimal code modifications, supporting eager and compiled execution, distributed computing, and hardware-specific optimizations. By Sergio De Simone