Skip to content

[DO NOT REVIEW] Inductor lite mode with CUDAGraph support#166320

Closed
BoyuanFeng wants to merge 2 commits intomainfrom
bf/cg-backend
Closed

[DO NOT REVIEW] Inductor lite mode with CUDAGraph support#166320
BoyuanFeng wants to merge 2 commits intomainfrom
bf/cg-backend

Conversation

@BoyuanFeng
Copy link
Contributor

@BoyuanFeng BoyuanFeng commented Oct 27, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 27, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/166320

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 6 New Failures

As of commit 1d3633a with merge base 9f9dbe0 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@BoyuanFeng BoyuanFeng marked this pull request as draft October 27, 2025 18:11
@BoyuanFeng BoyuanFeng changed the title [DO NOT REVIEW] Inductor CUDAGraph backend [DO NOT REVIEW] Inductor Fallback CUDAGraph backend Oct 27, 2025
@BoyuanFeng BoyuanFeng changed the title [DO NOT REVIEW] Inductor Fallback CUDAGraph backend [DO NOT REVIEW] Inductor lite mode with CUDAGraph support Oct 31, 2025
@pytorch-bot pytorch-bot bot added ciflow/b200 ciflow/h100 ciflow/h100-symm-mem ciflow/mps Run MPS tests (subset of trunk) ciflow/rocm Trigger "default" config CI on ROCm module: compiled autograd compiled_autograd module: cpu CPU specific problem (e.g., perf, algorithm) module: dynamo oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: quantization release notes category release notes: distributed (checkpoint) release notes: inductor (aoti) labels Oct 31, 2025
@BoyuanFeng BoyuanFeng force-pushed the bf/cg-backend branch 2 times, most recently from b9c60ed to cba13b3 Compare November 1, 2025 22:45
@BoyuanFeng BoyuanFeng removed oncall: distributed Add this issue/PR to distributed oncall triage queue module: cpu CPU specific problem (e.g., perf, algorithm) release notes: quantization release notes category release notes: fx release notes category ciflow/mps Run MPS tests (subset of trunk) module: dynamo labels Nov 1, 2025
@pytorch-bot pytorch-bot bot added the release notes: fx release notes category label Nov 2, 2025

mode_options: dict[str, dict[str, bool]] = {
"default": {},
# lightweight backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BoyuanFeng just a question about how the config works. in autoparallel, we directly call compile_fx_inner from aot_export_joint_...'s compile_fn. Can I directly use this 'mode' for light somewhere? or do i just need to manually set these same set of options in the inductor.config module?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for a workaround, we can just set the config for autoparallel for now. I will try to land these config soon.

In general, autoparallel uses aot_export_join_... taking fw_compiler and bw_compiler, which is different from compile_fx. We need a bit refactor on inductor side to provide these api directly.

@BoyuanFeng BoyuanFeng closed this Nov 20, 2025
@github-actions github-actions bot deleted the bf/cg-backend branch December 21, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants