{
  "id": 1451,
  "kind": "post",
  "title": "Training Reve 2.0 at scale",
  "summary": "Reve's training platform for its multimodal image models (Reve 2.0/2.1), built by a small team under tight engineering-time and compute constraints and validated at ten-thousand-GPU scale. Stack: Kubernetes + Ray on Google Cloud, with an in-house workload client GKR (Google Kubernetes Engine Runner) as a single cluster-aware CLI for submission, inspection, logs, and file transfer; KubeRay manages Ray job lifecycle; PyTorch + Ray Train for distributed compute; GitOps via ArgoCD/Terraform/Kustomize; Hydra YAML training-driver configs separating application config from launch templates. Job submission: GKR renders Jinja Kubernetes manifests, with RayJob (temporary RayCluster), persistent RayCluster, and plain Job types; extensive preflight checks before GPU time is spent (manifest validation, kernel-log/hardware/driver checks, compute and collective tests, mounts/libraries/transport) with an offer to tear down on failure. Platform: GCP future reservations for collocated long-term capacity; node families a3-megagpu-8g (8x H100 80GB, 1,800 Gbps GPUDirect-TCPXO) and a3-ultragpu-8g (8x H200 141GB, 3,600 Gbps RoCE); whole-node 8-GPU allocation preserving intra-node locality; rack affinity found minimal impact in-region (expected to matter more on Vera Rubin A5X 72-GPU NVLink domains); no capacity-based queueing by design — conflicts resolved by manual coordination, Kueue admits all jobs. Distributed execution: RayCluster with one head + many workers, auxiliary workers (inference/encoding/evaluation) as persistent Ray actors in separate resource pools behind per-node proxies, communicating via ZeroMQ (not Ray RPC) with weighted round-robin and per-rank bounded queues; driver capacity planning reserves auxiliary capacity first via a proportional GPU/CPU formula, then rounds by parallelism layout; data loaders decoupled from Ray into multiprocessing backends with deterministic sampling schedules resumable from checkpoints. Cross-region: clusters per GCP region, with a custom DiLoCo variant — independent local learners per RayCluster, central synchronizer merging weight snapshots with a separate outer optimizer, in barrier and decoupled modes (decoupled learners keep training and merge later, needing merge/replace rules). Failure containment: PyTorch Distributed Checkpoint (snapshot to CPU memory, background write to GCS, lowest-index rank triggers auxiliary checkpointing); optional torchft integration for live fault tolerance — RayCluster auto-shrink keeping surviving FSDP replica groups running past a trainer-process loss, with a Lighthouse quorum, manager heartbeats, and all-or-nothing optimizer updates per replica group; at a hypothetical 20,000 GPUs the authors estimate MTBF would fall below the checkpoint interval, making live fault tolerance non-negotiable. Warden, the fleet health manager: periodic Temporal workflows per node (one worker per node, state in Temporal DB), detection via GPU telemetry + Kubernetes state (definite fault → cordon; ambiguous → gkr check preflight suite), recovery sweeps rebooting idle cordoned nodes, stress-test then uncordons, repeated cordons escalating to GKE auto-repair; shrinking a RayCluster on replica-group loss without interrupting training. Observability: OTel/Prometheus/Grafana + self-hosted ClickHouse for high-cardinality metrics/logs (SQL access for LLM-assisted investigation); FleetMonitor Ray actor for auxiliary-worker queue/throughput/health; NCCL Inspector diagnosing stragglers by decomposing collective duration into waiting + transfer time (transfer ≈ min rank duration, waiting ≈ rank duration − min, arrival skew ≈ max − min, averaged ~30s), complemented by the PyTorch flight recorder. Failure analysis: after a crash, an LLM agent (given crash log, configs, code checkout, isolated workspace, debug/tracing skills, telemetry access) proposes a root cause, evidence, and fix, then waits for human approval before applying it and relaunching.",
  "body": "",
  "notes": "License: no license terms stated (company report; no code released — the report invites email to training-infra@reve.art for reference source code) — flag at insert",
  "url": "https://reve.com/training-infra",
  "links": [],
  "authors": [
    "Reve Research Team (Reve",
    "image-generation company",
    "Reve 2.0 released 2026-06-03)"
  ],
  "tags": [],
  "topics": "",
  "venue": "Reve technical report",
  "publisher": "",
  "source": "report",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-10-28T00:00:00.000Z",
  "verified_at": "2026-10-28T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1758"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:57:30.288Z",
  "updated_at": "2026-11-01T12:57:30.288Z",
  "page": "https://papers.projxon.ai/entries/1451",
  "markdown": "https://papers.projxon.ai/entries/1451.md",
  "api": "https://papers.projxon.ai/api/entries/1451",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 867,
      "kind": "paper",
      "title": "Enabling Frontier-Scale Training for the GLM-5.3 Family",
      "summary": "Field report on the training infrastructure that made GLM-5.3 and GLM-5.3 Flash trainable with RL. Two camps of the 'expedition': (1) silent numerical mismatches — the Megatron trainer and vLLM sampler can drift into different policies without crashing (flat reward curve hours later). A 5-minute numerical regression test compares trainer/sampler logprobs token-by-token, deliberately perturbs only the trainer's adapter to confirm the stale sampler disagrees, then resyncs and confirms agreement — ~28x faster than a ~150-minute training cycle. It caught two real bugs (shared-expert scaling, cached prefill), fixed upstream in SkyRL. (2) slow handoffs — LoRA adapter sync took >6.5 minutes on full GLM-5.3 because the shared-expert adapter was duplicated per expert and written to disk. An in-memory path dedupes tensors and uses NCCL/CUDA IPC, cutting sync from ~390s to ~13s (~29.4x). Validation trek: trained both models on DAPO-math with a tight 8,192-token response limit; over 20 steps AIME 2024 accuracy rose 57%->81% (GLM-5.3) and 54%->83% (Flash), while Flash's share of capped responses fell 46%->6% and average length 5,217->2,424 tokens.",
      "url": "https://www.trajectory.ai/field-notes/enabling-frontier-scale-training-for-the-glm-5-3-family",
      "authors": [
        "Hersh Godse",
        "Chuck Tang (Trajectory)"
      ],
      "tags": [
        "frontier-scale-training",
        "glm-5.3",
        "training-loop",
        "numerical-regression",
        "weight-sync",
        "nccl",
        "skyrl",
        "rlhf",
        "aime"
      ],
      "venue": "Trajectory field report, 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/867",
      "markdown": "https://papers.projxon.ai/entries/867.md",
      "api": "https://papers.projxon.ai/api/entries/867"
    },
    {
      "id": 1225,
      "kind": "thread",
      "title": "MOPD's Place in a Frontier Training Portfolio (X discussion)",
      "summary": "Brian Huang argues MOPD — a training objective that lets many independently-trained models be automatically 'casseroled' (merged) into a single model — still deserves a place in frontier training portfolios even if RL generalizes strongly. Two reasons: (1) speculative stability — at very large RL step counts (~5k-10k steps), MOPD objective updates may be more stable and accumulate less 'rot' than REINFORCE-style RL objectives, so MOPD could keep climbing where RL plateaus; (2) organizational — MOPD permits many research teams to pursue overlapping research bets in parallel, with their resulting models automatically combined into one final checkpoint, effectively pushing the scaling curve on frontier-lab researcher labor vs usable yield from that labor. Replies: will brown agrees parallelization of research effort is one of the strongest reasons; Lucas Beyer (giffmana) jokes that RL people calling 5-10k steps 'very far' is funny; Patch finds the organizational argument compelling. MOPD acronym was not expanded anywhere on the page. No paper, code, or external artifact attached — captured as a discussion.",
      "url": "https://x.com/brianryhuang/status/2106652326127694000",
      "authors": [
        "Brian Huang (mid-training @GoogleDeepMind)",
        "responding to @willcb",
        "replies from @giffmana",
        "@patchwanders"
      ],
      "tags": [
        "mopd",
        "model-merging",
        "training-portfolio",
        "rl-scaling",
        "research-organization",
        "mid-training"
      ],
      "venue": "X discussion thread, 4 Oct 2026",
      "source": "other",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00: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/1225",
      "markdown": "https://papers.projxon.ai/entries/1225.md",
      "api": "https://papers.projxon.ai/api/entries/1225"
    },
    {
      "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": 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": 858,
      "kind": "paper",
      "title": "Sharpening Tax in Post-Training",
      "summary": "Tests the 'sharpening hypothesis' — that RL post-training merely sharpens a base model's existing behaviors, improving single-shot accuracy at the cost of solution coverage — in the agentic domain (multi-turn tool use), where post-training is believed to matter most. Pre-trained base LLMs with a light, model-agnostic inference harness turn out to be capable agents: they lose at pass@1 but scale more steeply with pass@k and often overtake their post-trained counterparts given a sufficient test-time budget. The mechanism: post-training pushes tasks toward two extremes (always solved or never solved), improving sampling efficiency and consistency at the cost of solution coverage. The paper proposes Sharpening Tax, a diagnostic metric quantifying the loss in test-time scalability after post-training (area between the pass@k curve and its pass@K ceiling, normalized; tax = base scalability minus post-trained scalability). Across 14 base/post-trained pairs from four model families on three agentic benchmarks (42 settings), the tax is prevalent (36 of 42 pay a positive tax at k=128), can be estimated cheaply from few rollouts (tax from 8 rollouts predicts tax at 32, Spearman rho = 0.85), and correlates with other metrics. Finally, posterior-tempered group sampling (PTGS) — a plug-and-play Bayesian sampler that adapts sampling temperature per prompt via a Beta posterior over difficulty — pays a smaller tax during RL training in two agentic environments, solving more tasks under repeated sampling while also improving pass@1.",
      "url": "https://arxiv.org/abs/2610.01509",
      "authors": [
        "Changdae Oh",
        "Qi Zeng",
        "Qi Qi",
        "Andrey Zhmoginov",
        "Deren Lei",
        "Yun He",
        "Hoang Phan",
        "Hangoo Kang",
        "Azalia Mirhoseini",
        "Sharon Li"
      ],
      "tags": [
        "sharpening-tax",
        "post-training",
        "rl",
        "pass@k",
        "distribution-sharpening",
        "ptgs",
        "posterior-tempered-group-sampling",
        "agentic-benchmarks",
        "webshop",
        "bfcl",
        "acebench"
      ],
      "venue": "arXiv:2610.01509 (cs.AI), submitted 1 Oct 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/858",
      "markdown": "https://papers.projxon.ai/entries/858.md",
      "api": "https://papers.projxon.ai/api/entries/858"
    },
    {
      "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"
    }
  ]
}
