AUTOMATIC1111 / stable-diffusion-webui-pixelization

stable-diffusion-webui-pixelization
MIT License
550 stars 72 forks source link

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU. #25

Open zouanhao opened 10 months ago

zouanhao commented 10 months ago

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

eCareWebSolutions commented 8 months ago

Check this post, if you're running on an M1 Macbook like me, it fixed my issue.

https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization/issues/14#issuecomment-1518890600