-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Conversation
Thanks for your contribution! |
@@ -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, " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intputs -> inputs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* add info log for trt input dynamic shape check * fix error msg error
* 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]>
PR types
Others
PR changes
Others
Describe
add info log for trt input dynamic shape check