Created
May 29, 2021 05:41
-
-
Save rish-16/7117a3ac00acb664af9722b72bf5b240 to your computer and use it in GitHub Desktop.
A guide on Colab TPU training using PyTorch XLA (Part 1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
assert os.environ['COLAB_TPU_ADDR'], 'Make sure to select TPU from Edit > Notebook settings > Hardware accelerator' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment