intel / onnxruntime

ONNX Runtime: cross-platform, high performance scoring engine for ML models
MIT License
56 stars 22 forks source link

fix graph output expects int8 dtype #398

Closed saurabhkale17 closed 1 month ago

saurabhkale17 commented 1 month ago

Description

Fix Data Type Error by Ensuring Correct Input Types for Output Nodes

Description:

This pull request resolves an issue where output nodes of certain models expected uint8 inputs but received float32 inputs instead, causing a data type error. The error occurred due to the stripping of QDQ (Quantize-Dequantize) nodes in the OpenVINO Execution Provider (OVEP) QDQ stripping pass.

Changes:

sfatimar commented 1 month ago

LGTM