mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-21 23:00:59 -08:00
add a comment for disable xformers hack
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import sys
|
||||
|
||||
|
||||
if "xformers" not in "".join(sys.argv):
|
||||
# this will break any attempt to import xformers which will prevent stability diffusion repo from trying to use it
|
||||
if "--xformers" not in "".join(sys.argv):
|
||||
sys.modules["xformers"] = None
|
||||
|
||||
Reference in New Issue
Block a user