From 1b45c145e9429f1e059335c120037cf04f3f902a Mon Sep 17 00:00:00 2001 From: Disty0 Date: Sun, 28 Sep 2025 20:40:24 +0300 Subject: [PATCH] SDNQ re-enable dynamic compile --- modules/sdnq/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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