Skip to content

Deprecate max_prompt_length in RLOOTrainer#4703

Merged
albertvillanova merged 2 commits into
huggingface:mainfrom
albertvillanova:deprecate-max-prompt-length
Dec 17, 2025
Merged

Deprecate max_prompt_length in RLOOTrainer#4703
albertvillanova merged 2 commits into
huggingface:mainfrom
albertvillanova:deprecate-max-prompt-length

Conversation

@albertvillanova

Copy link
Copy Markdown
Member

Deprecate max_prompt_length in RLOOTrainer.

Align the deprecation as in GRPOTrainer, introduced in:

This alignment is required to make simpler this PR:

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

Comment thread trl/trainer/rloo_trainer.py Outdated

@qgallouedec qgallouedec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, the natural following one would be #4706

@albertvillanova albertvillanova merged commit ca54e24 into huggingface:main Dec 17, 2025
7 of 9 checks passed
songhappy pushed a commit to songhappy/trl that referenced this pull request Apr 20, 2026
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