SDNQ re-enable dynamic compile

This commit is contained in:
Disty0
2025-09-28 20:40:24 +03:00
parent 6f2145fa57
commit 1b45c145e9
+1 -1
View File
@@ -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