-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Xformers available but not #5898
Comments
run |
Yep its there |
its most likely your python command aliasing is off. |
I use miniconda. I ran the
|
Same here. xformers not detected.
|
I fixed it by editing the launch.py
WebUI does not look for xformers otherwise. It also seems to have installed its own version inside its own venv. |
This is the correct behaviour. You are not supposed to install it outside its own venv unless you set venv to
You can just pass the same to webui-user.bat/.sh |
FYI, you have to currently use --xformers . --force-enable is currently broken due to https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/import_hook.py unsetting xformers if you don't pass the --xformers flag specifically |
Thank you for posting this. This did help me get xformers loaded. |
Hello, I have to write down the entire string? Because in my launch.py there is no "commandline_args = os.environ.get" at all. |
Is there an existing issue for this?
What happened?
xformers is installed and available in my conda env yet not.
To demonstrate that xformers is working:
python -m xformers.info
But when running
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
Im getting:
Steps to reproduce the problem
Ubuntu 22.04
nvcc: NVIDIA (R) Cuda compiler driver
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0
What should have happened?
Assuming xformers should be available
Commit where the problem happens
685f963
What platforms do you use to access UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: