stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

ModuleNotFoundError: No module named 'pytorch_lightning.utilities.distributed'

Open MtYCNN opened this issue 2 years ago • 4 comments

ModuleNotFoundError: No module named 'pytorch_lightning.utilities.distributed' What is the error, can anyone help me to solve it

MtYCNN avatar Jul 03 '23 07:07 MtYCNN

pytorch_lightning is a beefed(?) ML library built on Pytorch. I didn't know about it until I found this repo, I encourage you to do your own research here. The issue may be that you have not installed the module, the conda command to do so is in the above link. Admittedly, i was not able to get img2img.py to run myself :(

dgilmore33 avatar Jul 24 '23 02:07 dgilmore33

while I ran "pip install pytorch-lightning==1.6.5" (higher version may work well ), it works. May be this will help you.

Ed-ivan avatar Sep 28 '23 03:09 Ed-ivan