From ce6ce262a50a6b64421a91a41dbe7b96a19d17cc Mon Sep 17 00:00:00 2001 From: dlyakhov Date: Fri, 18 Aug 2023 17:10:49 +0200 Subject: [PATCH] CA backend_params attr is removed --- nncf/quantization/algorithms/channel_alignment/algorithm.py | 3 --- nncf/quantization/algorithms/post_training/algorithm.py | 1 - 2 files changed, 4 deletions(-) diff --git a/nncf/quantization/algorithms/channel_alignment/algorithm.py b/nncf/quantization/algorithms/channel_alignment/algorithm.py index 32f469ced13..519028e896c 100644 --- a/nncf/quantization/algorithms/channel_alignment/algorithm.py +++ b/nncf/quantization/algorithms/channel_alignment/algorithm.py @@ -60,7 +60,6 @@ def __init__( self, subset_size: int = 100, inplace_statistics: bool = True, - backend_params: Optional[Dict[str, Any]] = None, ): """ :param subset_size: Size of a subset for the statistics collection, @@ -68,12 +67,10 @@ def __init__( :param inplace_statistics: Defines wheather to calculate quantizers statistics by backend graph operations or by default Python implementation, defaults to True. - :param backend_params: Backend specific parameters. """ super().__init__() self.subset_size = subset_size self.inplace_statistics = inplace_statistics - self.backend_params = backend_params self._backend_entity = None self._quantile = 1e-4 self._algorithm_key = f"CA_{hash(self)}" diff --git a/nncf/quantization/algorithms/post_training/algorithm.py b/nncf/quantization/algorithms/post_training/algorithm.py index 9bf51b2d1d9..e86d8c1ca27 100644 --- a/nncf/quantization/algorithms/post_training/algorithm.py +++ b/nncf/quantization/algorithms/post_training/algorithm.py @@ -100,7 +100,6 @@ def __init__( channel_alignment = ChannelAlignment( subset_size=subset_size, inplace_statistics=advanced_parameters.inplace_statistics, - backend_params=advanced_parameters.backend_params, ) self.first_stage_algorithms.append(channel_alignment)