What runs natively
Transformers, Diffusers and Kernels run natively on TPU. [1]
The path it replaces
Until now, running PyTorch on TPUs meant going through PyTorch/XLA (torch_xla). [2]
Small changes could trigger graph recompilations, and debugging was hard to reason about. [3]
Sources
- The Hugging Face source says: Transformers, Diffusers and Kernels run natively on TPU. Hugging Face and TorchTPU
- The Hugging Face source says: Until now, running PyTorch on TPUs meant going through PyTorch/XLA (torch_xla). Hugging Face and TorchTPU
- The Hugging Face source says: Small changes could trigger graph recompilations, and debugging was hard to reason about. Hugging Face and TorchTPU