-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[QNN-EP] Translate FP-to-Bool Cast by NotEqual. #24466
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
[QNN-EP] Translate FP-to-Bool Cast by NotEqual. #24466
Conversation
@microsoft-github-policy-service agree company="Qualcomm" |
/azp run Linux QNN CI Pipeline,Windows x64 QNN CI Pipeline,Windows ARM64 QNN CI Pipeline,Linux Android Emulator QNN CI Pipeline |
Azure Pipelines successfully started running 4 pipeline(s). |
please fix the Windows build error and code format issue |
HTP currently does not support FP-to-Bool Cast due to some limitations. To unblock CLIP models, replace such Cast with NotEqual to achieve the same functionality. Test: Add UT testcase for FP/FP16 to Bool.
c45fb8a
to
add6952
Compare
/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline |
Azure Pipelines successfully started running 5 pipeline(s). |
/azp run web_Debug / build_onnxruntime_web, web_Release / build_onnxruntime_web |
No pipelines are associated with this pull request. |
/azp run "web_Debug / build_onnxruntime_web", "web_Release / build_onnxruntime_web" |
No pipelines are associated with this pull request. |
Hi @vraspar FYI, to be cherry-picked for ORT 1.22.0 |
### Description Removes unnecessary std::move on an r-value expression. This caused a compiler warning/error in the Linux Android QNN pipeline. ### Motivation and Context Introduced by PR: #24466
Description
For QNN-EP, build FP-to-Bool Cast into NotEqual.
Motivation and Context
HTP currently does not support FP-to-Bool Cast due to some limitations. To unblock CLIP models, replace such Cast with NotEqual to achieve the same functionality.