Skip to content

Conversation

@lizexu123
Copy link
Contributor

PR Category

Inference

PR Types

Others

Description

card-71500
修改单测基类,测试fp16,只需要在check_trt_result中传入enable_fp16=True,默认是False

@paddle-bot
Copy link

paddle-bot bot commented Dec 11, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Comment on lines 44 to 47
def test_trt_result_fp32(self):
self.check_trt_result(enable_fp16=True)

def test_trt_result_fp16(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

名字是不是弄反了?

@lizexu123 lizexu123 merged commit f8a219f into PaddlePaddle:develop Dec 12, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants