Skip to content

Add ppo as alias for dual_clip policy loss type#1481

Draft
j316chuck wants to merge 3 commits intoNovaSky-AI:mainfrom
j316chuck:main
Draft

Add ppo as alias for dual_clip policy loss type#1481
j316chuck wants to merge 3 commits intoNovaSky-AI:mainfrom
j316chuck:main

Conversation

@j316chuck
Copy link
Copy Markdown

@j316chuck j316chuck commented Apr 8, 2026

Summary

  • Adds ppo as an alias for dual_clip in PolicyLossType enum and PolicyLossRegistry
  • Registers ppo to the same ppo_policy_loss function as dual_clip
  • Keeps naming consistent with SkyRL conventions (policy_loss_type: ppo)

Testing

Tested on 1x8xH100, dual_clip and ppo produce the same loss curves

j316chuck and others added 3 commits April 8, 2026 18:16
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add ppo as alias for dual_clip policy loss type
Changed the ppo_policy_loss function to treat "ppo" the same as "regular"
rather than grouping it with "dual_clip". This means "ppo" will now use
standard PPO clipping without the additional dual-clip logic for negative
advantages.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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