ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Disabling xformers when using 3rd party venv

Open siraxe opened this issue 2 years ago • 2 comments

Run into a slight issue using webui venv. image Xformers work in webui ,but here it doesn't as something might be not compatible Is there a way to disable it when starting comfyUI ?

siraxe avatar Mar 11 '23 12:03 siraxe

Ah, maybe it's the python version ? I have 3.10.7

siraxe avatar Mar 11 '23 12:03 siraxe

Try to reinstall xformers:

pip uninstall xformers
pip install xformers

comfyanonymous avatar Mar 11 '23 16:03 comfyanonymous

Hello, how do I disable xformers from ComfyUI? I find it inconsistent and as I don't use it with automatic1111 I wanted to be able to disable as well in ComfyUI. There's an argument --disable-xformers, but I don't know how to use it. Thank you :)

patriciagomesoo avatar Jul 28 '23 12:07 patriciagomesoo

@patriciagomesoo Try python main.py --disable-xformers

robinjhuang avatar Jul 03 '24 21:07 robinjhuang

Edit run_cpu.bat add --disable-xformers at the end.

.\python_embeded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build --disable-xformers pause

hassandawa avatar Jul 18 '24 08:07 hassandawa