#5656th of 126 in Training and fine-tuning
roll
Ray-based reinforcement learning library for post-training LLMs on GPU clusters
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts roll on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.roll is on your watch list. Its new releases and problems show there.
- Stars
- 3.5k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Sep 2026
- Language
- Python
3,083 on 2 May 20263,462 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
ROLL is an Alibaba library for reinforcement learning on large language models, covering RLVR (math, code, reasoning), multi-turn agentic RL, distillation, DPO and SFT pipelines. It uses Ray to place roles across GPUs, with vLLM or SGLang for generation and FSDP2 or Megatron-Core for training. Algorithms include PPO, GRPO, GSPO, Reinforce++, TOPR and GiGPO.
Who it is for: ML engineers running RL post-training of LLMs on multi-GPU clusters
Strengths
- Supports Megatron-LM 5D parallelism and FSDP2, scaling from one node to large clusters
- Generation runs on vLLM or SGLang; training on FSDP2 or Megatron
- Async rollout and async training for both RLVR and agentic pipelines
- Runs on NVIDIA, AMD and Huawei Ascend hardware; logs to SwanLab, WandB, TensorBoard
Weaknesses
- Needs multi-GPU infrastructure and Ray; not practical on a single consumer GPU
- No Dockerfile or compose file detected in the repository
- Some features are labeled under development, such as FP8 rollout with BF16 training
- Many YAML configs and backend choices make initial setup involved
What it needs
- GPU required
- Docker
- Needs Ray, vLLM, SGLang, Megatron-Core, FSDP2
- Models: Qwen2.5, Qwen3, Qwen3-MoE, Qwen3-Next, Qwen3.5
What changed
- v0.4.0 ↗ (opens in a new tab)Breaking
“移除 roll/utils/offloadnccl.py,NCCL offload 请使用原生 suspend/resume(roll/utils/ncclsuspend.py)”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #54 | transformerlab-appML research workbench for training, fine-tuning, evaluating and chatting with models | 62 out of 100 |
| #55 | polyaxonKubernetes platform for tracking, running and tuning machine learning experiments | 62 out of 100 |
| #57 | microduck_rlPPO training environments for the Microduck biped robot | 62 out of 100 |
| #58 | lycorisParameter-efficient fine-tuning library with LoRA, LoHa and LoKr for Stable Diffusion | 62 out of 100 |
| #59 | automodelPyTorch-native fine-tuning and pretraining for Hugging Face LLMs, VLMs and diffusion | 61 out of 100 |