Skip to content

[CI] test: Run the CPU unit tests against SGLang main - #81

Merged
Oasis-Git merged 8 commits into
mainfrom
ci/unit-test-sglang-main
Nov 26, 2026
Merged

Oasis-Git merged 8 commits into
mainfrom
ci/unit-test-sglang-main

Conversation

@Oasis-Git

@Oasis-Git Oasis-Git commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

The CPU unit tests run against SGLang cf6133a (2026-11-05), pinned in unit-test.yml by #40 and not moved since. On 2026-11-20 that commit is 1253 commits behind SGLang main. At that pin test/unit/test_contract.py skips every check whose SGLang side the commit lacks, which includes all of Kimi K3.1's bindings, so a SGLang change that breaks those bindings does not fail this repository's CI. The package is served with SGLang main, and SGLang's GPU CI runs our E2E tests on SGLang main; the unit tests should check against the same SGLang.

Modifications

  • unit-test.yml checks out SGLang main instead of SGLANG_COMMIT, and the SGLANG_COMMIT pin is removed.
  • torch is installed at the version SGLang's python/pyproject.toml pins, read from the checkout, instead of a hard-coded torch==2.14.1.
  • A new step writes the SGLang commit the tests ran against to the job summary.

Consequence: a SGLang main change that breaks a binding now fails the unit tests of every open PR here until this package is fixed. That is the point of the change; the failure names the file to repair.

Following SGLang main

Against SGLang main the unit suite had 160 failures, from SGLang interface changes the pinned commit hid. This PR also fixes the ones this package can follow on its own (see the commit messages for the full list):

Still failing against SGLang main, for their owners: the GLM-5.3 mirrors (9), Qwen3.5's ReplaySSM kernel mirror (2), Muse Spark's candidate top-k (1) and the spec_step lifted eagle_sample (1).

Accuracy Tests

N/A, CI only.

Speed Tests and Profiling

N/A, CI only.

Checklist

  • pre-commit run --all-files passes. The hooks pass on the changed file.
  • Tests under test/ cover the change. N/A, CI only; this PR's own unit run is the check.
  • Required SGLang bindings passed normal SGLang CI and are merged, or no binding change is needed. No binding change.
  • The tested SGLang and Mega SHAs and integration run link are named above. The SGLang SHA is in the unit job summary.
  • Accuracy and performance E2E results against the matched baseline are attached for each affected supported model/hardware configuration. N/A.
  • Required E2E cases ran on the appropriate hardware; missing coverage is listed explicitly. N/A.
  • A new model adds one line to .github/CODEOWNERS that names its owner. N/A.

🤖 Generated with Claude Code

