slime-rl-training

Integrate Megatron-LM training with SGLang rollout for RL post-training.

Updated May 11, 2026
One-click install
npx skills add https://github.com/jason660519/Project-Manager --skill slime-rl-training-jason660519
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slime-rl-training
Source: https://github.com/jason660519/Project-Manager/tree/main/hermes-agent/optional-skills/mlops/slime
Command: npx skills add https://github.com/jason660519/Project-Manager --skill slime-rl-training-jason660519

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

slime provides a unified framework for post-training reinforcement learning of large language models by integrating Megatron-LM training with SGLang rollout, enabling efficient RL-based optimization of model behavior.

Core Features & Use Cases

  • End-to-end RL post-training for GLM/Qwen/Llama family models using Megatron-LM and SGLang
  • Flexible data generation and rollout workflows with configurable buffers
  • Multi-turn, tool-using, and on-policy/off-policy RL training scenarios for research and production

Quick Start

Provide your model config and training data to begin RL scaling with slime.

Frequently Asked Questions about slime-rl-training

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up reinforcement learning post-training for large language models?

Reinforcement learning post-training for large language models is set up by unifying Megatron-LM training with SGLang rollout. This framework provides configurable data buffers and pipelines to efficiently optimize model behavior using algorithms like GRPO and PPO.

Can I use Megatron-LM with SGLang for RL training on GLM-family models?

Yes, Megatron-LM and SGLang are tightly integrated to support RL training for GLM, Qwen, and Llama family models. This combination enables efficient rollout generation and scalable training workflows on Linux or macOS environments.

What is the best way to scale on-policy and off-policy RL training workflows?

Scaling on-policy and off-policy RL training workflows is achieved by leveraging a unified framework that combines Megatron-LM training and SGLang rollout. It supports multi-turn and tool-using scenarios with flexible data generation and configurable buffers.

How to start RL-based post-training with GRPO or PPO algorithms?

To start RL-based post-training with GRPO or PPO algorithms, provide your model configuration and training data to initialize the pipeline. The framework manages data buffering, rollout generation, and configurable training and evaluation loops automatically.

Does slime RL training support multi-turn and tool-using scenarios?

Yes, slime RL training supports multi-turn, tool-using, on-policy, and off-policy RL training scenarios. It handles these complex interactions through flexible data generation workflows and configurable buffers integrated with Megatron-LM and SGLang.

What are the limitations of using slime for LLM post-training?

Using slime for LLM post-training requires tight integration with Megatron-LM, SGLang, and RL algorithms, targeting ML engineers and researchers. It is specifically designed for GLM-family models on Linux or macOS, which may limit compatibility with other architectures or operating systems.