-
Notifications
You must be signed in to change notification settings - Fork 17
[algo] Adding CISPO policy loss #150
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
Open
twkillian
wants to merge
21
commits into
verl-latest
Choose a base branch
from
verl-latest-cispo
base: verl-latest
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,404
−1,285
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4d704a0
Added CISPO loss function
twkillian 5c448ad
Configurations and small debugging to get CISPO running
twkillian 015a6b8
Completing verl-expected policy loss signature
twkillian 154135e
Update to rull full on-policy
twkillian fd9fd42
Fixing CISPO IS clipping to be one-sided as intended
twkillian 73d2b95
Sync
twkillian 99c7c65
sync
twkillian 9019074
Sync
twkillian 312ed82
Sync with Latex and sympy commented out from naive_dapo.py
twkillian 61cb565
Sync
twkillian dc631bd
Updating rewards to better handle OmniMath scoring
twkillian b405647
Sync
twkillian 235af1a
Updated reward functions from the async branch
twkillian 68c4492
sync
twkillian e132514
Synch
twkillian dc4300c
fix reward functions
nightlessbaron 8e671a0
delete 7B script
nightlessbaron b69d7e7
add parsing timeout
nightlessbaron 47b4ccc
fix critical bugs in reward functions
nightlessbaron 2f0dc5b
sync
twkillian c87f0df
sync
twkillian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/bin/bash | ||
| #SBATCH --job-name=server_math_llm_as_verifier | ||
| #SBATCH --partition=higherprio | ||
| #SBATCH --nodes=1 | ||
| #SBATCH --ntasks=1 | ||
| #SBATCH --cpus-per-task=64 | ||
| #SBATCH --gres=gpu:8 | ||
| #SBATCH --time=720:00:00 | ||
| #SBATCH --output=slurm/serve_math_llm_as_verifier_%j.log | ||
| #SBATCH --error=slurm/serve_math_llm_as_verifier_%j.log | ||
|
|
||
|
|
||
| # (1) detect this node’s primary IP | ||
| NODE_IP=$(hostname -I | awk '{print $1}') | ||
| echo "Detected NODE_IP = $NODE_IP" | ||
|
|
||
| # (2) export judge URL for downstream clients | ||
| export MATH_LLM_JUDGE_URL="http://${NODE_IP}:8000" | ||
| echo "MATH_LLM_JUDGE_URL=$MATH_LLM_JUDGE_URL" | ||
|
|
||
| # (3) launch the vLLM server bound to that IP | ||
| vllm serve openai/gpt-oss-120b --host "$NODE_IP" --data-parallel-size 8 --enable-expert-parallel |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo, it would be ideal to create another directory called cispo instead of adding modifications in dapo