#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.

Stars
3.5k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2026
Language
Python
Stars, last 30 weeks+379
2 May 2026: 3,083 stars9 May 2026: 3,101 stars16 May 2026: 3,121 stars23 May 2026: 3,133 stars30 May 2026: 3,150 stars6 Jun 2026: 3,172 stars13 Jun 2026: 3,194 stars20 Jun 2026: 3,213 stars27 Jun 2026: 3,240 stars4 Jul 2026: 3,255 stars11 Jul 2026: 3,268 stars18 Jul 2026: 3,284 stars25 Jul 2026: 3,302 stars1 Aug 2026: 3,314 stars8 Aug 2026: 3,331 stars15 Aug 2026: 3,339 stars22 Aug 2026: 3,347 stars29 Aug 2026: 3,356 stars5 Sept 2026: 3,365 stars12 Sept 2026: 3,376 stars19 Sept 2026: 3,385 stars26 Sept 2026: 3,392 stars3 Oct 2026: 3,406 stars10 Oct 2026: 3,412 stars17 Oct 2026: 3,424 stars24 Oct 2026: 3,433 stars31 Oct 2026: 3,440 stars7 Nov 2026: 3,447 stars14 Nov 2026: 3,454 stars21 Nov 2026: 3,456 stars28 Nov 2026: 3,462 stars

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

  1. “移除 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
Also in Training and fine-tuning
RankProjectScore
#54transformerlab-appML research workbench for training, fine-tuning, evaluating and chatting with models Live demo ↗ (opens in a new tab)5.2k starsAGPL-3.062 out of 100
#55polyaxonKubernetes platform for tracking, running and tuning machine learning experiments3.8k starsApache-2.062 out of 100
#57microduck_rlPPO training environments for the Microduck biped robot3k stars+234 (+8.5%) in 30 daysApache-2.062 out of 100
#58lycorisParameter-efficient fine-tuning library with LoRA, LoHa and LoKr for Stable Diffusion2.5k starsApache-2.062 out of 100
#59automodelPyTorch-native fine-tuning and pretraining for Hugging Face LLMs, VLMs and diffusion1.1k starsApache-2.061 out of 100