Open StableInquest opened 1 year ago
Initial image generation seems to work though, just fails with the error I posted above. Image output for reference: . Prompt: "mozart"
Which versions of torch, torchvision and torchaudio do you have installed if you run pip list
in the python virtual environment?
(To activate the virtual environment, run the \stable-diffusion-webui\venv\Scripts\activate.bat
in a command prompt, assuming Windows)
Actually on M1 Mac. torch==1.12.1 torchvision==0.13.1 torchaudio==0.13.1, Python 3.10.8 (main, Oct 13 2022, 09:48:40) [Clang 14.0.0 (clang-1400.0.29.102)]
Correction. torchaudio==0.12.1
uninstall torch libraries and install from with these instructions instead of using pip
No luck so far.
I think the problem is that my script tries to install the CUDA version (of torchaudio) automatically at each startup, since I forgot about MacOS. Then it complains that your main torch installation has not been compiled with CUDA, which is correct
Hopefully my latest commit should address this
I deleted automatic SD install and did a clean install to try this from scratch. Unfortunatley still getting this same error.
Sorry to hear you're still having issues, unfortunately I don't have a personal M1 Mac so it's hard for me to diagnose this problem
No problem at all. If I can be of any assitance testing on Mac just let me know. Happy to help.
Ok if you change :
device: str = "cuda:0",
to
device: str = "cpu:0",
if Mac is detected in the riffusion.py file that fixes it.
Ok if you change :
device: str = "cuda:0",
todevice: str = "cpu:0",
if Mac is detected in the riffusion.py file that fixes it.
Nice catch! I didn't notice the function defaults to trying to use a cuda device. That's what I get for copying someone else's code without reading it.
I will issue a fix based on your observation later today, glad to see you've found the fix
:)
After the update on amd64 installing the module removes gpu use ability by installing a wrong version of cudnn for me. Complete reinstall without riffusion fixed the issue.
Same error. @aavetis fix seems to be for normal use for an NVIDIA gpu, I use an AMD with the directml version of SD. Please help
Windows 11, stable diffusion 1.8 или 1.5, nvideo 3070, получаю эту же ошибку
latest issue