mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 03:32:37 +00:00
make --force-enable-xformers work without needing --xformers
This commit is contained in:
@@ -10,7 +10,7 @@ from einops import rearrange
|
|||||||
|
|
||||||
from modules import shared
|
from modules import shared
|
||||||
|
|
||||||
if shared.cmd_opts.xformers:
|
if shared.cmd_opts.xformers or shared.cmd_opts.force_enable_xformers:
|
||||||
try:
|
try:
|
||||||
import xformers.ops
|
import xformers.ops
|
||||||
import functorch
|
import functorch
|
||||||
|
Reference in New Issue
Block a user