RL & post-training
17 entries · 6 sections
Editor’s pick
I Start Here 1
Defeating Nondeterminism in LLM Inference Article
Shows that batch-dependent reduction order, not concurrency, makes outputs vary, and builds batch-invariant kernels to fix it.
II Inference Engines 1
SGLang Tool
Serving engine with RadixAttention prefix reuse, fast constrained decoding, and large-scale expert-parallel deployments.
III Distributed Serving & Orchestration 1
vLLM Sleep Mode Docs
Frees GPU memory on an idle vLLM engine by offloading or discarding weights and the KV cache, then wakes it without restarting the server process.
XIII Observability & Operations 2
SGLang Deterministic Inference Docs
Covers the --enable-deterministic-inference flag, which attention backends keep radix caching and CUDA graphs, and seeded sampling for repeatable rollouts.
TBIK: Deterministic Inference across Tensor Parallel Sizes Paper
Tree-based invariant matmul and reduction kernels that give bit-identical results across tensor-parallel sizes, aligning vLLM rollouts with FSDP training.
XV Verticals 11
verl Library
RL post-training library from the HybridFlow paper that places actor, rollout, and reward workers on GPUs and plugs into FSDP, Megatron-LM, vLLM, or SGLang.
slime Library
RL scaling framework that links Megatron training to SGLang rollouts through a data buffer and customizable data-generation functions.
Miles Library
Fork of slime for production post-training of large LLMs and VLMs on SGLang rollouts, with low-precision RL and on-policy distillation.
AReaL Library
Fully asynchronous RL system from Tsinghua and Ant Group that decouples generation from training, aimed at reasoning and agentic models.
SkyRL Library
Full-stack RL library with a trainer, an agent layer, and a tool-use gym, plus a backend that implements the Tinker API on your own hardware.
prime-rl Library
Asynchronous RL framework using FSDP2 for training and vLLM for inference, with Slurm deployment and prefill-decode disaggregation for large MoE models.
NeMo RL Library
NVIDIA post-training toolkit with GRPO and SFT recipes, vLLM generation, and delta-compressed weight refit between training and rollout clusters.
checkpoint-engine Library
Middleware that updates weights in running inference engines in place, using broadcast or peer-to-peer transfer, for the refit step of RL loops.
Tinker Service
Managed post-training service where your code drives the loop with sample, forward_backward, and optimizer calls while the provider runs the GPUs.
Covers SGLang's rollout features for RL, including memory release and resume, pause and continue, weight-refit paths, and deterministic mode.
Overview of vLLM's RL-facing features, from NCCL and IPC weight transfer and a weight checker to routed-experts return for MoE and async pause and resume.
XVII Case Studies & Engineering Blogs 1
Thinking Machines Connectionism Article
Research blog from Thinking Machines Lab with posts on deterministic inference, on-policy distillation, and LoRA training.