You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We implemented VitisAI custom ops' that support all tensor types by returning ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED when GetInputType() is called. But if the input contains int4 tensor it would fail here.
### Description
<!-- Describe your changes. -->
Changed all support tensor type from ir 9 to ir 10.
### 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. -->
- See issue #23205
Co-authored-by: Yueqing Zhang <[email protected]>
…t#23204)
<!-- Describe your changes. -->
Changed all support tensor type from ir 9 to ir 10.
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
- See issue microsoft#23205
Co-authored-by: Yueqing Zhang <[email protected]>
Describe the issue
We implemented VitisAI custom ops' that support all tensor types by returning ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED when GetInputType() is called. But if the input contains int4 tensor it would fail here.
onnxruntime/onnxruntime/core/graph/graph.cc
Lines 2847 to 2852 in 2d05c4b
#23204 should fix this issue.
To reproduce
Create a custom op that return ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED when GetInputType() is called and add an input tensor of int4.
Urgency
No response
Platform
Windows
OS Version
Windows 11
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
main
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Vitis AI
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: