-
Notifications
You must be signed in to change notification settings - Fork 3k
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
custom op's SUPPORTED_TENSOR_TYPES does not include int4 and uint4 #23205
Labels
ep:VitisAI
issues related to Vitis AI execution provider
Comments
github-actions
bot
added
the
ep:VitisAI
issues related to Vitis AI execution provider
label
Dec 27, 2024
jywu-msft
pushed a commit
that referenced
this issue
Jan 2, 2025
### 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]>
TedThemistokleous
pushed a commit
to ROCm/onnxruntime
that referenced
this issue
Jan 3, 2025
…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]>
snnn
pushed a commit
that referenced
this issue
Jan 8, 2025
### 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]>
tarekziade
pushed a commit
to tarekziade/onnxruntime
that referenced
this issue
Jan 10, 2025
…t#23204) ### 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 microsoft#23205 Co-authored-by: Yueqing Zhang <[email protected]>
guschmue
pushed a commit
that referenced
this issue
Jan 12, 2025
### 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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: