-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[inference]add hard_swish dynamic plugin #35214
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
Conversation
|
Thanks for your contribution! |
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.
clang format 自动改的,下同
|
timeout的问题,可以等 #35512 合入后rerun下 |
9220f7e to
ee46e1b
Compare
| True), 1e-5 | ||
| self.trt_param.precision = paddle_infer.PrecisionType.Half | ||
| yield self.create_inference_config(), generate_trt_nodes_num(attrs, | ||
| True), 1e-2 |
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.
fp16的精度可以看下。
如果绝对误差过大,可以写成(1e-5, 1e-5),第一个是绝对误差,第二个是相对误差
jiweibo
left a comment
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
PR types
Bug fixes
PR changes
OPs
Describe
add hard_swish dynamic plugin