[DO NOT REVIEW] Inductor lite mode with CUDAGraph support#166320
[DO NOT REVIEW] Inductor lite mode with CUDAGraph support#166320BoyuanFeng wants to merge 2 commits intomainfrom
Conversation
🔗 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 SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 6 New FailuresAs of commit 1d3633a with merge base 9f9dbe0 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
b9c60ed to
8856569
Compare
b9c60ed to
cba13b3
Compare
|
|
||
| mode_options: dict[str, dict[str, bool]] = { | ||
| "default": {}, | ||
| # lightweight backend |
There was a problem hiding this comment.
@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?
There was a problem hiding this comment.
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.
This PR tracks the inductor fallback cudagraph backend. The code changes will be landed in smaller PRs.
get_free_symbol_usesfor faster compilation time of inductor graph partition [GraphPartition] cache get_free_symbol_uses #166338cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @msaroufim @dcci @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @aditew01 @ezyang @EikanWang @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @zhuhaozhe @blzheng @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @Lucaskabela @xmfan