Skip to content

[graph_trainer] Document aot_fx_trace as a third compilation mode in README - #2815

Closed
SherlockNoMad wants to merge 1 commit into
gh/SherlockNoMad/20/basefrom
gh/SherlockNoMad/20/head
Closed

SherlockNoMad wants to merge 1 commit into
gh/SherlockNoMad/20/basefrom
gh/SherlockNoMad/20/head

Conversation

…README

The README only listed AOT and JIT modes, but aot_fx_trace is a distinct
third mode that uses make_fx to trace the full fwd+loss+bwd into a single
graph without AOTAutograd partitioning. Add it to the mode listing and
the compiler optimizations section.

[ghstack-poisoned]
SherlockNoMad added a commit that referenced this pull request Apr 3, 2026
…README

The README only listed AOT and JIT modes, but aot_fx_trace is a distinct
third mode that uses make_fx to trace the full fwd+loss+bwd into a single
graph without AOTAutograd partitioning. Add it to the mode listing and
the compiler optimizations section.

ghstack-source-id: 45d035f
Pull Request resolved: #2815
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 3, 2026
SherlockNoMad added a commit that referenced this pull request Apr 9, 2026
…mode in README

Add documentation for the new `aot_fx_trace` compilation mode that was
introduced in PR #2815. This mode performs non-strict tracing of the full
forward + loss + backward via `make_fx`, producing a single end-to-end
graph without AOTAutograd partitioning.
@SherlockNoMad
SherlockNoMad deleted the gh/SherlockNoMad/20/head branch April 9, 2026 17:17
SherlockNoMad added a commit that referenced this pull request Apr 9, 2026
…mode in README (#2912)

## Summary
- Documents the `aot_fx_trace` compilation mode (introduced in PR #2815)
as a third compilation mode in the GraphTrainer README
- Updates the mode count from "Two" to "Three" and adds a bullet
describing the new mode
- Updates the Compiler Optimizations section to reference the new mode
alongside JIT

## Test plan
- [x] Verified README renders correctly with the new bullet point
- [x] `pre-commit run --all-files` passes (Pyrefly failures are
pre-existing and unrelated)

Refs: #2815
TXacs pushed a commit to McmillanTAC/torchtitan that referenced this pull request Apr 13, 2026
…mode in README (pytorch#2912)

## Summary
- Documents the `aot_fx_trace` compilation mode (introduced in PR pytorch#2815)
as a third compilation mode in the GraphTrainer README
- Updates the mode count from "Two" to "Three" and adds a bullet
describing the new mode
- Updates the Compiler Optimizations section to reference the new mode
alongside JIT

## Test plan
- [x] Verified README renders correctly with the new bullet point
- [x] `pre-commit run --all-files` passes (Pyrefly failures are
pre-existing and unrelated)

Refs: pytorch#2815
jemitche1 pushed a commit to jemitche1/torchtitan that referenced this pull request Apr 14, 2026
…mode in README (pytorch#2912)

## Summary
- Documents the `aot_fx_trace` compilation mode (introduced in PR pytorch#2815)
as a third compilation mode in the GraphTrainer README
- Updates the mode count from "Two" to "Three" and adds a bullet
describing the new mode
- Updates the Compiler Optimizations section to reference the new mode
alongside JIT

## Test plan
- [x] Verified README renders correctly with the new bullet point
- [x] `pre-commit run --all-files` passes (Pyrefly failures are
pre-existing and unrelated)

Refs: pytorch#2815
ACharacterInASimulation pushed a commit to ACharacterInASimulation/torchtitan that referenced this pull request Apr 21, 2026
…mode in README (pytorch#2912)

## Summary
- Documents the `aot_fx_trace` compilation mode (introduced in PR pytorch#2815)
as a third compilation mode in the GraphTrainer README
- Updates the mode count from "Two" to "Three" and adds a bullet
describing the new mode
- Updates the Compiler Optimizations section to reference the new mode
alongside JIT

## Test plan
- [x] Verified README renders correctly with the new bullet point
- [x] `pre-commit run --all-files` passes (Pyrefly failures are
pre-existing and unrelated)

Refs: pytorch#2815
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant