mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-10 17:37:14 +00:00
Enable ConvReplaceWithQLinear when using ACL (#22823)
### Description Enable the ConvReplaceWithQLinear graph optimization when using the ACL execution provider. ### Motivation and Context Fixes an issue where quantized Conv nodes followed by ReLU don't get converted to QLinearConv, so ACL sees the weights as mutable and therefore cannot run the Conv node. Signed-off-by: Michael Tyler <michael.tyler@arm.com>
This commit is contained in:
parent
82681205e4
commit
dd99e34d66
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ void ConvQDQRules(SelectorActionRegistry& qdq_selector_action_registry, bool is_
|
|||
|
||||
#if !defined(ORT_MINIMAL_BUILD)
|
||||
// TODO: Enable 16-bit types in selector when QLinearConv supports 16-bit.
|
||||
std::vector<const char*> providers = {kCpuExecutionProvider, kDmlExecutionProvider};
|
||||
std::vector<const char*> providers = {kCpuExecutionProvider, kDmlExecutionProvider, kAclExecutionProvider};
|
||||
std::unique_ptr<NodeSelector> selector = std::make_unique<QDQ::ConvSelector>(is_int8_allowed,
|
||||
false,
|
||||
false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue