Closed andrewng88 closed 4 years ago
I have tried the whole notebook and it ran fine for me.
Did you by any chance run the commented do-not-run-these code?
Can you try again with nightly
?
@dlibenzi Thanks it's working now, maybe it's the 'nightly' settings.
i'm a beginner here, do I need to anything special aside from sending the tensors to TPU for training ? will it work in batches like what we normally do?
Thanks.
I suggest you to read the comments in that Colab, as it explains the minor differences WRT a pytorch CPU/GPU training.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
❓ Questions and Help
Trying to initialize TPU before training can be done.
I was able to init using this ( single TPU ) https://colab.research.google.com/github/pytorch/xla/blob/master/contrib/colab/getting-started.ipynb
But I wasn't able to when I ran the first 2 blocks of code using this notebook as I was trying the 8 Free TPUs for colab. https://github.com/pytorch/xla/blob/master/contrib/colab/multi-core-alexnet-fashion-mnist.ipynb
Error as follows. Thanks
I notice that the TPU has random errors at the random TPU number.