Skip to content

[PIR]Fix pruning for saveload and backward #68300

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

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

changeyoung98
Copy link
Contributor

@changeyoung98 changeyoung98 commented Sep 18, 2024

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

pcard-67164
saveload和backward之前的剪枝逻辑会跳过控制流while op,且array_write op由于是inplace算子,也会被跳过。
修改剪枝逻辑,对于array_write op以及while op中的array_write op保留其输入输出。

Copy link

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

@CLAassistant
Copy link

CLAassistant commented Sep 18, 2024

CLA assistant check
All committers have signed the CLA.

@changeyoung98 changeyoung98 changed the title [PIR]fix prune [PIR]Fix pruning for saveload and backward Sep 20, 2024
@changeyoung98 changeyoung98 merged commit c11c486 into PaddlePaddle:develop Sep 20, 2024
28 of 30 checks passed
@changeyoung98 changeyoung98 deleted the czy-ir branch September 20, 2024 03:17
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.

3 participants