{
  "id": 1358,
  "kind": "post",
  "title": "Toward RL on mixed-precision, mixed-accelerator samplers",
  "summary": "RL training normally runs samplers on a fixed homogeneous cluster of the latest accelerators to keep sampler–trainer mismatch low, throwing away inference optimizations built for other vendors/generations. Modal asks whether RL can sample from mixed-precision, mixed-accelerator fleets while staying stable and performant. They train Qwen3.6-35B-A3B on agentic coding tasks (2.7K de-leaked Xiaomi/MiMo-V2.6 repo tasks, up to 256K context, binary test-pass reward in a fresh sandbox) with fully asynchronous RL in the open-source Miles framework: SGLang samplers and a Megatron-LM trainer updating the policy in BF16 on B200s, 128 prompts × 8 trajectories per update, no staleness limit. Two sampler setups: mixed (six accelerator kinds — B200/B300 with NVFP4 weights, H100/H200 with FP8 and BF16 weights, A100/RTX PRO 6000 with BF16 weights — each with its own kernels and FP8 KV caches) vs homogeneous (B200 only, BF16 weights, BF16 KV cache). The fix is off-policy correction on top of GRPO: masked importance sampling (per-token ratio kept inside [0.2, 5], zeroed outside), score centering (removes drift toward the sampling policy), and top-p sampling with mask replay (shared support). Uncorrected GRPO collapses on both setups; each correction piece alone only delays collapse; only score-centering + masked importance sampling trains stably to convergence, reaching SWE-bench Pro V2 pass@4 ~65–75% on the HARD-51 subset and ~94% on the full set. With the full correction, mixed samplers match homogeneous pass@4 throughout training despite a 4.7× larger average sampler–trainer KL, at ~15% lower sampler cost per update on a setup built for validation, not minimal cost. The central claim: stability depends on whether the mismatch keeps growing, not its magnitude — accelerator and precision differences need no new kind of fix, since off-policy correction is agnostic to why the sampling policy differs from the training policy.",
  "body": "",
  "notes": "Discovery: @modal 6-post X thread, 2026-10-13 (status 2110074623337677046). Thread figures confirmed against the canonical blog; blog numbers used as authoritative. Relevance: (1) Agentic-RL post-training — a fully asynchronous RL recipe with a concrete off-policy correction (SC + masked IS + top-p mask replay) on agentic coding tasks evaluated on SWE-bench Pro V2; the ablation pattern (each piece alone only delays collapse) is the actionable takeaway for his own RL work. (2) Infrastructure economics — sampling is 80–85% of RL GPUs per the post; using heterogeneous fleets for ~15% cheaper sampling maps directly onto his compute-cost concerns and Launch Helm (the W&B replacement with run control): the collapse signature (reward falling, KL growing ≥3×, episodes ending on repeated format errors with empty final replies) is monitorable in a control plane. (3) Decoupling argument — trainer can move to the best accelerators/its own low precision without samplers following, which the post argues becomes essential as accelerators diversify across vendors and generations. Cluster: RL/agentic-RL post-training, infrastructure/hardware economics, training stability. Caveats: all numbers vendor-reported on Modal's own fleet and pricing; no independent reproduction; no code released; \"15% lower cost\" measured against their own homogeneous baseline, not heavily optimized. Miles framework (github.com/radixark/miles, arXiv 2609.08368) researched in full 2026-10-13; queue-ready draft at ~/workspace/pending_catalog_inserts_miles_v01_draft.md — append as item #33 on user go-ahead (renumbered 2026-10-14: #26 taken by Spork, #27 by TeleTune, #28–32 by the five 2026-10-14 shares). | License: not stated; no code/data/weights released",
  "url": "https://modal.com/blog/toward-rl-on-mixed-precision-mixed-accelerator-samplers",
  "links": [],
  "authors": [
    "Modal engineering team"
  ],
  "tags": [],
  "topics": "",
  "venue": "Modal blog",
  "publisher": "",
  "source": "blog",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-10-13T00:00:00.000Z",
  "verified_at": "2026-10-13T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "modal",
    "legacy_paper_id": "1665"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:52:31.088Z",
  "updated_at": "2026-11-01T12:52:31.088Z",
  "page": "https://papers.projxon.ai/entries/1358",
  "markdown": "https://papers.projxon.ai/entries/1358.md",
  "api": "https://papers.projxon.ai/api/entries/1358",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1290,
      "kind": "tool",
      "title": "RL Environment Explorer — Hugging Face Hub RL Environments filter",
      "summary": "Hugging Face launched a dedicated RL Environments filter on the Hub (announced Sept 28, filter live Oct 5, 2026): any dataset repository tagged `rl-environment` appears at huggingface.co/datasets?other=rl-environment, giving one shared index for agent tasksets across five frameworks — OpenEnv, Harbor, MiMo, Verifiers, and NVIDIA NeMo Gym. Framework tags (harbor, verifiers, openenv, nemo-gym) are registered as dataset libraries: each puts the framework's icon on the dataset page and generates a framework-specific loading snippet under 'Use this dataset'; a repo can carry multiple tags since compatibility is non-exclusive. Environments are framed as data + runtime: the Hub hosts, versions, gates, and previews tasksets (tasks, tests, containers, reward rules); execution happens locally or on supported cloud backends (HF Jobs, HF Sandboxes), and the Hub itself does not run environments. Already seeded environments include Harbor's BeyondSWE, Terminal-Lego, Harbor-Mix, and NatureBench; Verifiers' Reverse-Text-RL, Multi-SWE-RL-Verified (2,232/4,703 rows), R2E-Gym-Subset-Verified, and Scale-SWE-Verified (17,202/20,181); and NeMo Gym's Workplace Assistant (5 databases, 26 tools, 690 business tasks), Structured Outputs, CFBench, and SysBench. Announced with 12M+ RL task entries across RL environments on the Hub; OpenEnv auto-tags on upload.",
      "url": "https://huggingface.co/blog/rl-environments",
      "authors": [
        "Adithya S K / Hugging Face"
      ],
      "tags": [
        "rl-environment-explorer",
        "rl-environments-filter",
        "hugging-face-hub",
        "openenv",
        "harbor",
        "verifiers",
        "nemo-gym",
        "mimo",
        "tasksets",
        "agent-rl"
      ],
      "venue": "Hugging Face Hub",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-10-07T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1290",
      "markdown": "https://papers.projxon.ai/entries/1290.md",
      "api": "https://papers.projxon.ai/api/entries/1290"
    },
    {
      "id": 1044,
      "kind": "post",
      "title": "vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)",
      "summary": "vLLM Blog (2026-09-14) on RL-Kernel v0.1.0 with vime and AMD: Megatron training and vLLM rollout often disagree on logprobs for the same weights/tokens because kernels, Split-K/KV, reduction order, and intermediate precision differ, which pollutes importance ratios and KL/clipping. RL-Kernel aligns the numerical execution contract (RMSNorm, Attention, GEMM/SwiGLU, linear logprob, collectives) while vime aligns the timeline and weight sync. On ROCm they added deterministic MFMA GEMM, vocabulary reduction, HIP IPC, AITER/CK Attention schedule fixes, math/fusion last-bit fixes, and paged-KV/HIP-Graph state fixes. End-to-end Qwen3-8B BF16 GRPO on 8× MI300X (Megatron TP4/CP2; 2× vLLM TP4 colocated; 200 steps; dapo-math-17k) reports mismatch_count=0 and max_abs_diff=0 throughout on the strict path vs native mismatches every step. Apache-2.0 at github.com/RL-Align/RL-Kernel (pyproject 0.1.0; torch>=2.4.1; transformers==5.13.1; optional cuda/rocm/vllm extras). Docs https://rl-align.github.io/RL-Kernel/. Scope today: Qwen3-8B Dense + vime + CUDA/ROCm; MoE/multimodal next.",
      "url": "https://vllm.ai/blog/2026-09-14-rl-kernel-v0-1-0-train-rollout-bitwise-consistency",
      "authors": [
        "RL-Kernel Team",
        "vime Team",
        "AMD Team (core: Chutian Wang",
        "Jiajie Li",
        "Siru He",
        "Xiaosong Ma",
        "Kaijie Lin",
        "Jian Zhang",
        "Huihong Lu",
        "Yunxiang Cai",
        "Bosong Yang",
        "Zhewei Liu",
        "Houhong Liang",
        "Ryan Huang",
        "Vensen Mu)"
      ],
      "tags": [
        "rl-kernel",
        "vime",
        "vllm",
        "megatron",
        "bitwise-consistency",
        "train-rollout",
        "rocm",
        "mi300x",
        "grpo",
        "amd",
        "rl-align",
        "apache-2.0",
        "vendor-blog"
      ],
      "venue": "vLLM Blog / RL-Align",
      "source": "web",
      "license": "Apache-2.0 (RL-Kernel; LICENSE + pyproject)",
      "published_year": null,
      "added_at": "2026-09-25T02:09:13.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1044",
      "markdown": "https://papers.projxon.ai/entries/1044.md",
      "api": "https://papers.projxon.ai/api/entries/1044"
    },
    {
      "id": 839,
      "kind": "post",
      "title": "The ultimate guide to multi-harness RL",
      "summary": "The ultimate guide to multi-harness RL (Adithya S Kolavi / FineEnvs, Hugging Face Space, 2026-10-01). Not a paper: a 33-figure ~60-page interactive research article plus full artifact release documenting how to do RL across multiple agent harnesses without modifying them -- claiming the first public multi-harness agent RL pipeline. Core idea: a 'capture proxy' sits between the agent harness and vLLM, speaks the four API formats coding agents use (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Gemini), records exact token ids/logprobs sampled by vLLM, and reconstructs TRL-trainable traces, so the same rollouts run unmodified through 10+ harnesses. Full GRPO runs: LFM2.5-2.6B trained with multi-harness RL on 1,000 SmolDataEnvs data-analysis tasks, evaluated on 250 held-out tasks under four harnesses: base 42.2% -> multi-harness RL 54.2% pass@1 overall (step 1,000; best checkpoint step 700: 54.6%); per-harness OpenCode 49.6%, Claude Code 48.8%, Codex 53.6%, Mini-SWE-Agent 64.8%. OpenCode-only RL (step 900) reached 52.4% overall and won on its home harness (56.0%) but lost to multi-harness RL on Claude Code and Codex. Tool efficiency: correctness-only reward keeps tool calls high; adding a small bonus for fewer calls cut tool calls 31.1% on 356 task/harness pairs solved by both base and model, savings in all four harnesses. SFT comparison: fine-tuning on 3,189 successful Qwen3.8-27B teacher rollouts (17,929 examples, 2 epochs) plateaued -- OpenCode SFT 47.5% (-8.5% calls), multi-harness SFT 43.1% (-24.2% calls), both below RL (54.6%), showing multi-harness RL beats imitation at both performance and efficiency. Setup: async GRPO (TRL Async GRPO), 1,000 steps, reward = correctness x (1 + 0.1x15/(15+tool_calls)), 8 rollouts per GRPO group (one harness each, rotating), on 2xH100 (~32h OpenCode-only, 46h multi-harness); rollouts in E2B sandboxes via OpenEnv + Harbor. OpenEnv is BSD-3-Clause (PR #1036 capture proxy + Harbor, PR #1280 typed TrainingTrace API); TRL PR #6947 HarnessRolloutWorker (on TRL main, not v1.14.1). Trained models (full weights) under LFM Open License v1.0: LFM2.5-2.6B-multiharness-RL, -opencode-RL, -multiharness-SFT, -opencode-SFT, Qwen3.5-2B variants. Caveat from the model card: best-checkpoint selection used the test set (no separate validation set); single-run results on fixed harness versions.",
      "url": "https://huggingface.co/spaces/FineEnvs/multi-harness-rl",
      "authors": [
        "Adithya S Kolavi (FineEnvs / Hugging Face)"
      ],
      "tags": [
        "multi-harness-rl",
        "agent-harnesses",
        "grpo",
        "trl",
        "openenv",
        "vllm",
        "capture-proxy",
        "claude-code",
        "codex",
        "opencode",
        "tool-efficiency",
        "sft-vs-rl",
        "smoldataenvs",
        "harbor",
        "agentic-rl"
      ],
      "venue": "Hugging Face Space, 2026-10-01",
      "source": "article",
      "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": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/839",
      "markdown": "https://papers.projxon.ai/entries/839.md",
      "api": "https://papers.projxon.ai/api/entries/839"
    },
    {
      "id": 1063,
      "kind": "dataset",
      "title": "MiMo-V2.6-RL-oss (Agentic RL Environments)",
      "summary": "Xiaomi MiMo open-sources ~7.8K agentic RL environment instances (card/blog: 7k+) used to scale MiMo-V2.6 mixed RL across five parquet configs: code (~2.7K SWE tasks, executable tests / mimo_swe_agent), cyber (~1.0K vulnerability reproduction with rule/ASan-style oracles), general (~989 knowledge-work envs with rubric judging and full workspace trees under general/envs/), webdev (~2.1K visual grading), and music (~1.0K symbolic composition / rule checks). Rows carry chat prompts, reward_model metadata, and instance_json (docker image, test harness, timeouts). Companion Docker Hub images xiaomimimo/mimo-v2.6-rl-oss; training code https://github.com/XiaomiMiMo/verl. Related weights MiMo-V2.6-Pro-RL / Flash-RL / Distill-Qwen-9B; tech report PDF on Pro-RL repo; blog mimo.mi.com V2.6 release. Cross-ref catalog 1402 (live RL dashboard) and 487 (V2.5 serving). No arXiv on dataset card.",
      "url": "https://huggingface.co/datasets/XiaomiMiMo/MiMo-V2.6-RL-oss",
      "authors": [
        "Xiaomi MiMo Team (XiaomiMiMo)"
      ],
      "tags": [
        "mimo",
        "mimo-v2.6",
        "xiaomi",
        "xiaomimimo",
        "agentic-rl",
        "rl-environments",
        "swe",
        "cyber",
        "webdev",
        "music",
        "verl",
        "apache-2.0",
        "parquet",
        "docker"
      ],
      "venue": "Hugging Face / Xiaomi MiMo",
      "source": "huggingface",
      "license": "Apache-2.0",
      "published_year": 2026,
      "added_at": "2026-09-26T12:29:04.000Z",
      "has_dataset_profile": true,
      "license_class": "permissive",
      "langs": [
        "code",
        "en"
      ],
      "modalities": [
        "document",
        "image",
        "text"
      ],
      "size_class": "1K<n<10K",
      "citation_count": null,
      "downloads": 65274,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1063",
      "markdown": "https://papers.projxon.ai/entries/1063.md",
      "api": "https://papers.projxon.ai/api/entries/1063"
    },
    {
      "id": 994,
      "kind": "other",
      "title": "mimo-v2.6 RL (live training metrics dashboard)",
      "summary": "JS dashboard at mimo.xiaomi.com/rl streaming two concurrent RL runs (mimo-v2.6-pro, mimo-v2.6-flash) directly from trainer logs. About copy: “We are streaming our RL big runs. The mimo-v2.6 series is coming soon.” Metrics look PPO/agentic: critic/rewards/mean, actor pg/entropy/grad_norm, train–infer KL, dynsam pass-rate (avg@n, zero/one), agent turns, sandbox env count, partial staleness, tokens/step, timing. Prompt mix categories: code, general, cyber, visual, chat. Offline DeepSWE v1.1 (mini-swe-agent, avg@3) charted vs step — at catalog time flash step 12 ≈ 60.77, pro step 8 ≈ 62.24. Live status showed pro mid-restart (VRAM notice), flash on step ~15; cumulative token/sandbox counters and $/s burn rates exposed. Social @XiaomiMiMo; footer “Open is what we value.” Not a paper — transparency artifact for upcoming V2.6; lineage continues MOPD/agentic RL from MiMo-V2-Flash (arXiv 2601.02780) and V2.5 stack (catalog 487).",
      "url": "https://mimo.xiaomi.com/rl/",
      "authors": [
        "Xiaomi MiMo Team"
      ],
      "tags": [
        "mimo",
        "xiaomi",
        "mimo-v2.6",
        "live-rl",
        "agentic-rl",
        "deepswe",
        "transparency",
        "dashboard"
      ],
      "venue": "Xiaomi / mimo.xiaomi.com",
      "source": "web",
      "license": "site content © Xiaomi; no weights on this page",
      "published_year": null,
      "added_at": "2026-09-16T20:49:10.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/994",
      "markdown": "https://papers.projxon.ai/entries/994.md",
      "api": "https://papers.projxon.ai/api/entries/994"
    },
    {
      "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"
    }
  ]
}
