Skip to content

Commit

Permalink
Fix branch_merge_pass
Browse files Browse the repository at this point in the history
  • Loading branch information
KodiaqQ committed Sep 26, 2023
1 parent 45ff255 commit d077022
Show file tree
Hide file tree
Showing 2 changed files with 2,462 additions and 2,470 deletions.
12 changes: 6 additions & 6 deletions nncf/quantization/algorithms/min_max/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,10 +877,10 @@ def _apply_branch_merge_pass(self, quantizer_setup: SingleConfigQuantizerSetup,
)
return

if quantization_point is None:
return
if quantization_point is None:
return

quantization_point.destination_node_names = destination_node_names
quantization_point.insertion_point.input_port_id = None
quantization_point.insertion_point.target_node_name = producer_node.node_name
quantizer_setup.add_independent_quantization_point(quantization_point)
quantization_point.destination_node_names = destination_node_names
quantization_point.insertion_point.input_port_id = None
quantization_point.insertion_point.target_node_name = producer_node.node_name
quantizer_setup.add_independent_quantization_point(quantization_point)
Loading

0 comments on commit d077022

Please sign in to comment.