@@ -322,30 +322,30 @@ def tearDown(self):
322
322
"default_quantization" : OVTrainerTestDescriptor (
323
323
model_id = "hf-internal-testing/tiny-random-bert" ,
324
324
nncf_compression_config = DEFAULT_QUANTIZATION_CONFIG ,
325
- expected_fake_quantize = 44 ,
325
+ expected_fake_quantize = 34 ,
326
326
expected_int8 = 32 ,
327
327
compression_metrics = ["compression_loss" ],
328
328
),
329
329
"distillation,default_quantization" : OVTrainerTestDescriptor (
330
330
model_id = "hf-internal-testing/tiny-random-bert" ,
331
331
teacher_model_id = "hf-internal-testing/tiny-random-bert" ,
332
332
nncf_compression_config = DEFAULT_QUANTIZATION_CONFIG ,
333
- expected_fake_quantize = 44 ,
333
+ expected_fake_quantize = 34 ,
334
334
expected_int8 = 32 ,
335
335
compression_metrics = ["compression_loss" , "distillation_loss" , "task_loss" ],
336
336
),
337
337
"customized_quantization" : OVTrainerTestDescriptor (
338
338
model_id = "hf-internal-testing/tiny-random-bert" ,
339
339
nncf_compression_config = CUSTOMIZED_QUANTIZATION_CONFIG ,
340
- expected_fake_quantize = 44 ,
340
+ expected_fake_quantize = 34 ,
341
341
expected_int8 = 32 ,
342
342
compression_metrics = ["compression_loss" ],
343
343
),
344
344
"distillation,customized_quantization" : OVTrainerTestDescriptor (
345
345
model_id = "hf-internal-testing/tiny-random-bert" ,
346
346
teacher_model_id = "hf-internal-testing/tiny-random-bert" ,
347
347
nncf_compression_config = CUSTOMIZED_QUANTIZATION_CONFIG ,
348
- expected_fake_quantize = 44 ,
348
+ expected_fake_quantize = 34 ,
349
349
expected_int8 = 32 ,
350
350
compression_metrics = ["compression_loss" , "distillation_loss" , "task_loss" ],
351
351
),
@@ -418,7 +418,7 @@ def tearDown(self):
418
418
"default_quantization,unstructured_movement_sparsity" : OVTrainerTestDescriptor (
419
419
model_id = "hf-internal-testing/tiny-random-bert" ,
420
420
nncf_compression_config = [DEFAULT_QUANTIZATION_CONFIG , UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_BERT ],
421
- expected_fake_quantize = 44 ,
421
+ expected_fake_quantize = 34 ,
422
422
expected_int8 = 32 ,
423
423
expected_binary_masks = 60 ,
424
424
compression_metrics = ["compression_loss" ],
@@ -429,7 +429,7 @@ def tearDown(self):
429
429
CUSTOMIZED_QUANTIZATION_CONFIG ,
430
430
UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_BERT ,
431
431
],
432
- expected_fake_quantize = 44 ,
432
+ expected_fake_quantize = 34 ,
433
433
expected_int8 = 32 ,
434
434
expected_binary_masks = 60 ,
435
435
compression_metrics = ["compression_loss" ],
@@ -438,7 +438,7 @@ def tearDown(self):
438
438
model_id = "hf-internal-testing/tiny-random-bert" ,
439
439
teacher_model_id = "hf-internal-testing/tiny-random-bert" ,
440
440
nncf_compression_config = [DEFAULT_QUANTIZATION_CONFIG , UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_BERT ],
441
- expected_fake_quantize = 44 ,
441
+ expected_fake_quantize = 34 ,
442
442
expected_int8 = 32 ,
443
443
expected_binary_masks = 60 ,
444
444
compression_metrics = ["compression_loss" , "distillation_loss" , "task_loss" ],
@@ -450,7 +450,7 @@ def tearDown(self):
450
450
CUSTOMIZED_QUANTIZATION_CONFIG ,
451
451
UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_BERT ,
452
452
],
453
- expected_fake_quantize = 44 ,
453
+ expected_fake_quantize = 34 ,
454
454
expected_int8 = 32 ,
455
455
expected_binary_masks = 60 ,
456
456
compression_metrics = ["compression_loss" , "distillation_loss" , "task_loss" ],
@@ -730,7 +730,7 @@ def check_ovmodel_reshaping(self, ovmodel: OVModel):
730
730
"quantization" : OVTrainerTestDescriptor (
731
731
model_id = "hf-internal-testing/tiny-random-Wav2Vec2Model" ,
732
732
nncf_compression_config = [QUANTIZATION_CONFIG_FOR_WAV2VEC2 ],
733
- expected_fake_quantize = 48 ,
733
+ expected_fake_quantize = 40 ,
734
734
expected_int8 = 30 ,
735
735
compression_metrics = ["compression_loss" ],
736
736
),
@@ -757,7 +757,7 @@ def check_ovmodel_reshaping(self, ovmodel: OVModel):
757
757
"quantization,unstructured_movement_sparsity" : OVTrainerTestDescriptor (
758
758
model_id = "hf-internal-testing/tiny-random-Wav2Vec2Model" ,
759
759
nncf_compression_config = [QUANTIZATION_CONFIG_FOR_WAV2VEC2 , UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_WAV2VEC2 ],
760
- expected_fake_quantize = 48 ,
760
+ expected_fake_quantize = 40 ,
761
761
expected_int8 = 30 ,
762
762
expected_binary_masks = 48 ,
763
763
compression_metrics = ["compression_loss" ],
@@ -775,7 +775,7 @@ def check_ovmodel_reshaping(self, ovmodel: OVModel):
775
775
model_id = "hf-internal-testing/tiny-random-Wav2Vec2Model" ,
776
776
teacher_model_id = "hf-internal-testing/tiny-random-Wav2Vec2Model" ,
777
777
nncf_compression_config = [QUANTIZATION_CONFIG_FOR_WAV2VEC2 , UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_WAV2VEC2 ],
778
- expected_fake_quantize = 48 ,
778
+ expected_fake_quantize = 40 ,
779
779
expected_int8 = 30 ,
780
780
expected_binary_masks = 48 ,
781
781
compression_metrics = ["compression_loss" , "distillation_loss" , "task_loss" ],
0 commit comments