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

[phi] support pir run in dy2static AST mode. #57357

Merged
merged 32 commits into from Sep 20, 2023

Conversation

2742195759
Copy link
Contributor

@2742195759 2742195759 commented Sep 15, 2023

PR types

Others

PR changes

Others

Description

re-revert 97442d3

支持了新IR下的RunProgramOp运行,可以将前端支持的Program使用动转静跑起来。

初版功能,还有后续PR。

PCard-66972

2742195759 and others added 2 commits September 15, 2023 02:56
* support build model in python

* fix ci bugs

* fix ci bugs

* fix compile bugs

* fix ci bugs

* add infermeta for data

* fix ci bugs

* fix ci bugs

* fix ci bugs

* fix bugs when run ir program mutiple times

* perfect code

* frontend demo debugging

* support program split and go into run program node.

* simple run the dy2static test in newir_api mode.

* remove frame.proto changes

* merge

* fix ir-run-program-node

* fix some code

* fix output error

* fix some errors

* fix

* fix

* fix

* fix conflict

* fix files

* fix some errors

* merge and solve conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
@paddle-bot
Copy link

paddle-bot bot commented Sep 15, 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.

@2742195759 2742195759 changed the title Revert revert ir node [phi] support pir run in dy2static AST mode. Sep 20, 2023
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

@2742195759 2742195759 merged commit 113cd81 into PaddlePaddle:develop Sep 20, 2023
25 of 27 checks passed
@2742195759 2742195759 deleted the revert-revert-ir-node branch September 20, 2023 11:00
iosmers pushed a commit to iosmers/Paddle that referenced this pull request Sep 21, 2023
* [NewIR] Support Ir run program node (PaddlePaddle#56791)

* support build model in python

* fix ci bugs

* fix ci bugs

* fix compile bugs

* fix ci bugs

* add infermeta for data

* fix ci bugs

* fix ci bugs

* fix ci bugs

* fix bugs when run ir program mutiple times

* perfect code

* frontend demo debugging

* support program split and go into run program node.

* simple run the dy2static test in newir_api mode.

* remove frame.proto changes

* merge

* fix ir-run-program-node

* fix some code

* fix output error

* fix some errors

* fix

* fix

* fix

* fix conflict

* fix files

* fix some errors

* merge and solve conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>

* new pr

* fix

* fix

* fix segment error

* fix

* add dependences

* fix

* fix link error.

* fix some cmake problem

* fix

* fix

* fix dependecy

* fix

* fix

* fix circle dependence

* fix

* fix

* fix rocm

* fix

* add python library

* fix cmake

* merge

* fix

* fix

* fix conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
Frida-a pushed a commit to Frida-a/Paddle that referenced this pull request Oct 14, 2023
* [NewIR] Support Ir run program node (PaddlePaddle#56791)

* support build model in python

* fix ci bugs

* fix ci bugs

* fix compile bugs

* fix ci bugs

* add infermeta for data

* fix ci bugs

* fix ci bugs

* fix ci bugs

* fix bugs when run ir program mutiple times

* perfect code

* frontend demo debugging

* support program split and go into run program node.

* simple run the dy2static test in newir_api mode.

* remove frame.proto changes

* merge

* fix ir-run-program-node

* fix some code

* fix output error

* fix some errors

* fix

* fix

* fix

* fix conflict

* fix files

* fix some errors

* merge and solve conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>

* new pr

* fix

* fix

* fix segment error

* fix

* add dependences

* fix

* fix link error.

* fix some cmake problem

* fix

* fix

* fix dependecy

* fix

* fix

* fix circle dependence

* fix

* fix

* fix rocm

* fix

* add python library

* fix cmake

* merge

* fix

* fix

* fix conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
jiahy0825 pushed a commit to jiahy0825/Paddle that referenced this pull request Oct 16, 2023
* [NewIR] Support Ir run program node (PaddlePaddle#56791)

* support build model in python

* fix ci bugs

* fix ci bugs

* fix compile bugs

* fix ci bugs

* add infermeta for data

* fix ci bugs

* fix ci bugs

* fix ci bugs

* fix bugs when run ir program mutiple times

* perfect code

* frontend demo debugging

* support program split and go into run program node.

* simple run the dy2static test in newir_api mode.

* remove frame.proto changes

* merge

* fix ir-run-program-node

* fix some code

* fix output error

* fix some errors

* fix

* fix

* fix

* fix conflict

* fix files

* fix some errors

* merge and solve conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>

* new pr

* fix

* fix

* fix segment error

* fix

* add dependences

* fix

* fix link error.

* fix some cmake problem

* fix

* fix

* fix dependecy

* fix

* fix

* fix circle dependence

* fix

* fix

* fix rocm

* fix

* add python library

* fix cmake

* merge

* fix

* fix

* fix conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
* [NewIR] Support Ir run program node (PaddlePaddle#56791)

* support build model in python

* fix ci bugs

* fix ci bugs

* fix compile bugs

* fix ci bugs

* add infermeta for data

* fix ci bugs

* fix ci bugs

* fix ci bugs

* fix bugs when run ir program mutiple times

* perfect code

* frontend demo debugging

* support program split and go into run program node.

* simple run the dy2static test in newir_api mode.

* remove frame.proto changes

* merge

* fix ir-run-program-node

* fix some code

* fix output error

* fix some errors

* fix

* fix

* fix

* fix conflict

* fix files

* fix some errors

* merge and solve conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>

* new pr

* fix

* fix

* fix segment error

* fix

* add dependences

* fix

* fix link error.

* fix some cmake problem

* fix

* fix

* fix dependecy

* fix

* fix

* fix circle dependence

* fix

* fix

* fix rocm

* fix

* add python library

* fix cmake

* merge

* fix

* fix

* fix conflict

---------

Co-authored-by: YuanRisheng <yuanrisheng@baidu.com>
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

3 participants