Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

vLLM open-sources bitwise-consistent RL training kernels and an agent skill

AI summary

A vLLM blog post argues that inference-side optimizations in high-performance RL — low-precision compute, low-precision KV cache, kernel and communication tuning — shift the numerics, so the training engine assigns different probabilities to the same token than the engine that sampled it; on DeepSeek-V4-Flash the high-performance baseline's train-inference KL rose from 2e-3 to 29.9 as reward fell back. The proposed fix has the training forward call vLLM's inference kernels directly, modified so rollout and training produce bitwise-identical logprobs for every sampled token (diff = 0). The authors report diff of 0 at every one of 100 DeepSeek-V4-Flash steps at 91.3% of the baseline's rollout throughput, and say that on Nemotron-3.5 (a Mamba hybrid with NVFP4) the consistent run's SWE-bench Pro score held near 0.6 while the baseline's fell from 0.56 to 0.22. The workflow is packaged as an agent skill and released with recipes and code, and the team says DeepSeek-V4.1 has reached 0 diff with performance work still in progress.

In-depth insight

The authors' stated rationale is that unstable training means more crashes, rollbacks and reruns and a smaller share of effective training, so cutting that waste is their route to reaching a result in less end-to-end RL training time.

TL;DR

  • Problem: inference-side optimizations in high-performance RL change the numerics, so training optimizes a policy other than the one that sampled. On DeepSeek-V4-Flash, the high-performance baseline's train-inference KL rose from 2e-3 to 29.9 while reward fell back.
  • Approach: the training forward calls vLLM's inference kernels directly, and those high-performance kernels are modified so rollout and training produce bitwise-identical logprobs for every sampled token (diff = 0).
  • Results: over 100 DeepSeek-V4-Flash training steps, diff is 0 at every step at 91.3% of the baseline's rollout throughput. Carried over to Nemotron (Mamba hybrid + NVFP4), the consistent run's SWE-bench Pro score holds while the baseline's drops from 0.56 to 0.22.
  • Open source: the process is packaged as an agent skill and released with the recipes and code, lowering the cost of doing this on a new model.
  • In progress: DeepSeek-V4.1 has reached 0 diff; performance work is being finalized and will get its own post.
Same kernels on both sides: mismatch 0, and training holds
Same kernels on both sides: mismatch 0, and training holds

#vLLM#DeepSeek-V4-Flash#DeepSeek-V4.1#Nemotron-3.5-Lightning-30B-A3B#Megatron-LM#verl#NVIDIA

Original · 31 min readRead the original
Group chat

No comments yet. Start the conversation.