Skip to content

【Cherry-pick】Cherry-pick FlexCheckpoint PRs from develop to fleety_12 - #76252

Merged
From00 merged 4 commits into
PaddlePaddle:fleety_12from
xingmingyyj:cp_fc_fleety_12
Nov 6, 2025
Merged

From00 merged 4 commits into
PaddlePaddle:fleety_12from
xingmingyyj:cp_fc_fleety_12

Conversation

@xingmingyyj

@xingmingyyj xingmingyyj commented Nov 5, 2025 •

Copy link
Copy Markdown
Contributor

PR Category

User Experience

PR Types

New features

Description

devPR:#75556
devPR:#75928
devPR:#76013
devPR:#76234

zty-king and others added 4 commits November 6, 2025 00:26
* fix_the_layer_id_macro

* fix the ctest

* add expert_id_macro

* fix the assert bug

* fix the code style
* support hf checkpoint

fix

support cast

add id macro

fix

* add test and fix some bug

* fix full param bug

* add full param cast test

---------

Co-authored-by: xingmingyyj <zxm_3791@163.com>
* add_get_var_mapping_chain_macro

* add note

* fix the bug input_vars and resolve_mapping_chain

* fix the code style

* fit the dtype assert bug

* fix the bug

* fix the merge_sharded_state_dict bug
@paddle-bot

paddle-bot Bot commented Nov 5, 2025

Copy link
Copy Markdown

你的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.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.40924% with 23 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (fleety_12@fe8aaaa). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ddle/distributed/flex_checkpoint/aoa/aoa_engine.py 78.04% 9 Missing ⚠️
...n/paddle/distributed/flex_checkpoint/aoa/macros.py 94.69% 6 Missing ⚠️
...distributed/flex_checkpoint/dcp/load_state_dict.py 88.88% 3 Missing ⚠️
...on/paddle/distributed/flex_checkpoint/dcp/utils.py 96.00% 3 Missing ⚠️
...ddle/distributed/flex_checkpoint/dcp/full_param.py 94.11% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             fleety_12   #76252   +/-   ##
============================================
  Coverage             ?   92.40%           
============================================
  Files                ?        6           
  Lines                ?      303           
  Branches             ?        0           
============================================
  Hits                 ?      280           
  Misses               ?       23           
  Partials             ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xingmingyyj

Copy link
Copy Markdown
Contributor Author

/re-run all-failed

@From00 From00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@From00
From00 merged commit 1fa7b0a into PaddlePaddle:fleety_12 Nov 6, 2025
92 of 100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants