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 remove_redundant_transpose_pass #63357

Merged
merged 3 commits into from
Apr 15, 2024

Conversation

Sunny-bot1
Copy link
Contributor

@Sunny-bot1 Sunny-bot1 commented Apr 9, 2024

PR Category

Inference

PR Types

New features

Description

Pcard-71500
extract RemoveRedundantTransposePattern from identity_op_clean_pass and use it as remove_redundant_transpose_pass

Copy link

paddle-bot bot commented Apr 9, 2024

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

@Sunny-bot1 Sunny-bot1 changed the title add remove_redundant_transpose_pass [PIR]add remove_redundant_transpose_pass Apr 9, 2024
@@ -0,0 +1,83 @@
// Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

2023 -> 2024

Comment on lines 20 to 23
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/int_array.h"
#include "paddle/phi/common/place.h"
#include "paddle/pir/include/core/builtin_op.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

这些头文件是不需要的

@@ -0,0 +1,26 @@
// Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

2023 -> 2024

@@ -0,0 +1,62 @@
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

2023 -> 2024

@@ -0,0 +1,62 @@
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

这个单测的命名不需要带"pir"前缀

@yuanlehome yuanlehome merged commit 3dd6a79 into PaddlePaddle:develop Apr 15, 2024
29 of 30 checks passed
@yuanlehome yuanlehome changed the title [PIR]add remove_redundant_transpose_pass [Inference] Add remove_redundant_transpose_pass Apr 15, 2024
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.

2 participants