mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
[Nuphar] Do not handle MatMulInteger with zero-points (#8760)
MatMulInteger can take zero-points as input, and Nuphar does not handle that yet. Fall back to CPU EP in that case.
This commit is contained in:
parent
00b345eb7b
commit
b0c707caa8
1 changed files with 3 additions and 0 deletions
|
|
@ -321,6 +321,9 @@ NupharExecutionProvider::GetCapability(const onnxruntime::GraphViewer& graph_vie
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if (node.OpType() == "MatMulInteger" && inputs.size() > 2) {
|
||||
return false; // do not support MatMulInteger with zero points
|
||||
}
|
||||
return true;
|
||||
};
|
||||
GraphPartitioner graph_partitioner(is_supported_func);
|
||||
|
|
|
|||
Loading…
Reference in a new issue