The unit tests ran against SGLang cf6133a (2026-11-05), 1253 commits
behind main on 2026-11-20. At that pin the contract tests skip every
check whose SGLang side it lacks, including all of Kimi K3.1's bindings.
Check out SGLang main instead, install SGLang's own torch pin, and record
the SGLang commit in the job summary.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Oasis-Git and others added 3 commits November 25, 2026 00:20
Fixes the unit test failures that running against SGLang main exposes
(#81), where they come from SGLang interface changes this package can
follow on its own:

- Megakernel API 3 (sgl-project/sglang#52054 replaced the verify penalty
  tables with step_penalties): every spec declares API 3; Kimi K3.1's
  base declares 3 on a host with VerifyPenaltiesView. No spec read the
  removed tables; the GLM-5.3 SM107 verify tail and the spec_step runner
  now decline on step_penalties, and the runner on watermark.
- --enable-dp-attention is gone (sgl-project/sglang#51074): GLM-5.3's
  draft checks read attn_dp_enabled, Qwen3.5's topology attn_dp_size.
  The GLM checks read the old field with getattr and so passed silently.
- Kimi K3.1's DFlash runtime: SGLang shares one verify logit adjustment
  (sgl-project/sglang#52184, #52159); the runtime hands rounds back on
  adjusts_logits() or a sampling mask and adjusts the gathered greedy
  logits with adjust_verify_logits.
- Qwen3.5 MTP: mtp.fc is a ReplicatedLinear (sgl-project/sglang#49790)
  and returns (output, bias); fc_input took the tuple as the output.
- Moved names: next_power_of_2 (utils/triton_utils), is_cuda and
  is_float4_e2m1fn_x2 (utils/device; Muse Spark imported the latter
  from a module that no longer has it), hf_transformers (srt/).
- Mirrors re-read and re-pinned where SGLang's change does not reach the
  mirrored path (XPU / HIP / NPU / Ascend branches, sliding-window
  writes Qwen3.5 has none of, a bias out_proj the GDN step declines,
  the ReplaySSM ring index that equals the request row for GDN, prefill
  staging for the strided pools the prefill slot declines).
- Test fakes follow SGLang's GDN backend, a2a backend and dp_attention
  helpers.

Still failing against SGLang main, for their owners: Kimi K3's DSpark
verify views (removed by sgl-project/sglang#48414), the GLM-5.3 mirrors,
Qwen3.5's ReplaySSM kernel mirror, Muse Spark's candidate top-k and the
spec_step lifted eagle_sample.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
SGLang's hybrid binding views are dataclasses now (sgl-project/sglang#48414):
MlaPoolView takes dtype codes and an int serving capacity, and
KdaStepView.track_decode_state is a method (SGLang snapshots the KDA state
after the step). The Kimi K3 tests build the views that way and record the
executor's per-layer tracking by patching that method. The DSpark verify
fields (tokens_per_request, verify_scratch_indices, aux_hidden_states and
the KDA verify scratch) need the SGLang change that offers them again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Oasis-Git
Oasis-Git requested a review from YAMY1234 as a code owner November 25, 2026 18:11
Oasis-Git and others added 4 commits November 25, 2026 21:27
Store the verify KV through KVWriteLoc.for_batch, as the DSA backend now
does (a unified pool refuses a bare loc), and refuse an indexer without
RoPE, which SGLang now quantizes without it. Re-pin the ten mirrors whose
SGLang changes leave the served path as it was: Kimi-K3 / DCP / ROCm /
Prims-TS branches, beam-search and candidate-selector logits, and helper
extractions with the same calls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
SGLang now takes the shard top-k from radix_topk and gathers over the
target lm_head's own group (sgl-project/sglang#47267). Follow it in the
eligibility check, the shard top-k and the stock tail. The dflash.py
source pins are unchanged, so on a revision they do not list the
component keeps the stock path until it is validated there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sions

SGLang split eagle_sample into the logit adjustment and _tree_accept, and
took the per-request temperature softmax and a packed verify broadcast
upstream. Lift _tree_accept instead of the stale eagle_sample copy: the
packed broadcast also follows the Mega switch, the lean chain verify drops
the zero-filled draft probs, and the chunked sampling applies with it. Pin
the lifted body as a mirror so the next SGLang change to it is caught.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… fork

SGLang's gdn_replayssm_spec_circular_kernel now reads the ring cursors
with a stride (they can sit in one request sub-pool entry), skips the
history terms of a row without committed history, and selects the causal
terms with tl.fma so a non-finite rejected draft cannot reach an earlier
position. Apply the same changes to the fork, keeping its dependent
launch; the history decay stays before the wait. Under the Triton
interpreter the fork matches SGLang's verify launch bitwise (output and
ring entries, with and without history, contiguous and strided cursors).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Oasis-Git
Oasis-Git merged commit 0051695 into main Nov 26, 2026
4 checks passed
YAMY1234 added a commit that referenced this pull request Nov 29, 2026
…PI v3 and contract (#103)

* [Fix] minimax_m31: Speak megakernel API version 3 and follow SGLang main's contract

#66 merged after #81 moved the unit tests to SGLang main, but its last unit
run was against the old pinned SGLang, where the MiniMax-M3.1 checks are
skipped. On SGLang main the spec is refused at registration and four
contract checks fail, so main's unit job has been red since #66.

- Megakernel API 3 (sgl-project/sglang#52054 replaced the verify penalty
  tables with step_penalties): declare 3, as #81 did for the other specs.
  The package reads no verify sampling penalties (its slots are the verify
  forward and the DSpark draft proposal), so nothing else changes.
- sgl-project/sglang#52870 moved minimax_sparse_nvfp4_backend.py to
  minimax_sparse/msa_v1_backend.py; msa_v1_decode_plan is the same field.
  Name the new file first and keep the old one as the alternative.
- fused_experts_none_to_flashinfer_trtllm_fp4: sgl-project/sglang#50195
  passes the ignored output buffer on the logits-routed path too; the
  routed-top-k path moe_nofill follows already passed it. Re-pin.
- _draft_step and _markov_sample_partial_kernel: sgl-project/sglang#51298
  adds a step softcap and vocab limit that only Inkling2's MTP head sets,
  and #52728 a folded-bias kernel path _draft_step never takes. The chain
  serves only VanillaMarkov, which leaves both None. Re-pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] qwen3_5: Follow SGLang main's GDNAttnBackend.forward_extend

sgl-project/sglang#39595 (FlyDSL GDN prefill on AMD) passes
prefill_metadata=self.kernel_prefill_metadata to the extend kernel in the
prefill arm of forward_extend, None for every kernel but FlyDSL, and adds
kernel_prefill_metadata = None to GDNAttnBackend.

- gdn/prefill.py serves only the Triton prefill kernel (view.kernel_id),
  and gdn/verify.py mirrors the target-verify arm, which the change does
  not touch. Re-pin both mirrors.
- The runtime tests' fake GDN backend gains kernel_prefill_metadata=None,
  as SGLang's class now defines it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] kimi_k31: Follow SGLang main's verify sampling stages in the DFlash runtime

sgl-project/sglang#52406 deleted sampling_batch_info.adjusts_logits and
speculative/target_verify.py (adjust_verify_logits). SGLang's DFlash round
now reads VerifyRoute.adjusts_logits and calls VerifyStep.adjust from
SamplingPipeline.plan_verify. The K3.1 DFlash runtime imported both old
names, so it no longer imported on SGLang main.

- _unserved: VerifyRoute.derive(...).adjusts_logits is the same predicate
  as adjusts_logits (grammar, watermark, penalties, logit bias or a custom
  logit processor), so the same rounds go back to SGLang.
- _accept, greedy round on gathered logits: the target's
  sampling_pipeline.plan_verify(batch, watermark_full_mask=False).adjust()
  runs the same stages in the same order as adjust_verify_logits did:
  penalties along the chain, logit bias and the custom logit processor,
  each width rows per request, with no grammar mask. DFlash refuses the
  watermark, so none is bound. As before, _unserved already refuses every
  round these stages would change.
- The test fakes gain the target's sampling_pipeline and
  need_min_p_sampling, which SGLang's SamplingBatchInfo defines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] qwen3_5: Re-pin GDNAttnBackend.forward_extend after sgl-project/sglang#44195

sgl-project/sglang#44195 gives the Triton GDN kernel an FP32 track
snapshot and gates the snapshot in forward_extend's prefill arm on
use_track_state_snapshot(): a snapshot-capable kernel in batch-invariant
mode.

- gdn/prefill.py: only --enable-deterministic-inference turns on
  batch-invariant mode, and it refuses the trtllm_mha attention backend
  this spec requires. The served prefill arm still writes checkpoints from
  the per-chunk states, as the slot does. Re-pin.
- gdn/verify.py mirrors the target-verify arm, which the change does not
  touch. Re-pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
rohithrr9 added a commit to wenscarl/sgl-nvidia-mega that referenced this pull request Nov 30, 2026
Since sgl-project#81 the unit job checks the contract against SGLang main. With
main merged, muse_spark/sm107's entries failed it: SGLang's shared
symmetric workspace (sgl-project/sglang#49382) replaced the custom
all-reduce's private allocation, its push-plane fields and the finalize
workspace's communicator, and the DFlash top-k moved to
kernels/ops/sampling/topk.py.

- fin2, moe_tail_ops, ops/lb_hop: allocate through SymmetricBuffer.
- fin_2shot: subclass SGLang's lease-based FinalizePushWorkspace and
  widen its two-shot row range. SGLang's finalize op now runs the fused
  two-shot push itself, so the vendored op route is gone.
- car_table, ops/c3_hops: choose_algo, forced_algo and _max_push_size.
- draft_topk: hook dflash.radix_topk, only inside candidate_topk
  (SGLang's DFlash sampling calls it too).
- proj_publish: refuse at registration on an SGLang with the shared
  workspace. Its kernels step the per-block push-plane counters that
  the workspace replaced with one epoch word.
- moe_tail: refuse at registration while the boundary class has no
  forward_with_ag (SGLang main has none); the reduce hook alone would
  hand the layer its MoE output unprojected.
- Re-pin the mirrors whose SGLang changes the components do not take:
  NPU and gfx1250 branches, the lease argument, runs_sp's row argument,
  the gather without softcapping, the BF16 dispatch's low-M autotune.

On SGLang main (71ebf96), test_contract.py has no muse_spark failure
and the rest of test/unit fails the same tests as on main. On Rubin
(TP4, FP8 KV, a 3117f58-based SGLang) the set boots and engages on
every rank, fin_2shot's fused two-shot finalize runs at 208-320 rows,
and GSM8K scores 97.65 % with the set vs 97.73 % without.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
YAMY1234 added a commit that referenced this pull request Dec 1, 2026
…t-in hooks on SGLang's forward (#39)

* [Feat] [NVIDIA] muse_spark: Add the Muse Spark Open kernel half as opt-in hooks on SGLang's forward

Adds NVIDIA's fused kernels for Muse Spark Open (MuseSparkForConditionalGeneration) under
sgl_nvidia_mega/muse_spark/:

- the spec, plan and runtime skeleton for the target-verify step, registered through the same
  interface as deepseek_v41;
- the components, as hooks on SGLang's own forward: each is opt-in (MUSE_VR_* switches, off by
  default), pins the SGLang sources it hooks by sha256 and steps aside if they moved, and declares
  the SGLang names it reads (SGLANG_READS) for test/unit/test_contract.py;
- verify_mk (MUSE_VR_VERIFY_MK=1, off by default): TensorRT-LLM's sm_107 decode megakernel on the
  one-request target-verify step, vendored from NVIDIA/TensorRT-LLM
  ab93b785a476f01d2f1e1907c930780fc6d7832e;
- the vendored SGLang pull-request files the components bind, the license texts, NOTICE paragraphs,
  SPDX and copyright headers, and the code owners.

The host-side runtime half stays out of this repository.

Co-authored-by: Rohan Varma <[email protected]>
Co-authored-by: Rohith Rachala <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: drop internal run identifiers from the spec comment

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: verify_mk: keep each test binding's positions buffer alive

test_binding_limit made a new positions buffer for each of its five bindings and dropped the previous one. Bindings
are keyed by buffer address, so on the CI runner a freed buffer's address came back for a later binding, matched an
earlier one, and the fifth binding was taken instead of refused. The test now holds every buffer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: move verify_mk and its TensorRT-LLM copy to muse_spark/sm107

Rubin's (sm_107) verify_mk code moves to its architecture's folder, as the other models keep their GB300 code in
<model>/sm103: components/verify_mk -> sm107/verify_mk and components/vendor/trtllm_ab93b78 -> sm107/trtllm_ab93b78
(git mv; the files change only in their imports and paths). The component loader imports verify_mk from sm107
(components.MODULES). The TensorRT-LLM part of components/vendor/README.md moves to sm107/README.md, and NOTICE,
pyproject.toml's package data and the pre-commit exclude follow the new paths. The test moves to
test_muse_spark_sm107_verify_mk.py, imports the real sm107 package before its stand-ins (so it also passes on its
own), and checks the loader's choice. No behavior change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: move verify_mk to its own pull request

verify_mk (TensorRT-LLM's Rubin decode megakernel on the one-request verify step: its host runner and the copied
TensorRT-LLM tree in muse_spark/sm107, 35.4k lines, 33.4k of them the TensorRT-LLM copy) moves to its own pull request
on main; it needs nothing of the components here. This pull request keeps every component.

- Removed: muse_spark/sm107/ and test/unit/test_muse_spark_sm107_verify_mk.py, the registry's verify_mk entry and its
  module path, sgl_compat's alias of SGLang's megakernel runtime module, and the NOTICE paragraph, package data and
  pre-commit exclusion of the TensorRT-LLM copy (those four files match the branch's base on main again).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: moe_ldw / moe_ldwb: CTA abort flag accesses as strong CTA-scope operations

The plugin's later fix to the two MoE-LD-W kernels, ported as is. The CTA abort flag (g_abort) was set with a C++ volatile
store in fail(), polled with a C++ volatile load in aborted() and reset by thread 0 with a plain store at kernel start. Every
access is now an explicit strong operation at CTA scope on the shared state space, in both files:
- aborted(): ld.relaxed.cta.shared.u32 (one load, as before);
- fail(): atom.relaxed.cta.shared.exch.b32 after the error-word atomicOr (failure path only);
- the kernel-start reset by thread 0: st.relaxed.cta.shared.u32 (abort_reset()).
The setter and the pollers are then morally strong and do not form a data race under the PTX ISA memory consistency model.
Every other use of the flag goes through aborted() and fail(), and the flag's values and the points where it is read or
written are unchanged, so outputs are unchanged on every path.

Co-authored-by: Rohan Varma <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: keep main's versions of six components (no debug shadow checks, no xattn_b dump mode)

Review: #42 removed the debug shadow checks (MUSE_VR_<NAME>_SHADOW in ar_attn_boundary, ctx_proj_overlap,
nvfp4_kv_verify, spec_sample_split and verify_topk_sample) and xattn_b's dump mode (MUSE_VR_XATTN_B_MODE=dump) on
purpose; this pull request had brought them back. The six files are main's again. Both were debug only and off by
default, so the served paths do not change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: Rubin set in muse_spark/sm107, the SGLang contract instead of runtime file pins, no debug or test switches

Review (YAMY1234, Oasis-Git):
- The 23 Rubin components, and the modules and kernels only they use, move from muse_spark/components to muse_spark/sm107.
  components.register_all registers that set only on the architectures spec.COMPONENT_ISAS lists for it (sm_107, read once
  through NVML); the GB300 set stays in components/ and runs on both.
- moe_x_kernels/arch.py imports CuTe DSL's cutlass.utils.rubin_helpers directly (no MUSE_VR_MOE_X_MMA_HELPERS).
- The 60 debug, test and *_UNSAFE switches from the review are removed with the code behind them, and with them
  MUSE_VR_SLOT_TEST, MUSE_VR_LB_HOP_TRAP, MUSE_VR_FP8_PREFILL_B3_CHECK, MUSE_VR_SOFTMAX_SPLIT_SHADOW and
  MUSE_VR_UNORM_NEGCTL. The qkv all-gather's unicast push always emits its alias fence.
- The Rubin components no longer hash SGLang or FlashInfer files at run time. Each lists the SGLang names it reads in
  SGLANG_READS and the SGLang functions it mirrors in SGLANG_MIRRORS, which test/unit/test_contract.py checks against the
  pinned SGLang. fi_guard (FlashInfer artifact checksums per release, MUSE_VR_REQUIRE_ENGAGED, MUSE_VR_FI_CLEARED) and mma_k
  (an MMA-K form per FlashInfer release, MUSE_VR_MOE_MMA_K) are removed: the MoE-LD kernels always issue K = 128 MMAs, the
  form every measured run used.
- draft_attn refuses when SGLang's FlashAttention backend holds no module-level flash_attn_with_kvcache to hook (later
  SGLang binds it per backend instance, which the hook cannot reach).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* muse_spark: Follow SGLang main's symmetric workspace in sm107

Since #81 the unit job checks the contract against SGLang main. With
main merged, muse_spark/sm107's entries failed it: SGLang's shared
symmetric workspace (sgl-project/sglang#49382) replaced the custom
all-reduce's private allocation, its push-plane fields and the finalize
workspace's communicator, and the DFlash top-k moved to
kernels/ops/sampling/topk.py.

- fin2, moe_tail_ops, ops/lb_hop: allocate through SymmetricBuffer.
- fin_2shot: subclass SGLang's lease-based FinalizePushWorkspace and
  widen its two-shot row range. SGLang's finalize op now runs the fused
  two-shot push itself, so the vendored op route is gone.
- car_table, ops/c3_hops: choose_algo, forced_algo and _max_push_size.
- draft_topk: hook dflash.radix_topk, only inside candidate_topk
  (SGLang's DFlash sampling calls it too).
- proj_publish: refuse at registration on an SGLang with the shared
  workspace. Its kernels step the per-block push-plane counters that
  the workspace replaced with one epoch word.
- moe_tail: refuse at registration while the boundary class has no
  forward_with_ag (SGLang main has none); the reduce hook alone would
  hand the layer its MoE output unprojected.
- Re-pin the mirrors whose SGLang changes the components do not take:
  NPU and gfx1250 branches, the lease argument, runs_sp's row argument,
  the gather without softcapping, the BF16 dispatch's low-M autotune.

On SGLang main (71ebf96), test_contract.py has no muse_spark failure
and the rest of test/unit fails the same tests as on main. On Rubin
(TP4, FP8 KV, a 3117f58-based SGLang) the set boots and engages on
every rank, fin_2shot's fused two-shot finalize runs at 208-320 rows,
and GSM8K scores 97.65 % with the set vs 97.73 % without.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] glm5_3: Re-pin the DSA indexer mirror for sgl-project/sglang#46822

sglang#46822 moved the eager idle skip in Indexer.forward_cuda into
_skips_eager_idle and extended it to ROCm. The CUDA condition is unchanged,
so the mirror only needs the new digest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] spec_step: Follow sgl-project/sglang#52933's verify refactor

Move the grammar hook and replay-time bitmask import to sampling.grammar_mask. Use LogitsProcessorOutput.gather_vocab_shard in both lifted verify fallbacks and update the mirror after checking the upstream refactor preserves the gather and publication semantics.

Exercise the imported VerifyStep grammar hook, live grammar replay, and both shard-key refusal paths on CPU.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] spec_step: Follow sgl-project/sglang#53649's min-p facts

Read need_min_p from SamplingFacts in the lifted sampled verify, matching the upstream sampler-parameter refactor. The old attribute was removed; the previous mirror re-pin had only ported all_greedy. Declare the fact fields and cover sampled rows with min-p enabled and disabled on CPU.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] minimax_m31: Re-pin mirrors for sgl-project/sglang#53303

Accept the draft_markov_block and _draft_step fingerprints with the new SM120 folded-GEMV path, retaining the earlier fingerprints. The chain admits only exact VanillaMarkov heads; their inherited fold_gemv returns None, so the new branch does not change the proposal, retained logits, state, synchronization or noise offset.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* [Fix] all: Re-pin forward-extend mirrors for sgl-project/sglang#53489

Retain the existing TRTLLMHAAttnBackend.forward_extend fingerprint and accept the ENCODER_ONLY verify-window fold. Muse Spark's prefill hook engages only EXTEND/MIXED. The Qwen3.5 SKV2/CP-lite copy uses the unchanged base page table and cache lengths exposed by EagleBinding, without copying the encoder-only dispatch or expanded metadata; stock fallbacks execute the installed backend.

The narrower expand_encoder_only_verify gate only controls encoder metadata. Neither mirror needs a runtime change for this refactor. Validate the complete contract suite on SGLang main 9a72af9b3f and run all pre-commit hooks without adding test files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Rohan Varma <[email protected]>
Co-authored-by: Rohith Rachala <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Yangmin Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant