Repository navigation
Update backend.md - #1429
Merged
Merged
Update backend.md#1429
Conversation
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 16, 2026
…ICE counter, so a CUDA-graph replay counts Boot kvt7d (16.09. 16:06Z, D-layout TP3 uneven DCP + MTP + graphs, --kv-tail-min-tokens 16384): READY after 120 s, 0 tracebacks at boot; the DCP verify merge (sgl-project#1428) ran (tail_merges rose to 288 during graph capture). On the needle request the verify steps replayed captured graphs: the tail wrapper's kernels ran, but note_merge() is Python and a replay runs no Python, so tail_merges_this_step stayed 0 and the W56 falsifier refused a tail that WAS read (W56 raised from init_forward_metadata_out_graph -> _kv_tail_plan_verify -> plan). Fix: KvTailRing._merge_dev, an int64 device scalar bumped in note_merge() by a captured kernel; plan() (out of graph) reads it and folds the delta into tail_merges / tail_merges_this_step before the W56 judgement. Eager steps count once (delta == Python count), replays count on the device only. reset() zeroes it. Tests: test/registered/unit/mem_cache/test_kv_tail_1243.py 130 passed, 19 subtests (hermetic): replayed-graph merges (device bump, no note_merge) are accepted; eager merges are not double counted; reset zeroes the device counter.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 16, 2026
…ame walk instead of traceback.format_stack. py-spy on xsn190 caught PP0's main thread formatting a stack (linecache source reads) on every probe-slot free of the idle PP loop, ~1000x/s. Same file:line provenance, microseconds. Tests: mamba floor/583/773/904 green.
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.
sync with README.md