Repository navigation
feat: support sm75 with FlashInfer v0.1.6 - #1233
Merged
Merged
Conversation
yzh119
approved these changes
Aug 28, 2024
zhyncs
marked this pull request as ready for review
August 28, 2024 07:32
merrymercy
approved these changes
Aug 28, 2024
Contributor
Author
python3 -m sglang.launch_server --model Qwen/Qwen2-1.5B-Instruct --mem-fraction-static 0.7 |
Contributor
Author
|
Hi @horiacristescu May you try the latest main on T4? Thanks. # Use the last main branch
git clone https://github.com/sgl-project/sglang.git
cd sglang
pip install --upgrade pip
pip install -e "python[all]"
# Install FlashInfer CUDA kernels
pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.4/
python3 -m sglang.launch_server --model Qwen/Qwen2-1.5B-Instruct --mem-fraction-static 0.7It works for me on GCP T4. |
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 8, 2026
…ried the PRE-ORDER expectation REGRESSION I INTRODUCED AND PREVIOUSLY MIS-REPORTED. fb37325 (the hard bound) broke four tests in test/registered/unit/weg2/test_weg2_store_reap_bound _1233.py. I reported "no regression" after checking ONE file (test_weg2_ring_ledger_1235.py); the full directory was never baselined. Bisect over the branch, that file only: e4f1b9f (base) 14 passed bc57275 14 passed de7106a 14 passed fb37325 4 failed, 10 passed <- the hard bound 93aaaa9 4 failed d805103 4 failed THE REFUSAL IS CORRECT; THE TESTS ENCODED THE OLD PREMISE. On that fixture's readings the arithmetic is not close, and it is already in the honest currency (choose() nets reclaimable_bytes, so 83.66 is non-reclaimable): peak without store 83.66 GiB hard bound 95.90 - 8.60 = 87.30 GiB room for a store 3.64 GiB against an 8.00 GiB floor so no arm funds and the ladder refuses by name. That is the standing order working as specified, not a bug in the bound -- a boot that has not left room for the flip transient and the measured under-prediction is already lost. The four are updated rather than relaxed, and the file keeps its subject: * the two funding assertions become REFUSAL assertions that additionally require the refusal to name its terms (transient / residual / margin), which the old tests could not check because there was no margin to name; * the per-arm table test now reads the table out of the W21 exception -- fix 8 emits it on the refusal path on purpose, which is where a reader needs it; * the funding path stays covered by a new `test_a_box_with_room_still_funds_an_ arm` on a ring 6 GiB smaller. That lever is the one the W21 message itself names ("cut Sigma H"), and it is the ONLY one that moves this box: the origin cannot be lowered because run_origin_gib takes max(launch reading, run-moment residual floor) and the floor binds here. Verified by sweep: -4000 MiB funds M=600, -6000 MiB funds M=1200 at peak 85.80 < 87.30. 15 passed in that file. Ruff parity exact: 0 -> 0. Separately baselined and NOT mine: test_weg2_ring_ledger_1235.py's 3 failures and test/registered/unit/ managers' 4 collection errors ('SchedulerPPMixin has no attribute pp_flip_dr...') reproduce identically at e4f1b9f with my files reverted.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 12, 2026
…ss-check, and the max/sum ruling
#1350b showed that every source the ring solve reads is downstream of the ring
it sizes. The manifests are the one that is not: `xchg_manifest` writes, per
rank and per region tag, the nbytes of every tensor that rank holds, straight
from the live parameter inventory, and they know nothing about any ring.
BUILT: `ring_table.sigma_h_from_manifests()` (read through
`xchg_manifest.load_manifests` -- the reader the JOIN itself uses, so there is
no second bookkeeping of the byte sum) returning per-card MiB, a
`SIGMA-H source=manifest boot=... cards=... sum=...` provenance line, and a
detail dict that carries BOTH candidate formulas so the next reader can check
the ruling instead of trusting it. Plus `manifest_census_crosscheck()`, which
names WHICH source is wrong when the two disagree beyond
MANIFEST_CENSUS_TOLERANCE (5 %), with its evidence and in both directions.
THE FORMULA IS max(P, D) PER CARD, NOT P + D, and the difference is 29 GiB.
C19's ring holds the DORMANT image and the legs copy through it, so exactly one
group is dormant at a time. Boot weg2xsn24's own ten manifests:
card0 P 17896 D 18287 -> max 18287 card1 P 5591 D 6836 -> max 6836
card2 P 7660 D 6820 -> max 7660
Sigma max 32783 MiB = 32.01 GiB Sigma sum 63090 MiB = 61.61 GiB
`RUN MOMENT = the host weights term 32.19 GiB`, recorded in
`host_ledger.price`'s sgl-project#1327 note by another route before this ticket existed,
is 177 MiB (0.5 %) from the max form and 29.4 GiB from the sum form. The
operator's brief said P+D; this is the correction with its evidence.
CROSS-CHECK against every census in the series, all one-sided:
47512 (xsn25 dry, charged) delta -14729 MiB = -14.38 GiB (31.0 %)
42492 (xsn21b) delta -9709 MiB (22.8 %)
42156 (xsn20-in, earliest) delta -9373 MiB = -9.15 GiB
Every census sits ABOVE the tensor bytes the ranks actually hold -- the #1350b
recurrence signature -- and EVEN THE EARLIEST one does, so the "xsn20 level" is
not a clean anchor either; the recurrence had already compounded before this
series. The opposite direction is named as the dangerous one and refused as an
anchor: a ring sized below the tensors the ranks carry ends in W31/W51 ring
exhaustion at the flip.
NOT BUILT, DELIBERATELY: the precedence flip and the dry run behind it. Moving
the anchor shifts Sigma H by -14.38 GiB in the FUNDING direction (run_peak
92.60 -> 78.21 against the 90.18 bound, ~12 GiB of room), and whether the
manifests cover every region the saver backs up -- graph pools, workspaces,
embeddings, i.e. exactly the +9.80 GiB sgl-project#1233 fix 8 MEASURED on weg2dk7 as
`extra` -- is not settled at the desk: the manifests count `weights` and
`weights_draft`, the census counts "all backed-up tags". Part of the -9.15 GiB
may be REAL regions this anchor does not see, and a desk seat may not answer
that in the funding direction. The decision question and the expected
arithmetic are in the NACHTRAG appended to
gpu-arb/weg2/boot_orders/S6_shadow_xsn25_0912.md.
Tests (test_weg2_sigma_manifest_1350c.py, 8 tests + 2 subtests): the max/sum
ruling against the independently recorded figure, the cross-check in both
blame directions and inside the tolerance, an absent manifest set as an
ABSENCE and never a zero ring, and the replay -- the manifest anchor cannot
move with the ring, while the measured ladder moves +4676 MiB.
LOCAL: 374 passed / 4 failed; all four are the known pre-existing
test_weg2_ring_ledger_1235 reds at bfb5e12 and none is new. No boot, no GPU,
no /dev/shm; xchg/weight_updater, S_D and the seed untouched.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 12, 2026
…ss-check, and the max/sum ruling
#1350b showed that every source the ring solve reads is downstream of the ring
it sizes. The manifests are the one that is not: `xchg_manifest` writes, per
rank and per region tag, the nbytes of every tensor that rank holds, straight
from the live parameter inventory, and they know nothing about any ring.
BUILT: `ring_table.sigma_h_from_manifests()` (read through
`xchg_manifest.load_manifests` -- the reader the JOIN itself uses, so there is
no second bookkeeping of the byte sum) returning per-card MiB, a
`SIGMA-H source=manifest boot=... cards=... sum=...` provenance line, and a
detail dict that carries BOTH candidate formulas so the next reader can check
the ruling instead of trusting it. Plus `manifest_census_crosscheck()`, which
names WHICH source is wrong when the two disagree beyond
MANIFEST_CENSUS_TOLERANCE (5 %), with its evidence and in both directions.
THE FORMULA IS max(P, D) PER CARD, NOT P + D, and the difference is 29 GiB.
C19's ring holds the DORMANT image and the legs copy through it, so exactly one
group is dormant at a time. Boot weg2xsn24's own ten manifests:
card0 P 17896 D 18287 -> max 18287 card1 P 5591 D 6836 -> max 6836
card2 P 7660 D 6820 -> max 7660
Sigma max 32783 MiB = 32.01 GiB Sigma sum 63090 MiB = 61.61 GiB
`RUN MOMENT = the host weights term 32.19 GiB`, recorded in
`host_ledger.price`'s sgl-project#1327 note by another route before this ticket existed,
is 177 MiB (0.5 %) from the max form and 29.4 GiB from the sum form. The
operator's brief said P+D; this is the correction with its evidence.
CROSS-CHECK against every census in the series, all one-sided:
47512 (xsn25 dry, charged) delta -14729 MiB = -14.38 GiB (31.0 %)
42492 (xsn21b) delta -9709 MiB (22.8 %)
42156 (xsn20-in, earliest) delta -9373 MiB = -9.15 GiB
Every census sits ABOVE the tensor bytes the ranks actually hold -- the #1350b
recurrence signature -- and EVEN THE EARLIEST one does, so the "xsn20 level" is
not a clean anchor either; the recurrence had already compounded before this
series. The opposite direction is named as the dangerous one and refused as an
anchor: a ring sized below the tensors the ranks carry ends in W31/W51 ring
exhaustion at the flip.
NOT BUILT, DELIBERATELY: the precedence flip and the dry run behind it. Moving
the anchor shifts Sigma H by -14.38 GiB in the FUNDING direction (run_peak
92.60 -> 78.21 against the 90.18 bound, ~12 GiB of room), and whether the
manifests cover every region the saver backs up -- graph pools, workspaces,
embeddings, i.e. exactly the +9.80 GiB sgl-project#1233 fix 8 MEASURED on weg2dk7 as
`extra` -- is not settled at the desk: the manifests count `weights` and
`weights_draft`, the census counts "all backed-up tags". Part of the -9.15 GiB
may be REAL regions this anchor does not see, and a desk seat may not answer
that in the funding direction. The decision question and the expected
arithmetic are in the NACHTRAG appended to
gpu-arb/weg2/boot_orders/S6_shadow_xsn25_0912.md.
Tests (test_weg2_sigma_manifest_1350c.py, 8 tests + 2 subtests): the max/sum
ruling against the independently recorded figure, the cross-check in both
blame directions and inside the tolerance, an absent manifest set as an
ABSENCE and never a zero ring, and the replay -- the manifest anchor cannot
move with the ring, while the measured ladder moves +4676 MiB.
LOCAL: 374 passed / 4 failed; all four are the known pre-existing
test_weg2_ring_ledger_1235 reds at bfb5e12 and none is new. No boot, no GPU,
no /dev/shm; xchg/weight_updater, S_D and the seed untouched.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 14, 2026
…ect#1390's new keyword Full-suite diff against the pristine pre-sgl-project#1390 tip (d6c3d19, throwaway worktree) turned up exactly one new failure my two prior commits on this branch introduced: test_weg2_fix8_image_1233.py::TestTheHonestOutcomeIsPrintedInsteadOfShrinkingATerm -- no, TestTheShmOrphanSweep::test_the_preflight_calls_the_sweep, a structural pin asserting the literal substring "shm_residue_sweep(log, ns.tag, stamp, dry)" appears in main()'s source. b6bb3bc changed that call to name shm_dir=SHM_DIR explicitly (the whole point of sgl-project#1390: a bare call reads shm_residue_sweep's own default, bound once at that function's def time, immune to a test's mock.patch.object(launcher, "SHM_DIR", ...)), so the trailing ")" the old pin's substring ended on is now ", shm_dir=SHM_DIR)" -- a legitimate, deliberate widening of the call, not a call main() stopped making. Widened the pin to match. Full file green but for one pre-existing, environment-dependent failure also present on the pristine tip (same test, same "retry() exceed maximum number of retries" symptom, confirmed via the same throwaway-worktree comparison).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 14, 2026
…it timeout Boot weg2xsn31 (DEBUG_HOLD versuch 5 and 7, byte-identical): P PP0 (co-located with D TP0 on the 5090) reaches its resume loop for weights_0/weights_1 with an empty collect plan and silently no-ops (only an INFO "pieces=0" line), while D's three ranks (diag, 1-0, 2-0) have already deposited real bands there (measured full=8/8/16, empty=0, hand-probed with raw ctypes because the product had no diagonal accessor). Nobody ever drains those lanes, so D's next wait_drained and P's own later vram-credit wait each burn their full 120s and surface as two unrelated-looking walls (W68 Weg2XchgBouncePhaseUnordered on D, W35 Weg2VramCreditRefused on P) that cost two DEBUG_HOLD boots to trace to one collector that structurally never touched card 0's lanes. Executed leg_plan_from_join/build_plan against a realistic P=PP3/D=TP3 geometry to check the standing hypothesis that the plan itself never routes card 0: it does not -- the join/plan machinery builds symmetric dst_rank==0 descriptors for both the diagonal and the cross-into-0 pairs. The residual gap is a silent runtime no-op, not a planning omission. - weight_exchange_transport.py: SemSet.diagonal_getvalue(), the read the diagonal semaphores never had a product accessor for. - weg2_memory_saver.py: new Weg2XchgLaneNeverDrainedRefused (W100, verified free by test_weg2_wcode_uniqueness_1263.py's census). - weight_updater.py: _weg2_xchg_undrained_lanes(rank, sems) reads every lane targeting this rank's own card; wired into _weg2_xchg_inject_from_peer (an empty per-tag plan beside a nonzero full is refused immediately) and into _weg2_await_vram_credit (refused before the 120s poll starts). Tests: test_weg2_undrained_lane_refusal_1391.py, red before this commit (ImportError on collection), green after; includes mutant M1 (checking the wrong rank/card silently misses the real wedge) and a sgl-project#1233 regression guard (a legitimate empty plan on a clean lane must stay a no-op). Full weg2 unit suite: 3408 passed both before and after (26 pre-existing failures, confirmed unrelated by reverting this diff and reproducing them on base).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 14, 2026
…ect#1390's new keyword Full-suite diff against the pristine pre-sgl-project#1390 tip (d6c3d19, throwaway worktree) turned up exactly one new failure my two prior commits on this branch introduced: test_weg2_fix8_image_1233.py::TestTheHonestOutcomeIsPrintedInsteadOfShrinkingATerm -- no, TestTheShmOrphanSweep::test_the_preflight_calls_the_sweep, a structural pin asserting the literal substring "shm_residue_sweep(log, ns.tag, stamp, dry)" appears in main()'s source. b6bb3bc changed that call to name shm_dir=SHM_DIR explicitly (the whole point of sgl-project#1390: a bare call reads shm_residue_sweep's own default, bound once at that function's def time, immune to a test's mock.patch.object(launcher, "SHM_DIR", ...)), so the trailing ")" the old pin's substring ended on is now ", shm_dir=SHM_DIR)" -- a legitimate, deliberate widening of the call, not a call main() stopped making. Widened the pin to match. Full file green but for one pre-existing, environment-dependent failure also present on the pristine tip (same test, same "retry() exceed maximum number of retries" symptom, confirmed via the same throwaway-worktree comparison).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 14, 2026
…her than a second scanner Prior-art gate first (per order): sgl-project#1328's own file (test_weg2_xchg_refusal_reachability_1328.py) already answers "can production reach this raise/verdict at all" via a name-based AST reference graph (_Index/build_index/reachable), with an empty-allowlist ratchet plus a frozen, classified UNWIRED_DEBT for the exceptions, and a synthetic-tree plant-proof (TestTheRatchetCanFail) that RED/GREENs its own failure mode. sgl-project#1306 (test_weg2_wcode_uniqueness_1263.py) answers a different question (is one W-code used twice) and isn't the right host. Extended sgl-project#1328's file rather than building a second walker. THE NEW QUESTION sgl-project#1389 ASKS, different from sgl-project#1328's: does the code that READS a producer's log-line marker run under the SAME precondition the producer's own construction requires? Five real instances from one night (2026-09-13/14): 1-3. W7/W10 (P and D) and W9: count_marker() gates in launcher.py read markers ('sgl-project#706 canonical KV page active', 'canonical GDN blob active', 'sgl-project#1233 HICACHE BIGRAM KEYS FORCED') that only managers/cache_controller.py's HiCacheController ever prints, built only inside mem_cache/registry.py:192's `if ctx.enable_hierarchical_cache:` -- the gates ran unconditionally. ALREADY FIXED (sgl-project#1386 follow-ups 2/3, commits 683ccc5/2ef1a0979d). 4. W45: launcher.py's carrier census reads 'sgl-project#915 PREFETCH LIMIT', whose producer (mem_cache/prefetch_budget.py's log_prefetch_limit) is a no-op whenever its caller passes no cache_controller. ALREADY FIXED (sgl-project#1386 follow-up 4, d6c3d19). 5. The W100 guard bound to _weg2_xchg_inject_from_peer, which runs zero times on the metal (the real call site is _weg2_xchg_bounce_leg) -- DESK10's own test passed because it checks the same wrong function. UNFIXED, in files locked to DESK10 (weight_updater.py) -- reported as a finding, not fixed here. 6. A wait-loop entry-vs-condition race (P enters 03:19:28Z, the condition it waits for exists at 03:19:32Z) -- no expressible static form found. THE MECHANISM (ThePresenceRatchet): for each registered (gate anchor, guard names, producer anchor, producer guard names) tuple, _guard_chain_by_line walks the file's AST once and maps every line to the source text of every enclosing `if` test (presence, not polarity -- an `if X: skip / else: gate` shape records X for lines in EITHER branch, since both fix shapes in the corpus are exactly that). Two per-entry checks (gate side guarded, producer side guarded) plus a DEBT_SIZE_ON_THE_LINE-style pinned corpus size (4) so a removed entry cannot silently pass -- the corpus itself is the required "does the scan find the known corpus" probe (sgl-project#1341/sgl-project#1306's own lesson: a scan that finds nothing reads green). Instances 5 and 6 are DECLARED BOUNDARIES (PRESENCE_RATCHET_BOUNDARIES), not invented rules: sgl-project#1328's own RESOLUTION docstring already states the honest bound this ratchet shares (name-based resolution can call an unwired path wired, never the reverse; no ordering/timing semantics). Instance 5 gets one structural fact this file CAN verify without touching the locked source -- the exact AST call-site count and line of the wrapper _weg2_xchg_inject_from_peer (1, at weight_updater.py:1045) -- pinned so a future desk can diff DESK10's rewire against it. Tests: ThePresenceRatchet (4 corpus checks + shape/naming pins), TestThePresenceRatchetCanFail (synthetic plant-proof: unguarded shape RED, guarded shape GREEN, ambiguous/absent anchors reported not silently misread), TestTheBoundariesAreDeclaredNotInvented (boundary entries carry real reasons; the W100 wrapper's call-site count is pinned). 10 new tests, all green; full file 27/27 green (17 pre-existing + 10 new). Manually verified both required danger-direction mutants: (1) removed one entry from PRESENCE_GATES -- exactly test_the_corpus_cannot_shrink_or_grow_silently goes red, the two per-entry scans stay green over what remains (proving the corpus-size pin, not the per-entry logic, is what catches a silent removal); restored, diff empty. (2) reverted the REAL launcher.py's W7/W10 group P guard to its historical, unconditional pre-fix shape -- the ratchet goes red against the ACTUAL file, not just a synthetic one, naming the exact entry; restored, diff empty (git diff confirmed clean before re-committing).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 17, 2026
…e reads while the group sleeps; the orphan collector spares held requests Boot weg2xsn211 (sgl-project#1455): prefill end -> first joint decode 8.0 s (was 11.3). Of the remaining 8 s, 5 s were readmission after the wake: the reads issued at the hold terminated SHORT (weg2-6-7: 69631 of 99570 pages -- P's write-through had not landed a second after its leg answered), the drain's sgl-project#1233 orphan collector then closed them ('left the waiting queue with the prefetch open'), and the missing 30 % loaded only after the wake (sgl-project#1324 STORE READ INCOMPLETE -> deferred -> re-read at 06:00:04). * _weg2_hold_refetch (Scheduler.on_idle while dormant with a hold): for every held request whose read has finished, the existing shortfall detector (_weg2_note_store_shortfall) decides; a short read is re-issued from the registered extent on, at most every 2 s per request, its deferral fields cleared first. Fail-soft. * the orphan collector skips rids in weg2_dormant_hold. Tests: test_weg2_hold_refetch_1456 (4) + dormant_hold_1445 + prefetch_deferral_1068: 54 passed.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 17, 2026
…up (replaces sgl-project#1480) weg2xsn245 (6x100k, running-req 2): sgl-project#1480 backed up EVERY evicted interior node (124 x 128 MiB KV) into P's 1 GB staging arena; the flip flush (sgl-project#1470 sweep) then blocked in the arena's claim_slots for six minutes -> IDLE-WEDGE. Reverted (e55448c). What the hand-back actually needs is ONE anchor: the N-1 node the END-ANCHOR SPLIT (sgl-project#1233) creates, which becomes an interior node the moment the final 1-token chunk is inserted below it. The mamba pool's interior branch evicted it un-backed under the second concurrent prompt (xsn243: 28 unbacked evicts/min); the final node's own anchor sits one unit past the tail a reader asks for (token_ids[:-1]), so the read had no anchor in range (#1035c CAPPED by=mamba) -> 20 s settle -> W31 -> second prefill. The END-ANCHOR witness now marks that node; the mamba eviction skips it while un-backed (bounded by the finished prompts awaiting the flip, never the whole backlog -- the #1470b hazard); the flush publishes it and lifts the hold. Tests: test_weg2_end_anchor_hold_1481 (4) + 1469/1470/1467/924/1479/1471 -> 35 passed.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 24, 2026
…en Start (fnFL2 H26) Metall 24.09. 08:56-08:57Z, Boot fnFL2x140: drei Starts, drei Verweigerungen "sgl-project#1217 shm residue: LIVE launch_server pid(s)=[3122930]" (dann 3157795, 3189930), jede PID Sekunden spaeter weg. Der Riegel lief nur, weil zwei tote 16-KB-Flags sglang_loads_* von weg2xsn414 in /dev/shm lagen, und sein `pgrep -f "sglang[.]launch_server"` traf einen TEILSTRING: die Bash-Tool-Shell des Operators, `bash -c '... pgrep -fc "sglang.launch_server"; ... bash start_when_free.sh fnFL2x139 boot_nf_x140.sh fnFL2x140'` -- den VORFAHREN dieses Launchers (Tool-Shell -> start_when_free.sh -> boot_nf_x140.sh -> boot_nf_cd_long.sh -> arm_fnFL2_long.sh -> timeout -> python -m sglang.srt.weg2.launcher --dry-run), der genau so lange lebte wie der Start, auf den er wartete. Neu: live_launch_servers(tag, proc_root) liest /proc selbst. * eigene PID und die ganze Elternkette zaehlen nie; * nur ein echter Server zaehlt: argv[0] beginnt mit python und `-m sglang.launch_server` als GANZES Argument (is_launch_server_argv); alles andere mit dem Modulnamen in der Kommandozeile wird nur geloggt; * ein echter Server zaehlt mit lebendem CUDA-Kontext (/dev/nvidia* in fd oder maps) oder mit anderem Boot-Tag (SGLANG_WEG2_BOOT_TOKEN, fehlend = fremd); nur ein Server DIESES Tags ohne CUDA-Kontext wird uebersprungen. Danach wie bisher: Halter auf eigenen Resten verweigert, Reste ohne Halter werden archiviert (sgl-project#1233). Nebenbei hermetisch: der Riegel liest proc_root, die Tests brauchen kein echtes pgrep mehr. Test: test_weg2_residue_selfcatch_h26.py (9) -- gemessene Kette als falsches /proc (Selbstfang vorbei, Reste archiviert), echter fremder Server mit CUDA-Kontext (Verweigerung, nichts bewegt), Halter (Verweigerung).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 24, 2026
…ec ring 27B ReplaySSM package, slice S3 of REPLAYSSM_PLAN.md. With the flag off every path is unchanged (no rows planned -> recurrent route, intermediate commit). Ported: upstream GDNAttnBackend._replayssm_target_verify (same kernel call, launch_mode="verify", null block -1, request rows as replay indices) and the compact commit sequence of upstream's spec_utils (commit_gdn_replayssm_spec + commit_gdn_replayssm_circular + conv-window rollback). Adapted (this line's own wiring; upstream refuses GDN + DFLASH): - ForwardMetadata.replayssm_spec_rows: the verify metadata plans the request rows (req_pool_indices) in all three builders (eager, graph capture, graph replay -- there the static buffer with padded rows zeroed). The commit reads the rows the verify used from the metadata, like mamba_cache_indices, so no caller changes: DFLASH (dflash_worker_v2 untouched), the EAGLE/MTP commit and the lane all go through update_mamba_state_after_mtp_verify. - The commit sits in that shared hook (ring branch when intermediate_ssm is None). Linear chain -> accepted = last step + 1 (bonus included); -1 folds nothing, like the masked scatter. - FOLD EVERY COMMIT for any SSM dtype (upstream defers the fold for fp32): radix insert, HiCache backup, tail adopt and the flip all read `temporal` and assume it is the committed state after every verify, as the recurrent route makes it. The ring is then per-step scratch (write_pos 0 at every verify). - Heal: outside a capture the verify metadata re-states write_pos = is_flush = 0 for the step's rows (true by construction after every commit), so a verify never trusts cursor bytes from an earlier step (TMS restore, flip, reused row). cache_base is circular and harmless at write_pos 0. - forward_extend routes the verify to the ring when rows are planned; a draft tree on the ring, or a pool with neither intermediate state nor planned rows, is refused. The ring kernel honours token strides, so the verify split stays torch.split views (sgl-project#33778). - Advance cursor null block 0 (request row 0 is the ReqToTokenPool padding row); the widest verify window is kept on the pool as the advance's constant (one compiled variant across the adaptive ladder). - Ring length must be >= 16 (the compact commit's tl.dot) -- pool and static check; S2 test moved to L=16. - _replayssm_spec_for: a draft-KV-only producer (no verify workspace, sgl-project#1233 FIX 4) treats the flag as a no-op instead of hitting the pool's missing-window refusal. - getattr on the new metadata field in the two readers (sgl-project#624 stub drift: test_gdn_verify_strided_qkv_33778 doubles predate it). Tests (CPU, incg cgroup, one file at a time): test/registered/unit/layers/attention/test_replayssm_spec_route_s3.py: 10 passed. Hermetic: rows planned + healed (eager, replay; not in capture; padded row -> row 0), flag off / decode plan nothing, the three refusals, producer no-op. Interpreter (production route functions on real CPU pools, ring vs intermediate, 2 layers, head ratio 3, 2 requests + padded row, track crossing, second step after garbage cursors + heal): fp32 verify rel 3.7e-7 / 2.4e-7, commit (incl. track slot) 2.9e-7 / 3.1e-7 vs the recurrent route; fp16 (bf16 stand-in) verify 5.0e-4 vs recurrent 3.8e-4 of the fp32 truth, commit 3.6e-4 == recurrent 3.6e-4; conv rollback equal; untouched slots bit-exact; cursors 0 after every commit. On the S2 sources: 7 failed + 3 errors. Regression: test_replayssm_spec_ring_pool_s2 10, test_mamba_checkpoint_interval 58, test_dflash_mamba_track_post_verify_37818 5, test_conv_verify_private_ window_444 13, test_prefill_graph_stale_track_rows_34184 2, test_weg2_prefill_only_capture_1233 15, test_forward_metadata_plan_record 9, test_fused_replay_state_indices_32219 3, test_gdn_verify_strided_qkv_33778 4, test_verify_intermediate_row_ownership_450 12, test_mamba2_conv_verify_ private_window_450 10, test_dual_group_concurrency 159 -- all passed. ruff F: no new findings.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 24, 2026
…ec ring 27B ReplaySSM package, slice S3 of REPLAYSSM_PLAN.md. With the flag off every path is unchanged (no rows planned -> recurrent route, intermediate commit). Ported: upstream GDNAttnBackend._replayssm_target_verify (same kernel call, launch_mode="verify", null block -1, request rows as replay indices) and the compact commit sequence of upstream's spec_utils (commit_gdn_replayssm_spec + commit_gdn_replayssm_circular + conv-window rollback). Adapted (this line's own wiring; upstream refuses GDN + DFLASH): - ForwardMetadata.replayssm_spec_rows: the verify metadata plans the request rows (req_pool_indices) in all three builders (eager, graph capture, graph replay -- there the static buffer with padded rows zeroed). The commit reads the rows the verify used from the metadata, like mamba_cache_indices, so no caller changes: DFLASH (dflash_worker_v2 untouched), the EAGLE/MTP commit and the lane all go through update_mamba_state_after_mtp_verify. - The commit sits in that shared hook (ring branch when intermediate_ssm is None). Linear chain -> accepted = last step + 1 (bonus included); -1 folds nothing, like the masked scatter. - FOLD EVERY COMMIT for any SSM dtype (upstream defers the fold for fp32): radix insert, HiCache backup, tail adopt and the flip all read `temporal` and assume it is the committed state after every verify, as the recurrent route makes it. The ring is then per-step scratch (write_pos 0 at every verify). - Heal: outside a capture the verify metadata re-states write_pos = is_flush = 0 for the step's rows (true by construction after every commit), so a verify never trusts cursor bytes from an earlier step (TMS restore, flip, reused row). cache_base is circular and harmless at write_pos 0. - forward_extend routes the verify to the ring when rows are planned; a draft tree on the ring, or a pool with neither intermediate state nor planned rows, is refused. The ring kernel honours token strides, so the verify split stays torch.split views (sgl-project#33778). - Advance cursor null block 0 (request row 0 is the ReqToTokenPool padding row); the widest verify window is kept on the pool as the advance's constant (one compiled variant across the adaptive ladder). - Ring length must be >= 16 (the compact commit's tl.dot) -- pool and static check; S2 test moved to L=16. - _replayssm_spec_for: a draft-KV-only producer (no verify workspace, sgl-project#1233 FIX 4) treats the flag as a no-op instead of hitting the pool's missing-window refusal. - getattr on the new metadata field in the two readers (sgl-project#624 stub drift: test_gdn_verify_strided_qkv_33778 doubles predate it). Tests (CPU, incg cgroup, one file at a time): test/registered/unit/layers/attention/test_replayssm_spec_route_s3.py: 10 passed. Hermetic: rows planned + healed (eager, replay; not in capture; padded row -> row 0), flag off / decode plan nothing, the three refusals, producer no-op. Interpreter (production route functions on real CPU pools, ring vs intermediate, 2 layers, head ratio 3, 2 requests + padded row, track crossing, second step after garbage cursors + heal): fp32 verify rel 3.7e-7 / 2.4e-7, commit (incl. track slot) 2.9e-7 / 3.1e-7 vs the recurrent route; fp16 (bf16 stand-in) verify 5.0e-4 vs recurrent 3.8e-4 of the fp32 truth, commit 3.6e-4 == recurrent 3.6e-4; conv rollback equal; untouched slots bit-exact; cursors 0 after every commit. On the S2 sources: 7 failed + 3 errors. Regression: test_replayssm_spec_ring_pool_s2 10, test_mamba_checkpoint_interval 58, test_dflash_mamba_track_post_verify_37818 5, test_conv_verify_private_ window_444 13, test_prefill_graph_stale_track_rows_34184 2, test_weg2_prefill_only_capture_1233 15, test_forward_metadata_plan_record 9, test_fused_replay_state_indices_32219 3, test_gdn_verify_strided_qkv_33778 4, test_verify_intermediate_row_ownership_450 12, test_mamba2_conv_verify_ private_window_450 10, test_dual_group_concurrency 159 -- all passed. ruff F: no new findings. 27B line (desk/27b-up-replayssm-line-0924): cherry-picked from 7d69bd8 (desk/27b-up-replayssm-0924, on the NF-based staging line fa757eb), clean. gdn_backend.py and mamba2_metadata.py are identical on both lines; dflash_worker_v2 differs here (sgl-project#31468, sgl-project#33459/sgl-project#30096 ports) but not in _update_target_mamba_state_after_verify, so the DFLASH commit reaches the shared hook exactly as on NF. One adaptation, text only: the commit docstring listed "tail adopt" among the readers of `temporal` -- that is the NF line's H21 install (weg2.tail_adopt), absent here; the 27B readers are the radix insert, the HiCache backup (the weg2 L2 arena write, xsn351) and the P/D flip. Tests on this line (CPU, incg cgroup, S3 tree, one file at a time): test_replayssm_spec_route_s3.py 10 passed -- interpreter, production route vs the recurrent route: fp32 verify rel 3.74e-7 / 2.40e-7 (step 1 / step 2 after garbage cursors + heal), commit incl. the track slot 2.94e-7 / 3.10e-7 (all < 4e-7); fp16 (bf16 stand-in) verify 5.03e-4 / 2.72e-4 vs recurrent 3.84e-4 / 2.55e-4 of the fp32 truth, commit 3.61e-4 / 3.27e-4 == recurrent; conv rollback equal, padded outputs zero, untouched slots bit-exact, cursors 0 after every commit; test_replayssm_spec_ring_pool_s2.py 10 passed (8 subtests). Regression (package tip = S6 tree, same cgroup, one file at a time): test_dflash_mamba_track_post_verify_37818 5, test_conv_verify_private_window_444 13, test_prefill_graph_stale_track_rows_34184 2, test_weg2_prefill_only_capture_1233 15, test_forward_metadata_plan_record 9, test_fused_replay_state_indices_32219 3, test_gdn_verify_strided_qkv_33778 4, test_verify_intermediate_row_ownership_450 12, test_mamba2_conv_verify_private_window_450 10, test_dual_group_concurrency 159, test_mamba_checkpoint_interval 58 -- all passed.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 24, 2026
…H42) Task sgl-project#118 (Nutzer 24.09. 07:00Z: bei Agentenlast kommen viele kleine Prefills), Folge von H37. Wurzel: Gruppe P haelt mit dem END-ANCHOR (sgl-project#1233) das letzte Token jedes Prompts zurueck; der Koerper [0, N-1') wurde DIE chunked-Fortsetzung (Scheduler.chunked_req, ein Feld, eine je Durchlauf sgl-project#959/sgl-project#996). Der zweite ganz passende Prompt eines Durchlaufs bekam OTHER ([sgl-project#967] SECOND CONTINUATION REFUSED add_one_req/end-anchor), die Zulassungsschleife brach ab: je Forward erreichte hoechstens EIN Request sein Ende, jeder Schwanz (1-4 Token) lief als eigener Forward. Schalter SGLANG_WEG2_ENABLE_P_MULTI_ANCHOR_TAILS (Default aus; wirkt nur mit SGLANG_WEG2_END_ANCHOR, also nur auf P, und nur ohne Draft auf P): jeder END-ANCHOR-Koerper wird ein ANKER-SCHWANZ seines eigenen Requests (managers/anchor_tails.py, Kollaborateur mit schmalen Argumenten). PrefillAdder: new_anchor_tails, _mint_anchor_tail ohne sgl-project#996-Assert und ohne sgl-project#959/sgl-project#967-Verweigerung; dieselbe Geometrie-Regel (Ausdehnung endet am Anker-Schnitt der Fuellung) an allen drei Praegestellen (add_one_req ganz passend, add_one_req gekuerzt, _add_scheduled_req der Folgeraenge mit getragenem last_chunk-Urteil). Scheduler.anchor_tails: aus dem Merge ausgenommen und gestasht wie chunked_req (je Request eigener Ankerknoten, MAMBA-ARENA-Claim, Tail-Capture), im naechsten Durchlauf VOR der Schleife alle ueber add_chunked_req wieder zugelassen (Budget, geplante Ausdehnung sgl-project#791/sgl-project#996, carried_chunk-Locks wie beim einen Feld; nicht benannte Schwaenze bleiben sgl-project#992, abweichender told-Prefix sgl-project#994), danach fuellt die Schleife das Chunk-Budget mit neuen Koerpern. ScheduleBatch.weg2_anchor_tail_bodies nimmt die Koerper beim spaeteren last_batch-Merge aus (PP-Slot). contains_last_prefill_chunk ohne Schwanz byte-gleich. Void (#797d): _pp_void_own_batch stellt die Schwaenze des Slots wieder her, parkt jeden wieder zugelassenen Schwanz (Inflight-Rueckgabe nur wenn genommen) und laesst die Praegungen des verworfenen Durchlaufs als Mitglieder parken (sgl-project#984). Abbruch: Schwanz laeuft seinen letzten Forward auf allen Raengen und endet mit FINISH_ABORT. Leerlauf/Quiesce/Zensus/Flip-Autoritaet zaehlen die Schwaenze; process_batch_result_prefill haelt alle Mittel-Chunks vom Stream fern; tail_handoff haelt bei Schalter Captures und Teildateien fuer --max-running-requests Requests (statt 2). Tests test_weg2_p_multi_anchor_tails_h42.py: echter PrefillAdder in einer PP3-Form (PP0 entscheidet, PP1/PP2 fuehren je rid aus): 4 x 4k in einem 16k-Forward, Schwaenze gemeinsam im naechsten, Ausdehnungen/Anker/Ausgabe je Request auf allen Raengen, 8 Requests gemischt mit einer chunked-Fortsetzung, Abbruch mitten im Burst, Void je Schwanz, Schalter aus = aufgezeichnete Spur des Baums vor H42 (4 und 8 Requests), Startzeile, Capture-Grenze. 18 Tests, 15 Mutanten fallen. Gate (gate_tests.sh-Kopie + H37 + END-ANCHOR/ Void-Kette) unter incg.sh: keine neue Rotmeldung gegen den Baum vor H42.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 25, 2026
…ec ring 27B ReplaySSM package, slice S3 of REPLAYSSM_PLAN.md. With the flag off every path is unchanged (no rows planned -> recurrent route, intermediate commit). Ported: upstream GDNAttnBackend._replayssm_target_verify (same kernel call, launch_mode="verify", null block -1, request rows as replay indices) and the compact commit sequence of upstream's spec_utils (commit_gdn_replayssm_spec + commit_gdn_replayssm_circular + conv-window rollback). Adapted (this line's own wiring; upstream refuses GDN + DFLASH): - ForwardMetadata.replayssm_spec_rows: the verify metadata plans the request rows (req_pool_indices) in all three builders (eager, graph capture, graph replay -- there the static buffer with padded rows zeroed). The commit reads the rows the verify used from the metadata, like mamba_cache_indices, so no caller changes: DFLASH (dflash_worker_v2 untouched), the EAGLE/MTP commit and the lane all go through update_mamba_state_after_mtp_verify. - The commit sits in that shared hook (ring branch when intermediate_ssm is None). Linear chain -> accepted = last step + 1 (bonus included); -1 folds nothing, like the masked scatter. - FOLD EVERY COMMIT for any SSM dtype (upstream defers the fold for fp32): radix insert, HiCache backup, tail adopt and the flip all read `temporal` and assume it is the committed state after every verify, as the recurrent route makes it. The ring is then per-step scratch (write_pos 0 at every verify). - Heal: outside a capture the verify metadata re-states write_pos = is_flush = 0 for the step's rows (true by construction after every commit), so a verify never trusts cursor bytes from an earlier step (TMS restore, flip, reused row). cache_base is circular and harmless at write_pos 0. - forward_extend routes the verify to the ring when rows are planned; a draft tree on the ring, or a pool with neither intermediate state nor planned rows, is refused. The ring kernel honours token strides, so the verify split stays torch.split views (sgl-project#33778). - Advance cursor null block 0 (request row 0 is the ReqToTokenPool padding row); the widest verify window is kept on the pool as the advance's constant (one compiled variant across the adaptive ladder). - Ring length must be >= 16 (the compact commit's tl.dot) -- pool and static check; S2 test moved to L=16. - _replayssm_spec_for: a draft-KV-only producer (no verify workspace, sgl-project#1233 FIX 4) treats the flag as a no-op instead of hitting the pool's missing-window refusal. - getattr on the new metadata field in the two readers (sgl-project#624 stub drift: test_gdn_verify_strided_qkv_33778 doubles predate it). Tests (CPU, incg cgroup, one file at a time): test/registered/unit/layers/attention/test_replayssm_spec_route_s3.py: 10 passed. Hermetic: rows planned + healed (eager, replay; not in capture; padded row -> row 0), flag off / decode plan nothing, the three refusals, producer no-op. Interpreter (production route functions on real CPU pools, ring vs intermediate, 2 layers, head ratio 3, 2 requests + padded row, track crossing, second step after garbage cursors + heal): fp32 verify rel 3.7e-7 / 2.4e-7, commit (incl. track slot) 2.9e-7 / 3.1e-7 vs the recurrent route; fp16 (bf16 stand-in) verify 5.0e-4 vs recurrent 3.8e-4 of the fp32 truth, commit 3.6e-4 == recurrent 3.6e-4; conv rollback equal; untouched slots bit-exact; cursors 0 after every commit. On the S2 sources: 7 failed + 3 errors. Regression: test_replayssm_spec_ring_pool_s2 10, test_mamba_checkpoint_interval 58, test_dflash_mamba_track_post_verify_37818 5, test_conv_verify_private_ window_444 13, test_prefill_graph_stale_track_rows_34184 2, test_weg2_prefill_only_capture_1233 15, test_forward_metadata_plan_record 9, test_fused_replay_state_indices_32219 3, test_gdn_verify_strided_qkv_33778 4, test_verify_intermediate_row_ownership_450 12, test_mamba2_conv_verify_ private_window_450 10, test_dual_group_concurrency 159 -- all passed. ruff F: no new findings. 27B line (desk/27b-up-replayssm-line-0924): cherry-picked from 7d69bd8 (desk/27b-up-replayssm-0924, on the NF-based staging line fa757eb), clean. gdn_backend.py and mamba2_metadata.py are identical on both lines; dflash_worker_v2 differs here (sgl-project#31468, sgl-project#33459/sgl-project#30096 ports) but not in _update_target_mamba_state_after_verify, so the DFLASH commit reaches the shared hook exactly as on NF. One adaptation, text only: the commit docstring listed "tail adopt" among the readers of `temporal` -- that is the NF line's H21 install (weg2.tail_adopt), absent here; the 27B readers are the radix insert, the HiCache backup (the weg2 L2 arena write, xsn351) and the P/D flip. Tests on this line (CPU, incg cgroup, S3 tree, one file at a time): test_replayssm_spec_route_s3.py 10 passed -- interpreter, production route vs the recurrent route: fp32 verify rel 3.74e-7 / 2.40e-7 (step 1 / step 2 after garbage cursors + heal), commit incl. the track slot 2.94e-7 / 3.10e-7 (all < 4e-7); fp16 (bf16 stand-in) verify 5.03e-4 / 2.72e-4 vs recurrent 3.84e-4 / 2.55e-4 of the fp32 truth, commit 3.61e-4 / 3.27e-4 == recurrent; conv rollback equal, padded outputs zero, untouched slots bit-exact, cursors 0 after every commit; test_replayssm_spec_ring_pool_s2.py 10 passed (8 subtests). Regression (package tip = S6 tree, same cgroup, one file at a time): test_dflash_mamba_track_post_verify_37818 5, test_conv_verify_private_window_444 13, test_prefill_graph_stale_track_rows_34184 2, test_weg2_prefill_only_capture_1233 15, test_forward_metadata_plan_record 9, test_fused_replay_state_indices_32219 3, test_gdn_verify_strided_qkv_33778 4, test_verify_intermediate_row_ownership_450 12, test_mamba2_conv_verify_private_window_450 10, test_dual_group_concurrency 159, test_mamba_checkpoint_interval 58 -- all passed. NF line (H64, onto 88dec66): one conflict, resolved line by line in gdn_backend.forward_extend. This line carries no sgl-project#33778 port (no kernel_dispatcher.target_verify_supports_strided_qkv), so the 27B hunk that widens use_strided_verify_qkv for the ring has nothing to widen. Kept the NF condition `(is_cuda() or is_hip()) and qkv_dim <= MAX_FUSED_QKV_SPLIT_DIM`: the ring verify gets the same q/k/v preparation as the recurrent verify on this line (dense [1, T, H, D] from fused_qkv_split_gdn_prefill on CUDA, torch.split views elsewhere); _replayssm_target_verify flattens both layouts by numel. Text only: the commit docstring names the NF H21 tail adopt (weg2/tail_adopt.py reads and installs cache.temporal) among the readers of temporal again -- the 27B line had dropped it because it lacks H21. Tests (CPU, incg cgroup, one file at a time): test_replayssm_spec_route_s3.py 10 passed; test_replayssm_spec_ring_pool_s2.py 10 passed (8 subtests). (cherry picked from commit 974254d)
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 26, 2026
…tch SGLANG_WEG2_TOLD_PROBE_TREE_KEY, default off) 27B agent boots 0925/0926 (bar1agent 1922/2206, nvfp4bar1agent 2328, bar1final 0145): every P leg cached_tokens=0. PP0's store read found the previous turn's prefix in the arena (sgl-project#1439 ARENA-PRESENT leading_complete= 22934 first_stem=c90c5e64, sgl-project#905 PREFETCH-COMPLETE completed=22934), then the sgl-project#1416 clamp probe asked the same arena with UNIGRAM keys (first_stem=f9ec16cd, leading_complete=0, sgl-project#1035 R13 EMPTY KV PREFIX) and clamped told to 0 (sgl-project#1416 ANCHOR-CLAMP completed=22934 anchored=0) -- sgl-project#1419 caps every rank's match at told, so P re-prefilled the whole prompt. The tree keys bigram (is_eagle / SGLANG_HICACHE_BIGRAM_KEYS, sgl-project#1233: c90c5e64 bigram vs f9ec16cd unigram); the probe passed origin_input_ids[:told] as plain ids. Since xsn171 (first clamp boot) every clamp answered anchored=0. Switch on: RadixKey(ids[:told+bigram], is_bigram=tree.is_eagle), sgl-project#1442 handoff keys substituted like _storage_hit_query. Off: byte-identical. Decision stays on PP0 only (told on the wire), followers unchanged. Tests: test_weg2_store_told_1400.py 24 passed (+5: off reproduces the 0, on keeps told, on still clamps beyond the leading run, unigram tree unchanged, handoff keys). UNIFY (UN6, Operator 26.09. Vorrang): pick of desk/27b-pprefix-0926 (4d216bb, PX) onto the unified head, clean. Modellneutral (NF MTP bigram alike), switch default off. dup_defs_gate vs 27b-rc9-103712cdb2 + nf-rc2.1l-d1c7094ba6: 0 new. test27b.sh: test_weg2_store_told_1400.py 24 passed.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 26, 2026
…bb3 starb am Sleep-Drain des zweiten D-Schlafbeins (W120 -> W29) Metall fnFL2h91bb3 @ 50cd288 (D TP3), erster Boot, auf dem der H91-Park-Pfad wirklich lief: 15:52:39.722 Front WAIT-BOUND FIRED epoch=16 -> /weg2/park_running; D: '#969AD RETRACT site=weg2_park_running', 'WEG2-D-PARK park_running ... parked=[weg2-16-23]' auf 3/3. 15:52:39.905 erstes Schlafbein (kv_cache+cuda_graph): Drain leer, Flush ('sgl-project#1470 FLUSH-PUBLISH' joint die Write-Throughs des Parks VOR dem Reset), pause(kv_cache), 'WEG2-DORMANT set', dann hold_parked -> gewoehnliche Intake: zuerst _prefetch_kvcache (Store->Host-Read registriert, 'sgl-project#1028 HICACHE-ROUND ... ongoing_prefetch=1'), dann sgl-project#1443-Hold ('WEG2-D-PARK hold: 1 parked request(s) at the head of the dormant hold'). 15:52:39.985 zweites Schlafbein (weights_*): _weg2_drain_hicache_before_sleep sah 'hicache_prefetch(1: weg2-16-)' auf jedem Rang, 887 Gruppen-Polls / 10,01 s, W120 3/3 -> WEG2-LEG-ABORT -> W29 -> D tot. Wurzel: weder Selbstblockade gegen den eigenen Write-Through (der war beim Flush gejoint) noch ein Arena-Ack. Ein Prefetch-Record verlaesst ongoing_prefetch nur ueber check_prefetch_progress (Admission, sgl-project#1233-Orphan-Collector -- der gehaltene rids seit sgl-project#1456 bewusst auslaesst --, sgl-project#1456-Top-up), Revoke, Abort oder Re-Issue; check_hicache_events ruft nichts davon. Der Read des Holds soll per Design den ganzen Flip ueberspannen (sgl-project#1455: Host-Read im Schlaf, Device-Load beim Wake; sgl-project#1456: Nachladen waehrend die Gruppe schlaeft). Der Drain jedes SPAETEREN Schlafbeins zaehlte ihn trotzdem als in-flight -- er konnte nie leer werden. Gleiche Klasse fuer jede sgl-project#1443-Ankunft und jeden sgl-project#1456-Re-Issue zwischen zwei Schlafbeinen. Fix (Richtung b, rang-einheitlich, kein Schalter, keine Reserve, kein Warten): weg2_sleep_drain.hold_owned_prefetch nennt die offenen Prefetch-Records, die der dormant hold besitzt -- nur wenn weg2_dormant (KV-Pool pausiert, kein Device-Ziel mehr) und der rid im Hold steht (Hold repliziert, Registrierung participation-voted). Ein Prefetch-Record ist Store->Host (Host-Pool-Zeilen); seine Device-Haelfte ist ein Load-back (ongoing_load_back) und blockiert weiter, ebenso Write-Through, Backup und jeder Read eines nicht gehaltenen Requests. Der Pre-Sleep-Drain und der Idle-Assert des Release-Beins (_weg2_sleep_idle) nehmen dieselbe Ausnahme (Scheduler.idle_blockers / is_fully_idle mit exempt_prefetch, Default leer = unveraendert); Zeile 'H91e SLEEP-DRAIN HOLD-OWNED prefetch=N rids=[...]'. Der Read laeuft weiter, der Wake gibt den Request zuerst frei, wach ist der Read wieder ein gewoehnlicher Term. Tests test_weg2_hold_prefetch_sleep_h91e (7; echte Scheduler.idle_blockers/is_fully_idle, echte park_running/hold_parked, echter Drain ueber eine 3-Rang-MAX-Reduktion in Threads): 5 rot auf 50cd288 (bb3-Form: W120 'hicache_prefetch(1: weg2-16-)' auf 3/3, wortgleich zum Metall), alle 7 gruen mit Fix; Park-/Drain-/Idle-Suiten h91b/h91c2/h91c3/h91d/x105/1445/1272/h74/1268/1268-lap/1233/1361/x36/s1: 27 Altlasten identisch zur Basis (s1_memory_saver 26, s3s4_refusals_1233 1), 0 neu.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 26, 2026
…ata rows -- a residue reading may never kill the flip Boot dkr27bbar1i8h109261950 (rc11b, tree 2a7f992, 26.09. 19:53:22Z) died at its first flip: W4 Weg2WakeRefused at stage 'wake-kv', "not enough values to unpack (expected 3, got 1)" in front._nvml_process_mib (latent since sgl-project#1233 b614219). nvidia-smi printed a row without commas, first flip ~40 min after a host driver reload. - front.parse_compute_apps(out, pids): rows that are not exactly three fields with numeric pid/used and a non-empty uuid ("No running processes found", warnings, "[N/A]", "[Insufficient Permissions]") are skipped and counted (NVSMI_SKIPPED_LINES); the first per process logs one WARNING "WEG2 NVSMI-PARSE" with the row cut to 120 chars. Return stays Dict[str,int]. - front._nvml_process_mib and launcher.nvml_process_mib (boot-time WEG2-DC reading, same unpack) both use it. - Other nvidia-smi parsers in weg2/ (dormant_arm.read_free_csv, corridor_arm.parse_smi_free, tools/vram_hires_report) are arm/offline tools, not in the flip or round path -- unchanged. Test: test/registered/unit/weg2/test_front_nvsmi_parse_0926.py 5 passed (test27b.sh, CUDA_VISIBLE_DEVICES=""). Mutant "check removed": 5 failed (ValueError unpack / int('[N/A]')); mutant "field count only": 2 failed (int('[N/A]')).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 27, 2026
…can pay; an under-delivering peel repairs the frontier once and names the rest Metal rc12o b1 (dkr27breleasedraftbar1w109271344, 732d629), P log 54255-54280, PP0 13:56:43Z, weg2-8-62: MAMBA-HOST-RESUME anchor 45238 -> sgl-project#988 LOADBACK 45238 -> WEG2-ARENA-LOAD rows=42216 (the SF same-pass room evicted exactly the load's shortfall; its line n=9 is not printed by the sampler), then the 512-token extend: "Available full tokens: 149167 (full_available_size=46 + full_evictable_size_=149121)", "EVICTION UNDER-DELIVERED: asked for 512 tokens, the pool received 0". PP0 prints no sgl-project#1421 BACKUP-REFUSED in the whole boot: no leaf was tried and refused -- the peel found none it could pay. Why the two numbers disagree: component_evictable_size_[FULL] counts every device node whose FULL lock_ref is 0; the frontier (evictable_device_leaves, _is_device_leaf) admits a node only when EVERY component's lock_ref is 0 and no child holds FULL rows. A MAMBA lock pins its node alone (MambaComponent.acquire_component_lock), so an anchor node with FULL 0 / MAMBA >0 is counted and never peeled, and every FULL-unlocked ancestor above it keeps a device child and never becomes a leaf. NF's (b) -- the freshly loaded 42216 rows -- is not it: the load-back's inc_lock_ref moves them to protected. The admission (PrefillAdder.rem_total_tokens, re-read after the load-back inside add_one_req; common.fundable_extend_tokens -> chunk_tokens_the_pool_can_fund) read the reported count and let the chunk through with 46 free. ED (SGLANG_EVICTABLE_DELIVERABLE, default on; 0 = the reported count): MambaComponent records the 0->1 / 1->0 transitions of a node's device mamba lock (mem_cache/evict_frontier_census.note_aux_lock); UnifiedRadixCache.deliverable_evictable_size() = reported FULL-evictable minus blocked_tokens (every aux-locked node with FULL lock 0 and its FULL-unlocked ancestors up to the first FULL-locked one, each once). rem_total_tokens (hybrid-SSM branch) and fundable_extend_tokens read it, so an unfundable chunk answers NO_TOKEN / parks instead of OOM-ing in alloc_for_extend. The reported count, pool statistics and every other reader are unchanged. EF (SGLANG_EVICT_FRONTIER_REPAIR, default on; 0 = the old peel): FullComponent.drive_eviction, when the peel ends short while the tree still reports evictable tokens, scans the tree once (_collect_all_nodes), re-derives every node's leaf membership, retries the peel and logs EVICT-FRONTIER-CENSUS (request, delivered before/after, reported, FULL-unlocked tokens, on the frontier, aux-locked per component, behind a device child, leaves before/after, stale_added, ids). Not changed: SF local_pp_room still evicts only the load's own shortfall (the extend is then priced by ED and parks if the pool cannot pay it). Tests: test_evictable_deliverable_rc12o_0927.py 10 (b1 shape: a mamba-locked tail blocks its 149121- token chain, deliverable = the free leaf only, switch off = reported, lock gone = nothing blocked; walk stops at a FULL-locked ancestor, shared ancestors once; FULL-locked aux node blocks nothing; the real MambaComponent lock/unlock transitions feed the set; fundable_extend_tokens 46 instead of 149167; adder wiring; EF: stale frontier repaired and paid with the census line, switch off = old peel, a paying peel scans nothing, the census names the aux-locked chain). Review (NF), amended: * Rank uniformity. Form A (NF-D): the host's vote decides (H105); a worker's tree is marked _ef_deliverable_exempt at every adder build and keeps the reported count, so its local extend arithmetic is the pre-ED one (test_nf_form_a_admission_follow_h105 + every *form_a* suite: 135 passed with the ED file). Classic TP (27B-D): the published floor (fundable_extend_floor, sgl-project#681) reads fundable_extend_tokens, i.e. the deliverable count; the aux lock set is replicated with the tree (the same requests lock the same nodes), as the reported count was. P (carrierless PP): every stage plans for itself (pp_row_carrier_present False); the deliverable count is exactly as rank-local as the reported count and the free rows it is added to were -- no PP0 verdict is adopted on this form; sgl-project#1004 / sgl-project#1233 W27 remain the named stops. * Cost: blocked_tokens is memoised per cache on (aux-lock version, FULL evictable, FULL protected) -- recomputed only when one moved; timed, one ED-DELIVERABLE line per 60 s (calls, scans, scan_us_mean/max, blocked, aux_locked_nodes). Operator fix: deliverable count read from the tree CLASS via common.deliverable_evictable_or (a duck-typed getattr on a MagicMock tree returned a mock and broke 681/971/prefill_adder/959/656); non-int answers fall back. Tests: 255 suites vs base 732d629: after the fix the five admission suites are green again; ED file 15 passed.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 27, 2026
…ogress User report 2026-09-27 ~14:40Z: the dashboard said the NF model hangs; it did not. The source was Docker '(unhealthy)': the container healthcheck's 'W27 ' pattern matched prose in a WEG2-LAUNCH line (fixed in the healthcheck, not here). - health: 'unhealthy' with a prefill/decode line in the last 60 s is a yellow 'Docker-Health widerspricht dem Fortschritt' note carrying the healthcheck's last output (redacted); only without progress is it HAENGT. - named stops: WEG2-LAUNCH lines never count; the bare 'W27 ' is gone -- a real W27 stop is the named '...Refused: sgl-project#1233 W27 ...' exception under a scheduler traceback, which '\w+Refused: #N' still catches. - sources: the last healthcheck output per running container. Tests: rigdash 46 passed (unhealthy with / without progress; launcher prose and a census line naming W27 are no stop).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 28, 2026
…lform (array statt list) -- Admit(0) fuer alle, wenn PP0s Anker am told fehlt rc12z2 (e8a2cd2, P-Log Z. 226312-226760, 03:26:31-41, rid weg2-44-76): PP0 las 47168 Tokens (8x 'sgl-project#1433 L3->L2 fill' -- der Rueckweg, den Runde 4 erst oeffnete), klemmte told auf den Store-Anker 37952 (sgl-project#1416 ANCHOR-CLAMP) und schickte ihn. Beim Zulassen: PP0 'sgl-project#904 ... reached=37952 refused=37952 why=MambaComponent:absent' -> '[sgl-project#928 anchor] REFUSING resume' -> Zulassung bei 0 PP2 dasselbe -> 0 PP1 'sgl-project#988 LOADBACK ... anchor_depth=37952 mamba_restored' -> 37952 PP1 bekam PP0s Zeilen 32768..49152 zu seinem Batch 70720..79688: 'sgl-project#1233 W27 PP WIDTH DIVERGENCE REFUSED ... cause=START-SPLIT', P tot. Genau dafuer gibt es TF (weg2_told_fidelity, Default an): vor dem Admit fragt PP0 den eigenen Baum, kann er am told nicht fortsetzen, geht told=0 mit PF-Fallback-Marke an ALLE Stufen (jede gibt ihren Read frei, alle prefillen ab 0). Auf NF lief TF nie: '#TF told-fidelity probe skipped ... AssertionError((<class 'array.array'>, <class 'list'>))' 10 von 10 auf diesem Boot -- _probe_key baute den Schluessel als list, der Baum vergleicht array('q')-Schluessel (RadixKey.match: assert type(t0) is type(t1)). Keine Aussage -> Admit blieb 37952, waehrend PP0 selbst 0 nahm. Fix (kein Schalter, bestehende Vereinbarung): _probe_key baut array('q'). Die #1416d-Klemme teilt den Schluessel; ein Array-Schluessel hasht dieselben Seiten (compute_node_hash_values hasht die Array-Schluessel des Baums). Test test_told_fidelity_array_key_rc12z2 (4; Fake-Baum vergleicht mit dem ECHTEN RadixKey.match gegen einen Array-Knoten, told 37952, Bigram): 3 rot auf e8a2cd2 (genau 'AssertionError((array.array, list))', Verdikt (37952, None) statt (0, 0)), gruen mit Fix; Hash-Gleichheit list/array gruen auf beiden. Die TF-Suite 0927 mass nur len(key) und erreichte den Vergleicher nie.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 28, 2026
…roup P execute its row -- counters + sgl-project#1180 chain receiver re-built, carrier split per PP0 term, told stays armed WHY IT WAS OFF. fb3631c (sgl-project#1233 S0, 07.09.) un-wove the phase flip and pinned pp_flip_counters / pp_chain_receiver to None, the value they had with the flip flag off ("Every value this commit pins is the value the expression already produced with the flag off") -- not a crash, leak or crawl finding. On group P the followers since plan from their own pool (rc12o P log 1807/1811 "sgl-project#631 ROW AUTHORITY DISABLED"): the class W27, sgl-project#1004, TF and SF closed term by term. 5c97a22 (sgl-project#973) then disabled the PP0 carrier terms on purpose (sgl-project#973 RING COMMIT TIMEOUT: PP0 withheld, followers admitted). What re-arming must address, read off the code: (a) the frame probe _pp_proxy_frame_pending needs the counters, and the loop's pacemaker _pp_row_chain_pending needs the chain receiver too -- without it the follower blocks in the chain recv each iteration, visits slot k before frame k exists and falls a slot behind (631row5 crawl class); (b) pp_row_carrier_present=True would DISARM the told carrier P runs on (weg2_store_told.armed) and re-arm every PP0 term at once. weg2/p_row_authority.py (SGLANG_WEG2_P_ROW_AUTHORITY, DEFAULT OFF by operator order -- activated per profile / --env-p in the proof boot; off = both stay None, every image byte for byte): * init_request_receiver: PhaseFlipCounters (all PP ranks, attn rank 0, swept at boot) BEFORE the PpChainReceiver (followers; consumed count published through the counters) -- the flip-era builders minus the flip gate -- and the receiver is handed to SchedulerRequestReceiver; * the chain receive is bounded: SGLANG_WEG2_P_ROW_CHAIN_STALL_S (default 120 s; 0 or unset -> 120, never unbounded); expiry raises the named PpChainRecvStalled (no stall service wired: a stop, not a local decision); * START CHECK: switch on on a PP group but counters (any rank) or the receiver (a follower) missing -> "W-P-ROW Weg2RowAuthorityIncomplete" at startup; armed -> "P-ROW-AUTHORITY armed" line; * pp_row_carrier_present(scheduler, term=None) split: on the row form every PP0 term answers its own switch, DEFAULT OFF -- SGLANG_WEG2_P_ROW_WITHHOLD (sgl-project#1066/sgl-project#1175), _FLOOR_CLAMP (sgl-project#1039), _CORRIDOR (sgl-project#794); no term -> False, so weg2_store_told stays armed and the sgl-project#1245 drop keeps its answer; off the row form the counter-based answer is unchanged; * P-ROW-COST (followers, 60 s): plan ms of row-executed passes p50/p90, frames, probe calls/ drained/delivered/vanish/quiet/head_other. Existing protections are the executor's own: frame without a row -> "sgl-project#631 ROW AUTHORITY" stop; frame before its requests -> left in the inbox (631row14); no frame -> nothing planned (#969J); sgl-project#1004 / sgl-project#1233 W27 / sgl-project#791 FORWARDED SCHEDULE UNEXECUTABLE STOP. Tests: test_weg2_p_row_authority_0927.py 15 (default off incl. terms; stall bound finite; counters built/swept only when on; receiver gets the stall bound and the consumed hook, none on PP0; half-armed follower / PP0 refused by name; complete arms, off silent; init wiring order and the receiver handed on; carrier split per term, no term False, old form unchanged; told armed on the row form; the three PP0 sites pass their term; pacemaker model: counter-gated follower executes every frame at its slot, the blocking-chain mutant falls behind; P-ROW-COST line and hook). Profile switch (operator 27.09.): ModelProfile.p_row_authority (default False, both registry rows) feeds switch_defaults()[SGLANG_WEG2_P_ROW_AUTHORITY]; p_row_authority.enabled(): an explicit env wins, unset follows the published form's profile default (off everywhere). The proof boot switches it on per docker profile gpu-arb/docker/profiles/27b-row-authority.env (27b-release-draft.env + _form SGLANG_WEG2_P_ROW_AUTHORITY 1; K0-K3 criteria in the file). Rebased onto unified 2494e7e. Test: + registry rows all off, profile default followed, explicit env wins (16 total). Rebased 28.09. from b16128a onto unified 7055ec7 (cherry-pick, no conflict). Targeted suites on 7055ec7+Fix B: p_row_authority 16, unify_s2 16, unify_s3 35, told (27b_fidelity 11, array_key_rc12z2 4, store_told_1400 24, hold_tk 8), pp_chain (abort_check_824 4, receiver 8, row_defer_cap_1180 20) all passed; pp_chain_flush_deadlock_788 3 failed -- identical 3 on 7055ec7 without Fix B (stub lacks _weg2_vote_pass_hook/_pp_post_send), pre-existing.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 28, 2026
… sibling harness moved in The module did not COLLECT on any tree since 069f98c (sgl-project#969 CUT K, 29.08.): it imported _FakeBatch and _req from test/registered/scheduler/test_phase_flip_resident_carry.py, which that commit deleted with the resident carry ("No module named 'test_phase_flip_resident_carry'"). Not a sys.path case -- the file is gone; its other siblings (seam_census_double, test_phase_flip_runtime) resolve, scheduler/ is no package. The two pure stubs are moved in verbatim from 069f98c^ as _carry_req / _CarryFakeBatch. Test-only. Consequence, stated: the module now RUNS -- 7 passed, 23 failed. All 23 pin APIs the sgl-project#969/sgl-project#1233 unweave removed (_resident_batches 14, Scheduler.handle_phase_flip 4, run_phase_flip_event_loops 2, arm_phase_flip 2, kv_capacity_runtime 1): dead tests that the collection error hid for a month. Deleting or rewriting them is a separate decision; gates that included this file no longer abort their whole block on the collection error.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 28, 2026
…CUT K / sgl-project#1233 unweave: pinned removed APIs Operator decision 28.09.: delete, do not rewrite. After dea9529 made the module collect again, 23 of its 30 tests failed on APIs the sgl-project#969 CUT K (069f98c) / sgl-project#1233 unweave removed: _resident_batches (14), Scheduler.handle_phase_flip (4), run_phase_flip_event_loops (2), arm_phase_flip (2), kv_capacity_runtime (1). Removed whole: TestProductionCutover (3), TestResidentSetSurvivesTheCutover (4), TestEventLoopRedispatch (2), TestPhaseFlipRpc (4), TestSleepOnIdleSkip (1); removed methods: TestSpeculationIsTpDecodePhaseOnly (7 of 8), TestPin4SchedulerLevelReplay (2 of 3). With them the helpers only they used (_ResidentStubScheduler and the two stubs dea9529 moved in), the sibling imports (seam_census_double, test_phase_flip_runtime) and the now-unused names (dataclasses, threading, TP_TO_PP, PHASE_TP, PhaseFlipLoopExit, PhaseFlipRuntime, verify_flip_cutover). The 7 green tests stay: module 7 passed, 0 failed. Test-only.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Oct 16, 2026
…robe findet die END-ANCHOR-Tails -- sie liest die gemeinsame Aufzaehlung pp_request_locations statt ihrer eigenen vier Orte Boots 1016_150003 (weg2-6-94) und 1016_151644 (weg2-0-20), derselbe Client-Request nach jedem Neustart: 89664 Tokens, 89600 gecacht, uncached Rest 64. Der Rest passt ganz in einen Chunk, also teilt die END-ANCHOR-Regel (sgl-project#1233, Anker bei floor_grain(N-1), grain 4) ihn in Body 60 + Tail 4. Mit fnFL2 H42 (multi anchor tails) lebt der Tail in Scheduler.anchor_tails -- absichtlich NICHT im einzigen chunked_req-Feld (das fuehrte weiter weg2-0-18: 'sgl-project#992 CHUNKED CONTINUATION NOT NAMED rid=weg2-0-18 decision_names=weg2-0-20'). PP1/PP2 mintet denselben Tail aus der weitergeleiteten Geometrie (ANCHOR-TAILS minted_rids=weg2-0-20 bei slot 1). PP0s slot-2-Zeile nennt den Tail; die sgl-project#631-Row-Probe in _pp_proxy_frame_pending zaehlte aber nur waiting_queue, chunked_req, den Slot-Chunk und running_batch -> "not yet locatable" ohne Aenderung -> 4 Laps -> PpRowDeferCapExceeded, RANK_EXCEPTION. Der Early-Settle (equal/short_satisfied) ist nur der Weg zum ganzen-Chunk-Rest, nicht die Ursache. Fix: _known = pp_request_locations(self) (sgl-project#946: jede Stelle, an der ein Request leben kann, inkl. anchor_tails und Slot-Ring) plus der Chunk des genannten Slots. Keine Lap-Grenze geaendert; eine rid, die an keinem Ort liegt, wird weiter verschoben und endet benannt. Tests: test_pp_row_probe_anchor_tail_1016.py 3 gruen (weg2-6-94 ueber die Lap-Grenze hinaus lokalisierbar, weg2-0-20 nach equal-Early-Settle, eine rid an keinem Ort wird weiter verschoben); auf 1f4b3e7 rot 2. Mutant: anchor_tails aus pp_request_locations entfernt -> ROT 1. Regression 9 Dateien (Row-Probe/sgl-project#1180/#791T/sgl-project#968/sgl-project#946/sgl-project#961/sgl-project#971/H42/K14/244): Kopf 221/1 rot = Basis 221/1 rot (vorbestehend test_weg2_p_multi_anchor_tails_h42::test_count_arm_uses_the_fresh_admission_count). Kaltstart-Rig s7s8 28/28 GRUEN.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Oct 20, 2026
…ites 757/787/788/791 off API drift A1 (review done/nf-review-p-pp3-overlap-1020.md): test_w2c_three_rank_gloo_1020.py spawns 3 gloo ranks (S95b form) with the real chain send (_pp_send_pyobj_to_next_stage), PpChainReceiver, shared PhaseFlipCounters, the counter gate _pp_row_chain_pending, the frame probe _pp_proxy_frame_pending (C3), the real pp0_publish (V1), proxy_extra and note_frame. PP0 pass order: slot-0 launch pass (slot 1 receive empty), announced pass k (chain k: told + K14-shaped abort of a row-s rid), park pass s+2. Cases: green (chain k before the older row on PP1 and PP2, abort absorbed before the row and the row still runs, admit on acks > 0.5 s before the older output, no park call in pass k), other slot in flight (no announcement, serial), PP0 silent after announcing (named sgl-project#789 stop on all three ranks), late PP1 chain hop (relay covers PP2). 4 passed. Mutants red: PP1 without relay (2 failed), announcement with a slot in flight (1 failed; the adapter no longer pre-filters, the pure verdict is the single place), park in pass k (2 failed). A2: the five protocol files were red on rc27 by API drift, not by a defect. 757/787: holder lacked the sgl-project#1057 stale guard + stamp helpers; refusal is the sgl-project#1004 named stop now. 3/3 and 4/4 passed; mutants (output eaten, no slot refusal, no settle window) red. 788: holder lacked the sgl-project#1268/PR/lane pass hooks, flush_wrapper and the #1015e lap-late send helpers. 3/3 passed; mutant blocking chain send red, mutant no end-of-iteration flush survives (top-of-pass commit takes over). 791 wiring + forwarded schedule: sgl-project#1015 removed the admission arc, the row rides the proxy frame (sgl-project#631); sgl-project#1072 removed retraction, sgl-project#1071 the void. Ported to the frame row; 3/3 and 29/29 passed; mutants (retract again, reconcile skipped, no forwarded geometry, local order, row not relayed) red; 'relay dropped' on the wiring file survives (the test relays the amended row itself). 631: retired by design (sgl-project#1233, module-level skip), unchanged.
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.
Motivation
support T4
Await https://github.com/flashinfer-ai/flashinfer/releases/tag/v0.1.6
Modifications
Checklist