vLLM V0 to V1: Correctness Before Corrections in RL

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Teams doing online RL with vLLM V1 will see silent training divergence unless they fix logprobs, runtime defaults, weight updates and fp32 lm_head precision.

Read this as

vLLM is free software that generates text for AI systems, and a team used it to train AI models with reinforcement learning, a method where the system learns from rewards. When they upgraded vLLM from version 0.8.5 to 0.18.1, their training results quietly drifted off track. The article explains the four fixes that restored matching results.

Hugging Face's PipelineRL team migrated from vLLM 0.8.5 to 0.18.1 (V1) and found their reinforcement learning runs diverged from the reference baseline. Restoring parity required fixing processed rollout logprobs, V1 runtime defaults, inflight weight updates, and an fp32 lm_head. Teams running RL training pipelines face similar hidden breakage on this upgrade; the cost is debugging time, not new infrastructure spend.

Migrating PipelineRL from vLLM 0.8.5 to 0.18.1 broke trainer-side metrics (policy ratio, KL, clip rate, reward) in a GSPO run. Fixes: enable processed_logprobs (V1 returns raw logprobs before temperature/penalties), pin prefix caching and async scheduling explicitly, use pause_generation(mode="keep", clear_cache=False) for inflight weight updates, and match the trainer's fp32 lm_head. Negative results: processed_logprobs alone and batch invariance both failed to close the gap; MiniMax-M1's report independently identified the fp32 head fix.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

vLLM Hugging Face PipelineRL GSPO MiniMax-M1 NCCL

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading