Skip to content

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保留其输入输出。

@paddle-bot
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
@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