Repository navigation
[graph_trainer] Run 8 eager baseline + MODE toggle in benchmark script - #3639
Closed
SherlockNoMad wants to merge 1 commit into
Closed
SherlockNoMad wants to merge 1 commit into
SherlockNoMad wants to merge 1 commit into
Conversation
This was referenced Jun 11, 2026
IvanKobzarev
pushed a commit
to IvanKobzarev/torchtitan
that referenced
this pull request
Jun 17, 2026
- run_graph_trainer_dsv3.sh: add MODE={graph,eager} toggle so the same
launcher runs either the graph_trainer path (default) or an eager Trainer
baseline with matched model/parallelism/batch/recompute.
- dsv3_scaling_experiment_results.md: Run 8 -- eager Trainer baseline
(deepseek_v3_16b, FSDP2 + full AC, B=16). graph_trainer (Run 7) matches its
throughput (~18.5% vs 18.6% MFU) at ~16% less peak memory (57.5 vs 68.8 GiB),
and is bitwise-identical to it. Full artifacts (pastry/perfetto/memsnap/tlparse).
ghstack-source-id: 0ea45db
Pull-Request: pytorch#3639
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
launcher runs either the graph_trainer path (default) or an eager Trainer
baseline with matched model/parallelism/batch/recompute.
(deepseek_v3_16b, FSDP2 + full AC, B=16). graph_trainer (Run 7) matches its
throughput (~18.5% vs 18.6% MFU) at ~16% less peak memory (57.5 vs 68.8 GiB),
and is bitwise-identical to it. Full artifacts (pastry/perfetto/memsnap/tlparse).