Skip to content

[PIR save/load] Save/load version-compat #66359

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
Jul 23, 2024

Conversation

changeyoung98
Copy link
Contributor

@changeyoung98 changeyoung98 commented Jul 22, 2024

PR Category

Execute Infrastructure

PR Types

Improvements

Description

pcard-67164
save/load 版本兼容

  • 修改attribute兼容bug,将patch merge下沉到read attribute阶段
  • 新增patch规则,新增type patch建立规则
  • 新增attr和type的merge patch规则

Copy link

paddle-bot bot commented Jul 22, 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.

Copy link
Contributor

@xiaoguoguo626807 xiaoguoguo626807 left a comment

Choose a reason for hiding this comment

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

补充一下描述信息

auto op_name = node["op_name"].as<std::string>();
GetCompressOpName(&op_name);
if (op_name == "0.parameter") {
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. 改为函数

@changeyoung98 changeyoung98 changed the title [PIR save/load] version-compat [PIR save/load] Save/load version-compat Jul 23, 2024
@changeyoung98 changeyoung98 merged commit 3110fed into PaddlePaddle:develop Jul 23, 2024
31 checks passed
@changeyoung98 changeyoung98 deleted the czy-saveload branch July 23, 2024 07:37
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