pytorch/docs/source/compile/programming_model.md
William Wen c32994ce4b [docs, dynamo] add fullgraph=True, common graph breaks docs (#158055)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158055
Approved by: https://github.com/AlannaBurke, https://github.com/anijain2305
ghstack dependencies: #157985

Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
2025-07-29 01:53:41 +00:00

517 B

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.

programming_model.dynamo_core_concepts
programming_model.graph_breaks_index