Skip to content

【FSDP】Add FSDP config#4218

Open
Xing-lil wants to merge 1 commit intoPaddlePaddle:developfrom
Xing-lil:add_fsdp_dy
Open

【FSDP】Add FSDP config#4218
Xing-lil wants to merge 1 commit intoPaddlePaddle:developfrom
Xing-lil:add_fsdp_dy

Conversation

@Xing-lil
Copy link
Copy Markdown
Contributor

@Xing-lil Xing-lil commented Apr 3, 2026

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 FSDP config
using FSDP with sharding: "fsdp" in yaml

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Apr 3, 2026

Thanks for your contribution!

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
paddleformers/trainer/trainer.py 25.00% 3 Missing ⚠️

❌ Your patch status has failed because the patch coverage (40.00%) 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    #4218   +/-   ##
==========================================
  Coverage           ?   33.81%           
==========================================
  Files              ?      467           
  Lines              ?    88415           
  Branches           ?        0           
==========================================
  Hits               ?    29895           
  Misses             ?    58520           
  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