Tools ·

Google and Meta: PyTorch now runs on TPUs without rewriting your code

What happened

Google, together with Meta's PyTorch team, open-sourced TorchTPU, a real PyTorch backend for Cloud TPU chips. Existing code moves to TPU with a plain torch.device("tpu"), and TorchTPU replaces the old PyTorch/XLA. TPU versions of vLLM and SGLang shipped alongside it. The package is version 0.2.0 on PyPI under the Apache 2.0 license.

Why it matters

After Amazon's TorchNeuron, this is the second big move against Nvidia's monopoly. More chip competition should mean cheaper inference and APIs in the long run.

Sources

More from this brief