Skip to content

Commit

Permalink
fix ci failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Zheng committed Nov 9, 2023
1 parent 99c5d30 commit 8af360a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion test/ir/inference/test_trt_convert_multihead_matmul.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ def generate_trt_nodes_num():
generate_dynamic_shape(attrs)
self.trt_param.workspace_size = 2013265920
self.trt_param.precision = paddle_infer.PrecisionType.Int8
program_config.set_input_type(np.int8)
program_config.set_input_type(np.float32)
yield self.create_inference_config(), generate_trt_nodes_num(), (
1e-3,
1e-3,
Expand Down
1 change: 0 additions & 1 deletion test/ir/inference/test_trt_ops_fp32_mix_precision.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def generate_trt_nodes_num(attrs, dynamic_shape):
# for dynamic_shape
generate_dynamic_shape(attrs)
self.trt_param.precision = paddle_infer.PrecisionType.Half
program_config.set_input_type(np.float16)
config = self.create_inference_config()
InternalUtils.disable_tensorrt_half_ops(
config,
Expand Down

0 comments on commit 8af360a

Please sign in to comment.