-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Workaround torch.deploy failures #139195
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
Workaround torch.deploy failures #139195
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/139195
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit d4d4600 with merge base a884462 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D65145409 |
bd09288
to
3034bcf
Compare
3034bcf
to
9d78345
Compare
This pull request was exported from Phabricator. Differential Revision: D65145409 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D65145409 |
9d78345
to
44a9790
Compare
This pull request was exported from Phabricator. Differential Revision: D65145409 |
Summary: Which are backed with an older version of `typing_extensoins` but this runtime could not care less about type-checking. So pretend that is has `TypeIs` by replacing it with `TypeGuard` Fixes test failures introduced by pytorch#133814 / D65030974 Test Plan: `buck2 test 'fbcode//mode/opt' fbcode//multipy/runtime:test_deploy -- --exact 'multipy/runtime:test_deploy - TorchpyTest.TestNumpy'` Reviewed By: s4ayub, sayitmemory Differential Revision: D65145409
44a9790
to
d4d4600
Compare
This pull request was exported from Phabricator. Differential Revision: D65145409 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
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 |
Summary: Which are backed with an older version of `typing_extensoins` but this runtime could not care less about type-checking. So pretend that is has `TypeIs` by replacing it with `TypeGuard` Fixes test failures introduced by pytorch#133814 / D65030974 Test Plan: `buck2 test 'fbcode//mode/opt' fbcode//multipy/runtime:test_deploy -- --exact 'multipy/runtime:test_deploy - TorchpyTest.TestNumpy'` Differential Revision: D65145409 Pull Request resolved: pytorch#139195 Approved by: https://github.com/Skylion007
Summary:
Which are backed with an older version of
typing_extensoins
but this runtime could not care less about type-checking.So pretend that is has
TypeIs
by replacing it withTypeGuard
Fixes test failures introduced by #133814 / D65030974
Test Plan:
buck2 test 'fbcode//mode/opt' fbcode//multipy/runtime:test_deploy -- --exact 'multipy/runtime:test_deploy - TorchpyTest.TestNumpy'
Differential Revision: D65145409