Skip to content

Conversation

@minfhong-quic
Copy link
Contributor

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.

@minfhong-quic
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Qualcomm"

@HectorSVC HectorSVC added the ep:QNN issues related to QNN exeution provider label Apr 18, 2025
@HectorSVC
Copy link
Contributor

/azp run Linux QNN CI Pipeline,Windows x64 QNN CI Pipeline,Windows ARM64 QNN CI Pipeline,Linux Android Emulator QNN CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@HectorSVC
Copy link
Contributor

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.
@minfhong-quic minfhong-quic force-pushed the dev/minfhong-quic/fpcastbool-to-notequal branch from c45fb8a to add6952 Compare April 21, 2025 08:07
@adrianlizarraga
Copy link
Contributor

/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
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adrianlizarraga
Copy link
Contributor

/azp run web_Debug / build_onnxruntime_web, web_Release / build_onnxruntime_web

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@adrianlizarraga
Copy link
Contributor

/azp run "web_Debug / build_onnxruntime_web", "web_Release / build_onnxruntime_web"

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@adrianlizarraga adrianlizarraga merged commit c7b901f into microsoft:main Apr 21, 2025
70 checks passed
@adrianlizarraga
Copy link
Contributor

Hi @vraspar FYI, to be cherry-picked for ORT 1.22.0

adrianlizarraga added a commit that referenced this pull request Apr 22, 2025
### 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
@minfhong-quic minfhong-quic deleted the dev/minfhong-quic/fpcastbool-to-notequal branch April 22, 2025 05:28
intbf pushed a commit to intbf/onnxruntime that referenced this pull request Apr 25, 2025
### Description
<!-- Describe your changes. -->
For QNN-EP, build FP-to-Bool Cast into NotEqual.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
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.

Co-authored-by: minfhong-quic <[email protected]>
Signed-off-by: bfilipek <[email protected]>
intbf pushed a commit to intbf/onnxruntime that referenced this pull request Apr 25, 2025
…#24493)

### 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: microsoft#24466

Signed-off-by: bfilipek <[email protected]>
vraspar pushed a commit that referenced this pull request Apr 28, 2025
### Description
<!-- Describe your changes. -->
For QNN-EP, build FP-to-Bool Cast into NotEqual.


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
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.

Co-authored-by: minfhong-quic <[email protected]>
vraspar pushed a commit that referenced this pull request Apr 28, 2025
### 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
jywu-msft pushed a commit that referenced this pull request Apr 30, 2025
### Description

Cherry pick the following into
[rel-1.22.0](https://github.com/microsoft/onnxruntime/tree/rel-1.22.0)


- (#24487)
- (#24466)
- (#24493)
- (#24484)
- (#24494)
- (#24489)
- (#24504)
- (#24510)
- (#24456)
- (#24537)
- (#24501)
- (#24519)
- (#24513)
- (#24539)
- (#24514)
- (#24542)
- (#24585)

Not added:

Planning to cherry pick Cuda Matmulnbits PRs once the fix for failing
cuda pipeline is ready
- (#24491)
- (#24509)
- (#24564)

---------

Co-authored-by: Adrian Lizarraga <[email protected]>
Co-authored-by: minfhong-quic <[email protected]>
Co-authored-by: minfhong-quic <[email protected]>
Co-authored-by: Justin Chu <[email protected]>
Co-authored-by: Prathik Rao <[email protected]>
Co-authored-by: Edward Chen <[email protected]>
Co-authored-by: Ankan Banerjee <[email protected]>
Co-authored-by: Maximilian Müller <[email protected]>
Co-authored-by: Gaurav Garg <[email protected]>
Co-authored-by: iraut <[email protected]>
Co-authored-by: Hrishikesh Manohar <[email protected]>
Co-authored-by: Maximilian Müller <[email protected]>
Co-authored-by: Scott McKay <[email protected]>
Co-authored-by: Jiajia Qin <[email protected]>
Co-authored-by: kunal-vaishnavi <[email protected]>
Co-authored-by: xhcao <[email protected]>
jatinwadhwa921 pushed a commit to intel/onnxruntime that referenced this pull request Apr 30, 2025
### Description

Cherry pick the following into
[rel-1.22.0](https://github.com/microsoft/onnxruntime/tree/rel-1.22.0)


- (microsoft#24487)
- (microsoft#24466)
- (microsoft#24493)
- (microsoft#24484)
- (microsoft#24494)
- (microsoft#24489)
- (microsoft#24504)
- (microsoft#24510)
- (microsoft#24456)
- (microsoft#24537)
- (microsoft#24501)
- (microsoft#24519)
- (microsoft#24513)
- (microsoft#24539)
- (microsoft#24514)
- (microsoft#24542)
- (microsoft#24585)

Not added:

Planning to cherry pick Cuda Matmulnbits PRs once the fix for failing
cuda pipeline is ready
- (microsoft#24491)
- (microsoft#24509)
- (microsoft#24564)

---------

Co-authored-by: vraspar <[email protected]>
Co-authored-by: Adrian Lizarraga <[email protected]>
Co-authored-by: minfhong-quic <[email protected]>
Co-authored-by: minfhong-quic <[email protected]>
Co-authored-by: Justin Chu <[email protected]>
Co-authored-by: Prathik Rao <[email protected]>
Co-authored-by: Edward Chen <[email protected]>
Co-authored-by: Ankan Banerjee <[email protected]>
Co-authored-by: Maximilian Müller <[email protected]>
Co-authored-by: Gaurav Garg <[email protected]>
Co-authored-by: iraut <[email protected]>
Co-authored-by: Hrishikesh Manohar <[email protected]>
Co-authored-by: Maximilian Müller <[email protected]>
Co-authored-by: Scott McKay <[email protected]>
Co-authored-by: Jiajia Qin <[email protected]>
Co-authored-by: kunal-vaishnavi <[email protected]>
Co-authored-by: xhcao <[email protected]>
@snnn
Copy link
Contributor

snnn commented Sep 5, 2025

This PR has been included in the rel-1.22.0 branch. Removing the release:1.22.0 label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:QNN issues related to QNN exeution provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants