Datacurve details seven infra pitfalls of long-horizon RL finetuning on 128 H200s at 256k context

andrew_n_carr · x · 2026-12-04

Datacurve published a write-up on scaling its RL training infrastructure for long-horizon software tasks: to study its increasingly difficult SWE RL environments, they finetuned Qwen3.8-Flash-Next, a 176B hybrid MoE, at 256,000 context on 128 H200 GPUs. The core problem: GRPO-style algorithms center advantage estimates on the group mean, so groups with all-zero rewards contribute no policy-gradient signal—learning requires nontrivial success rates within each group, which demands long contexts and big models, making experiments far more expensive and amplifying elusive numerical errors.

The post covers seven implementation choices across three problems—tolerable at short horizons but catastrophic at long ones: (1) making long rollouts practical, (2) mitigating policy drift between trainer and sampler, and (3) eliminating long-horizon entropy collapse that emerged at scale.

In the training loop, inference workers run agents in fresh sandboxes and record, per token, log-probabilities and router-selected experts; the trainer replays those choices and updates the adapter. The fixes let the team study what their environments actually teach at a faster experimental cadence and with greater confidence.

Related event: Datacurve Details RL Infrastructure for 176B Model on 128 H200s(2 posts)→

Original post →

More from Infra

Infra channel →