Skip to content

Commit

Permalink
Revert "[Paddle-TRT] fix solve (PaddlePaddle#61806)"
Browse files Browse the repository at this point in the history
This reverts commit df0155f.
  • Loading branch information
hanhaowen-mt committed May 13, 2024
1 parent 6320702 commit ee178fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/ir/inference/test_trt_convert_solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ def clear_dynamic_shape():
# for dynamic_shape
generate_dynamic_shape(attrs)
self.trt_param.precision = paddle_infer.PrecisionType.Float32
program_config.set_input_type(np.float32)
yield self.create_inference_config(), (1, 3), 1e-5

self.trt_param.precision = paddle_infer.PrecisionType.Half
program_config.set_input_type(np.float16)
yield self.create_inference_config(), (1, 3), 1e-3

def test(self):
Expand Down

0 comments on commit ee178fe

Please sign in to comment.