Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-lyakhov committed Jan 20, 2025
1 parent 5b8bdd6 commit b676c53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nncf/experimental/quantization/quantizers/torch_ao_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_quantization_setup(self, model: torch.fx.GraphModule, nncf_graph: NNCFGr

annotated_model = self._quantizer.annotate(model)
self._quantizer.validate(annotated_model)
quantizer_setup = self.get_quantizer_config_from_anotated_model(annotated_model)
quantizer_setup = self.get_quantizer_config_from_annotated_model(annotated_model)

# Recover original meta
model.meta = original_meta
Expand Down Expand Up @@ -101,7 +101,7 @@ def _get_node_args(node: torch.fx.Node):
return node.args

@staticmethod
def get_quantizer_config_from_anotated_model(anotated_model: torch.fx.GraphModule) -> SingleConfigQuantizerSetup:
def get_quantizer_config_from_annotated_model(anotated_model: torch.fx.GraphModule) -> SingleConfigQuantizerSetup:
edge_or_node_to_qspec = _get_edge_or_node_to_qspec(anotated_model)

q_map = defaultdict(list)
Expand Down
2 changes: 1 addition & 1 deletion nncf/quantization/algorithms/min_max/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ def get_cached_statistic_points(self, model: TModel, graph: NNCFGraph) -> Statis
Build statistic point container using already cached target points vs qconfigs cache.
:param model: Model instance.
:param graph: NNCFGraph instance corespondent to the passed model.
:param graph: NNCFGraph instance correspondent to the passed model.
:return: Filled statistic point container.
"""
if self._quantization_target_points_to_qconfig is None:
Expand Down

0 comments on commit b676c53

Please sign in to comment.