vllm-project/vime

An LLM post-training framework with vLLM for RL Scaling

What it solves

Vime provides a production-ready framework for scaling Reinforcement Learning (RL) for Large Language Models. It bridges the gap between high-performance model training and flexible data generation, allowing developers to handle complex tasks like math, coding, tool use, and long-horizon agent workflows within a single, unified training loop.

How it works

Vime acts as an orchestration layer that connects two primary engines: Megatron for the core model training process and vLLM for high-speed rollout generation. It uses a shared data buffer to manage prompts, environment feedback, and training batches. By using Ray for resource management, it allows these components to communicate efficiently, enabling developers to customize generation functions—such as multi-turn loops or sandbox interactions—without needing to build a separate framework.

Who it’s for

This project is designed for researchers and engineers in the vLLM ecosystem who need to perform RL scaling on large models (such as Qwen, DeepSeek, or Llama 3) and require a robust, modular bridge between training and inference engines.

Highlights

  • High-performance training by integrating Megatron with vLLM.
  • Flexible data generation interfaces for custom agentic workflows, tool calls, and verifier-based rewards.
  • Native support for popular model architectures including Qwen, DeepSeek V3, and Llama 3.
  • Advanced deployment options like PD (Prefill-Decode) disaggregation and heterogeneous server groups.
  • Built on the proven training paradigm of the slime framework.

Related

  • Dispatch
  • Dispatch
  • Project
  • Project
  • Dispatch