{
  "id": 1328,
  "kind": "code",
  "title": "slime v0.4.0: A First Step Toward Greater Scale",
  "summary": "slime (THUDM) is an LLM post-training framework for RL scaling that connects Megatron training with SGLang rollout through a shared training/rollout/Data Buffer path; it is the RL framework behind the GLM-4.5 through GLM-5.3 model releases and supports Qwen, DeepSeek, and Llama 3 models (repo ~8.6K stars, Apache-2.0). Release v0.4.0, 'A First Step Toward Greater Scale', was motivated by OpenAI's Navier-Stokes research effort (~10,000 concurrent agents, ~130B output tokens), which prompted a rethink of RL infrastructure scale. Four architectural changes: (1) Focus — two training modes share one train.py lifecycle: synchronous training for algorithmic exploration and correctness, fully async training for throughput at scale (legacy train_async.py removed; PR #2391). (2) Distributed rollout — with the new straw backend, fully async rollout runs one rollout worker per Ray node on CPU resources, each with its own generation pool and asyncio event loop, so orchestration spreads across cluster CPUs instead of a single process bottleneck; training batches collect completed groups without waiting for every worker (PR #2410). (3) Persistent storage — straw (github.com/zhuzilin/straw) provides durable queues and shared tensor storage on a filesystem (JuiceFS currently supported): rollout workers publish payloads to shared storage and training ranks read by reference, moving bulk data off Ray's object-store transport; prompt tasks, partial rollouts, completed samples, and converted training batches persist as large append-only files to reduce small-file/filesystem metadata overhead, with checkpoint rollback support (PRs #2410, #2427). Select via --rollout-data-transport straw. (4) Independent recovery — Megatron training lifetime separated from the SGLang serving cluster: healthy engines/routers keep running after a training failure, and resubmitted training restores the last committed checkpoint and replays retained batches, reusing accepted samples and conversion results (PR #2444). Other improvements: score centering (REINFORCE objective with top-p replay and importance-sampling corrections, --use-score-centering, for training-inference mismatch); PipelineRL --flush-cache-interval letting unfinished requests and KV caches survive selected weight updates; streaming and agent rollouts (cumulative/incremental generation streams, partial-prefix retention, per-request cancellation); Biren SUPA and Ascend NPU accelerator backends; correctness fixes (linear-attention gradients under context parallelism, full-vocabulary reference logprobs in actor top-p replay, checkpoint shard selection in disk-delta sync); stack updated to Megatron Core 0.19.2, Transformer Engine 2.18.0, Flash Linear Attention 0.5.2, NCCL 2.30.7.",
  "body": "",
  "notes": "Discovery: @slime_framework X post 2026-10-08 ~7:14 PM ET (~9.4K views, 105 likes, 62 bookmarks), top of a 5-post thread; release notes verified against the full v0.4.0 GitHub release text 2026-10-09. Relevance: directly in the user's RL post-training / training-infra cluster — another RL-scaling framework in the exact orbit of 1610 (NeMo-DCR), 1620 (ThunderSyncRL), 1622 (Proximal stack), 1625 (AfterQuery), 1633 (decisive-edit checkpoint selection). ThunderSyncRL connection: both attack learner/rollout scaling for agentic RL — ThunderSyncRL streams gradients while holding a fixed policy snapshot for batch-sync correctness, while slime v0.4.0 goes fully async with durable rollout queues (straw) and independent Megatron recovery; the sync-vs-async tradeoff plus straw's persistent-queue design are concrete infra design points for his own RL stack. License Apache-2.0 (verified on repo page).",
  "url": "https://github.com/THUDM/slime/releases/tag/v0.4.0",
  "links": [],
  "authors": [
    "Zilin Zhu",
    "Chengxing Xie",
    "Xin Lv and slime Contributors (THUDM)"
  ],
  "tags": [],
  "topics": "",
  "venue": "GitHub release v0.4.0 (2026-10-08); THUDM/slime — LLM post-training framework for RL Scaling (Megatron + SGLang), Apache-2.0",
  "publisher": "",
  "source": "x",
  "language": "",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-09T00:00:00.000Z",
  "verified_at": "2026-10-09T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "slime_framework",
    "legacy_paper_id": "1635"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-09T16:29:42.288Z",
  "updated_at": "2026-10-09T16:29:42.288Z",
  "page": "https://papers.projxon.ai/entries/1328",
  "markdown": "https://papers.projxon.ai/entries/1328.md",
  "api": "https://papers.projxon.ai/api/entries/1328",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 985,
      "kind": "paper",
      "title": "Every Step Evolves: Scaling Reinforcement Learning for Trillion-Scale Thinking Model",
      "summary": "Presents Ring-1T (~1T total / ~50B active MoE) trained with RL at unprecedented scale. Introduces IcePop (token-level train-inference discrepancy masking/clipping), C3PO++ for long-rollout partitioning, and ASystem RL framework. Reports strong reasoning numbers (e.g. AIME-2025 93.4, HMMT-2025, CodeForces, ARC-AGI-1; IMO-2025 silver-level claims).",
      "url": "https://arxiv.org/abs/2510.18855",
      "authors": [
        "Ling Team et al. (inclusionAI / Ant Group)"
      ],
      "tags": [
        "ring-1t",
        "inclusionai",
        "moe",
        "rlvr",
        "icepop",
        "thinking-model",
        "trillion-scale"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "Paper on arXiv; model MIT on HF",
      "published_year": 2025,
      "added_at": "2026-09-16T17:18:32.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 46,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/985",
      "markdown": "https://papers.projxon.ai/entries/985.md",
      "api": "https://papers.projxon.ai/api/entries/985"
    },
    {
      "id": 847,
      "kind": "paper",
      "title": "Scaling Laws for Looped Mixture of Experts",
      "summary": "Introduces Loop Scaling Laws, the first scaling law to jointly model recurrence (looping) and MoE sparsity alongside model size and data. Its core is a bounded, sparsity-conditional recurrence mapping that characterizes the effective-parameter gain from looping and how sparsity raises that gain; the laws predict held-out loss of looped models more accurately than prior alternatives and recover standard dense and MoE scaling laws as special cases. Downstream, sparsity delivers ~3x active-parameter efficiency and recurrence ~2x total-parameter efficiency on reasoning, and at trillion-token scale a looped MoE with law-derived recurrence matches a ~2x larger non-looped MoE at matched training compute while enabling test-time scaling through recurrence.",
      "url": "https://arxiv.org/abs/2609.40316",
      "authors": [
        "Yanbei Chen",
        "Anirudh Goyal",
        "Raghuraman Krishnamoorthi"
      ],
      "tags": [
        "loop-scaling-laws",
        "looped-transformers",
        "mixture-of-experts",
        "recurrence",
        "sparsity",
        "effective-parameters",
        "test-time-scaling",
        "parameter-efficiency"
      ],
      "venue": "arXiv:2609.40316 (cs.LG), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/847",
      "markdown": "https://papers.projxon.ai/entries/847.md",
      "api": "https://papers.projxon.ai/api/entries/847"
    },
    {
      "id": 872,
      "kind": "paper",
      "title": "SkyRL v0.4.0: Large-Scale Post-Training Release",
      "summary": "SkyRL v0.4.0 release, focused on large-scale post-training. New model support: GLM 5.3 Flash, GLM 5.2/5.3 (with Trajectory — links to their 'Enabling Frontier-Scale Training for the GLM-5.3 Family' field report), Kimi K2.6/2.7 (1T+ params trainable with LoRA on just 2 B300 nodes via INT4 serving + trainer fake-quantization), Qwen3.8, Nemotron 3.5 Lightning. RL stability: Top-P sampler replay (Keep Sampling Mask from DeepSeek-V3.2 — vLLM returns the surviving support set per token, the trainer normalizes logprobs over it; keeps entropy from collapsing, works on Megatron and FSDP) and optimized R3 (rollout routing replay) data packing — compact packed arrays, zero-copy ray object store views, turn-only route deltas — up to ~4x throughput for large MoEs (Nemotron 3 Super: 111 -> 483 tokens/s/GPU; routing data was nearly 900x the tokens). R3 + top-p replay keeps the logprob gap under 0.1 with reward still climbing at step 160, vs. gap >0.8 and reward collapse without them (validated with Lila Sciences). Full FP8/MXFP8 RL: blockwise FP8 and MXFP8 training/rollout with on-policy weight sync, tracking BF16 convergence while cutting end-to-end step time by up to 23% (Anyscale blog by @JinghanYao). Weight syncing reworked: delta weight sync (byte-exact XOR deltas vs. previous BF16 checkpoint, compressed, manifest published; ~1-3% of weights updated per step; disk/S3/GCS paths, receiver fetch overlapped with generation) and sharded RDT+NIXL transfer (all trainer ranks send only needed shards, skip PP gathering and expert-layer gathering — BF16 Kimi K2 on 48 8xH100 nodes transfers in 7.53s). In-memory LoRA weight syncing via NCCL/CUDA IPC (vLLM-side changes to be upstreamed). Scalability: native SFTTrainer now handles 10B-1T+ token datasets (memory-mapped pretokenized loading, custom sampling, dataset mixing); Tinker API server now handles 131,072 concurrent trajectories with 212k-token outputs (up from 1,024 requests; sampling no longer touches SQLite — thanks to Trajectory AI).",
      "url": "https://blog.skyrl.ai/blog/skyrl-v0-4-0",
      "authors": [
        "SkyRL team (Eric Tang et al.)"
      ],
      "tags": [
        "skyrl",
        "rl-training",
        "moe",
        "fp8-rl",
        "weight-sync",
        "rdt",
        "nixl",
        "top-p-sampler-replay",
        "r3"
      ],
      "venue": "SkyRL blog, 2 Oct 2026",
      "source": "web",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/872",
      "markdown": "https://papers.projxon.ai/entries/872.md",
      "api": "https://papers.projxon.ai/api/entries/872"
    },
    {
      "id": 852,
      "kind": "paper",
      "title": "Emergent One-Third Scaling Law as Attention Tries to Concentrate",
      "summary": "Proposes an origin for neural scaling laws: any softmax learning peaked distributions, regardless of its position in the model, develops logit magnitudes that grow as a power law with exponent 1/3, becoming a training bottleneck whose loss contribution decays with the same 1/3 exponent — so total loss obeys 1/3 scaling whenever at least one softmax learns peaked distributions. Toy models show the effect for both output selection and attention-like gating, with a 'loss universality' result (any reasonable loss yields the same law; nonlinearity is the key ingredient). In real LLMs (Pythia, OLMo), loss falls and attention's internal logits grow with exponents near 1/3 while the output head shows no such growth, pointing to attention heads — not the LM head — as the bottleneck driving 1/3 loss scaling. Bypassing the output softmax with MSE training, and using sigmoid/tanh gates, preserves the law.",
      "url": "https://arxiv.org/abs/2609.32100",
      "authors": [
        "Yizhou Liu",
        "Sara Kangaslahti",
        "Jeff Gore"
      ],
      "tags": [
        "one-third-scaling-law",
        "neural-scaling-laws",
        "attention",
        "softmax",
        "peaked-distributions",
        "logit-growth",
        "loss-universality",
        "pythia",
        "olmo",
        "massive-activations"
      ],
      "venue": "arXiv:2609.32100 (cs.LG), submitted 26 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/852",
      "markdown": "https://papers.projxon.ai/entries/852.md",
      "api": "https://papers.projxon.ai/api/entries/852"
    },
    {
      "id": 1268,
      "kind": "post",
      "title": "The Unreasonable Efficiency of a Single Gradient Step (Base Labs)",
      "summary": "Tests whether recent claims about rank-1/linear extrapolation of early RL updates (RELEX, arXiv 2605.21468; arXiv 2601.04537; arXiv 2510.00553) really hold, and finds them less general than claimed. Replication: training Qwen2.5-Math-1.5B with GRPO for 500 steps on MATH, extrapolating the first k steps via a fitted rank-1 direction recovers the full 500-step gains (66.0% with just the first 2 steps vs 63.8% actual step 500, base 46.9%); scaling the very first gradient step 1000x yields 66.7%. But: 72.0% of the corrected questions were base rollouts showing heavy repetition — RL fixed them mostly by stopping the model from doom-looping ('You are a helpful assistant. 🎉' repeated forever), i.e. exploiting linear structure is largely about removing easy failure modes, not gaining new capabilities. Off-distribution it breaks: first-step scaling does nothing for function calling or Knights & Knaves. Gains vanish at scale: on Qwen3-8B-Base the RELEX fit degrades vs actual training (RELEX-K 7.6% vs actual 97.0% on Knights & Knaves at K=500). Takeaway: RL trajectories being 'basically straight' is too good to be true; the extrapolation gains come from easier problems and fixing doom loops, while harder environments are less linearly extrapolatable. The team believes extractable structure still exists in general RL optimization dynamics and is continuing this direction. Code and checkpoints released in the article; practical lesson: always inspect rollouts, not just metrics. Relevant to the user's post-training work: a 'free lunch' check on recent RL-efficiency results.",
      "url": "https://labs.baseten.co/articles/the-unreasonable-efficiency-of-a-single-gradient-step",
      "authors": [
        "Base Labs (Baseten's research lab)"
      ],
      "tags": [
        "base-labs",
        "baseten",
        "rl-extrapolation",
        "relex",
        "rank-1",
        "grpo",
        "doom-loops"
      ],
      "venue": "Base Labs article (labs.baseten.co), 5 Oct 2026, research blog",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1268",
      "markdown": "https://papers.projxon.ai/entries/1268.md",
      "api": "https://papers.projxon.ai/api/entries/1268"
    },
    {
      "id": 1200,
      "kind": "paper",
      "title": "Gumbel Straight Flow: Distilling Autoregressive Models into One-step Flow Maps",
      "summary": "Can autoregressive language models be used as teachers for flow-map parallel samplers? Yes — via the Gumbel-max trick: sampling from an AR model is argmax(logits + Gumbel noise) per token. The paper defines a flow matching process directly over this noise-token coupling and theoretically demonstrates the induced coupling between Gumbel noise and one-hot token sequences yields non-intersecting linear paths from noise to sequence representations. They then distill into a bidirectional flow-map student: the AR teacher supervises the velocity along the path (tangent condition), and a consistency loss (flow map semigroup objective) trains few-step jumps. At inference, GSF maps noise to a full token sequence in parallel in just 1-4 steps. Across OpenWebText, LM1B, TinyStories, and XSum, GSF outperforms several few-step baselines (FMLM, GD, discrete diffusion) establishing a strong compute-quality Pareto frontier, and outperforms current few-step language generation baselines on pretraining and downstream tasks. Comparison table: GSF is the only method with all of parallel generation, deterministic pairing, and straight paths.",
      "url": "https://arxiv.org/abs/2610.00497",
      "authors": [
        "Yeongmin Kim",
        "Arnaud Doucet",
        "Andrew Campbell",
        "Valentin De Bortoli",
        "Thomas Mensink",
        "David Ruhe"
      ],
      "tags": [
        "gumbel-straight-flow",
        "flow-matching",
        "distillation",
        "autoregressive-teacher",
        "gumbel-max",
        "parallel-generation",
        "few-step-sampling"
      ],
      "venue": "arXiv:2610.00497 (cs.LG), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1200",
      "markdown": "https://papers.projxon.ai/entries/1200.md",
      "api": "https://papers.projxon.ai/api/entries/1200"
    }
  ]
}
