Skip to content

Deprecate max_prompt_length in RLOOTrainer#4703

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

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

Conversation

@albertvillanova
Copy link
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

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.

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, the natural following one would be #4706

@albertvillanova albertvillanova merged commit ca54e24 into huggingface:main Dec 17, 2025
7 of 9 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