@@ -685,7 +685,7 @@ class OVQuantizationConfigTest(unittest.TestCase):
685
685
QUANTIZATION_CONFIGS = (
686
686
(None ,),
687
687
(OVWeightQuantizationConfig (),),
688
- (OVWeightQuantizationConfig (bits = 8 ,sym = True ),),
688
+ (OVWeightQuantizationConfig (bits = 8 , sym = True ),),
689
689
(
690
690
OVWeightQuantizationConfig (
691
691
dataset = "wikitext" ,
@@ -713,7 +713,7 @@ class OVQuantizationConfigTest(unittest.TestCase):
713
713
),
714
714
),
715
715
(OVQuantizationConfig (ignored_scope = nncf .IgnoredScope (names = ["op_name" ])),),
716
- (OVDynamicQuantizationConfig (bits = 8 ,sym = True ),),
716
+ (OVDynamicQuantizationConfig (bits = 8 , sym = True ),),
717
717
)
718
718
719
719
QUANTIZATION_CONFIG_DICTS = (
@@ -743,7 +743,11 @@ class OVQuantizationConfigTest(unittest.TestCase):
743
743
),
744
744
(dict (num_samples = 100 ), OVWeightQuantizationConfig , "Can't determine type of OV quantization config" ),
745
745
(dict (abc = "def" ), OVWeightQuantizationConfig , "Can't determine type of OV quantization config" ),
746
- (dict (bits = 8 , fast_bias_correction = True , dataset = "wikitext" ), OVWeightQuantizationConfig , "Can't determine type of OV quantization config" ),
746
+ (
747
+ dict (bits = 8 , fast_bias_correction = True , dataset = "wikitext" ),
748
+ OVWeightQuantizationConfig ,
749
+ "Can't determine type of OV quantization config" ,
750
+ ),
747
751
(dict (model_type = "transformer" ), OVQuantizationConfig , None ),
748
752
(
749
753
dict (
@@ -761,7 +765,11 @@ class OVQuantizationConfigTest(unittest.TestCase):
761
765
(dict (weight_only = False ), OVQuantizationConfig , None ),
762
766
(dict (abc = "def" , weight_only = False ), OVQuantizationConfig , None ),
763
767
(dict (abc = "def" , weight_only = True ), OVWeightQuantizationConfig , None ),
764
- (dict (bits = 8 , fast_bias_correction = True , dataset = "wikitext" , weight_only = True ), OVWeightQuantizationConfig , None ),
768
+ (
769
+ dict (bits = 8 , fast_bias_correction = True , dataset = "wikitext" , weight_only = True ),
770
+ OVWeightQuantizationConfig ,
771
+ None ,
772
+ ),
765
773
(dict (bits = 8 , fast_bias_correction = True , weight_only = False ), OVQuantizationConfig , None ),
766
774
)
767
775
0 commit comments