Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities' #207

Open
ZT00OK53 opened this issue Jan 23, 2023 · 1 comment

Comments

@ZT00OK53
Copy link

2023-01-23 16:21:27.089807: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-01-23 16:21:27.090522: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "D:\AI\aitextgen\my.py", line 1, in
from aitextgen import aitextgen
File "D:\AI\aitextgen\aitextgen_init_.py", line 1, in
from .aitextgen import aitextgen # noqa
File "D:\AI\aitextgen\aitextgen\aitextgen.py", line 31, in
from .train import ATGProgressBar, ATGTransformer
File "D:\AI\aitextgen\aitextgen\train.py", line 14, in
from pytorch_lightning.utilities import _TPU_AVAILABLE
ImportError: cannot import name 'TPU_AVAILABLE' from 'pytorch_lightning.utilities' (C:\Users\OmkarKurmi\AppData\Local\Programs\Python\Python39\lib\site-packages\pytorch_lightning\utilities_init.py)

ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities'

While ruining on google colab and local machine I getting above.

Could you please guide me how I can fix it

@2br-2b
Copy link

2br-2b commented Feb 13, 2023

Duplicate of #200 - there's also a solution lister there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants