Repository navigation
chore: bump sgl-kernel version to 0.4.10 - #44590
Merged
Fridge003 merged 1 commit intoOct 15, 2026
Merged
Conversation
kpham-sgl
requested review from
BBuf,
FlamingoPg,
HaiShaw,
ispobock,
merrymercy and
yizhang2077
as code owners
October 15, 2026 22:10
Fridge003
approved these changes
Oct 15, 2026
detain
pushed a commit
to detain/sglang
that referenced
this pull request
Oct 19, 2026
…tune-gate test fix (b0fce3b), and correct the PCIe-IPC "ACTIVE" claim Entry 228 records the FI bump in both halves: the clean cherry-pick of upstream 44be30d/sgl-project#44591 (2 Dockerfile ARGs, the sole pyproject pin at python/pyproject.toml:42, and the engine.py:1925 assert_pkg_version FLOOR) and the operator's prod-venv swap 0.7.1 -> 0.7.2 (one-line freeze diff, no jit-cache/cubin companions). It carries the 53-module/198- symbol API audit (1 benign missing symbol), the pin-vs-wheel reasoning (assert_pkg_version is a FLOOR -- the real hazard was `uv pip install -e 'python[dev]'` silently downgrading the wheel back to 0.7.1), the deliberate sglang-kernel 0.4.9 floor with the sgl-project#44590 pairing constraint, the rollback order, the first-boot cost (0.7.2/120f holds nothing but a 0-byte log => re-JIT of sampling + XQA, autotune sweep cold; 147 s baseline), sgl-project#44115 as PERMANENTLY not-applicable (plan positional list byte-identical, no uniform_q_len), sgl-project#43471 as never version-gated, the native-ReplaySSM convergence lever and the new `cake` mm_fp4 backend. CORRECTION: entries 162-164 (PCIe-IPC vocab gathers) were never ACTIVE. The wheel satisfies a dependency; the transport is behind SGLANG_ENABLE_PCIE_IPC_ALLREDUCE = EnvBool(False) with no CLI flag, unset in the prod run script and absent from the live process env. Prod TP4 vocab gathers and the bf16 decode all-reduce remain on NCCL; testing it is the top pending A/B (harness arms pcie_ipc_on / pcie_ipc_on_ll / pcie_ipc_off_recheck). Annotated in place at all eight stale claims (header STACK block, 10-15 updated block, FOURTH-merge synced line, entry 162 bracket, merge-4 entry line, the merge-4 battery bullet, the entries-200-204 BEHAVIOR WATCH bullet, the LIVE VENV bullet). Entry 229 records the wheel-independent autotune-gate fix: 7P/1F -> 9P (stale auto-Mock met entry 225's b12x arm; the fp8_utils per-tensor patch pins a real production probe, so it is legitimate, not a workaround; WIP DBG scaffolding stripped pre-commit; diff is +29/-2, not +31/-2). Header/CAVEATS: STACK 227 -> 229, tip -> 2b46270, new updated: block for 228-229, MERGE sgl-project#5 STILL OWED refreshed (origin/main 716c915, +325), the FI-0.7.2 ADDENDUM to the pinned-baseline bullet (autotune_gate 8P -> 9P chain, NEW test_jit_cache 42P, kernels_namespace REMAINS 76P -- the "78P" claim is false and appears nowhere in this file), a new top-priority BEHAVIOR WATCH bullet for the first 0.7.2 boot, and the supersede-in-place annotation on the "NOT TAKEN (a) FLASHINFER IS NOT BUMPED" bullet (direction-correct, mechanism-wrong). Push state recorded truthfully: detain carries the branch up to 3c44685; these commits are unpushed. stack.txt only; LIVE ONLY AFTER RESTART.
detain
added a commit
to detain/sglang
that referenced
this pull request
Nov 11, 2026
… commits since 2a6c204 @ merge-sgl-project#5) Conflicts: 110 files (106 content / 4 add-add / 0 modify/delete) at the settled 321 tip 2d87757 -- vs merge sgl-project#5's 167; the smaller count despite 950 commits (merge sgl-project#5: 1,120) is the merge-era's re-plant landing INSIDE upstream's new window (many fork families -- qwen4 varlen, fast_file, hicache-liveness, the 209-218 controller semantics -- now collide as DUAL IMPLEMENTATIONS: upstream grew the same families independently in the window). By class: A 7 (auto-takes-upstream, dedupe-verified), B 36 (mechanical union/custom splices), C 46 (upstream structure taken, fork hunks extracted for re-plant), D 21 (fork-owned flips + dual-impl adjudications, incl. the whole fast_file family). 228 conflict regions total: 69 union (all def/class-collision-checked), 118 take-upstream (104 marked, 14 dedupe-verified), 25 keep-fork (17 fold-marked, 8 strict supersets), 16 custom import/region splices. 121 TODO(merge6) markers planted (tree census): b1 12 / b2 23 / b3 18 / b4 39 / b5 17 / b6 12. (Resolver census at region-resolution was 117; the cascade-repair grafts below added the rest.) REPLANT INVENTORY: /tmp/opencode/merge6-dossier/ replant/ -- per conflicted file: <name>.fork-hunks.patch (full 2a6c..321 delta), <name>.upstream-side.patch (full 2a6c..eb73 delta), <name>.ours-dropped.txt / <name>.theirs-dropped.txt region snapshots, MANIFEST.tsv (file, zone, regions, kinds, fork-hunk counts, per-region notes). Work records (conflict census JSON, decision tables, class table, logs) under .../work/. D-list outcomes (must-not-auto-resolve, handled deliberately): - sgl-project#45520 (entry 302): STILL OPEN upstream at eb73a50 (gh-verified + ZERO "sgl-project#45520" strings in the +950 window). Entry-230's fail-safe layer is UNTOUCHED and stays (standard.py warn-once + published-auto guards intact; the re-apply rule armed in CAVEATS was NOT needed this merge). - sgl-project#44590 (entry 228): the window did NOT move the floor further -- upstream pyproject stays sglang-kernel==0.4.10 (absorbed at merge sgl-project#5 via sgl-project#43922) and the engine assert_pkg_version stays 0.4.9 in BOTH trees; the _load_inline_fragment_probes_available() probe never existed on either side (docs-mention only). Nothing to re-assert; both pins kept byte-identical. - flashinfer_cutlass.py (fork-owned per merge-sgl-project#5 flip): did NOT conflict; 56 b12x refs intact, dispatcher reads untouched. - modelopt_quant sgl-project#44993/sgl-project#44994-ERA B12X W4A16 arms: the fork's defer-swizzle/b12x conditions at L2941-2996 are CONTESTED against upstream's skip_swizzled_blockscales rewrite -> took upstream, b5 markers + region snapshots (boot-integrity fields live in the fork-owned cutlass file, which survived; the b12x selection ARMS need the B5-style re-plant). - DUAL-IMPLEMENTATION FAMILIES (the new pattern of this merge; upstream grew the same features the fork replanted -- take-upstream + fold-diff replant, NEVER a silent pick): kernels/ops/mamba/qwen4_short_conv.py + its test suite, srt/models/qwen4_exp.py varlen trio, mem_cache/storage/fast_file/fast_file_store.py + test_hicache_fast_file_unit.py, test_hicache_sidecar_restore.py, fused_moe_triton/layer.py nvfp4-deferred clause, tokenizer_manager _validate_top_logprobs_num, hicache_best_practices.mdx. All fork-side versions snapshotted; replant batches diff ours-dropped.txt against the taken upstream. - environ.py: took upstream's SGLANG_EXACT_CHUNK_FILL removal; kept ONLY the fork-added SGLANG_SPLIT_PREFILL_AT_MAMBA_FORK line (custom splice). - entry-219 gauge schema: per-pool hicache_host_pool_{used,total}_tokens names SURVIVED the auto-merge (metrics_collector/hicache_pool_stats/metrics_reporter/ urc all intact); the marked b3 controller regions must RE-VERIFY the producer dict end-to-end at re-plant, not assume it. Cascading silent-auto-merge repairs (files NOT in the conflict set, broken by auto-merge splices -- all found by the ruff-F821/check_* gates, all fixed here): utils/common.py upstream prune RE-HOMED the fork's get_mixed_precision_moe_quant_algos into configs/quant_utils.py (next to the moved siblings) + the make_layers empty_cache into layers/utils/layer_list.py, importers rewired; mem_cache/pool_host/base.py silently LOST the entry-sgl-project#44462-era host_memory_budget_bytes() helper whose caller survived -- grafted back; model_executor/runner/eager_runner.py CP helpers retargeted to upstream's NEW layers/cp/utils (cp_shard_model_inputs/cp_gather_after_forward) replacing the retired runner_utils.cp_extend pair; runner/flashinfer_autotune.py + qsa/mqa.py + modelopt_quant.py import retargets for the utils/device + layers/dp_attention move; mem_cache/memory_pool.py lossless-verify tuple buffers re-grafted around upstream's replayssm skip-chain; unified_radix_cache.py host-capacity deadline preamble re-grafted (marker kept); qwen4_exp.py _use_qwen4_direct_decode re-grafted (its kernels survived); qwen4_exp_ple_table.py _HOST_PAGE_TABLES memo dict re-grafted; rotary_embedding/factory.py get_rope param restored; multimodal_gen forward_context teacache_plan param restored + server_args.py Literal import; parallel_executor.py rebuilt as fork-owned + upstream's raise_if_cancelled guards folded into the fork loop structure; hybrid_cache_controller.py _reduce_prefetch_ack if/zero_ splice repaired; python_bindings.rs pyo3 signature REORDERED to match the unioned fn new() argument order (mamba_value_seqlen position -- a positional-bind footgun, fixed pre-commit); test_io_struct.py get_context/MAX_PARALLEL_SAMPLES imports; stat_loggers_di + test_flashinfer_autotune_sync + fused_lora_compose + tp_worker + compressed_tensors + minimax_h3 + hc_mix + scheduler_mixin + pool_configurator + scheduler/tokenizer_manager import prunes/grafts. Gates at commit (CVD=9, prod venv, worktree PYTHONPATH): import sglang OK; check_registered_tests / check_no_bare_pytest_main / check_no_registered_tests_in_package ALL rc=0; ruff (F401,F821,F823,UP037 @ v0.17.1 vs pinned 0.15.1) ZERO new errors on the 3,269 merge-touched .py -- the residual 161 are BYTE-IDENTICAL INHERITED rows present at BOTH parents (kernels/aot, api_types, mm entrypoints/utils, etc.; 0.17-only detections, not merge damage); ruff format clean on the same set; py_compile clean; CARGO sglang-radix-tree check+test GREEN: 966 passed / 0 failed / 1 ignored (vs merge-sgl-project#5-era 943P -- upstream grew the suite +23; NOTE the crate is now `exclude`d from the rust/ workspace with extension-manifests metadata -- `cargo -p sglang-radix-tree` from rust/ no longer works; run inside the crate). NON-ADOPTIONS honored: sglang-kernel floor 0.4.9 (engine assert) untouched; sgl-project#45520 not brought (fail-safe layer intact by rule). Re-plant batches owed (per marker zones): B2-2026 test re-home (23), B3-2026 mem_cache/controllers/rust (18), B4-2026 scheduler/managers/runner (39), B5-2026 moe/quant/kernels/qwen4 (17), B6-2026 environ/arg_groups/docs re-pins (12), B1-2026 diffusion folds (12). PROD BOOT FORBIDDEN until the B3/B4 zones re-plant the entry-209/218 controller semantics (the trailing_endpoint gate will read RED at this commit, exactly as at merge-sgl-project#5's damage state).
detain
added a commit
to detain/sglang
that referenced
this pull request
Nov 11, 2026
…T / 5 WATCH / 23 EXCLUDE + merge-sgl-project#6 reconcile map) + MERGE sgl-project#6 LAND record (cff688b + cascade dea2641, 110-file census, 125 TODO(merge6) markers); header/tip/HEAD/synced re-pins, sgl-project#44590 PROOF-PASS retirement, EVALUATED + WATCH 11-10 refreshes; nothing pushed
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.
Bumps sgl-kernel to 0.4.10 so the published wheel carries the FlashMLA MegaAttention ops from #43918 (
sgl_kernel.flash_mla_mega), which #43922 imports. The released 0.4.9 wheel predates that change.Files updated:
CI States
Latest PR Test (Base): ❌ Run #38815260015
Latest PR Test (Extra): ❌ Run #38815259813
Latest PR Test (AMD ROCm 10): ❌ Run #38815259886