diff --git a/modules/sdnq/common.py b/modules/sdnq/common.py index ecd06a653..783a7ab2f 100644 --- a/modules/sdnq/common.py +++ b/modules/sdnq/common.py @@ -44,7 +44,7 @@ allowed_types = linear_types + conv_types + conv_transpose_types if use_torch_compile: torch._dynamo.config.cache_size_limit = max(8192, torch._dynamo.config.cache_size_limit) torch._dynamo.config.accumulated_recompile_limit = max(8192, torch._dynamo.config.accumulated_recompile_limit) - compile_func = partial(torch.compile, fullgraph=True, dynamic=False) + compile_func = partial(torch.compile, fullgraph=True) else: def compile_func(fn, **kwargs): # pylint: disable=unused-argument return fn