mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
SDNQ re-enable dynamic compile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user