mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Pull Request resolved: https://github.com/pytorch/pytorch/pull/159062 Approved by: https://github.com/svekars, https://github.com/zou3519, https://github.com/anijain2305
17 lines
659 B
Markdown
17 lines
659 B
Markdown
# torch.compile Programming Model
|
|
|
|
The `torch.compile` programming model:
|
|
1. Clarifies some internal behaviors of `torch.compile` so that one can better predict compiler behavior on user code and
|
|
2. Provides ways for one to take more fine-grained control over `torch.compile`.
|
|
|
|
By understanding the `torch.compile` programming model, one can systematically unblock themselves when encountering issues with `torch.compile`.
|
|
|
|
```{toctree}
|
|
programming_model.dynamo_core_concepts
|
|
programming_model.graph_breaks_index
|
|
programming_model.non_strict_tracing_model
|
|
programming_model.recompilation
|
|
programming_model.observability
|
|
programming_model.reporting_issues
|
|
```
|