Skip to content

Conversation

kashif
Copy link
Collaborator

@kashif kashif commented Mar 13, 2025

What does this PR do?

allow setting the cache_implementation for GenerationConfig in the GRPO Trainer for faster generation via Transformers

@kashif kashif requested a review from qgallouedec March 13, 2025 17:17
@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 changed the title [GRPO] add cache_implementation option in GRPO 🫣 [GRPO] add cache_implementation option in GRPO Mar 13, 2025
Co-authored-by: Quentin Gallouédec <[email protected]>
@kashif kashif merged commit fc4dae2 into main Mar 13, 2025
14 checks passed
@kashif kashif deleted the grpo-cache_implementation branch March 13, 2025 18:21
yxliu-TAMU pushed a commit to mincheolseong/ECEN743-GRPO-Project-Proposal that referenced this pull request Apr 20, 2025
* add cache_implementation option in GRPO

* add cache_implementation to config

* Update trl/trainer/grpo_config.py

Co-authored-by: Quentin Gallouédec <[email protected]>

---------

Co-authored-by: Quentin Gallouédec <[email protected]>
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