reasoning-gym/examples/veRL
Oliver Stanley bd13b1b92a
Fix chain sum veRL example for latest veRL (#371)
* fixes for latest verl

* add balance_batch cofg

* 1 -> 2 gpu

* tweaks

* also add raw ids to server script
2025-03-14 20:15:54 +01:00
..
basic_curriculum Basic curriculum (#198) 2025-03-07 11:22:12 +01:00
chain_sum Fix chain sum veRL example for latest veRL (#371) 2025-03-14 20:15:54 +01:00
.gitignore first bits of veRL example 2025-02-01 21:20:36 +00:00
README.md Fix chain sum veRL example for latest veRL (#371) 2025-03-14 20:15:54 +01:00

env setup

conda create --name verl python=3.11 -y
conda activate verl

pip install flash-attn --no-build-isolation
pip install ray wandb
# pip3 install vllm==0.7.0
pip3 install vllm --pre --extra-index-url https://wheels.vllm.ai/nightly

Regarding vllm>0.7 see: docs

clone and install veRL

tested with verl HEAD c34206925e2a50fd452e474db857b4d488f8602d

git clone https://github.com/volcengine/verl.git
cd verl
pip install -e .

Optionally log in to huggingface hub and wandb with your keys:

huggingface-cli login
wandb login