- This topic has 4 replies, 2 voices, and was last updated 1 year ago by alexis.
-
AuthorPosts
-
-
November 14, 2023 at 2:45 pm #8242
Hello, when I am using Automatic 1111 on Windows 10 with NVIDIA rtx 3090 it’s giving me an error for xFormers. (“Dreambooth could not find a compatible version of xformers (>= 0.0.21 built with torch 2.0.1+cu118)
So I installed xformers 0.0.22.post7 (latest release)
Now I’m getting “torchaudio 2.1.0+cu118 requires torch==2.1.0+cu118, but you have torch 2.1.0 which is incompatible.”
How can I install torch with cuda?
Generally I was testing different softwares: some require “anaconda” to be installed. I’m fearing that these different requirements could cause incompatibilities. But as far as I understand, an installation with “cmd” into a folder as it is happening with “stable-diffusion-webui” is only concerning this folder and not interfering with other software.
I’m using for compatibility right now only cuda 11.8 and python 3.10.11. for stable diffusion.
Many thanks
-
November 14, 2023 at 5:48 pm #8245
Have you tried deleting the venv folder and restart?
xformers is a bit outdated. You can try the following A1111 parameter in place of xformers
–opt-sdp-no-mem-attention
-
November 15, 2023 at 4:43 am #8247
Thanks!  I will try… I guess the parameter
–opt-sdp-no-mem-attention
has to be written in the stable-diffusion-webui.bat
And then would I have I to uninstall somehow xformers?
-
November 15, 2023 at 4:47 am #8248
You can replace
--xformers
with
--opt-sdp-no-mem-attention
-
November 16, 2023 at 10:29 am #8354
Thanks, after removing the venv the message comes, that python 3.11 gets activated and comes a warning for incompatibility.
I have activated systemwide python 3.10 with a virtual environment with conda. And even in the stable diffusion folder it is set to 3.10
Is there a way to install or force for the stable-diffusion-webui.bat a python version? I have testet “set PYTHON =3.10” in the bat but this gives an error for unknown command.
-
-
AuthorPosts
- You must be logged in to reply to this topic.