Skip to content

[graph_trainer] Wire graph PP into DeepSeek V3 and trainer - #2706

Closed
xmfan wants to merge 1 commit into
xmfan/stack/26from
xmfan/stack/27
Closed

xmfan wants to merge 1 commit into
xmfan/stack/26from
xmfan/stack/27

Conversation

@xmfan

@xmfan xmfan commented Mar 24, 2026 •

Copy link
Copy Markdown
Contributor

Stacked PRs:


[graph_trainer] Wire graph PP into DeepSeek V3 and trainer

Add _pipelining_fn to graph_trainer's DeepSeek V3 model_registry that
dispatches to graph_pp_pipeline_llm when graph_pp_passes are configured,
falling back to standard pipeline_llm otherwise.

Add train_step override to GraphTrainer that handles SymFloat grad_norm
values from fx.Interpreter execution. When graph PP executes subgraphs
via the interpreter, gradient operations may return SymFloat instead of
regular Tensor, which breaks metrics formatting.

Add _pipelining_fn to graph_trainer's DeepSeek V3 model_registry that
dispatches to graph_pp_pipeline_llm when graph_pp_passes are configured,
falling back to standard pipeline_llm otherwise.

Add train_step override to GraphTrainer that handles SymFloat grad_norm
values from fx.Interpreter execution. When graph PP executes subgraphs
via the interpreter, gradient operations may return SymFloat instead of
regular Tensor, which breaks metrics formatting.

stack-info: PR: #2706, branch: xmfan/stack/27
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