mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-30 15:10:50 +08:00
remove functorch
This commit is contained in:
parent
623251ce2b
commit
3e7a981194
@ -13,8 +13,6 @@ from modules import shared
|
|||||||
if shared.cmd_opts.xformers or shared.cmd_opts.force_enable_xformers:
|
if shared.cmd_opts.xformers or shared.cmd_opts.force_enable_xformers:
|
||||||
try:
|
try:
|
||||||
import xformers.ops
|
import xformers.ops
|
||||||
import functorch
|
|
||||||
xformers._is_functorch_available = True
|
|
||||||
shared.xformers_available = True
|
shared.xformers_available = True
|
||||||
except Exception:
|
except Exception:
|
||||||
print("Cannot import xformers", file=sys.stderr)
|
print("Cannot import xformers", file=sys.stderr)
|
||||||
|
Loading…
Reference in New Issue
Block a user