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

[Inference] Add conv_fuse_pass, support conv2d+bn -> conv2d #58724

Merged
merged 38 commits into from Nov 20, 2023

Conversation

bukejiyu
Copy link
Contributor

@bukejiyu bukejiyu commented Nov 6, 2023

PR types

Others

PR changes

Others

Description

conv2d_bn_pass
pass_test for pir pass
Pcard-71500

Copy link

paddle-bot bot commented Nov 10, 2023

你的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.

#include "paddle/fluid/pir/dialect/operator/ir/pd_op.h"

#include "paddle/fluid/pir/transforms/fusion/conv2d_fuse_pass.h"
#include "paddle/fluid/pir/transforms/transform_general_functions.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

没用到?

Copy link
Contributor

@yuanlehome yuanlehome left a comment

Choose a reason for hiding this comment

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

统一梳理下没用的头文件,删掉~

@yuanlehome yuanlehome changed the title [paddle_inference]Conv2d bn pass [Inference] Add conv_fuse_pass,support conv2d+bn -> conv2d Nov 14, 2023
@yuanlehome yuanlehome changed the title [Inference] Add conv_fuse_pass,support conv2d+bn -> conv2d [Inference] Add conv_fuse_pass, support conv2d+bn -> conv2d Nov 14, 2023
@yuanlehome
Copy link
Contributor

PR描述写完整点~

Copy link
Contributor

@XieYunshen XieYunshen left a comment

Choose a reason for hiding this comment

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

LGTM
单测删除误报

Copy link
Contributor

@yuanlehome yuanlehome left a comment

Choose a reason for hiding this comment

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

LGTM

@yuanlehome yuanlehome merged commit 988ae5a into PaddlePaddle:develop Nov 20, 2023
28 checks passed
SecretXV pushed a commit to SecretXV/Paddle that referenced this pull request Nov 28, 2023
…ddle#58724)

* add conv2d_bn_fuse_pass

---------

Co-authored-by: yxy <ltyxy@buaa.edu.cn>
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.

None yet

5 participants