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

[Unified Checkpoint] Accelerate loading checkpoint by multi-thread #9034

Merged
merged 11 commits into from
Oct 24, 2024

Conversation

Crystal-X-111
Copy link
Contributor

PR types

Performance optimization

PR changes

Others

Description

Accelerate loading checkpoint (only safetensors) by multi-thread

Copy link

paddle-bot bot commented Aug 28, 2024

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Aug 28, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 42.50000% with 23 lines in your changes missing coverage. Please review.

Project coverage is 52.81%. Comparing base (6211e3d) to head (2294105).
Report is 259 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/transformers/model_utils.py 42.50% 23 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9034      +/-   ##
===========================================
- Coverage    53.44%   52.81%   -0.64%     
===========================================
  Files          664      660       -4     
  Lines       109935   106869    -3066     
===========================================
- Hits         58757    56443    -2314     
+ Misses       51178    50426     -752     

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

@ZHUI ZHUI requested a review from DesmonDay September 3, 2024 09:10
@wawltor wawltor merged commit 7551730 into PaddlePaddle:develop Oct 24, 2024
9 of 12 checks passed
Copy link
Collaborator

@wawltor wawltor left a comment

Choose a reason for hiding this comment

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

LGTM

DesmonDay pushed a commit to DesmonDay/PaddleNLP that referenced this pull request Oct 25, 2024
…addlePaddle#9034)

* [Unified Checkpoint] speed up loading checkpoint by multi thread

* [Unified CHeckpoint] speed up load by multi-thread

* [Unified CHeckpoint] speed up load by multi-thread

* [Unified CHeckpoint] speed up load by multi-thread

* Unified CHeckpoint] speed up loading checkpoint by  multi-thread

* Unified CHeckpoint] speed up loading checkpoint by  multi-thread

* Unified CHeckpoint] speed up loading checkpoint by  multi-thread

* Unified CHeckpoint] speed up loading checkpoint by  multi-thread

* Unified CHeckpoint] speed up loading checkpoint by  multi-thread

* Unified CHeckpoint] speed up loading checkpoint by  multi-thread
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