跳到正文
数字商店
原文
Rohan Paul· @rohanpaul_ai · X·· 2026-10-21AI 评分73
AI 导读

Google开源TorchTPU,为TPU提供原生PyTorch后端,替代此前的PyTorch/XLA层。该后端支持开发者在eager模式下逐步调试模型,并通过torch.compile切换到生产级性能;训练Qwen 3 8B时最高可调用TPU峰值算力的52%。

正文 · 原文

Google and Amazon now both offer native PyTorch backends that let code leave Nvidia GPUs.

Google just open-sourced TorchTPU that replaces PyTorch/XLA, letting developers debug TPU models step by step.

TorchTPU used up to 52% of peak TPU compute training Qwen 3 8B.

TPUs previously reached PyTorch through PyTorch/XLA, which queued operations for a compiler, so debugging differed from GPU work.

TorchTPU replaces that layer, running each operation as written for debugging, then switching to torch.compile for production speed.

来源:Rohan Paul · x.com