| Brilliant, thank you! I just got OP's setup working, but this seems much more user-friendly. Giving it a try now... EDIT: Got it working, with a couple of pre-requisite steps: 0. `rm` the existing `stable-diffusion` repo (assuming you followed OP's original setup) 1. Install `conda`, if you don't already have it: brew install --cask miniconda
2. Install the other build requirements referenced in OP's setup: brew install Cmake protobuf rust
3. Follow the main installation instructions here: https://github.com/lstein/stable-diffusion/blob/main/README-...Then you should be good to go! EDIT 2: After playing around with this repo, I've found: - It offers better UX for interacting with Stable Diffusion, and seems to be a promising project. - Running txt2img.py from lstein's repo seems to run about 30% faster than OP's. Not sure if that's a coincidence, or if they've included extra optimisations. - I couldn't get the web UI to work. It kept throwing the "leaked semaphor objects" error someone else reported (even when rendering at 64x64). - Sometimes it rendered images just as a black canvas, other times it worked. This is apparently a known issue and a fix is being tested. I've reached the limits of my knowledge on this, but will following closely as new PRs are merged in over the coming days. Exciting! |
> User specified autocast device_type must be 'cuda' or 'cpu'
> Are you sure your system has an adequate NVIDIA GPU?
I found the solution here: https://github.com/lstein/stable-diffusion/issues/293#issuec...