Files
alzeo/flash-sglang/kda_kernels/__init__.py
T
Hasan BasbunarandClaude Opus 5 e3d467aef3 flash: serve the merged SM121 kernel, validated here
sglang#36845 was merged on 2026-08-30 as a different implementation than the
2026-08-28 Triton revision this directory vendored: a KDA package under
sglang/kernels/kda_kernels/. No stable tag carries it, so the repo vendors it the
way it vendored the last one, verbatim from hashd1ve's pinned 4f425ca5, with the
2026-08-28 Triton kernel kept as the fallback the route calls outside the KDA
contract. The image build imports both routes for real now, so a missing symbol
fails the build instead of surfacing as a decode crash nine minutes into a boot.

Campaign on the reference box, image qwen38-flash:v1.6.0-kda: needle retrieval
11/11 exact at 120k prompt tokens (nine on the build under test, two more on the
image that ships), quality canaries 4/4 on both builds, decode 38.8 / 36.7 / 26.5
tok/s on code, math and prose, host memory floor 14.6 GiB, and no run of token
id 0 anywhere.

Establishing that cost one wedged engine, and the mechanism is now written down:
this lane's KV pool holds 189,056 tokens, and a 190k prompt sent direct to :30000
past the proxy's guard is queued and never admitted, after which the engine
answers /get_load and /health while generating nothing for anyone.
/abort_request replies "not found in rid_to_state", which is sglang#36333, whose
fix (#36418) is not merged. Only a restart clears it. The proxy refused that
prompt correctly. That is why the author's 190k and 210k results stay theirs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UXuj8DiygLTBQPxfVSWrgM
2026-09-03 20:47:29 +02:00

2 lines
57 B
Python

"""Kernels produced by Kernel Design Agent workflows."""