Skip to content

Conversation

@DesmonDay
Copy link
Contributor

PR types

Others

PR changes

Others

Description

  1. Add new training argument, output_signal_dir, which is used to save asynchronous saving signal.
  2. Fix async saving hang, when the asynchronous process is exited, raise RuntimeError directly.

@paddle-bot
Copy link

paddle-bot bot commented Oct 15, 2024

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 54 lines in your changes missing coverage. Please review.

Project coverage is 53.08%. Comparing base (0e96b0f) to head (992063c).
Report is 268 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/plugins/unified_checkpoint.py 9.37% 29 Missing ⚠️
paddlenlp/trainer/trainer.py 29.03% 22 Missing ⚠️
paddlenlp/trainer/trainer_utils.py 25.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9274      +/-   ##
===========================================
+ Coverage    52.95%   53.08%   +0.13%     
===========================================
  Files          657      657              
  Lines       106478   106521      +43     
===========================================
+ Hits         56383    56547     +164     
+ Misses       50095    49974     -121     

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

Copy link
Contributor

@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

@wawltor wawltor merged commit 697a4cc into PaddlePaddle:develop Oct 16, 2024
9 of 12 checks passed
DesmonDay added a commit to DesmonDay/PaddleNLP that referenced this pull request Oct 16, 2024
* update async save signal

* fix async save hang
DesmonDay added a commit to DesmonDay/PaddleNLP that referenced this pull request Oct 16, 2024
* update async save signal

* fix async save hang
DesmonDay added a commit to DesmonDay/PaddleNLP that referenced this pull request Oct 16, 2024
* update async save signal

* fix async save hang
DesmonDay added a commit to DesmonDay/PaddleNLP that referenced this pull request Oct 16, 2024
* update async save signal

* fix async save hang
DesmonDay added a commit that referenced this pull request Oct 16, 2024
* update async save signal

* fix async save hang
DesmonDay added a commit that referenced this pull request Oct 16, 2024
* [Unified Checkpoint] Support expert parallel (#9055)

* update code

* [Unified Checkpoint] Fix generation config save (#9223)

* [Unified Checkpoint] update async_save_info in develop (#9173)

* [Unified Checkpoint] update async save logic (#9274)

* update async save signal

* fix async save hang

* bug fix

---------

Co-authored-by: Weiguo Zhu <[email protected]>
DesmonDay added a commit that referenced this pull request Oct 17, 2024
* [Unified Checkpoint] update async save logic (#9274)

* update async save signal

* fix async save hang

* bug fix
wawltor pushed a commit that referenced this pull request Oct 17, 2024
* [Unified Checkpoint] update async save logic (#9274)

* update async save signal

* fix async save hang

* bug fix

* [Trainer] fix save_model (#9286)

* bug fix

* bug fix
wawltor pushed a commit that referenced this pull request Oct 17, 2024
* [Unified Checkpoint] Support expert parallel (#9055)

* update code

* [Unified Checkpoint] Fix generation config save (#9223)

* [Unified Checkpoint] update async_save_info in develop (#9173)

* [Unified Checkpoint] update async save logic (#9274)

* update async save signal

* fix async save hang

* bug fix

* bug fix

* [Trainer] fix save_model (#9286)

* bug fix

* bug fix

---------

Co-authored-by: Weiguo Zhu <[email protected]>
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.

2 participants