Repository navigation
feat: replace GeluAndMul - #1234
Merged
Merged
Conversation
Collaborator
Contributor
Author
|
Nice! |
zhyncs
marked this pull request as ready for review
August 28, 2024 10:17
merrymercy
approved these changes
Aug 28, 2024
Contributor
Author
|
hold on I just test it |
zhyncs
enabled auto-merge (squash)
August 28, 2024 13:45
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
shawlleyw
added a commit
to shawlleyw/sglang
that referenced
this pull request
Apr 20, 2026
Reflects the expanded instrumentation from commit 6ff7c38 which decomposes non_torch into named buckets (deepep_buf, deepep_ws, nvshmem, nccl_est, other). Changes: - Updated the log-line format description to include the new sub-fields and documented what each one counts. - Replaced the two separate capture-delta tables with a single EP vs TP side-by-side table at --cuda-graph-max-bs 256 (the more relevant config). Column 'EP - TP' makes the MoE-specific cost explicit. - Added a steady-state footprint table comparing baseline TP, baseline EP, and ParaS. Makes the +6.1 GB ParaS overhead visible and split across three attributable contributors. - Per-bucket 'what the buckets mean for offload' rewritten to include the new sub-buckets. - New 'Open questions' section documenting the 1.11 GB 'other' bucket as the main unresolved investigation item, with concrete env-var knobs for follow-up experiments. - New 'Raw logs' section indexing the six log files under artifacts/ that back the numbers. Of the 2.709 GB EP-over-TP capture penalty, 1.597 GB (deepep_buf 0.566 + deepep_ws 0.031 + nvshmem 1.000) is now attributed. The remaining 1.111 GB in 'other' is the main thing left to investigate - most likely NCCL graph-capture VMM scratch (NCCL issue sgl-project#1234), testable by setting NCCL_CUMEM_ENABLE=0.
3 tasks done
5 tasks
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 10, 2026
…ht a real collision The W-code uniqueness suite (test_weg2_wcode_uniqueness_1263) failed on my numbers, and it was right twice over: W38 is ALREADY TAKEN by the retired 'sgl-project#1234 W38 Weg2CarrierlessPpStoreRead', which is still in the census, and W39 is one of the four numbers that suite asserts are free. Renumbered by the registry's own rule -- the first free number above the highest assigned code (W67 here) -- with one extra step: the in-flight xchg candidate recorded in BOOT_QUEUE.md claims the W69-W85 band on its own branch, so W86/W87 are the first pair that collide with neither census when the two lines meet. W86 Weg2XStoreLayoutStop, W87 Weg2PinnedArmRefused, both named exceptions so the census can see them and a boot log can be grepped by name rather than by number.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 26, 2026
…ess drift, one host-state leak) Pre-existing reds on desk/27b-unified-0926 @ 61d9241 (also on TK e5a52d8..7f0c72d). Each was traced to the commit that changed the pinned surface; none is a runtime defect. Test files only. - revoke_reissue_1479 x4: NF fnFL2x38 ba5847a (23.09.) made _weg2_refetch_one read the class constant WEG2_TAIL_RECOMPUTE_TOKENS; the SimpleNamespace holder lacked it (AttributeError, swallowed as "not due" in the hold loop). Holder now carries Scheduler's constant, as the NF x36 test already does. Red on NF line + unified since the base, green on 27B line. - wake_kv_first_xsn314: sgl-project#1490 f3fded4 (20.09.) made the one late call read the refused-resume verdict (`_weg2_kv_ok = _weg2_kv_block() is not False`); the pin counted the bare statement. Now: exactly one call, at the late site (mutant: a second early call -> 2 -> red). Red on both lines. - x36_settle_dormant: 27B xsn437 (unified S7a ae40f81) routes the too-short term through `_min_len` (= prefetch_threshold unless min_tokens); pin follows. Unified only (the NF line has no min_tokens). - d_operating_points_1241: d3e9625 (17.09., --spec-form) spells "NEXTN" as a FORM name (default + choices); those two sites are removed by name and the algorithm literal must stand once. Red on both lines. - xchg_manifest_1311: sgl-project#1378 c11cd2e (15.09.) put a per-leg cache in front of the adapter; the forwarding lives in _weg2_shadow_plan_uncached, the cache must pass both terms through (no literal). Red on both lines. - first_chunk_dynamic_chunking x2: 27B 714aa3b (--p-layer-split dynamic, unified via S7f 71bf068) -> bind _p_layer_split_width. Red on 27B line. - collective_family_siblings_610 x4: 6a9830b (sgl-project#1234 fix 7) and afe89c3 (sgl-project#1317 A) added two votes to the budget reduce -> bind them and _weg2_store_read_is_pending (guard's next descent). Red on both lines. - 1397_launcher_census_wiring: 27B e54ac95 (c-lane prewarm) is a third reader of the SAME published terms; count 3, the prewarm enumerated by its log line. Red on 27B line, green on NF. - corridor_budget_1257 (unpriced floor): not hermetic -- it read the live ~/.cache/sglang/corridor_floor_digest.json and, under the runtime venv whose NVML fingerprint matches it, resolved MEASURED-D. Pointer aimed at a missing file for this case. Red on all three trees under /spinning/htsglang-gpu/.venv.
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Sep 28, 2026
Entwurf v2 §5 "Fenster". rank_form.form_b_window_requirement / check_form_b_windows: je Rang ein Fenster je barlink-Gruppe (world, Scheduler-tp, dcp:0 = 40 MiB sgl-project#1234 C1), dazu NUR auf Gewichtsraengen model_tp:0 (|W| >= 2) und die Flip-Lane (32 MiB); zwei Raenge auf einer Karte pinnen doppelt; fremde Posten der Karte (P: world 24 + PP_0 96) als resident. Fensterwerte aus der --barlink-bar1-window-mib-Syntax, Gruppenschluessel wie barlink_matrix_transport._group_key (model_tp:0 -> MODEL_TP_0), ungesetzt = 96. Passt eine Karte nicht: W187 Weg2RankFormBar1Window mit Karte, Raengen, jedem Posten, Summe und nutzbarer Groesse -- vor dem Laden statt Bar1WindowRefused am model_tp-Bau. Gerechnet: Weg-2-Layout D 16,TP_0=32,DCP_0=40 + P 120 -> W-3080 256 > 224 (verweigert), K-3080 208 (heute); mit TP_0=8, MODEL_TP_0=8 genau 224. Noch kein Launcher-Aufrufer (es gibt keinen Form-B-Startpfad); der Riegel ist Pflicht- aufruf dort, bevor F6 wired=True einen Boot zulaesst. Tests: test_rank_form_0928 26 passed (+3 neu).
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
as titled
Await https://github.com/flashinfer-ai/flashinfer/releases/tag/v0.1.6
Modifications
Checklist