-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[AOTInductor] Switch ProxyExecutor to use AtenTensorHandle #109748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/109748
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Unrelated FailureAs of commit 67da854 with merge base 6138750 ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. You need to rebase to the latest code, and adapt to the API changes in RAIIAtenTensorHandle.
859e847 to
896b1da
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
896b1da to
504437d
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily in this PR, but can we come up with a test. Particularly, since we changed fill_output_arg to use correct APIs, we seems to be able to run some test with extern kernels?
torch/_inductor/codegen/wrapper.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, wondering if we need to guard these lines with config.aot_inductor.abi_compatible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, generate_extern_kernel_args_decl_if_needed is only used in the fbcode path, which always need abi=true.
torch/_inductor/codegen/wrapper.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here - do we need to guard AtenTensorHandle with config.aot_inductor.abi_compatible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto. this is in fbcode path.
504437d to
71d9321
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
Summary: Pull Request resolved: pytorch#109748 Switch ProxyExecutor to use AtenTensorHandle. Test Plan: E2E Test Reviewed By: yifuwang Differential Revision: D49471659 fbshipit-source-id: 9b5f4c560099f9cd1ca979ff4db7d3eb9caee405
8b1a1b3 to
ebef713
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
Summary: Switch ProxyExecutor to use AtenTensorHandle. Test Plan: E2E Test Reviewed By: yifuwang Differential Revision: D49471659
ebef713 to
20d80a6
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
20d80a6 to
39a40bd
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
Summary: Switch ProxyExecutor to use AtenTensorHandle. Test Plan: E2E Test Reviewed By: yifuwang Differential Revision: D49471659
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
39a40bd to
b99994b
Compare
b99994b to
b62a2a9
Compare
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
Summary: Switch ProxyExecutor to use AtenTensorHandle. bypass-github-pytorch-ci-checks OSS CI has a irrelevant failure. Test Plan: E2E Test Reviewed By: yifuwang Differential Revision: D49471659
|
This pull request was exported from Phabricator. Differential Revision: D49471659 |
b62a2a9 to
67da854
Compare
|
@pytorchbot merge -f 'Landed internally' (Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally) |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot drci (Please ignore this, I'm testing Dr.CI) |
Summary: Switch ProxyExecutor to use AtenTensorHandle.
Test Plan: E2E Test
Differential Revision: D49471659
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov @ColinPeppler @ngimel