Skip to content

Conversation

@SolarWindRider
Copy link
Contributor

1. Fix a little bug in GRPOTrainer.

When inputs are conversational, bootstrap is a list not str, causing a str concat error.

I add a bootstrap type check to fix the bug while maintain the original program

Copy link
Member

@albertvillanova albertvillanova left a comment

Choose a reason for hiding this comment

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

I think you mixed 2 contributions in this PR:

  • Fix bug in GRPOTrainer
  • Add experimental RTPO

I would suggest you split your contributions in 2 PRs, and keep here only the bug fix.

SolarWindRider and others added 2 commits November 5, 2025 18:33
Co-authored-by: Albert Villanova del Moral <[email protected]>
Co-authored-by: Albert Villanova del Moral <[email protected]>
@SolarWindRider
Copy link
Contributor Author

SolarWindRider commented Nov 5, 2025

Thank you for your suggestion

@SolarWindRider
Copy link
Contributor Author

I think you mixed 2 contributions in this PR:

* Fix bug in GRPOTrainer

* Add experimental RTPO

I would suggest you split your contributions in 2 PRs, and keep here only the bug fix.

The problem is I don't know how to split it into 2 PR2 properly.

@qgallouedec qgallouedec changed the title fix: fix a little bug in GRPOTrainer Support completion bootstrap for VLM in GRPO/RLOO Nov 6, 2025
Copy link
Member

@qgallouedec qgallouedec left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@qgallouedec qgallouedec enabled auto-merge (squash) November 6, 2025 22:54
@qgallouedec qgallouedec disabled auto-merge November 6, 2025 22:55
@qgallouedec qgallouedec merged commit 43b6541 into huggingface:main Nov 6, 2025
11 checks passed
@SolarWindRider
Copy link
Contributor Author

Thank you guys! @qgallouedec @albertvillanova
♪(・ω・)ノ

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.

4 participants