Example on training with TPU does not run at all #9966
-
I am currently try this colab notebook https://colab.research.google.com/github/PytorchLightning/lightning-tutorials/blob/publication/.notebooks/lightning_examples/mnist-tpu-training.ipynb#scrollTo=2772a2e1 provided by PL teams to get some experience with TPU training. But when I try to execute the third cell, there is some Import error with the _XLAC module. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
hi, try
if you have cuda 10.2 if you have cuda 11.1 and you can add an issue to which is the library which seems to have the problem can you try these. With best regards, |
Beta Was this translation helpful? Give feedback.
-
@tungts1101 Hi, please have a look at #8315. |
Beta Was this translation helpful? Give feedback.
-
Hi @tungts1101! this error is raised when the PyTorch and PyTorch xla are not of the same versions. |
Beta Was this translation helpful? Give feedback.
Hi @tungts1101! this error is raised when the PyTorch and PyTorch xla are not of the same versions.
You could verify using
pip list | grep torch
and could install the latest versions for both!