torch.compiler API reference
For a quick overview of torch.compiler
, see torch.compiler.
See |
|
This function clears all compilation caches and restores the system to its initial state. |
|
Customize which functions compilation will include in the generated graph. |
|
This function is used to mark a function fn as having a constant result. |
|
Return valid strings that can be passed to torch.compile(..., backend="name"). |
|
This function provides both a decorator and a context manager to disable compilation on a function It also provides the option of recursively disabling called functions |
|
Indicates that a new iteration of inference or training is about to begin. |
|
Indicates whether a graph is executed/traced as part of torch.compile() or torch.export(). |
|
Indicates whether a graph is traced via TorchDynamo. |