Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
KodiaqQ committed Sep 25, 2023
1 parent aaaa9ff commit f439ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nncf/quantization/algorithms/min_max/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,8 +850,8 @@ def _is_node_after_producers(node):

def _apply_branch_merge_pass(self, quantizer_setup: SingleConfigQuantizerSetup, nncf_graph: NNCFGraph) -> None:
if self._backend_entity.disable_branches_merge:
return
return

destination_node_names = []
main_node = None
quantization_point = None
Expand Down
1 change: 0 additions & 1 deletion nncf/quantization/algorithms/min_max/torch_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class PTMinMaxAlgoBackend(MinMaxAlgoBackend):
def disable_branches_merge(self) -> bool:
return True


@property
def mat_mul_metatypes(self) -> List[OperatorMetatype]:
return [om.PTModuleLinearMetatype]
Expand Down

0 comments on commit f439ca1

Please sign in to comment.