-
Notifications
You must be signed in to change notification settings - Fork 602
Fix bug in add op to ignore alpha != 1 (fixes: #11683) #11777
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
base: main
Are you sure you want to change the base?
Fix bug in add op to ignore alpha != 1 (fixes: #11683) #11777
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11777
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (3 Unrelated Failures)As of commit 6e12599 with merge base f072e64 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
42cbcbb
to
826d3eb
Compare
826d3eb
to
aa624e8
Compare
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.
Thanks for taking this. Looks good.
@abhinaykukkadapu has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
c2243e2
to
15c8a57
Compare
@abhinaykukkadapu has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
15c8a57
to
c691722
Compare
@abhinaykukkadapu has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
3b3dfd2
to
220d6a3
Compare
220d6a3
to
b345382
Compare
@abhinaykukkadapu has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary
Add node of XNNPack backend doesn't consider alpha value, this fixes the bug by falling back to portable ops and avoid partitioning the node.
(fixes: #11683)
Test plan
python -m unittest backends/xnnpack/test/ops/test_add.py
Output of above run (tolerance = 1e-5)