Skip to content
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

Refine checkpoint converter #9001

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

zhangbo9674
Copy link
Contributor

@zhangbo9674 zhangbo9674 commented Aug 26, 2024

PR types

New features

PR changes

Others

Description

Refine checkpoint converter:

  • add a llama unittest for ckpt convert
  • support ignore_lr_and_optimizer argument
  • filter scalar.pdparam convert

Copy link

paddle-bot bot commented Aug 26, 2024

Thanks for your contribution!

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

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

Project coverage is 54.12%. Comparing base (9f6b486) to head (a88b02a).
Report is 232 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/utils/ckpt_converter.py 0.00% 19 Missing ⚠️
paddlenlp/trainer/auto_trainer.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9001      +/-   ##
===========================================
- Coverage    54.51%   54.12%   -0.39%     
===========================================
  Files          648      650       +2     
  Lines       103473   103933     +460     
===========================================
- Hits         56406    56258     -148     
- Misses       47067    47675     +608     

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


🚨 Try these New Features:

Copy link
Collaborator

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@ZHUI ZHUI merged commit a0609e8 into PaddlePaddle:develop Aug 27, 2024
9 of 12 checks passed
lixcli pushed a commit to lixcli/PaddleNLP that referenced this pull request Aug 28, 2024
lixcli pushed a commit to lixcli/PaddleNLP that referenced this pull request Aug 28, 2024
lixcli pushed a commit to lixcli/PaddleNLP that referenced this pull request Aug 28, 2024
Mangodadada pushed a commit to Mangodadada/PaddleNLP that referenced this pull request Sep 10, 2024
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