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

[Infer] Add the custom_ops for paddlenlp #9794

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

zeroRains
Copy link
Contributor

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

New features

PR changes

Others

Description

为paddlenlp添加custom_ops,使用paddlenlp.custom_ops.xxx对自定义算子进行二次封装

@zeroRains zeroRains changed the title [Infer] add the custom_ops for paddlenlp [Infer] Add the custom_ops for paddlenlp Jan 17, 2025
Copy link

codecov bot commented Jan 20, 2025

Codecov Report

Attention: Patch coverage is 23.97661% with 130 lines in your changes missing coverage. Please review.

Project coverage is 52.36%. Comparing base (efd07c0) to head (4357fd0).
Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/custom_ops/custom_ops.py 34.48% 76 Missing ⚠️
...enlp/experimental/transformers/generation_utils.py 0.00% 17 Missing ⚠️
...erimental/transformers/fused_transformer_layers.py 0.00% 11 Missing ⚠️
...dlenlp/experimental/transformers/llama/modeling.py 0.00% 4 Missing ⚠️
...enlp/experimental/transformers/mixtral/modeling.py 0.00% 3 Missing ⚠️
...dlenlp/experimental/transformers/qwen2/modeling.py 0.00% 3 Missing ⚠️
...lp/experimental/transformers/qwen2_moe/modeling.py 0.00% 3 Missing ⚠️
...dlenlp/experimental/transformers/bloom/modeling.py 0.00% 2 Missing ⚠️
...p/experimental/transformers/chatglm_v2/modeling.py 0.00% 2 Missing ⚠️
...ddlenlp/experimental/transformers/qwen/modeling.py 0.00% 2 Missing ⚠️
... and 6 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9794      +/-   ##
===========================================
+ Coverage    51.81%   52.36%   +0.55%     
===========================================
  Files          732      732              
  Lines       117731   115387    -2344     
===========================================
- Hits         61003    60425     -578     
+ Misses       56728    54962    -1766     

☔ 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