Uploaded April 2020 | Updated November 2026, 1 hour ago
In this video, I will show you how you can train multiple neural networks on TPUs simultaneously. You can use this trick to train multiple folds for a dataset really quick and avoid all the optimization of hyperparameters that are usually associated with TPUs. I am not talking about how TPUs work.
Please note: you need to use "xm.optimizer_step(optimizer, barrier=True)" in the train_fn. This is not mentioned in the video.
You can see the full code here: kaggle.com/abhishek/super-duper-fast-pytorch-tpu-kernel
If you want to present something on my live show, fill up the form here: bit.ly/AbhishekTalks
#TPU #Tricks #DataScience
Follow me on:
Twitter: twitter.com/abhi1thakur
LinkedIn: linkedin.com/in/abhi1thakur
Kaggle: kaggle.com/abhishek
In this video, I will show you how you can train multiple neural networks on TPUs simultaneously. You can use this trick to train multiple folds for a dataset really quick and avoid all the optimization of hyperparameters that are usually associated with TPUs. I am not talking about how TPUs work.
Please note: you need to use "xm.optimizer_step(optimizer, barrier=True)" in the train_fn. This is not mentioned in the video.
You can see the full code here: kaggle.com/abhishek/super-duper-fast-pytorch-tpu-kernel
If you want to present something on my live show, fill up the form here: bit.ly/AbhishekTalks
#TPU #Tricks #DataScience
Follow me on:
Twitter: twitter.com/abhi1thakur
LinkedIn: linkedin.com/in/abhi1thakur
Kaggle: kaggle.com/abhishek










