Skip to content

Commit

Permalink
fix quant op
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed May 17, 2024
1 parent 8911601 commit 8fb8cfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/openvino/test_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def check_ovmodel_reshaping(self, ovmodel: OVModel):
"quantization": OVTrainerTestDescriptor(
model_id="hf-internal-testing/tiny-random-Wav2Vec2Model",
nncf_compression_config=[QUANTIZATION_CONFIG_FOR_WAV2VEC2],
expected_fake_quantize=40,
expected_fake_quantize=24,
expected_int8=30,
compression_metrics=["compression_loss"],
),
Expand All @@ -757,7 +757,7 @@ def check_ovmodel_reshaping(self, ovmodel: OVModel):
"quantization,unstructured_movement_sparsity": OVTrainerTestDescriptor(
model_id="hf-internal-testing/tiny-random-Wav2Vec2Model",
nncf_compression_config=[QUANTIZATION_CONFIG_FOR_WAV2VEC2, UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_WAV2VEC2],
expected_fake_quantize=40,
expected_fake_quantize=24,
expected_int8=30,
expected_binary_masks=48,
compression_metrics=["compression_loss"],
Expand All @@ -775,7 +775,7 @@ def check_ovmodel_reshaping(self, ovmodel: OVModel):
model_id="hf-internal-testing/tiny-random-Wav2Vec2Model",
teacher_model_id="hf-internal-testing/tiny-random-Wav2Vec2Model",
nncf_compression_config=[QUANTIZATION_CONFIG_FOR_WAV2VEC2, UNSTRUCTURED_MOVEMENT_SPARSITY_CONFIG_FOR_WAV2VEC2],
expected_fake_quantize=40,
expected_fake_quantize=24,
expected_int8=30,
expected_binary_masks=48,
compression_metrics=["compression_loss", "distillation_loss", "task_loss"],
Expand Down

0 comments on commit 8fb8cfe

Please sign in to comment.