alibaba

    alibaba/ROLL

    #346 this week

    An Efficient and User-Friendly Scaling Library for Reinforcement Learning with Large Language Models

    ai-agents
    agentic
    rlhf
    rlvr
    Python
    Apache-2.0
    3.4K stars
    322 forks
    3.4K GitHub watchers
    Updated Oct 22, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #346 of 3,103 repositories GStars tracks this week (top 11%).

    1 release in the last 90 days, the latest 23 days ago, with 60 contributors on GitHub.

    Gained 49% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides an efficient and user-friendly reinforcement learning scaling library tailored for large language models using large-scale GPU resources.
    • Enables flexible multi-role distributed training with advanced RL algorithms and heterogeneous task scheduling for improved LLM performance and scalability.
    • Use for training multi-task reinforcement learning models covering reasoning, coding, and instruction following with asynchronous rollout and reward calculation.
    • Use for developing agentic RL applications involving multi-turn interactions, games, dialogues, and tool use with asynchronous training support.
    • Use for integrating and optimizing large-scale LLM training pipelines leveraging DeepSpeed, Megatron-LM, vLLM, and advanced device mapping for resource management.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    🚀 An Efficient and User-Friendly Scaling Library for Reinforcement Learning with Large Language Models 🚀

    ROLL is an efficient and user-friendly RL library designed for Large Language Models (LLMs) utilizing Large Scale GPU resources. It significantly enhances LLM performance in key areas such as human preference alignment, complex reasoning, and multi-turn agentic interaction scenarios.

    Leveraging a multi-role distributed architecture with Ray for flexible resource allocation and heterogeneous task scheduling, ROLL integrates cutting-edge technologies like Megatron-Core, SGLang and vLLM to accelerate model training and inference.

    Excerpt from the alibaba/ROLL README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    322+20

    Open issues

    140+22

    Compared with peers in AI Agents

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth

    alibaba/ROLL compared with AI Agents repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    morluto/rea373.3K+88.2K605 days ago
    DietrichGebert/ponytail174.8K+9.9K757 days ago
    stablyai/orca103.9K+9.5K40today
    affaan-m/ECC287.3K+6.4K6422 days ago
    Leonxlnx/taste-skill101.6K+3.8K753 days ago
    alibaba/ROLL3.4K+07523 days ago
    Category median174.8K+9.5K64—

    Also by alibaba

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description