Open
Conversation
jamesbraza
approved these changes
Apr 16, 2026
jamesbraza
left a comment
There was a problem hiding this comment.
LGTM, few comments. Note I am unassociated with SkyRL team
| rope_scaling: Optional[Dict[str, Any]] = None | ||
| rope_theta: Optional[float] = None | ||
| log_example_interval: int = 1 | ||
| """Log an example prompt every N training steps, ``-1`` to disable""" |
There was a problem hiding this comment.
Should we document the implication of setting to 0? It seems 0 also silently disables it right now
| dump_eval_results: bool = True | ||
| rope_scaling: Optional[Dict[str, Any]] = None | ||
| rope_theta: Optional[float] = None | ||
| log_example_interval: int = 1 |
There was a problem hiding this comment.
Hugging Face has a logging_first_step: bool that let's you control if logs are emitted when global step is 0, what do you think of adding that one too?
Contributor
Author
There was a problem hiding this comment.
Logs here are already emitted when global_step is 0 since we take global_step % log_interval == 0 so you see the first logs in every scenario unless it's turned off, so I'd probs not add that new config field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re: Configuration flag(s) to disable log_example in training/eval loops #1497
New
log_example_intervalconfig field controls how frequently train logs the prompt, response and reward.Train:
Evaluate
eval_intervalalready controls eval frequency