Replies: 4 comments 7 replies
-
I finally managed to set up my environment. I will list all the steps I did in case anyone else needs it, and so that someone could review my steps and let me know if anything is wrong.
In some cases you may have to run some of the commands again from above. Since I was trying to upgrade everything in my existing webui directory, I deleted my |
Beta Was this translation helpful? Give feedback.
-
Currently xformers do not compile under Windows. But you don't need them for modern GPUs anyway:
Then, in
In If you're still sure that you want xformers, use guide above, but instead of |
Beta Was this translation helpful? Give feedback.
-
"call conda" sounds cool but what's the Linux equivalent? Just would like to write "conda activate" somewhere in my webui-user.sh - writing 'conda acitvate ...' inside of a bash script is next to impossible because conda is meant for the terminal, not a script. |
Beta Was this translation helpful? Give feedback.
-
if I set VENV_DIR=my conda env for stablediffusion folder, and call conda activate stablediffusion, does it equivalent to VENV_DIR=- ? |
Beta Was this translation helpful? Give feedback.
-
Preface: Lately I've been trying to update all my modules to their latest versions that are compatible with Pytorch 2.1 and CUDA 12.1. After updating xformers I realized that all this time despite running
webui-user.bat
on the terminal within my SD conda environment, it was using old modules. I noticed that it was still using venv instead of conda.I know I could use venv instead of conda and just delete my existing venv folder in order to update; however, it's downloading all my modules twice. Once within my conda environment and once more within the venv folder. After what seemed like 30 minutes of digging around, I found a comment saying to modify
webuser-ui.bat
and change the respective line toset VENV_DIR=-
(note the dash). This worked and successfully used my conda environment, but then I started to have issues with my extensions for some reason.Is there a proper way to install and use SD Web UI with conda?
Beta Was this translation helpful? Give feedback.
All reactions