ImportError: _XLAC.cpython: undefined symbol #8320
-
🐛 BugImport error after installing pytorch-lightning on google colab TPU instance. Colab link: https://colab.research.google.com/drive/1ssH3PwBh6skcIze440LwHn5R5dUnih7Q?usp=sharing Code to reproduce:
Console output:
I followed the instructions from the docs: https://pytorch-lightning.readthedocs.io/en/stable/advanced/tpu.html. I also tried xla version 1.7, 1.6, and pl version 1.1.8. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@kaushikb11 I guess it is unrelated to PL, right? |
Beta Was this translation helpful? Give feedback.
-
Hi @BryanWBear, this error is raised when the PyTorch and PyTorch xla are not of the same versions. |
Beta Was this translation helpful? Give feedback.
Hi @BryanWBear, 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!