add a comment for disable xformers hack
This commit is contained in:
parent
5ee75e3c1e
commit
0c747d4013
|
@ -1,5 +1,5 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
# 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):
|
if "--xformers" not in "".join(sys.argv):
|
||||||
sys.modules["xformers"] = None
|
sys.modules["xformers"] = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user