Skip to content

add freeze_training flag#4340

Merged
Waynezee merged 1 commit intoPaddlePaddle:developfrom
xingmingyyj:add_freeze_training_flag
Apr 23, 2026
Merged

add freeze_training flag#4340
Waynezee merged 1 commit intoPaddlePaddle:developfrom
xingmingyyj:add_freeze_training_flag

Conversation

@xingmingyyj
Copy link
Copy Markdown
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

Others

PR changes

Others

Description

add freeze_training flag

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Apr 22, 2026

Thanks for your contribution!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 22, 2026

Codecov Report

❌ Patch coverage is 19.04762% with 17 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@eb0b65d). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddleformers/trainer/trainer.py 33.33% 6 Missing ⚠️
...ernie_pretrain/src/trainers/pretraining_trainer.py 0.00% 5 Missing ⚠️
...c/callbacks/moe_correction_bias_adjust_callback.py 0.00% 3 Missing ⚠️
paddleformers/trainer/trainer_callback.py 0.00% 3 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #4340   +/-   ##
==========================================
  Coverage           ?   38.99%           
==========================================
  Files              ?      474           
  Lines              ?    89736           
  Branches           ?        0           
==========================================
  Hits               ?    34992           
  Misses             ?    54744           
  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.

@xingmingyyj xingmingyyj reopened this Apr 22, 2026
@xingmingyyj xingmingyyj force-pushed the add_freeze_training_flag branch from cd46e89 to 8667170 Compare April 22, 2026 15:04
@Waynezee Waynezee merged commit 93217d2 into PaddlePaddle:develop Apr 23, 2026
16 of 17 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.

3 participants