Skip to content

Allow get clip constant min/max from DequantizeLinear - #26438

Merged
Adrian Lizarraga (adrianlizarraga) merged 3 commits into
microsoft:mainfrom
CodeLinaro:dev/yuduo/clip-min-max-qdq
Nov 5, 2025
Merged

Allow get clip constant min/max from DequantizeLinear#26438
Adrian Lizarraga (adrianlizarraga) merged 3 commits into
microsoft:mainfrom
CodeLinaro:dev/yuduo/clip-min-max-qdq

Conversation

@qti-yuduo

Copy link
Copy Markdown
Contributor

When detecting QDQ node group. Clip would usually be selected part of Conv node group when redundant. This change allow Clip min/max value from DQ node to be considered and performing same check. Allowing more use cases to be tagged as valid QDQ node group, result in substantial performance boost for EPs.

@qti-yuduo qti-yuduo changed the title Allow get clip constant min/max from Dequantize Allow get clip constant min/max from DequantizeLinear Oct 29, 2025
@qti-yuduo
qti-yuduo force-pushed the dev/yuduo/clip-min-max-qdq branch from 0a9d4bb to 84b2968 Compare October 30, 2025 21:11
Comment thread onnxruntime/core/optimizer/utils.cc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment

@adrianlizarraga

Copy link
Copy Markdown
Contributor

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 4 pipeline(s).

@adrianlizarraga
Adrian Lizarraga (adrianlizarraga) merged commit 4ef0bf9 into microsoft:main Nov 5, 2025
90 checks passed
Rohanjames1997 pushed a commit to Rohanjames1997/onnxruntime that referenced this pull request Dec 4, 2025
When detecting QDQ node group. Clip would usually be selected part of
Conv node group when redundant. This change allow Clip min/max value
from DQ node to be considered and performing same check. Allowing more
use cases to be tagged as valid QDQ node group, result in substantial
performance boost for EPs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants