Skip to content

Jacklanchantin/normalized rewards #1161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from

Conversation

jacklanchantin
Copy link
Contributor

What does this PR do? Please describe:
A summary of the change or the issue that is fixed.

Fixes #{issue number}

Does your PR introduce any breaking changes? If yes, please list them:
List of all backwards-incompatible changes.

Check list:

  • Was the content of this PR discussed and approved via a GitHub issue? (no need for typos or documentation improvements)
  • Did you read the contributor guideline?
  • Did you make sure that your PR does only one thing instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests?
  • Did you verify new and existing tests pass locally with your changes?
  • Did you update the CHANGELOG? (no need for typos, documentation, or minor internal changes)

Ilia Kulikov and others added 30 commits February 22, 2025 01:36
* Add Skywork Reward Model

* reorder

* working checkpoint with skywork

* unify VllmReward class

* cleanup wrap text

* actually not quite working. needs dp gather and scatter

* add gather scatter for vllm rm

* working checkpoint

* working checkpoint

* updates

* Instantiate metric recorders on rank 0 only (#1072)

* fix gather bug

* cleanup

* comment

* add grpo (runnable, but not increasing rewards yet

* log outputs

* cleannup

* rename

* merge

* fixes

* testing online dpo after merge

* bug fix

* fixing merge errors

* fix bugs

* merged with online_training

* update grpo

* cleanup

* fix grpo bug

* cleanup

* cleanup

* isort/black

* move vllm generate_rewards to its own function

* refactor how reward models use prompt_batch

* remove breakpoint

* working chkpt

* remove irrelevant skywork stuff

---------

Co-authored-by: jacklanchantin user <[email protected]>
Co-authored-by: Can Balioglu <[email protected]>
Ilia Kulikov and others added 14 commits April 17, 2025 18:51
… wandb (#1148)

* add log_rollouts function in _online_finetune/_common.py

* set default False

* add update_batch_metrics

* add update_batch_metrics to grpo

* update_batch_metrics in validation

* wandb separate train/valid

* remove comment
* add bool to validate before training

* remove blank line

* set online training preset: validate_step_0 = True

* validate_step_0 --> validate_before_training
* add athene RM

* remove local path

* docstrings

* docstrings

* default tokenzier

* remove divpo code

* add handler

* add new vllm args

* remove valid_n
…1156)

* add validation sampling params. force sync when restoring

* force sync vllm in _maybe_restore_state

* new frorce sync

* try execpt

* raise error
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants