Hugging Face adds native TPU support through TorchTPU
Hugging Face says TorchTPU, a native PyTorch backend, makes Google's TPU chips another device for PyTorch users. Transformers, Diffusers and Kernels run natively on TPU, and a model can be moved with device_map="tpu" or pipe.to("tpu"). Hugging Face says it reported 34 issues to the TorchTPU repo so far, and 19 are already fixed, with 96.5% of the library's TPU tests passing.