Skip to content

Run make precommit to fix docstring style#5436

Merged
albertvillanova merged 4 commits intohuggingface:mainfrom
albertvillanova:fix-style-grpo
Apr 2, 2026
Merged

Run make precommit to fix docstring style#5436
albertvillanova merged 4 commits intohuggingface:mainfrom
albertvillanova:fix-style-grpo

Conversation

@albertvillanova
Copy link
Copy Markdown
Member

@albertvillanova albertvillanova commented Apr 2, 2026

Run make precommit to fix docstring style.


Note

Low Risk
Low risk: changes are docstring reflow/line-wrapping only, with no behavioral or API modifications.

Overview
Runs formatting to satisfy docstring style checks by reflowing long docstring lines in GRPOTrainer._get_vision_token_ids, GRPOTrainer._truncate_at_image_boundary, and split_pixel_values_by_grid.

Written by Cursor Bugbot for commit 889acd7. This will update automatically on new commits. Configure here.

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

@albertvillanova
Copy link
Copy Markdown
Member Author

The failing tests are unrelated.

[XPASS(strict)] Upstream issue with transformers 5.5.0.dev0, see #5425

I am addressing them in a separate PR:

@albertvillanova albertvillanova merged commit 9fdb1f3 into huggingface:main Apr 2, 2026
12 of 13 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