-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[Reland] Use std::string_view in torchgen #158625
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/158625
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 782add0 with merge base 1274297 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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.
Looks good from here,
cc @jeanschmidt who reverted the original PR in case you have more information on what was the concern.
@albanD I have no permission to access the report so I can only guess some inner code explicitly uses |
I double-checked, it seems it was raising from executorch tests the error:
So I suspect that we might need to coordinate the executorch changes to land internally in sync with those (if there are needed changes from executorch side). I don't have the context to tell if there is need to update executorch or this can be done with retro-compatibility, in the 2nd case I believe we're good to go. Otherwise maybe you will want to codev those changes internally. Current oncall is @ZainRizvi |
Thank you,now there is some clue to continue. I can submit related changes there. |
@jeanschmidt executorch compares with |
d524569
to
2bf52e5
Compare
why not just patch the executorch check so that "::std::string_view" is also acceptable?
|
That solution of course works, but if |
Signed-off-by: cyy <[email protected]>
2bf52e5
to
1a2d4c7
Compare
Signed-off-by: Yuanyuan Chen <[email protected]>
Signed-off-by: Yuanyuan Chen <[email protected]>
Signed-off-by: Yuanyuan Chen <[email protected]>
The latest changes don't break executorch and make CI green. |
@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 |
@pytorchbot revert -m 'Sorry for reverting your change but it seems to break a couple of ExecuTorch tests for Vulkan backend' -c ghfirst Here is an example failure for
|
If the tests from ExecuTorch needs to be updated, I could help coordinate their landing |
@pytorchbot successfully started a revert job. Check the current status here. |
@cyyever your PR has been successfully reverted. |
This reverts commit 972e409. Reverted #158625 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it seems to break a couple of ExecuTorch tests for Vulkan backend ([comment](#158625 (comment)))
Help me thank you.. |
Reland of pytorch#157050, which is incidentally closed. Pull Request resolved: pytorch#158625 Approved by: https://github.com/albanD
This reverts commit 972e409. Reverted pytorch#158625 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it seems to break a couple of ExecuTorch tests for Vulkan backend ([comment](pytorch#158625 (comment)))
Reland of pytorch#157050, which is incidentally closed. Pull Request resolved: pytorch#158625 Approved by: https://github.com/albanD
This reverts commit 972e409. Reverted pytorch#158625 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it seems to break a couple of ExecuTorch tests for Vulkan backend ([comment](pytorch#158625 (comment)))
Reland of pytorch#157050, which is incidentally closed. Pull Request resolved: pytorch#158625 Approved by: https://github.com/albanD
This reverts commit 972e409. Reverted pytorch#158625 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it seems to break a couple of ExecuTorch tests for Vulkan backend ([comment](pytorch#158625 (comment)))
Reland of pytorch#157050, which is incidentally closed. Pull Request resolved: pytorch#158625 Approved by: https://github.com/albanD
This reverts commit 972e409. Reverted pytorch#158625 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it seems to break a couple of ExecuTorch tests for Vulkan backend ([comment](pytorch#158625 (comment)))
Reland of #157050, which is incidentally closed.