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

[Optimization] Support context_parallel_spliter for cp #9904

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

zhangyuqin1998
Copy link
Contributor

@zhangyuqin1998 zhangyuqin1998 commented Feb 19, 2025

Before submitting

PR types

Function optimization

PR changes

Others

Description

Support for context_parallel_spliter in context_parallel (cp). Users are able to set a custom splitter to divide the input when using cp.

Copy link

paddle-bot bot commented Feb 19, 2025

Thanks for your contribution!

@zhangyuqin1998 zhangyuqin1998 force-pushed the context_parallel_spliter branch from d43aa66 to b1fb8b8 Compare February 19, 2025 09:43
Copy link

codecov bot commented Feb 19, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 51.41%. Comparing base (08183d7) to head (b1fb8b8).
Report is 8 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/trainer.py 40.00% 3 Missing ⚠️

❌ Your patch check has failed because the patch coverage (40.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project check has failed because the head coverage (51.41%) is below the target coverage (58.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #9904   +/-   ##
========================================
  Coverage    51.40%   51.41%           
========================================
  Files          745      745           
  Lines       118373   118377    +4     
========================================
+ Hits         60853    60861    +8     
+ Misses       57520    57516    -4     

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

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.

1 participant