Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cherry-pick] trt engine dtor when the last predictor dtor #35881

Merged
merged 2 commits into from
Sep 22, 2021

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Sep 20, 2021

PR types

Others

PR changes

Others

Describe

cherry-pick #35842

1、pass之间需显示传递Block
2、op_desc中的block_desc需默认值为nullptr,否则会遇到较多未定义行为
3、trt engine绑定predictor的inference_program,当最后一个predictor(clone多线程下)析构时,析构trt engine
4、trt convert单测默认随机跑15%的case

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

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

LGTM

@Superjomn Superjomn merged commit f72d52e into PaddlePaddle:release/2.2 Sep 22, 2021
@jiweibo jiweibo deleted the release/2.2 branch September 22, 2021 07:21
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.

3 participants