Skip to content

[graph_trainer] Log transformed graph to tlparse via trace_structured#2619

Merged
yiming0416 merged 1 commit intomainfrom
yiming/tlparse_log_pass
Mar 19, 2026
Merged

[graph_trainer] Log transformed graph to tlparse via trace_structured#2619
yiming0416 merged 1 commit intomainfrom
yiming/tlparse_log_pass

Conversation

@yiming0416
Copy link
Contributor

@yiming0416 yiming0416 commented Mar 18, 2026

This PR adds tlparse_log_graph_pass that logs post-transform forward/backward graphs to tlparse, replacing logger.debug(gm.print_readable(...)) calls.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 18, 2026
@yiming0416 yiming0416 changed the title [graph_trainer] Add tlparse graph log pass [graph_trainer] Log transformed graph to tlparse via tlparse_log_graph_pass Mar 18, 2026
@yiming0416 yiming0416 changed the title [graph_trainer] Log transformed graph to tlparse via tlparse_log_graph_pass [graph_trainer] Log transformed graph to tlparse via trace_structured Mar 18, 2026
@yiming0416 yiming0416 marked this pull request as ready for review March 18, 2026 01:08
@yiming0416 yiming0416 merged commit 82f508e into main Mar 19, 2026
23 of 25 checks passed
mori360 pushed a commit to mori360/torchtitan that referenced this pull request Mar 23, 2026
…pytorch#2619)

This PR adds `tlparse_log_graph_pass` that logs post-transform
forward/backward graphs to tlparse, replacing
`logger.debug(gm.print_readable(...))` calls.
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.

2 participants