add a comment for disable xformers hack
This commit is contained in:
parent
5ee75e3c1e
commit
0c747d4013
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue