Skip to content

feat(score-centring): Allow score centring term for adaptive-ppo-clip - #5013

Merged
terrykong merged 1 commit into
mainfrom
smahdavi/adaptive-ppo-clip-sc
Nov 3, 2026
Merged

terrykong merged 1 commit into
mainfrom
smahdavi/adaptive-ppo-clip-sc

Conversation

@smahdavi4

Copy link
Copy Markdown
Contributor

What does this PR do ?

Enables score centring to be applied to adaptive-ppo-clip importance sampling.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you run the unit tests and functional tests locally? Visit our Testing Guide for how to run tests
  • Did you add or update any necessary documentation? Visit our Document Development Guide for how to write, build and test the docs.

@copy-pr-bot

copy-pr-bot Bot commented Nov 1, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Nov 1, 2026

@guyueh1 guyueh1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for contributing this change, LGTM

@smahdavi4 smahdavi4 added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Nov 2, 2026
@smahdavi4

Copy link
Copy Markdown
Contributor Author

/ok to test cd05783

@terrykong
terrykong merged commit 4080612 into main Nov 3, 2026
95 checks passed
@terrykong
terrykong deleted the smahdavi/adaptive-ppo-clip-sc branch November 3, 2026 19:44
isomap added a commit to isomap/RL that referenced this pull request Nov 5, 2026
Resolve the conflicts with NVIDIA-NeMo#5013 (adaptive-ppo-clip for score centering):
compute_score_centering_term takes both sampler_replay and the
adaptive-ppo-clip arguments, and ClippedPGLossFn passes all of them. Under
replay rho is zero, so adaptive-ppo-clip drops the tail coefficient the way
it does any infinite tail ratio; the alpha term is zero-sum over S_q either
way. The replay unit tests now also cover adaptive-ppo-clip, and the
functional score-centering smoke keeps both the replay and per-mode checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Hayate Iso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants