Skip to content

[Fix] Settle rollout forwarding timeouts at the normal offload barrier - #2381

Open
jayhenry wants to merge 1 commit into
mainfrom
fix/http-timeout-barrier-simplified
Open

jayhenry wants to merge 1 commit into
mainfrom
fix/http-timeout-barrier-simplified

Conversation

@jayhenry

@jayhenry jayhenry commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Layer 1 of 10 in the Mini-Agent stack. Base main. Head fix/http-timeout-barrier-simplified.

Review scope

Use normal LMDeploy PyTorch offload to certify stop after an upstream forwarding timeout. Healthy requests finish and commit their traces before pause. The gate retains the original request and SID until every participating worker offloads successfully. An offload error keeps admission sealed. Mixed legacy sandbox groups retain shared trace ownership and release orphaned sessions. This is the simpler alternative to #2332 and migrates the fork patch in #2380.

Validation

The working tree and Python compilation were checked at this layer. The relevant CPU cases passed in pt29_glm2 with CUDA_VISIBLE_DEVICES='' as part of the combined python -B -m pytest -ra runs.

tests/rl/test_request_gate.py tests/rl/test_session_server_cross_weight_update_rollout.py tests/rl/test_rollout_request_barrier.py tests/rl/test_rollout_forward_timeout_offload.py

Keep timed-out request IDs pending after the HTTP lease exits. Confirm backend stop at offload and preserve trace ownership for retained samples.

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