Menu

Google and Meta Open-Source TorchTPU for Running PyTorch on TPUs
📰

Google and Meta Open-Source TorchTPU for Running PyTorch on TPUs

DEV Community: pytorch·The daily flare·about 8 hours ago
#lu1k33AE
#devtopytorch#devto#dev#pytorch#google
Reading 0:00
15s threshold

Originally published on The Daily Flare .

Key takeaways

Google and Meta released TorchTPU as an open-source PyTorch backend for Google TPUs.

The stack connects with tools including TorchTitan, vLLM, SGLang and Hugging Face libraries.

A model may run with a small device-setting change, but peak performance can require further tuning.

Google and Meta have released TorchTPU, an open-source backend that lets developers run PyTorch models on Google's TPU accelerators with limited code changes.

Announced at PyTorch Conference North America in San Jose, TorchTPU gives TPUs a native place alongside CPUs and GPUs in PyTorch workflows. The project is intended to make it easier to move existing models to Google's chips without rewriting them for another machine-learning framework. Google Cloud's official announcement says developers can use familiar PyTorch APIs for training, serving and deployment.

A native backend for PyTorch workloads

TorchTPU was co-developed by Google and Meta's PyTorch team.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.