model.to("cuda") ➜ model.to("tpu")
I tested TorchTPU on a TPU v6e: eager vs torch.compile, Hugging Face with device_map="tpu", and a training loop. torch.compile came out ~15% faster.
11-min tutorial ▶️ www.youtube.com/watch?v=9edV...
#TorchTPUSprint
model.to("cuda") ➜ model.to("tpu")
I tested TorchTPU on a TPU v6e: eager vs torch.compile, Hugging Face with device_map="tpu", and a training loop. torch.compile came out ~15% faster.
11-min tutorial ▶️ www.youtube.com/watch?v=9edV...
#TorchTPUSprint