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

trt engine dtor when the last predictor dtor. #35842

Merged
merged 1 commit into from
Sep 18, 2021

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Sep 17, 2021

PR types

Others

PR changes

Others

Describe

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

@cryoco cryoco left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM for op_desc.h

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