-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Paddle TensorRT No.42、45] Add (pd_op.isnan
、pd_op.embedding
) converter
#69435
[Paddle TensorRT No.42、45] Add (pd_op.isnan
、pd_op.embedding
) converter
#69435
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
… pir_tensorrt_isnan_embedding
pd_op.isnan
、pd_op.embedding
) converter
python/paddle/tensorrt/impls/math.py
Outdated
return cast_layer.get_output(0) | ||
|
||
|
||
@converter_registry.register("pd_op.isnan", trt_version="trt_version_ge=10.1") |
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.
先不写10.1的converter
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.
已修改
Sorry to inform you that 418f978's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
… pir_tensorrt_isnan_embedding
418f978
to
0e6a344
Compare
if (pir::GetDefiningOpForInput(op, 1)->name() == "builtin.parameter") { | ||
// trt.Weights don't have the shape info. | ||
VLOG(3) << "Skip to convert into TRT while found weight is a parameter " | ||
"in pd_op.embedding."; | ||
return false; | ||
} |
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.
这里逻辑有问题吧,为啥parameter不进trt,大部分应该都是parameter的场景
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.
当时以为 parameter 进入 trt 之后都是一维的,没有形状信息,计算不了
PR Category
Inference
PR Types
New features
Description