Skip to content

Add lazy Inductor compilation to graph_pp_runner#360

Open
xmfan wants to merge 1 commit intoxmfan/stack/29from
xmfan/stack/30
Open

Add lazy Inductor compilation to graph_pp_runner#360
xmfan wants to merge 1 commit intoxmfan/stack/29from
xmfan/stack/30

Conversation

@xmfan
Copy link
Member

@xmfan xmfan commented Mar 10, 2026

Stacked PRs:


Add lazy Inductor compilation to graph_pp_runner

Add _execute_graph() that lazily compiles graph modules with
compile_fx_inner on first invocation. Controlled by an inductor kwarg
threaded through all run* functions.

GraphPPRunner accepts inductor=True and propagates it to all
GraphPipelineStage instances, which the stage_* action functions
read when calling run*.

Authored with Claude.

Add _execute_graph() that lazily compiles graph modules with
compile_fx_inner on first invocation. Controlled by an inductor kwarg
threaded through all _run_* functions.

GraphPPRunner accepts inductor=True and propagates it to all
GraphPipelineStage instances, which the stage_* action functions
read when calling _run_*.

Authored with Claude.

stack-info: PR: #360, branch: xmfan/stack/30
@xmfan xmfan changed the base branch from xmfan/stack/29 to main March 10, 2026 21:57
@xmfan xmfan changed the base branch from main to xmfan/stack/29 March 10, 2026 21:57
@xmfan xmfan requested a review from sanketpurandare March 12, 2026 06:07
@xmfan xmfan marked this pull request as ready for review March 12, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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