Repository navigation
Flush Cache API - #103
Merged
Merged
Flush Cache API#103
Conversation
comaniac
reviewed
Jan 26, 2024
comaniac
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the promptly work! Left some miner comments.
5 tasks done
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
pi314ever
pushed a commit
to pi314ever/sglang
that referenced
this pull request
Aug 7, 2025
sammysun0711
pushed a commit
to sammysun0711/sglang
that referenced
this pull request
Dec 19, 2025
* fused quant kv with mrops rms kernel * add return_kv flag
vschandramourya
pushed a commit
to vschandramourya/sglang
that referenced
this pull request
Feb 3, 2026
ranjiewen
pushed a commit
to ranjiewen/sglang-main
that referenced
this pull request
Mar 17, 2026
Co-authored-by: littleYellowBicycle <[email protected]>
efschu
added a commit
to efschu/htsglang
that referenced
this pull request
Jul 26, 2026
…the E2E win Qwen3.6-27B-FP8, uneven 6,4,4,2 + capacity-DCP + NEXTN solo, slope method, 3 content classes, reps 3; arms differ only in the 8 HTCCL files (+1 env flag): A pre-L2 transport: 16.38 / 15.67 / 16.54 tok/s (code/prose/mixed) B L2 transport: 17.31 / 17.57 / 18.36 (B/A +5.7/+12.1/+11.0%) C B+overlap flag: 17.92 / 17.12 / 17.84 (C/B neutral in spread) D B+coupled KV split: 18.11 / 16.84 / 18.15 (neutral at short ctx) spec_accept_length identical across arms per content (3.08/3.03/2.91), zero degeneration. Overlap activation PROVEN via a once-per-rank INFO log (added to htccl_mlp_ar_overlap_comm) on all 4 ranks -- the neutral C/B is a measured negative result, not a dormant flag. Per-rank GPU util sampled per arm: main rig 10-13%, 2080 Ti 50-55%, stable across arms -- the slowest card paces the lock-step group; straggler compute, not communication, is the next lever (sgl-project#103/sgl-project#200). Details persisted in FEATURES_VS_UPSTREAM.md.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 23, 2026
…nachziehen) 264 Commits der 27B-Fliplinie fehlten dem NF-Zweig (git cherry), darunter die Kernfixes Credit-Floor-Objekt (44f5e6e), IPC-Staging gegen den VRAM-Credit (51040dd), W108-Lane-Abdeckung (b70dc62), Arena-Uhrzeiger (ce59ad3), D im P->D-Flip (4336934/a27841d0fd), Lane-Freigabe je Leg (d2dcc94), Fast-Flip (3d3ebe1), Wake-Parallel (ebf94e6), Sleep-Flush joint die Write-Throughs (sgl-project#1470 b9ec24b) und die Arena-Umbindung nach dem L3-Ack (sgl-project#1424). 12 Dateien mit Konflikten, aufgeloest: - weight_updater: beide Draft-Reload-Skips - torch_memory_saver_adapter + Test: NF - base_cuda_graph_runner: _solo_draft = is_draft_solo_host or spec_solo_rank_local_graphs - weight_exchange_shadow: beide Skips - barlink_abort_gate: 27B - weight_exchange: _widths mit der Breite-0->[]-Regel, NF fuer den empty/local_scratch-Block - weg2_memory_saver: beide (W108-Persistenz + W109-Klasse + _alloc_wait) - scheduler.py: NF (W11b-Log) - xchg_manifest: NF-Breitenbedingungen mit MIXED_FUSED_COLS; NF fuer Halter und leere Manifeste - launcher: NF (6 Bloecke) - front.py: beide Helfer; Konstruktor weights_resident + weight_form; Pause-Reihenfolge NF if/else mit interleave_chain_card im else (SGLANG_WEG2_FLIP_ORDER_CHAIN=0 schaltet ab); Legs: NF weights_resident-Zweig, sonst 27B Wake-Parallel (fruehes kv); Controller: _ahead-Semaphor + _adopt_first_flip - tests/moe_offload/test_kv_resume_refusal_0920.py: aufgeloest Tests (nach dem Merge, ohne CUDA): - weg2-Liste: 18 rot (Basis 16 + 2 Stub-Drift-Ratschen test_weg2_1363_smoke_stub_drift: _weg2_bar1*/_weg2_stage_charge/... ueber das Leg erreichbar, weder geliehen noch ausgeschlossen -- auf der 27B-Spitze identisch rot). - 91 mitgekommene Testdateien: 581 gruen, 13 rot; 9 davon auf der 27B-Spitze identisch rot (arena_host_pool_1424 x3, intake_stall_authority_xsn288, post_wake_settle_1471 x2, region_form_lane_cap_1464, wake_kv_early_xsn315, wake_kv_first_xsn314); 4 xchg_solo_draft_xsn389 pruefen die 27B-Join-Form fuer Solo-Draft-Schatten, die NFs sgl-project#76/sgl-project#103-Form ersetzt (bewusst NF in xchg_manifest; am Metall x18-x22 bewiesen). - mem_cache: 41 rot (Basis 33); 10 der 12 neuen auf der 27B-Spitze identisch rot (arena_1424 x3, mamba_anchor_seams_747, staging_write_ring_810 x5, transfer_domain_1206), 2 (0828 extent-io, meta_tp_layout_785) nur im Vollauf rot, einzeln gruen (Reihenfolge).
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 23, 2026
…ch, Reduce begrenzt; Meta-Inventar None = leeres sgl-project#103-Manifest (fnFL2x22/x24) x22: D's Wiederaufnahme der 259k-Nadel nach P->D bewegte 0 Seiten: alle drei Prefetch-Threads standen 255 s im Claim-Reduce (probed=False auf allen Raengen, completed_local=0 auch auf TP0, 'prefetch' beim Stop auf allen dreien noch lebend), die 259392 Host-Slots des ersten Prefetch blieben belegt (available=66176 = 325568-259392) -> host_pool_exhausted -> W17. Dieselbe Signatur wie xsn392 (2-Vektor gegen Skalare); die Form-A-Worker (Null-Storage, 21.09.) sind eine Schattenart, die der rangl. Marker solo_draft_shadow nicht deckt, und keine Zeile nannte die gewaehlte Form. - Die Form wird VOR dem Claim-Reduce ueber dieselben Gruppen vereinbart (ein Skalar-MAX, #xsn392b PREFETCH-CLAIM-FORM je Rang geloggt). - Ein Rang ohne Bytes (FormAWorkerNullStorage.abstains_from_claim_vote) stimmt [ABSTAIN, ABSTAIN] statt 'jede Seite': im gepackten [c,-c]-MIN haette sein 4053 neben dem ankergekappten 4052 des Hosts als Rang-Uneinigkeit (W-STOP) gelesen, nicht als MIN, das der Host entscheidet. - _all_reduce_prefetch_groups wartet begrenzt (120 s, bounded_wait); ein Ablauf ist der S5-STOP (_stop_group_from_thread), kein stiller Reap. x24: seit dem 27B-Merge (xsn389) ueberspringt card_inventory Meta-Parameter selbst und gibt bei leerem Inventar None zurueck; _write_placement_manifest iterierte ueber None (TypeError, 'write-failed' auf D TP1/TP2) -> kein leeres weights_draft-Manifest -> W68 auf allen D-Raengen -> kein Draft-Plan -> P PP0 129,8 s im 5090-Kredit -> STALL/W17. Meta-Skips zaehlen jetzt als Schatten. Tests: xsn392-Datei +6 (Enthaltung/Voter, Alle-enthalten-sich, Null-Tier, Form-Vereinbarung, ohne Gruppe lokal, Ablauf=STOP; Mutant 'Worker stimmt' -> Weg2DraftDisagree), manifest_meta_inventory_x24 +2 (Mutant ohne None-Behandlung rot), 1233-Stub an die Form-Vereinbarung angepasst. Gates: weg2-Liste 18 rot = Basis, mem_cache 41 = Basis, managers -k prefetch/hicache 3 rot = HEAD.
4 of 5 tasks
sammysun0711
added a commit
to yicyang/sglang
that referenced
this pull request
Nov 10, 2026
Signed-off-by: Xiake Sun <[email protected]>
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.