Repository navigation
[sampler throughput] Keep gpt-oss-20b's sampler pool warm between training steps - #37
Merged
Merged
Conversation
Micah Yong (micahtyong)
marked this pull request as ready for review
October 9, 2026 04:30
Micah Yong (micahtyong)
force-pushed
the
micah/perf-sampler/S1-warm-pool
branch
from
October 9, 2026 04:33
5717ef0 to
31fc4db
Compare
Micah Yong (micahtyong)
force-pushed
the
micah/perf-sampler/S1-warm-pool
branch
2 times, most recently
from
October 9, 2026 15:45
3443843 to
5f6bfe0
Compare
Micah Yong (micahtyong)
changed the base branch from
devin/1790903668-expert-lora-compat
to
main
October 9, 2026 15:45
Micah Yong (micahtyong)
force-pushed
the
micah/perf-sampler/S1-warm-pool
branch
from
October 12, 2026 23:16
5f6bfe0 to
972f806
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Micah Yong (micahtyong)
force-pushed
the
micah/perf-sampler/S1-warm-pool
branch
from
October 13, 2026 18:11
972f806 to
9ba3788
Compare
Micah Yong (micahtyong)
requested a review
from Kailash Ranganathan (kailash109)
October 13, 2026 20:24
Drops the trainer-gated minimum so inference_min_replicas keeps its existing meaning for LoRA sampler pools, including warm eval pools. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Micah Yong (micahtyong)
requested a review
from Kailash Ranganathan (kailash109)
October 13, 2026 21:07
A queued trainer no longer holds inference_min_replicas warm replicas while it waits for GPUs. prepare_model still deploys the pool directly when a trainer for the config is already up. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Kailash Ranganathan (kailash109)
approved these changes
Oct 13, 2026
Fred Robinson (frrad)
added a commit
that referenced
this pull request
Nov 17, 2026
The fork PRs for seeded LoRA initialization were squash-merged, so the commits Spindle pinned are not on the spindle-miles* branches. Pin the merged commits instead: - miles-v0.1.1-52a7a99 (modal-projects/miles#42; same tree as ce494f0) - miles-v0.1.2-99e1ebe-glm53 (modal-projects/miles#43; same tree as 612703a) - miles-v0.2.0-8c5de26 (modal-projects/miles#44, after Beam LoRA support #37) The DeepSeek-V4.1 seed commit fde5e9e was never merged. Its seed patch is identical to the one #43 merged onto spindle-miles-v0.1.2, so the plain v0.1.2 image uses that branch head, 99e1ebe, as miles-v0.1.2-99e1ebe. The GLM-5.3 changes between f2f8447 and 99e1ebe only take effect in the glm53 build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In synchronous RL the sampler pool sits idle during each training step. gpt-oss-20b's step (~6 min) outlasted the pool's 300 s scale-down window, so the pool scaled to zero between updates and every update's rollouts waited ~4 min for cold replicas.
The gpt-oss-20b 64k preset now sets
inference_min_replicasto 8, keeping its sampler pool warm across training steps.inference_min_replicaskeeps its existing meaning: a fixed minimum for the pool whenever it is deployed.LoRA sampler pools for training models are now deployed when a trainer for the config boots, rather than when the training client is created, so a trainer queued for GPUs no longer holds warm sampler replicas. If a trainer for the config is already up, the pool is deployed immediately. Sampling clients still deploy the pool on first use.
E2E results
sec-search-rl (gpt-oss-20b), 4 updates, trainer on 8×H200, sampler pool of 8 × 4×H200.
Before WandB
After WandB
🤖 Generated with Claude Code