-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[MPS][BE] Add dispatch_sync_with_rethrow
#108393
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
And enable testing for match_output for complex types. Most of them should throw an "unsupported XYZ" error, rather than crash. This fixed several crashes when linalg ops were invoked with complex inputs [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/108393
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 a0fad88 with merge base eafc058 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@albanD , @kulinseth can you guys please give it another glance? It mostly a no-op and adds a bit of testing for complex ops |
|
@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 |
Using existing BinaryKernel template Add `mul` as well as `kron` and `outer` to list of MPS ops that support complex types This should add all the missing ops mentioned in #105665 Pull Request resolved: #108395 Approved by: https://github.com/albanD ghstack dependencies: #108393, #108394
Stack from ghstack (oldest at bottom):
muloperation for complex types #108395add/sub#108394dispatch_sync_with_rethrow#108393And enable testing for match_output for complex types.
Most of them should throw an "unsupported XYZ" error, rather than crash.
This fixed several crashes when linalg ops were invoked with complex inputs.