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

[PRIM][IR]Support prim in new ir #56342

Merged

Conversation

Charles-hit
Copy link
Contributor

@Charles-hit Charles-hit commented Aug 16, 2023

PR types

New features

PR changes

Others

Description

Pcard-66975
背景:
本PR在PR55647基础上完成后续组合算子在新IR下适配的工作。
本PR完成的工作:

  • 迁移组合算子组件至新IR
  • 基于mean算子前向拆解子图完成divide算子和sum算子反向组合模式在新IR下打通
  • DescTensor重命名为LazyTensor

接下来要完成的工作

  • vjp适配可变attribute
  • vjp代码自动生成

@paddle-bot
Copy link

paddle-bot bot commented Aug 16, 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.

Copy link
Contributor

@cxxly cxxly 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

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

@xiaoguoguo626807 xiaoguoguo626807 merged commit 2b5466f into PaddlePaddle:develop Aug 18, 2023
BeingGod pushed a commit to BeingGod/Paddle that referenced this pull request Sep 9, 2023
* support ir api form prim

* convert vector of int to intarray

* support ir api for prim

* support vjp prim mode in new ir

* remove useless code

* add test for prim

* modify utils

* remove useless code

---------

Co-authored-by: cyber-pioneer <chenzhuo@tju.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.

6 participants