Skip to content

feat(orchestrator): restore labeled rollouts across the next publish - #4844

Draft
hallerite wants to merge 1 commit into
feat/rollout-ckpt-off-barrierfrom
codex/checkpoint-labeled-policy-lag
Draft

hallerite wants to merge 1 commit into
feat/rollout-ckpt-off-barrierfrom
codex/checkpoint-labeled-policy-lag

Conversation

@hallerite

@hallerite hallerite commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Stacked on #4829.

  • Apply max_staleness to absolute per-token policy-version distance at batch selection and trainer materialization. Report the fraction of sampled tokens ahead of the trainer.
  • At the next publish, preserve the cutoff for unlabeled prefixes. With a positive staleness budget, fully labeled prefixes can save through one extra policy version. Cap them at vN+1 for checkpoint N.
  • Let consecutive saves overlap while serializing captures of the same rollout and publishing checkpoints in order. Keep the last jointly complete checkpoint while its successor is still writing.

Validation

  • 108 focused Linux tests passed, including symmetric masking, the unlabeled cutoff, and interrupted checkpoint retention. Ruff and pre-commit passed.
  • The live Nebius run (Slurm job 17309) used Qwen3-0.6B, vLLM, and Prime memory snapshots on two H200s. Checkpoint 2 committed a prefix containing 12 tokens sampled by v3 after its publish.
  • A fresh run resumed checkpoint 2 and restored those 12 v3 tokens. Both probe prefixes matched their saved token IDs and version spans, and the first new samples in both rollouts carried v2. The resumed trainer completed steps 3 and 4.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant