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

fix xpu gather for unified ckpt #8710

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

FeixLiu
Copy link
Contributor

@FeixLiu FeixLiu commented Jul 4, 2024

PR types

Bug fixes

PR changes

Others

Description

fix xpu gather for unified ckpt

Copy link

paddle-bot bot commented Jul 4, 2024

Thanks for your contribution!

Copy link

codecov bot commented Jul 4, 2024

Codecov Report

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

Project coverage is 55.73%. Comparing base (70564ba) to head (2f899f9).
Report is 217 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/plugins/unified_checkpoint.py 25.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8710      +/-   ##
===========================================
- Coverage    55.73%   55.73%   -0.01%     
===========================================
  Files          623      623              
  Lines        97459    97464       +5     
===========================================
+ Hits         54323    54324       +1     
- Misses       43136    43140       +4     

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

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

@wawltor wawltor merged commit e471b1e into PaddlePaddle:develop Jul 5, 2024
9 of 12 checks passed
@FeixLiu FeixLiu deleted the fix_unified_ckpt branch July 5, 2024 02:21
FeixLiu added a commit to FeixLiu/PaddleNLP that referenced this pull request Jul 26, 2024
gongel pushed a commit that referenced this pull request Jul 31, 2024
* xpu use allgather (#8697)

* xpu use allgather

* xpu use allgather

* fix xpu gather for unified ckpt (#8710)

* bug fix (#8730)

* [XPU] use allgather and fp32 multinomial for XPU (#8787)

---------

Co-authored-by: houj04 <35131887+houj04@users.noreply.github.com>
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