-
Notifications
You must be signed in to change notification settings - Fork 537
Qualcomm AI Engine Direct - Fix Argmin #8308
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
Qualcomm AI Engine Direct - Fix Argmin #8308
Conversation
- Update argmin opbuilder so it outputs int64, aligning with Pytorch - Add a pass to cast argmin output to int32 since most OP in QNN does not support int64
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8308
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Cancelled JobsAs of commit 66929fd with merge base e63c923 ( NEW FAILURE - The following job has failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@billmguo has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There is an error
can you help resolving it |
I pushed a new commit that should resolve the error. Thanks for the reminder. |
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: - Update argmin opbuilder so it outputs int64, aligning with Pytorch - Add a pass to cast argmin output to int32 since most OP in QNN does not support int64 - Annotate argmin input only. - Update argmin opbuilder so it outputs int64 dtype since PyTorch only supports int64 argmin. - Add a pass to cast argmin output to int32 since most OPs in QNN don't support int64. Pull Request resolved: pytorch#8308 Test Plan: - Added more UT to cover edge cases Differential Revision: D69313329 Pulled By: billmguo
Summary
Test plan
cc @cccclai @shewu-quic