Skip to content

Commit

Permalink
Remove Identical Children Consolidation from default transformer uiti…
Browse files Browse the repository at this point in the history
…l. (microsoft#14602)

### Description
<!-- Describe your changes. -->



### 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. -->

Co-authored-by: Scott McKay <[email protected]>
  • Loading branch information
2 people authored and preetha-intel committed Feb 15, 2023
1 parent 7866fca commit 2100bb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion onnxruntime/core/optimizer/graph_transformer_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ InlinedVector<std::unique_ptr<GraphTransformer>> GenerateTransformers(
// CSE. For example, if A and B nodes both do Add operation with a same value but different initializers, by
// default, CSE will not merge them, because the different initializers are represented by different NodeArg.
if (session_options.config_options.GetConfigOrDefault(kOrtSessionOptionsDisableDoubleQDQRemover, "0") == "0"){
transformers.emplace_back(std::make_unique<IdenticalChildrenConsolidation>());
transformers.emplace_back(std::make_unique<DoubleQDQPairsRemover>());
}
transformers.emplace_back(std::make_unique<ConstantSharing>());
Expand Down

0 comments on commit 2100bb2

Please sign in to comment.