Back to News

Google open-sources TorchTPU, making TPU a native PyTorch device

#pytorch#tpu#google#open-source

At PyTorch Conference 2026, Google announced the open-sourcing of TorchTPU, a software stack enabling native PyTorch execution on TPUs, developed with Meta and integrated by vLLM, SGLang, Hugging Face, Ray, and TorchTitan. The project, available on GitHub with a 23-page technical report on arXiv, allows deployment to TPU via a single parameter in Hugging Face Transformers v5, positioning TPU alongside GPU and CPU as a native PyTorch option.

Coverage timeline

  1. 机器之心机器之心

    编辑|Panda 如果只能用一行代码概括这条新闻,那就是 device_map="tpu"。 在圣何塞举行的 PyTorch Conference 2026 上,谷歌宣布开源 TorchTPU ,这是一套让 PyTorch 原生运行在 TPU 上的完整软件栈。从此,在 Hugging Face Transformers v5 里把模型部署到 TPU,只需要传入这一个参数。 一个参数的变化,背后是谷歌在软件路线上的一次转向,也是英伟达 CUDA 生态近十年来遭遇的最正面的一次挑战。 AI 芯片的竞争,从来不只是芯片本身的竞争。PyTorch 是全球使用最广泛的 AI 框架,而它自 2016 年诞生起就与 CUDA 深度绑定:英伟达工程师长期投入,确保 PyTorch 在 N 卡上跑得最好,华尔街甚至有分析师把 CUDA 视为英伟达抵御对手最坚固的盾牌。反观谷歌,TPU 十年来主要服务自家的 TensorFlow 和 JAX。PyTorch 用户想用 TPU,得经过 PyTorch/XLA 这样一层「转接」,付出大量额外的工程成本。 TorchTPU 改变的正是这个前提。用谷歌官方的说法, TPU 从此与 GPU、CPU 并列,成为 PyTorch 的原生选项 。 项目地址:https://github.com/google-pytorch/torch_tpu 项目由谷歌与 PyTorch 的「娘家」Meta 联合开发,vLLM、SGLang、Hugging Face、Ray、TorchTitan 等主流开源项目同步完成接入,一份 23 页的技术报告也同时发布在 arXiv 上。 报告标题:TorchTPU – A Hybrid Eager/Compiled Architecture for Native PyTorch Execution on TPU 报告地址:https://arxiv.org/pdf/2610.24161 时间点也值得关注。过去一年,Anthropic 签下最多 100 万颗 TPU 的使用协议,Meta 也被曝与谷歌达成数十亿美元的 TPU 租用合约。硬件已经卖得出去,软件成了最后一块短板。现在,谷歌要亲手把它补上。 不是又一个「转接头」 PyTorch 跑 TPU 并不新鲜。技术报告回顾,谷歌早在 2020 年就推出了基于惰性张量的 PyTo

Related stories

  • NVIDIA and Waterloo Open-Source PixelUMM, an Encoder-Free Unified Image-Video Model

    NVIDIA and the University of Waterloo released PixelUMM, an encoder-free unified multimodal model that handles image and video understanding and generation directly in pixel space, bypassing ViT and VAE. It uses spatial patches for images and spatiotemporal tubelets for videos, feeding raw pixels through a linear projection into a shared Mixture-of-Transformers backbone with separate parameters for understanding and generation but shared attention.

    1 reports · 1 sources
  • Open-source projects unlock hidden Tensor Core throughput on GeForce GPUs, doubling RTX 4090 performance

    Open-source developers released projects on GitHub that unlock higher Tensor Core throughput on NVIDIA GeForce GPUs by modifying boot-time configuration, without driver swaps or BIOS flashes. Tests reportedly doubled the FP16/FP32 and BF16/FP32 throughput of an RTX 4090 from about 165 TFLOPS to over 330 TFLOPS, with gains also observed on RTX 3090 Ti, RTX 4070 Ti SUPER, and RTX 2080 Ti. The projects target RTX 20, 30, and 40 series, with some experiments done on Windows 11.

    1 reports · 1 sources
  • DeepMind Researchers Find Numerical Precision Bugs in Softmax and Cross-Entropy Across Major Frameworks

    Google DeepMind researchers identified two numerical precision bugs in the standard Softmax and cross-entropy implementations used by PyTorch, JAX, and TensorFlow. The bugs can subtly alter gradients during training, potentially causing loss spikes or capability regression. The team proposed a fix that adjusts the computation without increasing floating-point precision or redesigning the loss function; the paper was submitted to arXiv on October 22.

    1 reports · 1 sources
  • Google launches TorchTPU, vLLM adds TPU backend

    Google announced TorchTPU, an open-source version of PyTorch that lets AI applications run on TPUs and Google Cloud via simple configuration changes without rewriting code. Concurrently, vLLM introduced vllm-torchtpu, a new backend for Google Cloud TPUs built on TorchTPU, featuring Pallas kernels, multi-host parallelism, KV cache offloading, and disaggregated serving. These moves, following Amazon's similar tool, challenge Nvidia's dominance in AI development.

    3 reports · 3 sources

News updates every hour. Subscribe in your RSS reader to get new stories automatically.

Subscribe