Skip to content

Port https://github.com/NovaSky-AI/SkyRL/pull/1144 to skyrl folder#1169

Merged
pcmoritz merged 2 commits intoNovaSky-AI:mainfrom
pcmoritz:port-1144
Feb 17, 2026
Merged

Port https://github.com/NovaSky-AI/SkyRL/pull/1144 to skyrl folder#1169
pcmoritz merged 2 commits intoNovaSky-AI:mainfrom
pcmoritz:port-1144

Conversation

@pcmoritz
Copy link
Collaborator

@pcmoritz pcmoritz commented Feb 17, 2026

See #1144


Open with Devin

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully ports the CISPO loss function, integrating it across the api.py, loss_fns.py, and types.py files. The changes include updating the ForwardBackwardInput model to accept 'cispo' as a valid loss function, implementing the cispo_loss function itself, and adding 'cispo' to the relevant mappings. Furthermore, the test suite in test_engine.py has been refactored to use pytest.mark.parametrize, which improves test coverage and maintainability for different loss functions, including the newly added CISPO. The implementation is consistent with existing patterns and appears correct.

@pcmoritz pcmoritz merged commit d0eb751 into NovaSky-AI:main Feb 17, 2026
3 of 5 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.

1 participant