Skip to content

fix: move stop_reason checking logic before list truncation#81

Merged
SumanthRH merged 1 commit intoNovaSky-AI:mainfrom
hank0316:main
Jul 12, 2025
Merged

fix: move stop_reason checking logic before list truncation#81
SumanthRH merged 1 commit intoNovaSky-AI:mainfrom
hank0316:main

Conversation

@hank0316
Copy link
Contributor

Ensure that stop_reason is set before truncating loss_mask and response_ids to maintain correct logic and avoid inconsistencies.

Copy link
Member

@SumanthRH SumanthRH left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@SumanthRH SumanthRH merged commit 6aa073e into NovaSky-AI:main Jul 12, 2025
3 checks passed
fannie1208 pushed a commit to vinid/SkyRL that referenced this pull request Aug 19, 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.

2 participants