minimaxir / aitextgen

A robust Python tool for text-based AI training and generation using GPT-2.
https://docs.aitextgen.io
MIT License
1.84k stars 220 forks source link

ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities' (C:\Users\sambi\anaconda3\lib\site-packages\pytorch_lightning\utilities\__init__.py) #228

Open SambitSahuIT opened 1 year ago

SambitSahuIT commented 1 year ago

I am facing this issue when i tried to implement, from aitextgen import aitextgen, ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities' (C:\Users\sambi\anaconda3\lib\site-packages\pytorch_lightning\utilities__init__.py)