mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 08:44:33 +02:00
fix model compile
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ def compile_upscaler(model, name=""):
|
||||
|
||||
if modules.shared.opts.cuda_compile_backend == "openvino_fx":
|
||||
from modules.intel.openvino import openvino_fx, openvino_clear_caches # pylint: disable=unused-import
|
||||
from modules.sd_models import CompiledModelState
|
||||
from modules.sd_models_compile import CompiledModelState
|
||||
|
||||
openvino_clear_caches()
|
||||
torch._dynamo.eval_frame.check_if_dynamo_supported = lambda: True # pylint: disable=protected-access
|
||||
|
||||
Reference in New Issue
Block a user