Skip to content

Fix the _save function so that it can save the optimizer parameters. #10789

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 4 commits into from
Jul 8, 2025

Conversation

zty-king
Copy link
Contributor

@zty-king zty-king commented Jul 1, 2025

PR types

Bug fixes

PR changes

APIs

Description

修复_save函数无法保存optimizer参数的问题

Copy link

codecov bot commented Jul 1, 2025

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 46.80%. Comparing base (53545aa) to head (a76891d).
Report is 8 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/auto_trainer.py 0.00% 4 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project status has failed because the head coverage (46.80%) is below the target coverage (58.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #10789      +/-   ##
===========================================
+ Coverage    46.75%   46.80%   +0.05%     
===========================================
  Files          802      802              
  Lines       133721   133728       +7     
===========================================
+ Hits         62518    62597      +79     
+ Misses       71203    71131      -72     

☔ 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.

Copy link

paddle-bot bot commented Jul 2, 2025

Thanks for your contribution!

@zty-king
Copy link
Contributor Author

zty-king commented Jul 5, 2025

/re-run all-failed

@xuxinyi389
Copy link
Contributor

LGTM

Copy link
Collaborator

@From00 From00 left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit 78741f9 into PaddlePaddle:develop Jul 8, 2025
9 of 12 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.

5 participants