Qualcomm AI Engine Direct - Suite Operator Test Support Part 2#14848
Qualcomm AI Engine Direct - Suite Operator Test Support Part 2#14848cccclai merged 1 commit intopytorch:mainfrom
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.
@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. |
cccclai
left a comment
There was a problem hiding this comment.
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)
…ch#14848) ### 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
Summary
Support following OPs
For the sqrt/rsqrt, I believe the sample input for each UT is using
randinstead ofrandnon 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, causingnanshowing 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