After following the installation instructions, and running 'python prs.py', the following error occurrs:
(prs) >:~/stablediffusion/prs$ python prs.py
PROG ROCK STABLE
----------------
Parsing settings.json
Applying settings file: settings.json
Using k_lms sampling method.
Loading the model and checkpoint (./models/sd-v1-4.ckpt)...
Loading model from ./models/sd-v1-4.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Downloading: 100%|█████████████████████████| 4.41k/4.41k [00:00<00:00, 4.82MB/s]
Traceback (most recent call last):
File "prs.py", line 1067, in <module>
main()
File "prs.py", line 946, in main
elif ("mps" in cl_args.device) or (torch.backends.mps.is_available()):
AttributeError: module 'torch.backends' has no attribute 'mps'
After following the installation instructions, and running 'python prs.py', the following error occurrs:
Steps to reproduce:
Environment: