@@ -278,9 +278,9 @@ def run_test(self, quant=False, *args, **kwargs):
278278 model , params , prog_config , base_config , feed_data
279279 )
280280 )
281- self .success_log (f"basline program_config: { prog_config } " )
281+ self .success_log (f"baseline program_config: { prog_config } " )
282282 self .success_log (
283- f"basline predictor_config: { self .inference_config_str (base_config )} "
283+ f"baseline predictor_config: { self .inference_config_str (base_config )} "
284284 )
285285
286286 for pred_config , (atol , rtol ) in self .sample_predictor_configs (
@@ -561,11 +561,11 @@ def inference_config_str(self, config) -> str:
561561 dic ["passes" ] = self .passes
562562
563563 enable_trt = config .tensorrt_engine_enabled ()
564- trt_precison = config .tensorrt_precision_mode ()
564+ trt_precision = config .tensorrt_precision_mode ()
565565 trt_dynamic_shape = config .tensorrt_dynamic_shape_enabled ()
566566 if enable_trt :
567567 dic ["use_trt" ] = True
568- dic ["trt_precision" ] = trt_precison
568+ dic ["trt_precision" ] = trt_precision
569569 dic ["use_dynamic_shape" ] = trt_dynamic_shape
570570 else :
571571 dic ["use_trt" ] = False
@@ -713,11 +713,11 @@ def assert_op_size(self, trt_engine_num, paddle_op_num):
713713 def inference_config_str (self , config : paddle_infer .Config ) -> str :
714714 dic = {}
715715 enable_trt = config .tensorrt_engine_enabled ()
716- trt_precison = config .tensorrt_precision_mode ()
716+ trt_precision = config .tensorrt_precision_mode ()
717717 trt_dynamic_shape = config .tensorrt_dynamic_shape_enabled ()
718718 if enable_trt :
719719 dic ["use_trt" ] = True
720- dic ["trt_precision" ] = trt_precison
720+ dic ["trt_precision" ] = trt_precision
721721 dic ["use_dynamic_shape" ] = trt_dynamic_shape
722722 else :
723723 dic ["use_trt" ] = False
@@ -755,7 +755,7 @@ def random_to_skip():
755755 gpu_config ,
756756 prog_config .get_feed_data (),
757757 )
758- self .success_log (f"basline program_config: { prog_config } " )
758+ self .success_log (f"baseline program_config: { prog_config } " )
759759
760760 for (
761761 pred_config ,
0 commit comments