PyTorch Adds TPU Support via Open-Source TorchTPU
PyTorch Blog announces TorchTPU, an open-source project enabling TPU programming through XLA and custom kernels.

What happened
PyTorch Blog has released TorchTPU, an open-source project that allows developers to program Google’s TPU using the XLA compiler stack at a lower level than the Python framework.
TorchTPU enables users to create custom kernels using JAX/Pallas and the Helion DSL, offering greater flexibility in TPU development.
Why it matters
The integration of TorchTPU into PyTorch supports large-scale workloads by introducing JIT compilation for eager execution and runtime optimizations, aiming to compete with PyTorch on GPUs.
Key details
TPUs are programmed through the XLA compiler stack using two entry points: StableHLO and Mosaic. The actual TPU instruction set architecture (ISA) remains proprietary and not publicly available.
TorchTPU has validated DTensor-based sharding and multi-host inference workloads using vLLM and SGLang. It also supports PyTorch distributed idioms like DDP, FSDP, and DTensor through TPU collectives at the lowest level of the PyTorch stack.
Sources
Related stories

PyTorch Introduces TorchNeuron for AWS Trainium
PyTorch launches TorchNeuron, a native backend for AWS Trainium, on October 20, 2026.

Vercel Introduces Durable-Harness for Reliable Coding Agent Workflows
Vercel's durable-harness enables persistent coding agent workflows across local and cloud environments.

Google Gemini CLI Updates Security and Stability in v0.65.0
Google Gemini CLI v0.65.0 enhances security and session management with new restrictions and bug fixes.

Java Developers Use GitHub Copilot to Boost Productivity
Three Java Champions report improved efficiency using GitHub Copilot for coding tasks.

PyTorch Helion Enhances GPU Kernel Optimization
PyTorch Helion now uses autotuning to optimize GPU kernels, reducing the need for manual code tuning.

InvokeAI 7.0.0-alpha.3 Adds Role-Based Boards and New Models
InvokeAI 7.0.0-alpha.3 introduces role-based board sharing and support for the Qwen-Image-2.1 model.