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
Add new aten::device variant to TorchScript #97023
Add new aten::device variant to TorchScript #97023
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/97023
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: ✅ No FailuresAs of commit caea625: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Feel free to add me as a reviewer when you need the PR to be reviewed. |
Thank you. The current draft tries to add a variant to |
|
^^ not sure if that's the issue. we can wait for CI to see if you recent changes fixed the previous errors in CI. |
0cb46ab
to
37f612d
Compare
No ciflow labels are configured for this repo. |
To resolve the CLA issue, make sure to add the email address of the commit to your GitHub profile |
https://patch-diff.githubusercontent.com/raw/pytorch/pytorch/pull/97023.patch shows |
959e5f3
to
4a58b68
Compare
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.
would you please add unit test?
Sure, I can add unit test when I find out what is going on with the It complains about @davidberard98 do you have any idea of what might be happening? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
eb2377d
to
3c97bc1
Compare
@davidberard98 gentle ping |
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.
I think @BowenBao has outstanding nits, otherwise lgtm!
3c97bc1
to
17c12b9
Compare
|
The new operator is replaced by constant through peephole jit pass
17c12b9
to
caea625
Compare
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Fixes #96627 Pull Request resolved: #97023 Approved by: https://github.com/jgong5, https://github.com/BowenBao, https://github.com/davidberard98
Fixes #96627
cc @soumith @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire