Repository navigation
Conversation
Ying1123
force-pushed
the
ying-refactor
branch
3 times, most recently
from
September 30, 2024 07:31
fe53750 to
476440f
Compare
Ying1123
force-pushed
the
ying-refactor
branch
2 times, most recently
from
September 30, 2024 10:11
aad473a to
3a45d58
Compare
Ying1123
force-pushed
the
ying-refactor
branch
from
September 30, 2024 17:21
3a45d58 to
6774167
Compare
Contributor
Author
|
Moved to #1549 |
YAMY1234
added a commit
to YAMY1234/sglang
that referenced
this pull request
Oct 1, 2026
… common implementation
YAMY1234
added a commit
to YAMY1234/sglang
that referenced
this pull request
Oct 1, 2026
…ign-line common implementation" This reverts commit f552399.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Oct 4, 2026
…med (b9k lf_sorts=0: the first version yielded to _owner_placement) b9k (image 106fa00, ENV D_LOW_FIRST=16): 'D-LOW-FIRST armed on PagedTokenToKVPoolAllocator' but every D-LIVE-FLOOR line showed lf_sorts=0 for 7 min; D-TOKEN-PLACEMENT was armed in the same second (22:17:05Z) and _weg2_low_first_tick returned early whenever _owner_placement was set. The placement is a STABLE per-class interleave, so an ascending sort BEFORE it stays ascending inside every class: sort first, re-apply the placement on top (class mix kept, lowest id first inside a class). Only the corridor owner bias still wins (now with one loud warning). Instrument gains lf_calls, lf_yield, placement. Tests: armed-placement cases for the token and the paged (page_size 1) allocator, class mix kept, ascending inside a class, two ranks agree, mutant that yields to the placement is caught.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Oct 22, 2026
…ct#1540 D-SIGNAL-SEATS / sgl-project#1976 D-SIGNAL-LOCKED default on Regression of 31c8d07 on metal (dual round 2, boot dkr27bnvfp4dualbar1drei10220138, image rc31b4): 9 min, 0 prefill / 0 decode batches, 10x CLIENT-GONE. Chain (front.log): 01:42:32,818 "d_signal id_space=0.99 -- D is short beyond the ledger bytes" (the own-tag reading now finds D's signal file; D maps 8192 of its 1M-row id space and the table fill counts the rows it never mapped) -> 01:42:32,822 stage=1 -> 01:42:33,029 stage=1-lend -> 01:42:33,649 stage=2 sleeping (P SLEEP-LEND 6312427520 / 5131730944 / 4846518272 B). From 01:42:43 every request is "LONG -> P leg 1 / BATCH queued"; D gets no seat, d_seat_done never moves, and the sleeping wake (dual_d_priority.PressureStages.tick: pressure <= 0 AND seats_done > seat_mark AND room) waits for a seat end that cannot come. No wake line, no sgl-project#1480 line (the gate only speaks in 'reclaiming'). B9e again: the companions built for the seeing front (sgl-project#1540 seats gate, sgl-project#1976 locked rows) were default off. Fix: - PressureStages.tick(d_idle=...): from sleep, an idle D (no live seat, nothing waiting for one) counts like a finished seat -- with no pressure and the room on every card P wakes. A live D seat still holds P until it ends. The front passes d_idle = not (_d_seats_live or _ready_for_d). - FLLIPER_PDFLIP_DUAL_D_SIGNAL_SEATS and FLLIPER_PDFLIP_DUAL_D_SIGNAL_LOCKED default ON (user order 14.10.); =0 = the old reading. A standing table fill with no D work is no pressure, so P does not lend/sleep at boot. - The front's reading tolerates stubs without _d_seats_live / a bound sgl-project#1480 gate (both default on now). Rank agreement unchanged (front decides alone, SOLL R11); no reserve; features stay on. Tests (serial, flock, MemoryMax=2G, DevicePolicy=closed, CUDA_VISIBLE_DEVICES=""): new test_27b_dual_p_asleep_long_waits_1022 (5: boot without D work does not sleep P; P asleep + LONG waiting + idle D wakes, with the standing 0.99 signal and without any signal; a live seat still waits for its end; pure rule): 31c8d07 sources 4 red -> green. 1540/1976/1480/q660 re-pinned to the new defaults (off = explicit 0). Isolated 8 dual modules: 31c8d07 sources 21 failed -> fix 2 failed (dual22_resume_order, 1002::test_b1, both red at a4f4b8f as well). Battery of 65 modules: 3 failed / 1241 passed (the two above + told_anchor_hold_y9d4::test_q610, order effect only, green in isolation).
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.
No description provided.