Skip to content

[inference]Add support for splitting Paddle tensors. #10721

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

Merged
merged 4 commits into from
Jun 12, 2025

Conversation

bukejiyu
Copy link
Contributor

@bukejiyu bukejiyu commented Jun 10, 2025

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

Others

PR changes

Others

Description

增加paddletensor切分逻辑

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


tangbinhan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

paddle-bot bot commented Jun 10, 2025

Thanks for your contribution!

@ZHUI ZHUI self-requested a review June 10, 2025 11:49
Copy link

codecov bot commented Jun 10, 2025

Codecov Report

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

Project coverage is 46.89%. Comparing base (7309a5d) to head (36e0e00).
Report is 4 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/transformers/conversion_utils.py 16.92% 54 Missing ⚠️

❌ Your patch status has failed because the patch coverage (16.92%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project status has failed because the head coverage (46.89%) 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   #10721      +/-   ##
===========================================
- Coverage    46.93%   46.89%   -0.04%     
===========================================
  Files          800      800              
  Lines       132741   132786      +45     
===========================================
- Hits         62304    62274      -30     
- Misses       70437    70512      +75     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ZHUI ZHUI requested a review from DesmonDay June 11, 2025 02:43
tangbinhan added 2 commits June 11, 2025 17:33
Copy link
Contributor

@DesmonDay DesmonDay left a comment

Choose a reason for hiding this comment

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

LGTM

@ZHUI ZHUI merged commit 7f5d719 into PaddlePaddle:develop Jun 12, 2025
8 of 14 checks passed
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.

4 participants