-
Notifications
You must be signed in to change notification settings - Fork 497
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
Add mixed dtype check for XNNPACK partitioner #9612
Add mixed dtype check for XNNPACK partitioner #9612
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9612
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit bc7dba2 with merge base 879b94f ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "topic: not user facing" |
do you mind running python -m unittest backends/xnnpack/test/ops/*.py just to make sure there aren't any unintended consequences |
hmm seems like: is passing which means all those tests are passing. Let's just try and fix the linter issues. |
will stamp and merge after all ci is run |
Thank you for your contribution! |
Summary
Fixes #9023
Prevents the partitioner from handling ops with mixed dtypes.
Test plan
Unable to directly test due to auto-casting of dtypes and existing dtype checks in verifier.py.