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

【SCU】【Paddle TensorRT No.18】Add pd_op.conv3d and pd_op.conv3d_transpose converter #70647

Open
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

PolaKuma
Copy link
Contributor

@PolaKuma PolaKuma commented Jan 6, 2025

PR Category

User Experience

PR Types

New features

Description

card-71500
新增pd_op.conv3d and pd_op.conv3d_transpose(markerpass中有些条件包括tensorrt版本小于8.4、支持动态图is_dynamic条件就直接忽略了)

Copy link

paddle-bot bot commented Jan 6, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Jan 6, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jan 7, 2025
filter_shape = paddle_op.operands()[1].source().shape
if len(filter_shape) != 5:
raise ValueError(
f"The conv3d filter's dims size should be 5, but got {len(filter_shape)}"
Copy link
Contributor

Choose a reason for hiding this comment

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

converter里对filter的shape做了限制,但是marker里并没有做拦截?

layer.num_groups = groups

if padding_algorithm == "SAME":
layer.padding_mode = trt.PaddingMode.SAME_UPPER
Copy link
Contributor

Choose a reason for hiding this comment

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

既然你要支持输出的layer的name,以后pr你都支持上吧,省的一个一个改了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants