fix(dsv2lite): add HTTP reliability gate#556
Open
CAICAIIs wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 02092ab15a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…eliability-gate-merge # Conflicts: # openinfer-vllm-frontend/src/bridge.rs
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
Adds a replayable DeepSeek-V2-Lite EP2 HTTP reliability gate for real streaming
/v1/completionstraffic.This PR also tightens the request lifecycle contract across the vLLM bridge,
TokenSink, and the DSV2-Lite scheduler so completion, rejection, cancellation, disconnect, and error retirement are machine-distinguishable in traces.Fixes #453.
What Changed
scripts/bench_dsv2lite_http_reliability.pyfor live HTTP reliability scenarios:Extra Risks Fixed
While implementing #453, the gate exposed a few reliability risks that would have weakened the result:
Each fix is scoped to the DSV2-Lite HTTP/scheduler reliability path.
Evidence
Local checks:
Remote 2-GPU checks:
Results:
openinfer-enginetoken sink tests: 3 passed.openinfer-vllm-frontendabort tests: 2 passed.e2e_ep2: 1 passed.e2e_ep2: 1 passed.HTTP Reliability Gate
Live reliability artifacts passed on both backends:
http_reliability_host_staged.json832d65a8e8b2b3a6ad0100c4a35f38475f040d6ffc192ec38a3b7384167187a5http_reliability_nccl.json53bedd98f19c5241df588a1ade8756e84a5e8c99225a589c4ed303e90fba38faBoth backends passed:
cancel_disconnectinvalid_requestsoverload_active_capmixed_short_long_with_failuresEvery scenario ended with a healthy scheduler baseline and a successful clean follow-up request.
No-Regression Benchmark
The no-regression HTTP benchmark ran after the reliability gate.
Coverage:
input_len=64,output_len=64, concurrency1/4/8;prompt_words=16,128,max_tokens=16, concurrency4/8;Result:
8/8requests;failed=0;timeouts=0;missing_traces=[];This benchmark shows that the reliability changes did not regress normal HTTP serving behavior under the covered concurrent workloads. It is not a throughput optimization claim.
Claim Boundary
This PR claims stronger DeepSeek-V2-Lite EP2 HTTP reliability evidence and auditable failure isolation.
It does not claim:
Remaining Risks
No #453 reliability blocker remains after the gates above.
Separate follow-ups remain outside this PR: