AUTOMATIC1111/stable-diffusion-webui-pixelization

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.

zouanhao opened this issue · 1 comments

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.

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

#14 (comment)