Skip to content

Conversation

@BeingGod
Copy link
Contributor

Reason: some CCL not support bool dtype

PR types

Bug fixes

PR changes

Others

Description

update is_resume_from_checkpoint tensor dtype from bool to int8 because some CCL not support bool dtype.

image

Reason: some CCL not support bool dtype
@paddle-bot
Copy link

paddle-bot bot commented Jan 22, 2024

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c1ccafa) 56.67% compared to head (0e751e8) 56.67%.
Report is 4 commits behind head on develop.

Files Patch % Lines
paddlenlp/trainer/trainer.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7876   +/-   ##
========================================
  Coverage    56.67%   56.67%           
========================================
  Files          588      588           
  Lines        89243    89253   +10     
========================================
+ Hits         50580    50586    +6     
- Misses       38663    38667    +4     

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

Copy link
Contributor

@ZHUI ZHUI left a comment

Choose a reason for hiding this comment

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

LGTM

@BeingGod
Copy link
Contributor Author

可以帮忙合入一下吗? @wawltor

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 13fd655 into PaddlePaddle:develop Jan 25, 2024
xysheng-baidu pushed a commit to xysheng-baidu/PaddleNLP that referenced this pull request Feb 22, 2024
* [Bug Fix] fix allreduce tensor dtype

Reason: some CCL not support bool dtype

* update int8 to int32
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.

3 participants