-
Notifications
You must be signed in to change notification settings - Fork 690
Qualcomm AI Engine Direct - Suite Operator Test Support Part 2 #14848
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 - Suite Operator Test Support Part 2 #14848
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14848
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 5c0e9eb with merge base 9ab5592 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Hi @cccclai, Hi @GregoryComer, |
# 1D tensor | ||
self._test_op(RsqrtModel(), (torch.rand(20) + 0.01,), flow) | ||
|
||
self._test_op( |
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.
@GregoryComer does the changes in backends/test/suite/operators/*
look good to you?
Looks good to me. Thanks for catching this and making these updates. |
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.
The changes under qualcomm/* looks good. @GregoryComer please review the changes in the test/suite
@pytorchbot cherry-pick --onto release/1.0 -c regression |
### Summary Support following OPs - Threshold OP - negative dims permute - sqrt unit test modified to use desired input rather than random values - rsqrt unit test modified to use desired input rather than random values - per channel conv3d support For the sqrt/rsqrt, I believe the sample input for each UT is using `rand` instead of `randn` on purpose to prevent negative numbers input, however, if we don't set `generate_random_test_inputs=False`, then later on it will be using random values consisting of negative numbers, causing `nan` showing up on output. If everything works as expected, we should pass 6 more tests, bringing pass rate from **90.7% -> 91.5%** ### Test plan UT added cc @cccclai @shewu-quic @haowhsu-quic @DannyYuyang-quic @cbilgin (cherry picked from commit 0e74a17)
Cherry picking #14848The cherry pick PR is at #14869 and it is recommended to link a regression cherry pick PR with an issue. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
### Summary Support following OPs - Threshold OP - negative dims permute - sqrt unit test modified to use desired input rather than random values - rsqrt unit test modified to use desired input rather than random values - per channel conv3d support For the sqrt/rsqrt, I believe the sample input for each UT is using `rand` instead of `randn` on purpose to prevent negative numbers input, however, if we don't set `generate_random_test_inputs=False`, then later on it will be using random values consisting of negative numbers, causing `nan` showing up on output. If everything works as expected, we should pass 6 more tests, bringing pass rate from **90.7% -> 91.5%** ### Test plan UT added cc @cccclai @shewu-quic @haowhsu-quic @DannyYuyang-quic @cbilgin (cherry picked from commit 0e74a17)
Summary
Support following OPs
For the sqrt/rsqrt, I believe the sample input for each UT is using
rand
instead ofrandn
on purpose to prevent negative numbers input, however, if we don't setgenerate_random_test_inputs=False
, then later on it will be using random values consisting of negative numbers, causingnan
showing up on output.If everything works as expected, we should pass 6 more tests, bringing pass rate from 90.7% -> 91.5%
Test plan
UT added
cc @cccclai @shewu-quic @haowhsu-quic @DannyYuyang-quic @cbilgin