Skip to content

Conversation

qgallouedec
Copy link
Member

First training, (orange) from 0 to 100 timestep
Second training (purple), resume from timestep 40: curves overlap.
Screenshot 2025-03-30 at 20 24 01
Screenshot 2025-03-30 at 20 24 06

@qgallouedec qgallouedec marked this pull request as ready for review April 1, 2025 21:18
@@ -481,7 +480,7 @@ def data_collator(features): # No data collation is needed in GRPO
# vLLM specific sampling arguments
self.guided_decoding_regex = args.vllm_guided_decoding_regex

self._last_loaded_step = 0 # tag to avoid useless loading during grad accumulation
self._last_loaded_step = -1 # tag to avoid useless loading during grad accumulation
Copy link
Member Author

Choose a reason for hiding this comment

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

Make sure that for the very first generation, the model loaded is the same as that of the model running on the server.

@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 ⏯️ Fix resuming from checkpoint GRPO ⏯️ Fix logging when resuming from checkpoint GRPO Apr 1, 2025
@qgallouedec qgallouedec merged commit 65308cf into main Apr 5, 2025
8 of 10 checks passed
@qgallouedec qgallouedec deleted the fix_resume_from_checkpoint branch April 5, 2025 04:51
yxliu-TAMU pushed a commit to mincheolseong/ECEN743-GRPO-Project-Proposal that referenced this pull request Apr 20, 2025
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