Skip to content

Conversation

@Wennie396
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

增加cp基础组件,并为GLM提供CP切分功能

@paddle-bot
Copy link

paddle-bot bot commented Nov 12, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

codecov-commenter commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 18.38565% with 364 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@26d3e2c). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ddleformers/transformers/context_parallel_utils.py 17.09% 228 Missing ⚠️
paddleformers/transformers/glm4_moe/modeling.py 18.36% 40 Missing ⚠️
paddleformers/trainer/trainer_callback.py 0.00% 27 Missing ⚠️
paddleformers/trainer/training_args.py 46.66% 16 Missing ⚠️
paddleformers/transformers/moe_gate.py 5.88% 16 Missing ⚠️
paddleformers/data/dist_dataloader.py 0.00% 12 Missing ⚠️
paddleformers/trainer/trainer_utils.py 31.25% 11 Missing ⚠️
paddleformers/nn/criterion/sft_loss.py 30.00% 7 Missing ⚠️
paddleformers/nn/pp_model.py 20.00% 4 Missing ⚠️
paddleformers/nn/criterion/loss_utils.py 0.00% 2 Missing ⚠️
... and 1 more

❌ Your patch status has failed because the patch coverage (18.38%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2922   +/-   ##
==========================================
  Coverage           ?   31.35%           
==========================================
  Files              ?      420           
  Lines              ?    68831           
  Branches           ?        0           
==========================================
  Hits               ?    21580           
  Misses             ?    47251           
  Partials           ?        0           

☔ 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.

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