@@ -123,7 +123,7 @@ class OVCLIExportTestCase(unittest.TestCase):
123
123
"text-generation" ,
124
124
"llama" ,
125
125
"f8e4m3" ,
126
- "--dataset wikitext2 --num-samples 1 --smooth-quant-alpha 0.9 --trust-remote-code --sym " ,
126
+ "--dataset wikitext2 --num-samples 1 --smooth-quant-alpha 0.9 --trust-remote-code" ,
127
127
(13 ,),
128
128
(16 ,),
129
129
),
@@ -418,7 +418,7 @@ def test_exporters_cli_full_quantization(
418
418
model_type : str ,
419
419
quant_mode : str ,
420
420
option : str ,
421
- expected_num_fq_nodes_per_model : Tuple [int ],
421
+ expected_num_f_nodes_per_model : Tuple [int ],
422
422
expected_num_weight_nodes_per_model : Tuple [int ],
423
423
):
424
424
with TemporaryDirectory () as tmpdir :
@@ -432,10 +432,10 @@ def test_exporters_cli_full_quantization(
432
432
models = [model ]
433
433
if task == "automatic-speech-recognition" :
434
434
models = [model .encoder , model .decoder , model .decoder_with_past ]
435
- self .assertEqual (len (expected_num_fq_nodes_per_model ), len (models ))
435
+ self .assertEqual (len (expected_num_f_nodes_per_model ), len (models ))
436
436
for i , model in enumerate (models ):
437
437
actual_num_f_nodes , actual_num_weight_nodes = get_num_quantized_nodes (model )
438
- self .assertEqual (expected_num_fq_nodes_per_model [i ], actual_num_f_nodes )
438
+ self .assertEqual (expected_num_f_nodes_per_model [i ], actual_num_f_nodes )
439
439
self .assertEqual (expected_num_weight_nodes_per_model [i ], actual_num_weight_nodes [quant_mode ])
440
440
441
441
def test_exporters_cli_int4_with_local_model_and_default_config (self ):
0 commit comments