# Introducing TorchTPU

DevFeed: [Introducing TorchTPU](<https://devfeed.tech/articles/introducing-torchtpu-91073.md>)

Original publisher: [Read original article](<https://pytorch.org/blog/introducing-torchtpu/>)

Author: The TorchTPU Team†

Published: 2026-10-20T16:02:30Z

Content type: article

Language: en

Sources: [PyTorch](<https://devfeed.tech/sources/blog-pytorch.md>)

Topics: [distributed-training](<https://devfeed.tech/topics/distributed-training.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [rdma](<https://devfeed.tech/topics/rdma.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2020](<https://devfeed.tech/tags/2020.md>), [2025](<https://devfeed.tech/tags/2025.md>), [2d-mesh](<https://devfeed.tech/tags/2d-mesh.md>), [3](<https://devfeed.tech/tags/3.md>), [3d](<https://devfeed.tech/tags/3d.md>), [backend](<https://devfeed.tech/tags/backend.md>), [blog](<https://devfeed.tech/tags/blog.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [execution](<https://devfeed.tech/tags/execution.md>), [first](<https://devfeed.tech/tags/first.md>), [google](<https://devfeed.tech/tags/google.md>), [meta](<https://devfeed.tech/tags/meta.md>), [model](<https://devfeed.tech/tags/model.md>), [native](<https://devfeed.tech/tags/native.md>), [open](<https://devfeed.tech/tags/open.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-collaboration](<https://devfeed.tech/tags/open-source-collaboration.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [source](<https://devfeed.tech/tags/source.md>), [tpu](<https://devfeed.tech/tags/tpu.md>)

## AI overview

TorchTPU is an open source Google-Meta effort to run PyTorch natively on Google TPUs, with eager execution, `torch.compile` through Dynamo, and distributed APIs as core design goals. A basic port can require little more than changing a device from `cuda` to `tpu`, though model shapes, sharding, and operators may need tuning for peak performance. Its `DeferAndFuse` eager mode groups operations and is reported as 50% or more faster than strict eager execution; compilation caches reduce repeat XLA compilation. The excerpt describes broad model and framework validation, while noting active development and limitations: bounded dynamism is not enabled by default, some GPU features or workload patterns need adaptation, and default "skinny collectives" can cost 30-40% end-to-end performance. Higher performance can require TPU-specific kernels and topology-aware sharding. Reported case studies include TorchTitan training and vLLM inference results, with performance depending on model, hardware, and optimizations.

## Source excerpt

TL;DR TorchTPU is an open source collaboration between Google and Meta that introduces a native and principled PyTorch backend for Google TPUs. It enables seamless out-of-the-box model execution and TPU... The post Introducing TorchTPU appeared first on PyTorch.