add a comment for disable xformers hack

master
AUTOMATIC 3 years ago
parent 5ee75e3c1e
commit 0c747d4013

@ -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

Loading…
Cancel
Save