fix pdc resume bug - #4899
Open
lugimzzz wants to merge 3 commits into
Open
Conversation
lugimzzz
commented
Aug 20, 2026
| logger.info( | ||
| f"init_step == 0 and user has defined resume_from_checkpoint: {user_defined_resume_from_checkpoint}" | ||
| ) | ||
| if args.get("load_from_hf", False) and not args.get("ignore_load_lr_and_optim", False): |
Collaborator
Author
There was a problem hiding this comment.
当前都是通过user_defined_resume_from_checkpoint来初始化权重的, load_from_hf 如果为True的话,ignore_load_lr_and_optim为需要设为True
PaddleFormers Log Analysis
日志分析报告
失败的测试 case: 根本原因分析: 修复建议:
🔄 每次 Re-run 后自动更新 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Description
当前容错重启的时候需要手动修改yaml
开始训练需要设置
开启容错续训的时候又需要:
为了降低使用成本做此修改。ignore_load_lr_and_optim 这个开关用户根据实际续训需要设置为True或False,load_from_hf在续训的时候会自动设为False避免报错