-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Fix incorrect EnumValue serialization issue #44891
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
💊 CI failures summary and remediationsAs of commit e6be531 (more details on the Dr. CI page):
ci.pytorch.org: 1 failedThis comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 18 times. |
eellison
left a comment
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
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.
Maybe add a comment here that these ops have to be resolved by the compiler instead of by schema matching for return type to be set appropriately
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.
Done.
facebook-github-bot
left a comment
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.
@gmagogsfm has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Codecov Report
@@ Coverage Diff @@
## master #44891 +/- ##
=======================================
Coverage 67.85% 67.85%
=======================================
Files 384 384
Lines 50020 50020
=======================================
+ Hits 33940 33941 +1
+ Misses 16080 16079 -1
Continue to review full report at Codecov.
|
|
@gmagogsfm merged this pull request in c253b10. |
Previously,
prim::EnumValueis serialized toops.prim.EnumValue, which doesn't have the right implementation to refine return type. This diff correctly serializes it to enum.value, thus fixing the issue.Fixes #44892