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

add info log for trt input dynamic shape check #27796

Merged
merged 2 commits into from
Oct 13, 2020

Conversation

shangzhizhou
Copy link
Member

PR types

Others

PR changes

Others

Describe

add info log for trt input dynamic shape check

@paddle-bot-old
Copy link

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

@@ -207,6 +215,10 @@ class OpConverter {
Vec2TRT_Dims(var_shape, input));
}
}
PADDLE_ENFORCE_EQ(all_dynamic_shape_set, true,
platform::errors::InvalidArgument(
"some trt intputs dynamic shape info not set, "
Copy link
Contributor

Choose a reason for hiding this comment

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

intputs -> inputs

Copy link
Member Author

Choose a reason for hiding this comment

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

done, thanks

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

@shangzhizhou shangzhizhou merged commit bbc837e into PaddlePaddle:develop Oct 13, 2020
@shangzhizhou shangzhizhou deleted the dynamic_fix branch October 13, 2020 00:53
chen-zhiyu pushed a commit to chen-zhiyu/Paddle that referenced this pull request Oct 15, 2020
* add info log for trt input dynamic shape check

* fix error msg error
shangzhizhou added a commit to shangzhizhou/Paddle that referenced this pull request Nov 4, 2020
shangzhizhou added a commit that referenced this pull request Nov 5, 2020
* Fix TRT plugin registry without TRT lib (#25982)

* fix trt plugin registry without trt lib

* support trt4

* refine code style

* pick ea85179 from develop

* cherry-pick develop PR  #26273 && #27796

* fix unittest error

* fix unittest error

* remove const_cast

Co-authored-by: Pei Yang <[email protected]>
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