Uh oh!
There was an error while loading. Please reload this page.
feat(sao): add end-to-end Terminal-Bench SAO with streaming DiLoCo - #1
Merged
Conversation
Expose deterministic router, rollout-engine, and trainer process-group ports for co-resident Miles drivers. Preserve the requested attention backend when constructing LoRA models through Megatron Bridge.
Allow an external policy synchronizer to keep the rollout loop running until it returns a stop result. Always publish the final trainer weights before stopping and preserve the bounded native loop when the option is disabled.\n\nCover stop-after-publication ordering and repeated trainable-state applies that preserve optimizer state while advancing scheduler progress.
Wake an offloaded training actor before external policy synchronization initializes, keep it resident through the initial rollout weight publication, and offload it only after that publication completes. This lets initial-adapter export and application use live Megatron tensors without leaving the actor awake for the first training step. Extend the external policy sync regression test to assert the exact onload, initialize, publish, offload, train, synchronize, and republish ordering.
Materialize bridge-converted LoRA weights on CPU while the trainer is still resident, before colocated offload releases its model storage. Consume that staged snapshot after rollout weights return, copying only the flattened adapter into a fresh CUDA allocation for CUDA IPC. This avoids both stale offload-backed tensors and CPU file-descriptor serialization across Ray and SGLang process authentication boundaries. Add focused ordering, staging, and IPC transport regressions.
added 10 commits
August 19, 2026 22:48
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
Production validation
Validated Qwen3.5-0.8B on one 8xH200 node as eight one-GPU islands:
Matched held-out evaluation showed no aggregate policy improvement:
The successful task changed, confirming behavioral change, but this is architecture validation rather than a learning-quality result.
Verification
main.git diff --checkpassed.mainis contained in this branch; there are no merge conflicts.Caveats
Companion Yeto PR: agentenv/yeto#46.
Artifacts