Repository navigation
Port measured V620 fast serving stack onto current rdna_extras - #17
Merged
BlivionIaG merged 37 commits intoSep 23, 2026
Merged
BlivionIaG merged 37 commits into
BlivionIaG merged 37 commits into
Conversation
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
This reverts commit 5e4b5d5.
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
This reverts commit 17952ec.
This reverts commit 77823e1.
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Signed-off-by: Luca Motz <luca.motz@icloud.com> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk> Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
This reverts commit 249a565.
This reverts commit 80c9874.
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
GeorgeMA-Strong
marked this pull request as ready for review
September 23, 2026 12:01
Signed-off-by: George Muravei-Alkhavoi <georgezagraid@gmail.com>
Merged
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.
Purpose
Port the fast V620 TP4 serving stack onto current upstream
rdna_extras(f3dd65fa70636566c11b249209d281c0b63c819e) through Git commits. The server built and pulled this branch from Git; no source files were transferred over SSH.The base already contains PR #15's live-context QSA bound and earlier FP16 tuning.
Measured 16K prefill
llm-context-benchran regular and coding 16K fixtures on the same four V620 cards, TP4/EP4, FP16, MTP2, with warm passes and fresh request tags.Long-context defect and fix
The 3.75 GiB service initially entered a deterministic preemption loop during the 143,855-token coding prompt. Scheduler instrumentation proved the allocation itself was not the cause. Four Mamba managers allocated a new state block per 4,096-token chunk but did not retire their previous states across null gaps. At 135,168 computed tokens only three of 278 blocks remained; the next reservation failed and restarted the only request from zero.
Commit
b619cf991backports mainline vLLM commitfadfe1c7d,[Bugfix][Core] Retire Mamba states across null gaps (#55450), while preserving the served branch's checkpoint/replay implementation. The focused server tests passed: 7 passed. The instrumented 128K coding request then crossed the former failure boundary with 123 blocks free before allocation and 119 after it, and completed at 1,832.6 prefill / 70.2 decode tok/s. Temporary scheduler instrumentation was removed in5030766bcandb88acd94d.Final Git service verification
The clean service retains the intended 3.75 GiB KV allocation (
4026531840) and 602,112-pixel vision cap. Clean startups took 352 and 367.5 seconds, compared with 373.879 seconds for the saved combined service. The pinnedllm-context-benchharness completed with retries disabled:Exact PR-head rerun
After restarting directly from final PR SHA
532ed3f930f475e731c82726e079f3374ab5b33f,llm-context-benchcompleted both 16K fixtures with retries disabled:Raw result:
/home/george/v620-experiments/git-final-pr-head-16k-20260923.json. The live process has the PR checkout as its working directory andPYTHONPATH, importsvllm/__init__.pyfrom that checkout, and maps_C,_rocm_C,_C_stable_libtorch, and_moe_C_stable_libtorchfrom that checkout'sbuild/directory. The tracked server tree is clean.Vision and long-chat checkpoint validation
The final PR-head service passed real API probes for vision and appended-turn reuse. Each reuse probe used a unique cache salt and failed unless at least 70% of the prior prompt was cached and follow-up TTFT fell below half of the initial turn.
The vision probe used a generated 1,260×1,260 RGB image (1,587,600 pixels), close to the configured 602,112-pixel cap. The model correctly identified its blue and yellow regions and central white outline. The long multimodal probe kept that image at the beginning of the conversation, appended the assistant answer and another user turn, and returned the required answer while reusing 33,792 prior tokens.
Raw server artifacts:
/home/george/v620-experiments/prefix-reuse-final-32k-20260923/results.json/home/george/v620-experiments/prefix-reuse-final-128k-20260923/results.json/home/george/v620-experiments/vision-final-1260-followup-20260923.json/home/george/v620-experiments/vision-longchat-final-32k-20260923.jsonCUDA graph scope
The measured launcher has used
mode=0,cudagraph_mode=FULL_DECODE_ONLY, and capture sizes[3,6,12]since baseline commit9daf24d68. With MTP2, each request schedules three uniform decode tokens, so those sizes cover 1, 2, and 4 simultaneous requests. The final live startup log confirms that all four workers captured FULL graphs for those descriptors. Prefill and mixed batches execute without CUDA graphs.PIECEWISEis not active in this configuration: this branch requires compilation modeVLLM_COMPILE(mode=3) and piecewise graph partitions for it. Historical September 15 Flash-Next testing found 11/18 post-load correctness failures withFULL_AND_PIECEWISEplus prefix caching, while decode-only capture remained the qualified served path. The current PR includes later graph and recurrent-state fixes, so that historical result is evidence for retaining the measured setting rather than a claim that currentFULL_AND_PIECEWISEcan never work. Switching modes requires a separate current-branch correctness and performance A/B.Exact full run command
This is the resolved command for the measured service. It includes every serving, ROCm, cache, TunableOp, and V620 environment variable from the live process. The OS-managed systemd variables are supplied by the user service. The service unit also applies
MemoryMax=236223201280,MemorySwapMax=0,KillMode=control-group, andRestart=on-failure.The checked-in unit and launcher execute the same configuration:
systemctl --user daemon-reload systemctl --user enable --now v620-tp4-git.serviceThe resolved rocBLAS library SHA-256 is
c27e2252cc7a4b6e174601a180a169822dcf15a29e634046daecb61498e3bd2a; the matching TunableOp directory suffix isc27e2252cc7a.Verification
Reproduction and scope
The benchmark log and per-stage results and Git-only build and service recipe record exact settings, model metadata hashes, runtime paths, startup timing, and result JSON paths. Model shards and the Python environment remain external machine assets.
AI assistance was used to port, test, and prepare this draft. Human review is requested before merge.