Add check for QNN_SDK_ROOT in hadamard pass (#21815) - #21815
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21815
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3d47926 with merge base dee4fd4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D115881389. |
rascani
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Summary: PR pytorch#21729 added HadamardTransform op support, gated on a qnn sdk version. The version check assumed QNN_SDK_ROOT was available, resulting in errors when it is not. This PR matches other usage like op_embedding.py to fallback when SDK is absent. Reviewed By: rascani Differential Revision: D115881389
23ee033 to
3d47926
Compare
This PR needs a
|
Summary:
PR #21729 added HadamardTransform op support, gated on a qnn sdk version. The version check assumed QNN_SDK_ROOT was available, resulting in errors when it is not.
This PR matches other usage like op_embedding.py to fallback when SDK is absent.
Reviewed By: rascani
Differential Revision: D115881389