remove functorch

This commit is contained in:
C43H66N12O12S2 2022-10-10 17:51:05 +03:00 committed by AUTOMATIC1111
parent 623251ce2b
commit 3e7a981194

View File

@ -13,8 +13,6 @@ from modules import shared
if shared.cmd_opts.xformers or shared.cmd_opts.force_enable_xformers:
try:
import xformers.ops
import functorch
xformers._is_functorch_available = True
shared.xformers_available = True
except Exception:
print("Cannot import xformers", file=sys.stderr)