aitune.torch.libs.torch_compile
aitune.torch.libs.torch_compile
Shared torch.compile helpers.
Module Contents
Functions
Data
API
Resolve effective dynamic compilation setting without mutating backend config.
Parameters:
config_dynamic
Explicit dynamic setting from backend config.
graph_spec
Graph specification used for dynamic-axis detection.
Returns: bool | None
Effective value to pass to torch.compile(dynamic=...).