Skip to content

Conversation

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

Others

PR changes

Others

Description

支持dpo-lora, qwenvl3 lora 使用fleet 组网

@paddle-bot
Copy link

paddle-bot bot commented Jan 19, 2026

Thanks for your contribution!

@codecov-commenter
Copy link

codecov-commenter commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 26.31579% with 14 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@10ebe84). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddleformers/cli/train/dpo/dpo_trainer.py 0.00% 11 Missing ⚠️
...dleformers/transformers/qwen3_vl/modeling_fleet.py 50.00% 2 Missing ⚠️
paddleformers/peft/lora/lora_model.py 50.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (26.31%) 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    #3617   +/-   ##
==========================================
  Coverage           ?   32.60%           
==========================================
  Files              ?      431           
  Lines              ?    81889           
  Branches           ?        0           
==========================================
  Hits               ?    26701           
  Misses             ?    55188           
  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.

@xiaoguoguo626807
Copy link
Contributor Author

/re-run all-failed

@xiaoguoguo626807
Copy link
Contributor Author

/re-run all-failed

model_config.max_sequence_length = data_args.max_seq_len
model_config._attn_implementation = model_args.attn_impl
model_config.is_lora = model_args.lora

Copy link
Collaborator

Choose a reason for hiding this comment

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

qwen3vl lora也需要fallback,需要确定去掉这个对qwen3vl影响,否则会报错

Copy link
Contributor Author

Choose a reason for hiding this comment

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

qwen3vl 本地已验证,没有报错

@xiaoguoguo626807
Copy link
Contributor Author

/re-run all-failed

lugimzzz
lugimzzz previously approved these changes Jan 23, 2026
Copy link
Collaborator

@lugimzzz lugimzzz left a comment

Choose a reason for hiding this comment

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

LGTM

risemeup1
risemeup1 previously approved these changes Jan 27, 2026
zjjlivein
zjjlivein previously approved these changes Jan 27, 2026
swgu98
swgu98 previously approved these changes Jan 27, 2026
@xiaoguoguo626807
Copy link
Contributor Author

/re-run all-failed

1 similar comment
@xiaoguoguo626807
Copy link
Contributor Author

/re-run all-failed

@swgu98 swgu98 merged commit 48c97c7 into PaddlePaddle:develop Jan 28, 2026
30 of 36 checks passed
@xiaoguoguo626807 xiaoguoguo626807 deleted the dpo-lora branch January 28, 2026 07:43
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.

6 participants