mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-26 14:38:44 +08:00
set default dynamic=None in TorchCompileModelAdvanced
This commit is contained in:
parent
62a862db37
commit
853daefee1
@ -904,6 +904,8 @@ class TorchCompileModelAdvanced:
|
||||
if not compile_key_list:
|
||||
compile_key_list =["diffusion_model"]
|
||||
|
||||
if not dynamic:
|
||||
dynamic = None
|
||||
set_torch_compile_wrapper(model=m, keys=compile_key_list, backend=backend, mode=mode, dynamic=dynamic, fullgraph=fullgraph)
|
||||
except:
|
||||
raise RuntimeError("Failed to compile model")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user