Skip to content

Conversation

@Lucaskabela
Copy link
Contributor

@Lucaskabela Lucaskabela commented Nov 4, 2025

This PR adds custom_should_partition_ops: list[str] to specify the name of custom ops upon which graph partition happens. It works with cache since it is a list[str] in the config file. The op name should be of format "mylib::baz".

#166458 as original PR

(cherry picked from commit bebabd7)

Fixes #165341

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben

This PR adds `custom_should_partition_ops: list[str]` to specify the name of custom ops upon which graph partition happens. It works with cache since it is a `list[str]` in the config file. The op name should be of format "mylib::baz".

Close: #165341

Pull Request resolved: #166458
Approved by: https://github.com/ProExpertProg, https://github.com/eellison, https://github.com/zou3519

(cherry picked from commit bebabd7)
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 4, 2025

🔗 Helpful Links

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

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:

✅ No Failures

As of commit 115c7af with merge base 4840a1a (image):
💚 Looks good so far! There are no failures yet. 💚

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

@Lucaskabela
Copy link
Contributor Author

cc @BoyuanFeng to make sure cherrypick looks correct

@Lucaskabela Lucaskabela linked an issue Nov 4, 2025 that may be closed by this pull request
@atalman atalman merged commit f190bda into release/2.9 Nov 5, 2025
122 checks passed
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.

inductor graph partition x AOTAutograd Cache issue

4 participants