-
Notifications
You must be signed in to change notification settings - Fork 724
Remove assert for ArgSchema #6638
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/pytorch/executorch/6638
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 4087d1c with merge base f96be5b ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D65316894 |
7d22ba0 to
00ae1e4
Compare
Summary: In python 3.12, there were a few changes to runtime_checkable: https://docs.python.org/3/whatsnew/3.12.html#typing > The members of a runtime-checkable protocol are now considered “frozen” at runtime as soon as the class has been created. Monkey-patching attributes onto a runtime-checkable protocol will still work, but will have no impact on isinstance() checks comparing objects to the protocol I'm not sure what was monkey-patched here, but EdgeDialectOverloadPacket no longer passes the assert. I'm not sure how to fix this for real, but I just deleted it under the assumption it's not helpful enough to be worth breaking tests. Differential Revision: D65316894
|
This pull request was exported from Phabricator. Differential Revision: D65316894 |
Summary: In python 3.12, there were a few changes to runtime_checkable: https://docs.python.org/3/whatsnew/3.12.html#typing > The members of a runtime-checkable protocol are now considered “frozen” at runtime as soon as the class has been created. Monkey-patching attributes onto a runtime-checkable protocol will still work, but will have no impact on isinstance() checks comparing objects to the protocol I'm not sure what was monkey-patched here, but EdgeDialectOverloadPacket no longer passes the assert. I'm not sure how to fix this for real, but I just deleted it under the assumption it's not helpful enough to be worth breaking tests. Differential Revision: D65316894
00ae1e4 to
76ef3cb
Compare
|
This pull request was exported from Phabricator. Differential Revision: D65316894 |
Summary: In python 3.12, there were a few changes to runtime_checkable: https://docs.python.org/3/whatsnew/3.12.html#typing > The members of a runtime-checkable protocol are now considered “frozen” at runtime as soon as the class has been created. Monkey-patching attributes onto a runtime-checkable protocol will still work, but will have no impact on isinstance() checks comparing objects to the protocol I'm not sure what was monkey-patched here, but EdgeDialectOverloadPacket no longer passes the assert. I'm not sure how to fix this for real, but I just deleted it under the assumption it's not helpful enough to be worth breaking tests. Differential Revision: D65316894
76ef3cb to
4087d1c
Compare
|
This pull request was exported from Phabricator. Differential Revision: D65316894 |
Summary:
In python 3.12, there were a few changes to runtime_checkable:
https://docs.python.org/3/whatsnew/3.12.html#typing
I'm not sure what was monkey-patched here, but EdgeDialectOverloadPacket
no longer passes the assert.
I'm not sure how to fix this for real, but I just deleted it under the assumption
it's not helpful enough to be worth breaking tests.
Differential Revision: D65316894