make --force-enable-xformers work without needing --xformers
This commit is contained in:
parent
1371d7608b
commit
e6e42f98df
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from einops import rearrange
|
|||
|
||||
from modules import shared
|
||||
|
||||
if shared.cmd_opts.xformers:
|
||||
if shared.cmd_opts.xformers or shared.cmd_opts.force_enable_xformers:
|
||||
try:
|
||||
import xformers.ops
|
||||
import functorch
|
||||
|
|
Loading…
Reference in a new issue