Repository navigation
refactor: references and baselines as classes on the contract; common error bounds - #322
Merged
Merged
Conversation
… 70 tokens Above 70 tokens the FlyDSL kernel imported fused_moe_baseline and ran it, and its schema listed those workloads, where it could not beat the baseline (0.98x). The call and the workloads above 70 tokens are gone: dispatch falls back to the engine there. Validated on MI355X: the 9 workloads pass accuracy, 8 beat the baseline (up to 1.16x).
The lm_head, DSpark and Kimi-K3 routes sent GEMMs sglang runs on torch to the gemm op, whose baseline is aiter's: a kernel there was timed against another engine than the one it replaces. A route only takes an op whose baseline is what the engine runs at that call.
The decode route no longer asks qwen3_5's op past Qwen3-Next's own capacities: each model uses its own contract. No kernel is lost: qwen3_5's op serves only qkv_dim 4608, Qwen3-Next's is 2560, so that path always fell back to sglang. The backend's max_context_len is read only once the backend is the aiter one.
… error bounds Every op's reference and baseline is a class (OpReference / OpBaseline in aklr/core/contract), held on its OpContract as `reference` and `baseline`; the core calls their methods and no longer looks functions up by name, so the `<contract>_reference`, `<contract>_baseline`, `_id_scores` and `_group_init` hooks are gone. - reference(**call) takes the kernel's call by keyword and returns the mutable tensors by name; check() compares (the qwen2_moe router overrides it for tied ids); baseline(**call) returns the outputs by name; profile() times the kernel and the baseline alike. - DistOpReference / DistOpBaseline for ops ranks call together: setup/teardown replace mega_moe's group.py. Until validation runs the reference a rank a process, DistOpReference.reference takes every rank's call (FIXME). - Every contract has exactly one baseline; an op is never its own baseline. - Error bounds are ToleranceBound or SqnrBound only. DotProductBound, OutputRoundingBound, BaselineRelativeBound, the large-magnitude step and the bias test are gone. The common bounds (Primus-Turbo's per-dtype tolerances and SNR floors: GEMM, fp8 attention, MXFP8/MXFP4 MoE) live in semantics/_compare.py; a contract uses them unless its op needs stricter ones. - validate no longer writes baselines; runtime and bench always require the baseline to be beaten (AKLR_MIN_SPEEDUP). Validated on MI355X (5582 workloads): accuracy fails only at 6 workloads of two Kimi-K3 fused_moe situv2 kernels (about 18.3 dB under the MXFP8 20 dB bound, formerly 13 dB) and at the known flash_mla a41fafa0 batch=112 case.
A kernel is checked against aklr's reference and timed against its baseline, and is served without them: one that calls them depends on what it is measured against. SA5 rejects any import of aklr but aklr.core.jit, the api hsaco kernels launch through. Every committed kernel passes it. bad-cases records the fused_moe kernel that called its baseline.
…only aklr/ops/README.md, the ops and plugin tutorials and the skills describe the reference and baseline classes, DistOpReference/DistOpBaseline, the common error bounds and SA5, in place of the <contract>_reference and _baseline functions, group.py, id_scores and the removed bounds. Measurements (E lines) keep the bounds they were taken under.
Setting up what a baseline's calls take for granted, and undoing it, has nothing to do with ranks: OpBaseline has setup and teardown, nothing by default, and the candidate process calls them for every op. DistOpBaseline keeps the ranks' common timing.
…ared dtypes A reference now rounds its outputs and written inputs to the dtypes the contract declares itself; validation compares them as returned. The hidden one-rounding allowance (u_out) and the check that the rounded reference passes its own compare are gone, and an integer output states its exact bound, ToleranceBound(0, 0). Bounds that relied on u_out add the reference's own rounding explicitly.
ErrorBound.expr_fields was always empty: the checks of a bound's expressions in op.py go, and _args.py evaluates expression fields for distributions only. ElementwiseBound had one subclass and folds into ToleranceBound. Comments that still spoke of a rounded reference are fixed.
grad_to_none had no caller; quantiles and return_mode served only their own test. They go with _quantile and _summarize_statistics; n_retries, which counts graph replays, becomes n_replays. The knowledge base's line citations of testing.py follow, and S63 now cites the commit before #119 removed graph_kernel_timing_environment.
…cks scale steps max_violation_fraction let a share of elements exceed their bound. The MoE contracts' 1e-3 never acted (an SQNR bound passes or fails the whole output); the DSA indexer's 3e-4 admitted keys whose amax crossed a power of two times 448, stored at twice or half the reference's fp8 scale. The field, its checks and CompareResult.is_bound_exceeded go, and 837 schema files drop the line. The DSA indexer references now return the slots they write, and their check restates such a key at the reference's scale before the usual compare; on MI355X its 38 schema files pass all 68 workloads. The forge driver's stress check no longer lets a share of elements differ either.
… failed - semantics/_compare.py goes. ErrorBound, ToleranceBound, SqnrBound and the common bounds move to semantics/_error_bounds.py. A bound's compare returns (passed, the measures in one line); ToleranceBound is torch.isclose with equal_nan, SqnrBound computes in float64 without rescaling. - CompareResult, compare_outputs, comparison_criteria and mutable_tensor_declarations go: OpReference.check(outputs, expected, schema) compares each tensor of the contract at one scenario that has an error bound and returns the ones past it, each with why. The bench records is_compared instead of worst_violation_fraction, which was only read as "compared or not"; the forge driver reads it. - ElementOrder goes: topk_transform_paged and dsa_topk_transform let a full row come in any order in their own check (AnyOrderInFullRowsReference), and 837 schema files drop their element_order line. The forge driver's stress check lets bounded all-integer outputs reorder full rows on its own. - Determinism stays: DeterminismLevel moves next to CompareSpec, and the run-to-run byte comparison into the bench's find_nondeterminism, which only bitwise schemas reach.
…ound fused_moe_situv2_act_quant8_gate_up_interleaved_model_dim3584_n_experts896_topk16_inter_dim384's 8dd41846 (n_tokens 9397, 16384) and a8ca4270 (6144, 7680, 15360, 16384) reach 18.4 dB against the reference on every workload, under fused_moe's MXFP8 bound of 20 dB; aiter's fused_moe, the baseline, reaches 30.4 dB on the same inputs (MI355X). With no workload passing, each schema reports no_qualifying_workload. Dispatch falls back to aiter at these Points.
xiaobochen-amd
force-pushed
the
cursor/reference-baseline-classes-f4ec
branch
from
November 23, 2026 15:22
ff809d0 to
dcf311f
Compare
It returned out in a's dtype, wrong for the 4 schemas #299 added with a bf16 a and a float32 out (Kimi-K3's router). Every dtype combination the committed schemas hold, run through its reference on the CPU at its smallest workload, now returns its declared dtypes.
- aklr/ops/README.md opens with an op's five parts (contract, reference, baseline, api, schema), how validation and dispatch use them, and [email protected] as the example. - docs/ops_tutorial(.zh).md rewritten around gemm_n1024_k4096: generate the schema, write a Triton kernel, validate it (its real MI355X result), open the PR; creating an op is its section 6, and harness/skills/port-generated-kernels/references/new-op.md, the same steps, is gone. - docs/plugin_tutorial(.zh).md is docs/sglang_plugin_tutorial(.zh).md, beside the vLLM one. - read-validation: how an accuracy failure is read; a workload's failure demotes it and fails no run; CI benches every schema only for a change to aklr/core or stack.json. - Stale statements: the baseline's signature, the fused_moe example's bound, AGENTS.md's aklr/core/schema, forge's starting kernel and SA5, the knowledge base's line references to aklr/ops/README.md.
xiaobochen-amd
marked this pull request as ready for review
November 23, 2026 16:29
xiaobochen-amd
requested review from
RuibinCheung,
irvineoy,
jiejingzhangamd,
kyle-256 and
zhenhuang12
as code owners
November 23, 2026 16:29
There was a problem hiding this comment.
🟡 Changes recommended
Legacy measurement overlays are not migrated or safely invalidated, so setting AKLR_MEASURED_DIR can trigger a schema LoadError that prevents the entire runtime/plugin from starting.
3 open issues
What changed in this PR
Refactors AKLR contracts to own class-based references and baselines and standardizes accuracy checks on shared tolerance/SQNR bounds.
Changes:
- Remove legacy violation-fraction and element-order comparison fields from kernel schemas while retaining determinism settings.
- Update SGLang imports, route registration, comparison tests, and validation artifact handling for the contract-based interfaces.
- Remove the standalone MegaMoE group initializer and refresh audit documentation, tutorial links, contributor guidance, and forge instructions.
| File | Description |
|---|---|
| tests/plugins/sglang/test_k31_kernel_edges.py | Updates comparison assertions to consume the failure mapping directly. |
| tests/plugins/sglang/test_hook.py | Removes imports and registration expectations for retired torch-GEMM routes. |
| harness/skills/port-generated-kernels/references/workflow.md | Redirects new-op guidance to section 6 of the ops tutorial. |
| harness/skills/bad-cases/SKILL.md | Adds the case covering kernels that depend on references or baselines. |
| harness/gate-config.md | Updates configuration guidance to describe baseline classes. |
| docs/forge_task.md | Documents SA5 restrictions on baseline-importing starting kernels. |
| CONTRIBUTING.md | Updates baseline authoring guidance for the class-based interfaces. |
| aklr/plugins/sglang/models/qwen3_5/api.py | Imports rotary constants from the reference module instead of the contract module. |
| aklr/plugins/sglang/models/kimi_k3/impls/triton/kimi_k3_mla_prefill_gate_n_heads12/5c9c7e9b64c86027.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/models/kimi_k3/impls/triton/kimi_k3_mla_prefill_gate_max_seq_len4096_n_heads12/a19dca329256dd19.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/moe_topk/impls/triton/deepseek_v4_router_n_experts128_n_slots4/e51a8630ef999cd8.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/mla_decode/impls/triton/kimi_k3_mla_decode_n_heads12/a65ef8c5a41b0e0e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/kda_backend_hip/impls/hip/kda_chain_verify_ring_n_verify_tokens5_n_heads12/1ae242d085b7961d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/f1164c6eb1b67ce7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/e31f497d4cf25414.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/c437706776e9c067.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/a8208de82b4fdc4a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/a1ce795973363da7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/a0bf522c3020f7bd.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/91f4e4a2475936ee.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/90e2855ddac5333e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/6b9d580647216f38.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/66fc28291c138747.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/6002830e3af31a38.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/5c97a35bd769c512.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/55ae6d22ec133304.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/517b89b0b27a2710.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/4a9e2af3a70368ac.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/414789fc1df5f81f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/39ef588ea8f61aa6.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/391d9d58a05a9c29.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/impls/triton/dsa_indexer_key_prepare_model_dim6144/238a281553bb9e31.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_indexer/api.py | Imports indexer constants from the reference module instead of the contract module. |
| aklr/plugins/sglang/layers/dsa_backend/impls/triton/dsa_sparse_mla_decode_n_heads8_kv_dim576_topk2048/dd037fb595387be5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_backend/impls/hip/dsa_topk_transform_topk2048/bb4c70b898430b66.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/dsa_backend/impls/hip/dsa_topk_transform_topk2048/1a5994b58e0a84ae.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/attn_residual/impls/flydsl/add_attn_res_hidden_size7168_n_bank_rows8/f717f617fbde6f34.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/layers/attn_residual/impls/flydsl/add_attn_res_hidden_size7168_n_bank_rows8/cd697360ae8ad816.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/plugins/sglang/__init__.py | Stops importing the retired torch-GEMM route modules during plugin registration. |
| aklr/plugins/README.md | Links to framework-specific SGLang and vLLM plugin tutorials. |
| aklr/ops/topk/impls/flydsl/topk_transform_paged_page_size64_has_page_tables_topk512/bbad5819a71e690e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/topk/impls/flydsl/topk_transform_paged_page_size64_has_page_tables_topk512/6b4f3b298da4a5ef.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/topk/impls/flydsl/topk_transform_paged_page_size64_has_page_tables_topk1024/8ec085d134d9213a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/topk/impls/flydsl/biased_grouped_topk_renormalize_n_experts896_topk16/ac401aa1545b29d7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/topk/impls/flydsl/biased_grouped_topk_renormalize_n_experts896_topk16/a191a75460b24693.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/topk/impls/flydsl/biased_grouped_topk_renormalize_n_experts896_topk16/2d484e7d08533209.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/rms_norm/impls/triton/rms_norm_hidden_size6144/76e6a27406ca04fc.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/rms_norm/impls/triton/add_rms_norm_hidden_size6144/20cb6b303f4acc8c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/rms_norm/impls/hip/add_rms_norm_hidden_size6144/1f0b6c68db064ca4.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/quant/impls/hip/per_group_quant_mxfp8_hidden_size7168/8480caae0c25689c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/quant/impls/hip/per_group_quant_fp8_hidden_size7168/1654009925223f46.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/quant/impls/hip/per_group_quant_fp8_hidden_size16384/15815b27fdc69d6b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/hip/fp8_paged_mqa_logits_page_size64_n_heads32/2abcc1688769e0b3.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/hip/fp8_paged_mqa_logits_page_size64_n_heads32/18834a611f8ff756.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/mla_decode_fwd_n_heads96/c814da318b49fc77.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/mla_decode_fwd_n_heads96/45a7681ad7483ff5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/mla_decode_fwd_cprr_query_length8_n_heads128/77cdc6958f9bbd12.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/mla_decode_fwd_cprr_query_length6_n_heads128/baca337f6666b639.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/mla_decode_fwd_cprr_query_length5_n_heads128/ad4c16c6804526b3.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/mla_decode_fwd_cprr_query_length5_n_heads128/0f365b7665693aaf.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/fp8_paged_mqa_logits_verify_page_size64_next_n5_n_heads32/5766ff00129c392b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/fp8_paged_mqa_logits_page_size64_n_heads64/db2a94175bd6e1d0.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/fp8_paged_mqa_logits_page_size64_n_heads64/9d22a1efb2186f81.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla/impls/flydsl/fp8_paged_mqa_logits_page_size64_n_heads64/42a899ba9a5c8310.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla_prefill/impls/hip/sparse_prefill_mxfp8_n_heads128/83df556b020ad3f9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla_prefill/impls/flydsl/mla_prefill_varlen_prefix_n_heads12_qk_head_dim192_v_head_dim128/ab75757b258bea43.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla_absorb/impls/triton/mla_vc_n_heads8_kv_lora_rank512_v_head_dim256/ef12e9879424fba0.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla_absorb/impls/triton/mla_vc_n_heads8_kv_lora_rank512_v_head_dim256/345ba5728058fb4e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mla_absorb/impls/triton/mla_vc_n_heads16_kv_lora_rank512_v_head_dim256/5f79e894bad5a839.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mhc/impls/hip/mhc_fused_post_pre_has_norm_weight_hidden_size7168/d89d285ad73a24cc.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mhc/impls/flydsl/mhc_pre_hidden_size7168/ea2e03a44d502ad6.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mhc/impls/flydsl/mhc_fused_post_pre_has_norm_weight_hidden_size7168/a2a5a2db565a78df.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mhc/impls/flydsl/mhc_fused_post_pre_has_norm_weight_hidden_size7168/138d8923d8bbd221.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mhc/impls/flydsl/mhc_fused_post_pre_has_norm_weight_hidden_size4096/fc71f9d721054df9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/mega_moe/group.py | Deletes the standalone group initializer superseded by baseline setup. |
| aklr/ops/kda_conv/impls/flydsl/kimi_k3_kda_conv_strided_rows_proj1536_width4/b24b4612330798bc.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/kda_conv/impls/flydsl/kimi_k3_kda_conv_strided_rows_proj1536_width4/9dbdd445761efcf5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_n6144_k2048/8307d207feb8e734.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_n6144_k2048/0ea9679fff769244.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_n32_k6144/a1950fc3df2a06d5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_n32_k4096/aaa261fd9041690b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_n2624_k6144/44c9027be8bb7c33.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_n2624_k6144/0e3be159d29b3f28.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/ff2dc820165bd28a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/fee7e092eab87fc5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/ae4fa8a440b98f09.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/362ce3bb6200382e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/1e021d44010accb1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/1db61e7b0dc84d90.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/1bbf98a368b3fcba.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/0b1065ae9c0652b7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n7168_k2048/06755ba3ee5eb085.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/fe8b2de984da2c8e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/d44d4c8a6e72fa10.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/bfdae6b023b6fb79.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/a93ffba3bd75cf4c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/a66a3e81c97b9c74.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/a58b14c3b260c693.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/a53b42ca528a06fb.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/a27c4f99b94cc9f9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/9cf51249fe32228f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/4a159c69e56742a3.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/32cbf89d1446d9ff.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/29c60a01c1934972.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/244c130438d46c1e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/0371578d506c48cc.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/triton/gemm_a8w8_blockwise_scaled_n3072_k1536/0132de3ee06a9c06.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/hsaco/gemm_a8w8_blockwise_scaled_b_shuffled_n8192_k1536/6406c1e2d1601904.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/hsaco/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k2048/d83bc653e89c9ef5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/hsaco/gemm_a8w8_blockwise_scaled_b_shuffled_n2048_k7168/458e68754af654d7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/hip/gemm_n62080_k4096/f72cfb48b99e9164.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/hip/gemm_n25256_k8192/a435fa6cead5c1be.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/hip/gemm_n124160_k4096/8960372ae54256a1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_out_float32_n896_k7168/f8e7323548d62c66.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_out_float32_n896_k7168/e93f8af6caf8dae8.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_out_float32_n896_k7168/b80cb08b68cf6efd.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_out_float32_n896_k7168/23f5ff2d75d286d7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n8448_k7168/beea053db0550c6d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n8448_k7168/a70dee38ba003870.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n8448_k7168/5648cdc7f90fafe9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n8192_k4096/326521f04ca6707a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n8192_k1024/6d0da3119dfffe5f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n768_k7168/0de3ea7c7da9a2a2.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/f5496124ecdfa981.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/be15706702063e46.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/a81a4cd52094fba5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/8e02e60675612b0e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/76a583d5b80142e9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/6847a1c6d1e4cb8c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k768/27089dcb2e579fb4.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k512/f741a86fad009fb9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k512/869d8015b4aaff53.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k512/862651698bc1ad5b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k512/65d1e15ba917d093.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k4224/f7a3f49e5153c70f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k4224/d761896638241e78.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k4224/c7a1d302e0106a35.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k4224/ae96bd71848acc7b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k4224/26d05bf3545c4094.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k35840/7a3e4369839c9930.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k3584/be432950b9f3a8de.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k3584/4555a998ac66cbf1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1792/f0fdcc08c0d765f7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1792/ebf1de9359c7eb31.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1792/eb6e38ffebc19368.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1792/7d7726114b81911d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/f3ec187fc9c5a36c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/d764d8714c3b24b8.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/a44d5ffea0075f16.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/9af489e90f1bb29b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/68895f7269d76f1e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/5a9fffeced307f80.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/1ec47d9f0e1a4a12.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1536/045ba78a5b5ad415.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1024/8424e3d0ce9eb904.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1024/410ed29790078181.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n7168_k1024/3839abb440f67365.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6912_k1536/ae7556d85db9f7c7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n64_k7168/4db5d8bda3241609.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n64_k7168/377367194c3fd67c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n64_k4096/d37bfe08a0d3e537.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n64_k4096/1ceb094e60e8e93a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6288_k7168/fef7914ff133e4c3.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6288_k7168/f7822a387c389a3e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6288_k7168/f1dc78b3e8b7c074.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6288_k7168/8032702002252f25.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k7168/d0569f6d21f1ccad.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k6144/feac6650c272c5eb.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k6144/252af0457e153c21.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k4096/cdf7021145715e8d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k4096/c89fc3ffa065697a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k4096/c735728bd507cf29.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k4096/02add52af772193d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k30720/808f4bdd568c6219.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k30720/41e618d52ffa2b23.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k3072/99d0a4cc37d8d1d7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k2048/41a72a4141c9d3ef.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k16384/bcdd859c59f09017.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k16384/83ba6c53658c6b24.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k1536/d98f240e6ff6c6bb.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k1536/7f24724b010ecd6e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k1536/5fefd41f33b1ed90.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6144_k1536/2ad128ac8ad9facc.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n6016_k7168/e9a0bad67ca29740.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n512_k7168/cd40a5ec7afe9cce.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n512_k7168/50444425cd34cf50.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n512_k4096/b88f9602c806937b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n512_k4096/2b317e922d5da7e6.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k8192/7a428a598c4bf79d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k8192/2e78c2ee72697c18.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k2048/e7d9aa2234c889b6.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k2048/b126a8c213aae21e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k2048/a18601ce69407734.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k2048/1e5f6ad3b4de2f6f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k1536/ac2742b252b837cb.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n4096_k1536/430c6328aa822396.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n384_k7168/f6d4b839f507a44f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n384_k7168/a2682619b7a614a8.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n384_k7168/9e1347bc396578ad.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/df3ce7632a470864.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/c42120def1a8c2ef.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/81b7a54a4e14be76.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/80346ae4876a4c50.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/6cec46b272b08724.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/653ccdbb811f6e07.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/2f1f91a63d9108e1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3648_k7168/2bdeb6dce0bd3b9b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k7168/f3de6a469554a6d5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k7168/edc0ce6c0dbe08d1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k7168/e00565cfde230fd0.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k7168/d169377b05430b1d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k7168/b3ecd25ad73a78ca.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k7168/5574d6c64e12a50d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k512/ecae7e3c4af063b2.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k512/87e32f6cce0e0e47.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3584_k512/243648f4674e3d98.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n32_k6144/84013ab6b47b45a9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3072_k6144/7c5f0948637e5072.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3072_k512/fa4e12923a15c59a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3072_k512/5aeca35fdb4d2ed6.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n3072_k512/305ed1f051d27435.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n28672_k512/cfad5279fd6121a6.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n28672_k512/9849ffb29977d6f1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n28672_k512/1bb4b87c023603b1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2624_k6144/8effe37b520e128b.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n256_k6144/f003c7a158926042.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n256_k6144/e144986609f2bd34.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n256_k6144/3c141b55f849fbfe.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n256_k4096/ff49b5ad6bce3761.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2304_k8192/a5184eccfc6977a7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2304_k1536/86f7e8f6258da22f.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2304_k1536/595f5d5c86d5c218.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2304_k1536/232a7a3606984907.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2304_k1536/0561801814ed9254.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2112_k7168/e5e9b31a93063bdd.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2112_k7168/b582144f17b5baa9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2112_k7168/8fccc9b8902f6794.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2112_k7168/63a8f7893476f9c9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n20480_k7168/9158e7fc88a634a0.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n20480_k7168/61e437bf899a1da4.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n20480_k7168/48670711f8da2a3d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k7168/7e5f4576d129c6d7.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k7168/2a721151661b6ac1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k7168/0e102c0668d840f5.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k4096/87d35e92dce4692c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k2048/5a9a1fa180113692.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k2048/4d9208db05b89bab.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k2048/3b21fba1d2fd6026.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n2048_k2048/340a6d0c546989bc.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n200064_k256/31513683827f2c24.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n18432_k1536/97c1381ae4b85029.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n163840_k256/23e2302f084044da.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n16384_k2048/5bc3f4a294e17aa9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n16384_k2048/525b1ec70aa34669.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/9aea9147cc6ef984.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/748c8196724951da.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/3710ec19de2ec868.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/1f9d05af759316ec.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/17eecb89414d56ed.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/0ed80acb88467340.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k7168/033eae1b7b36c5ae.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k1536/c0a0e3f40d08058c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k1536/b94feb99a333356d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1536_k128/d04dde8be68a2a26.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n144_k7168/f8ab3dbed316f795.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1280_k7168/67a621bfd7700a60.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n128_k6144/c58e9c0252303d4c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n128_k6144/924541f04cfcd0a4.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1024_k7168/81bbced6d486e469.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1024_k7168/453c722ba2e1c0e9.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1024_k7168/339a1e8f35d37e20.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_n1024_k4096/8558eb8e9b001462.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n8192_k1024/5af76bde5712711d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n768_k7168/dce4cbc11c0633ba.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k768/b416a212f0270e64.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k384/c4f8eed63e5deff1.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k384/845da1d5aae72774.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k3072/bd1080cb18bc360d.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k2048/301564a605edc128.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n7168_k16384/afd35eaca2f557a4.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n65536_k1536/95f46e6ce3030a27.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n65536_k1536/60a1042b7bbaba47.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n4096_k8192/d9ecfacca235649e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n4096_k512/a3a340bda94329c4.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n4096_k4096/78e6bbcadf087b68.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n4096_k256/f15fac0a07c83b80.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n4096_k1024/ad38f325b185a922.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n2048_k7168/85368badc15aa61a.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n1536_k7168/a1ac704a8de9fffe.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/gemm_a8w8_blockwise_scaled_b_shuffled_n1536_k4096/b74d90fec78ced01.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/bmm_no_trans_b_n512_k128/41a4ea9c0a5fd9e3.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/bmm_no_trans_b_n512_k128/2b644a9f21295136.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/bmm_n128_k512/cb9c0ab24296486c.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/ops/gemm/impls/flydsl/bmm_n128_k512/477497632396e83e.json | Removes obsolete comparison fields while preserving determinism. |
| aklr/core/validation/stages/_audit/_stage.py | Updates the audit coverage docstring to include SA5. |
| aklr/core/validation/stages/_audit/_hsaco.py | Updates the documented prerequisite audit range through SA5. |
| aklr/core/validation/command.py | Removes standalone baseline artifact export and cleanup handling. |
| aklr/core/contract/spec/__init__.py | Publicly exports DeterminismLevel. |
| AGENTS.md | Removes the obsolete schema directory from the protected-code path list. |
Review effort: Max
The starting kernel forge_task wrote for any other schema called its contract's AKLR baseline, which SA5 rejects, so prepare spent a validate run to fail. It now stops at once and asks for --starting-kernel; aklr_api_params.py prints the call keys alone, and the README, docs/forge_task.md, the CLI help and shepherd's skip rule say the same.
…al's example is gemm
zhenhuang12
added a commit
that referenced
this pull request
Nov 25, 2026
Main's rule (#322): a kernel is checked against the reference and timed against the baseline, and served without them, so one that imports them depends on what it is measured against. The fused MoE kernel that called its baseline is replaced in the commit before the last; every committed kernel passes.
zhenhuang12
added a commit
that referenced
this pull request
Nov 25, 2026
…at the rebase leaves Main's kernels report (#319) reads the contract registry: its test and the publish-kernels job are out until it reads the schema files, as the plugins' tests are, and its imports sort as ruff now sees the removed package. TODO.md: what core reads of aklr/plugins/aiter, and what of main's #293 and #322 is not carried (float32 references but biased_grouped_topk's, the common tolerance and SQNR bounds, the shorter bench_cudagraph).
zhenhuang12
pushed a commit
that referenced
this pull request
Nov 25, 2026
…ute rows (#329) Fixes #324. 8dd41846 and a8ca4270 were withdrawn in #322: they stored stage 2's per-route rows as MXFP4 before the top-k sum, which leaves 18.4 dB against the reference, under the 20 dB bound. aiter stores those rows as MXFP8 (30.4 dB), and so does cd34c815, which stayed. This replaces cd34c815 by 957071b1 at cd34c815's token counts and at the withdrawn ones: 6144, 7680, 9397, 15360 and 16384. Its route rows are MXFP6 (e2m3): the 3-bit mantissa of e4m3 without the exponent bits a per-block scale leaves unused, 29.6 dB, in 74% of the MXFP8 row bytes. gfx950 packs 32 values per conversion (cvt.scalef32.pk32.fp6.bf16) and the reduction unpacks them with one (cvt.scalef32.pk32.f32.fp6). The kernel also takes over what the withdrawn ones had gained that does not depend on the row format: stage 1 and stage 2 skip the MFMAs of an expert's padded rows, 128-bit row stores, sorted ids staged in LDS, the N tile count compiled in. Unmeasured: CI measures. On one MI355X (aklr validate, audit and bench): accuracy passes at all five; 1.39x, 1.43x, 1.52x, 1.49x and 1.49x over aiter (647, 752, 827, 1261 and 1318 us), where cd34c815's kernel reads 679, 814, 905, 1380 and 1421 us in the same session. With an expert mask the output holds the same 29.6 dB, and a repeated call is bit-identical. The withdrawn MXFP4 kernel read 603, 702, 781, 1162 and 1218 us: the rows are written by stage 2 and read by the reduction at the memory bandwidth, and MXFP6 rows are 1.43x its bytes.
ChengYao-amd
added a commit
that referenced
this pull request
Nov 25, 2026
Conflicts in the dsa_indexer package with #322 (references and baselines as classes on the contract). Main's versions are kept; on top of them: - reference: the writer format's reference becomes DsaIndexerWriterPrepareReference, a subclass of the index-K cache check (keys at a scale step restated at the reference's scale); RoPE is split from the Hadamard transform (_turn), LayerNorm from the projection (_normalized), and _scales takes the floor, Q_SCALE_FLOOR for the writer's query heads. Negative slots store nothing and are left out of the written slots. - baseline: DsaIndexerWriterPrepareBaseline replays _aiter_fused_fp8_prepare_and_store, the same in sglang 0.5.22 and 0.5.23. - contract: [email protected] takes main's bounds and the new reference and baseline classes; its compare drops max_violation_fraction, as main's contracts do. - the writer schema's text regenerated for the new compare block (workloads and kernel unchanged). The writer reference gives the same bytes as before the merge on the small Point and at GLM-5.3's shapes; dsa_indexer_prepare's and dsa_indexer_key_prepare's references are unchanged from main's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ChengYao-amd
added a commit
that referenced
this pull request
Nov 25, 2026
mla_decode's baseline and reference conflicted with #322's classes: take them, named MlaDecodeBaseline and MlaDecodeReference. The renamed schema takes #322's compare and stays without measurements, for the bot to measure at its new path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ChengYao-amd
added a commit
that referenced
this pull request
Nov 25, 2026
Resolve kimi_k3 reference.py and baseline.py after #322: kimi_k3_kda_verify's reference and baseline become KimiK3KdaVerifyReference / KimiK3KdaVerifyBaseline on the contract. Bounds follow main's compare (every element within its bound): normalized and the raw K/V rings add the output's rounding, ring_gate takes an SQNR bound for the rare forget value rounded to the neighbouring bf16 value. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ChengYao-amd
added a commit
that referenced
this pull request
Nov 25, 2026
Conflicts: qwen3_5 api.py and contract.py imports and __all__ (main moved ROTARY_DIM / MROPE_SECTION to reference.py). Follows #322 (references and baselines as classes on the contract): the three gdn_verify contracts take GdnVerify*Reference and GdnVerify*Baseline classes in place of the <contract>_reference / _baseline functions; the reference returns its tensors by name in their declared dtypes. The six schema files are rewritten as the contracts' current text (compare drops the fields #322 removed). Co-Authored-By: Claude Opus 5.5 <[email protected]>
zhenhuang12
pushed a commit
that referenced
this pull request
Nov 26, 2026
… HIP stream kernel where it is faster) (#281) * feat(gemm): GLM-5.2 lm_head gemm_n19360_k6144 at TP8, FlyDSL at 34 m and the HIP stream kernel where it is faster The FlyDSL kernel serves m 1-180 at 1.08-1.48x over aiter. The HIP weight-streaming kernel of gemm_n25256_k8192, with N and K set to this shape, lists only m 72, 96, 108, 120, 180 and 192, where it is faster than the FlyDSL kernel or the FlyDSL kernel is not listed (1.20-1.42x). Dispatch serves each m from the file with the higher published speedup. * fix(gemm): gemm_n19360_k6144 review fixes: wait-free-safe split-K fold, LDS waits and M0 nop - hip: a K slice waits for its partner only once the partner has started (so is resident); a slice whose partner is not running publishes all its partials and the partner finalizes the tile. No hang on a CU-limited stream; the partner's partials are read with nontemporal loads; one 128 B flag line per tile. - flydsl: lgkmcnt(0) at the two epilogue barriers, s_nop 0 between the M0 write and the LDS DMA, and a ValueError for calls the strip does not serve instead of a silent torch.matmul. * fix(schemas): drop compare.max_violation_fraction and element_order, which #322 removed
zhenhuang12
pushed a commit
that referenced
this pull request
Nov 26, 2026
kyle-256
added a commit
that referenced
this pull request
Nov 26, 2026
…ntion residual on #322's references, baselines and bounds - [email protected]: KimiK3LatentMoeTailReference (a DistOpReference, every rank's call and the rank) and KimiK3LatentMoeTailBaseline (a DistOpBaseline); group.py goes, its peer memory set up by the baseline's setup over the default group. No teardown: the buffers live until the process ends, as in vLLM, since a rank cannot free its buffer before its peers stop writing to it without a collective that a peer stopped at a finding would never join. - [email protected]: KimiK3KdaSpecStageCReference and KimiK3KdaSpecStageCBaseline on the call's keywords; L2_NORM_EPS moves to the reference, which alone reads it. max_violation_fraction goes: on MI355X (11-23, before the reference rounded its out) the committed kernel's state_cache peaked at 0.19 of its bound and out at 0.34, no element past either. - The references return their outputs in the declared dtypes, so the bf16 and fp8 outputs' bounds add one rounding of the output's dtype (2**-7, 2**-3), as #322 did for the bounds that relied on the compare's own allowance: the latent-MoE tail's out and shared, stage C's out and kimi_k3_attn_res_fp8's quantized. Float32 and exact bounds are unchanged. - The tests call the classes and read check()'s failures. - The 126 schema files of these contracts and of gemm drop max_violation_fraction and element_order, rendered by schema_text; their kernels and workloads are unchanged.
kyle-256
added a commit
that referenced
this pull request
Nov 26, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Nov 26, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
zhenhuang12
pushed a commit
that referenced
this pull request
Nov 27, 2026
…ts fp8 attention residual, and the attention-residual and GEMM points main misses (#302) * feat(plugins/vllm): Kimi-K3's latent-MoE tail as one FlyDSL kernel on ROCmLatentMoERunner._shard_up_proj_tail Under tensor parallelism vLLM ends each Kimi-K3 latent-MoE layer on ROCm with four ops in ROCmLatentMoERunner._shard_up_proj_tail: the TP all-reduce of the routed experts' latent partial, the latent RMSNorm, the addmm of this rank's up-projection rows into its columns of the shared experts' partial, and the all-reduce of that shared output. The new contract [email protected] states the four as one op that every rank of the TP group calls (ranks="tp_size"); its baseline is vLLM's four ops on vLLM's TP group. Its one FlyDSL schema (B0, TP 8, hidden 7168, latent 3584) runs them in one launch and does both TP reductions over peer memory: an uncached buffer each rank allocates and every rank maps over HIP IPC, set up once over vLLM's TP CPU group. Below 28 rows the launch takes kernel_small.py, from 28 kernel.py (the up projection spread over up to 4 sets of workgroups, bulk hand-offs as data then flag). The schema is unmeasured; its workloads are the row counts 1, 2, 4, 5, 8, 10, 16, 20, 32, 40, 60, 64, 80, 120 and 128, matched exactly. The route, on vLLM 0.34.0 and 0.32.1rc1.dev276 (the same latent_moe_runner.py), takes 1 to 128 rows of dense bf16 at TP 8 and hands anything else back to vLLM. Every decision reads only what is the same on every rank, so the ranks launch the kernel together. The peer memory is set up by the first call outside a graph capture. The first eager call of each row bucket (rows of one bit length) is checked against vLLM's tail on the same operands; the ranks agree on the verdict, and a bucket any rank finds different stays with vLLM. Fail-stop: an in-kernel wait gives up after 10 s, records where it waited and sets a sticky FAILED word, so no rank hangs. The vLLM plugin gets AFTER_STEP, a list of watches run after each execute_model on every rank; the op registers one that every 16 steps has the ranks agree over the CPU group and raises on all of them at the same step once any rank's wait gave up. Switches: AKLR_VLLM_MOE_TAIL=0 hands every call back to vLLM; AKLR_VLLM_MOE_TAIL_CHECK=0 skips the first-call check. The kernel requires flydsl>=0.3.2, as CI runs; it has been compiled and run on FlyDSL 0.4.0 only. Measured on 8 MI355X in the vLLM 0.32.1rc1.dev276 image: 92 layers in one CUDA graph, cold weights, the slowest rank, us a layer: M B0 vLLM 1 9.78 40.92 2 10.40 42.63 4 11.66 45.25 5 12.21 44.25 8 14.26 43.67 10 16.30 45.85 16 19.65 45.00 20 22.99 45.10 24 25.46 45.35 32 28.70 46.07 40 29.93 48.81 60 35.28 53.06 64 35.76 53.38 80 42.10 56.48 120 49.80 63.69 128 51.76 64.07 At each M every harness check passes: the same bits on all ranks, within the contract's bound of the reference, the first-call check against vLLM, AKLR's dispatch serving the same bits, 100 graph replays each the eager bits, and no wait gave up. M=24 has no workload in this schema, so here it stays with vLLM. * feat(fastkey): rows of one page grid that never meet are not an overlap vLLM keeps a Mamba layer's convolution state and recurrent state in the same pages: a slot's convolution state, then its recurrent state. Their spans interleave, so the fast key's overlap test declined every call that writes one of them in place and reads the other. Two tensors whose spans meet are now apart when they have the same row stride in bytes, each row is dense, and the other's row lies, in every page, between the end of the written one's and the start of the next page. Rows that meet, or of another stride, still decline. This changes aklr/core, so validation re-benches every schema. * feat(plugins): kimi_k3_kda_spec_stage_c, Kimi-K3's KDA layer in a speculative verify step as one FlyDSL launch In a pure speculative verify step, vLLM's Kimi-K3 runs each KDA layer between in_proj and o_proj as three kernels: a copy of f_a, the f_b GEMM, and aiter's fused short convolution + recurrence + gated norm. The new contract [email protected] states that stage on vLLM's tensors (views of the in-projection's rows, the conv and recurrent states in their shared Mamba pages); its baseline is vLLM's f_b GEMM dispatch and aiter's fused kernel. The route at KimiDecoderLayer._run_self_attn (vLLM 0.34.0 and 0.32.1rc1.dev276) runs vLLM's in_proj, the op, then vLLM's o_proj. Everything else goes back to vLLM before anything runs: MLA layers, prefill, mixed and plain decode steps, ragged windows, breakable graphs, and a layer or cache outside the contract, such as a recurrent state that is not float32 (vLLM 0.34's mamba_ssm_cache_dtype). AKLR_VLLM_KDA_STAGE_C=0 hands every call back. One FlyDSL kernel (gfx950, 12 heads a rank, DSpark's window of 5), one schema with a workload at every count of 1-32 sequences, unmeasured. On MI355X, graph replay, us per layer: n_seqs 1 2 4 8 16 24 stage C 10.6 11.6 12.6 14.1 20.5 30.5 vLLM f_b + aiter 19.9 18.6 19.6 20.5 24.8 35.5 Against the contract's reference it passes on mixed, padded and chained windows, and two launches are bitwise equal. Needs the fast key to take the two caches' interleaved page rows (previous commit). * refactor(plugins/vllm): the latent-MoE tail and KDA stage C references in float32, called without decode #293's contract on main: no decode argument, operands read through to_float32. Stage C's tests' Points carry each operand's logical dtype. * feat(plugins/vllm): Kimi-K3's attention residual with an fp8 out, and the K3 attn_res and GEMM points main misses vLLM's _apply_attn_res asks attn_res for a per-token fp8 out (quant_dtype float8_e4m3fn, with its scale) where the linear after it takes fp8: about half of Kimi-K3's attention-residual calls. The new contract [email protected] states that out beside [email protected]'s (its reference in float32, as #293's); the route hands those calls to it (fnuz fp8 stays with vLLM) and also declares vLLM 0.32.1rc1.dev276, the K3 AgentX image. 124 schemas (unmeasured; CI measures) at the points of the Kimi-K3 AgentX trace that main does not serve, each kept only where an 11-20 validate on MI355X (vLLM 0.34.0 image, graph mode, paired against the baseline) passed accuracy and ran >= 1.05x with its lower bound >= 1.0 (310 points measured twice keep the worse): kimi_k3_attn_res 74 schemas, 1736 points, 1.05-2.09x kimi_k3_attn_res_fp8 44 schemas, 546 points, 1.06-2.20x gemm n2112/n6288 k7168 1.14-1.64x, n3584 k7168 1.20x, n20480 k7168 1.13x, n2304 k1536 1.06x, n3072 k512 1.05x * fix(fastkey): compare the written tensor's storage extent with the others', not their logical sizes A strided view reaches past its nbytes: a state view one page after its convolution view lands on the later pages' convolution rows, though the two views' logical sizes end before it. The overlap guard now compares the extents from the first element to the end of the last (_span) before it asks whether the two are rows of one page grid apart in every page. * fix(plugins/vllm): KDA stage C opt-in, tensor-dependent declines asked again, the baseline's float32 scale and staged conv weight - The route runs only with AKLR_VLLM_KDA_STAGE_C=1, read at each call: over three chained steps of two sequences the op and vLLM's served aiter chain are not yet shown to agree. - The route keeps a shape's verdict only: OUT_OF_CONTRACT, which can come from the step's own tensors (a slot table off the fast key's 16-byte alignment), is asked again at the next step, as NOT_WARMED was. - The baseline compares scale with head_dim ** -0.5 as float32s: the workloads record 0.0883883461356163. - The baseline's width-major conv weight belongs to the weight tensor, freed with it, and is staged again from the weight's values at every call outside a graph capture (validation reloads weights in place); a capture, what bench times, reads the copy of the eager call before it. - state_indices: positive slots distinct, 0 and -1 repeated in vLLM's padding windows; the schema re-rendered (uuid unchanged, unmeasured). The drawn distribution stays positive and distinct. - Tests: the switch, the recheck, the scale, the in-place reload and the staged copy's lifetime; on a GPU, the capture, and on gfx950 the kernel on padding windows of 0 and of -1 and a padding row against the reference. * fix(plugins/vllm): the latent-MoE tail's ranks agree before every collective path; shared written in place; a failed step reported at that step without a host wait - The route hands the dispatcher aligned, non-overlapping operands and agrees serve or fall back over the TP CPU group on each (rows, eps, capture) key's first call; setup agrees after each step that can fail on one rank (GPU check, allocation and export, mapping) before the next collective, and releases what it made. - shared is written in place, as vLLM's addmm_ does: the contract makes it mutable, the reference returns it, and both kernels write their own columns in the up stage's epilogue, after the flags. - Fail-stop: a wait that gives up writes FAILED into every rank's peer buffer; each step copies its rank's word to pinned memory on a side stream and the step's output leaves the worker only after that copy is checked in vLLM's output thread (no collective, no host wait, nothing inside a capture). PP falls back. - n_tokens covers the op's own range; the kernel's 128-row cap lives in its workloads and the route's guard. - Failure-injection tests on spawned gloo ranks. On 8 MI355X (vLLM 0.34.0 image): within the bound, shared's own columns in place and the others untouched, the same bits on every rank and over 100 graph replays; a stalled rank's step raises on all 8; setup and alignment faults agree on all 8; after_step 36 us CPU with the step's GPU work still running (49 of 50 steps), 12.8 us on the step's stream; 0.5-0.8 us a layer over the head's kernel at M >= 40. * fix(plugins/vllm): Kimi-K3 attention-residual kernels zero their claim counter in the call, mask with -inf, mix without overflow In the 12 kernel sources the review found (94 schemas, re-rendered and unmeasured): - the claim counter is torch.zeros in the call, only where a token past the statically assigned ones can be claimed; the rows5 split zeroes its slots' 8-byte tags and reads a partial only under its tag; - masked lanes score -inf; - the exponentials are scaled by 2**-4 (exact) instead of left unnormalized, so the mix and its sum of squares never exceed the normalized ones; outputs match the previous kernels bit for bit wherever their mix did not overflow. On MI355X: 1348 checks of the review's inputs (claims under a poisoned allocator, 20 eager calls and 20 graph replays; rows scoring -3.35e38; rows of 2**57) and 50 gfx950 cases pass. Paired with the head's kernels over 120 workloads, graph mode: geomean 0.998, the same bits; the rows5 split at 513-560 tokens is 1.14-1.16x for its per-call zeroing. * fix(plugins/vllm): the latent-MoE tail serves vLLM 0.34.0's unpadded calls, whose trunc_size is the hidden width vLLM 0.34.0 passes a latent MoE with shared experts the shared experts' width as the tail's trunc_size, padded or not, and keeps states[..., :trunc_size]. The route took any trunc_size as a padded hidden dim, so on Kimi-K3 it declined every call (seen serving the AgentX recipe on 8 MI355X). Only a size below the hidden width strips columns now; the test that called HIDDEN padded uses a real truncation, and a new one has None and HIDDEN reach the dispatcher. * refactor(plugins/vllm): the latent-MoE tail, KDA stage C and fp8 attention residual on #322's references, baselines and bounds - [email protected]: KimiK3LatentMoeTailReference (a DistOpReference, every rank's call and the rank) and KimiK3LatentMoeTailBaseline (a DistOpBaseline); group.py goes, its peer memory set up by the baseline's setup over the default group. No teardown: the buffers live until the process ends, as in vLLM, since a rank cannot free its buffer before its peers stop writing to it without a collective that a peer stopped at a finding would never join. - [email protected]: KimiK3KdaSpecStageCReference and KimiK3KdaSpecStageCBaseline on the call's keywords; L2_NORM_EPS moves to the reference, which alone reads it. max_violation_fraction goes: on MI355X (11-23, before the reference rounded its out) the committed kernel's state_cache peaked at 0.19 of its bound and out at 0.34, no element past either. - The references return their outputs in the declared dtypes, so the bf16 and fp8 outputs' bounds add one rounding of the output's dtype (2**-7, 2**-3), as #322 did for the bounds that relied on the compare's own allowance: the latent-MoE tail's out and shared, stage C's out and kimi_k3_attn_res_fp8's quantized. Float32 and exact bounds are unchanged. - The tests call the classes and read check()'s failures. - The 126 schema files of these contracts and of gemm drop max_violation_fraction and element_order, rendered by schema_text; their kernels and workloads are unchanged. * refactor(plugins/vllm): the latent-MoE tail's kernels import their runtime from aklr.core.jit (SA5) SA5 lets a kernel import nothing of aklr but aklr.core.jit; the tail's kernel.py and kernel_small.py imported the plugin's runtime module, the per-rank state they run with (the peer buffers, launch counters and health words) and its constants. The module moves, unchanged but for one thing, to aklr/core/jit/kimi_k3_latent_moe_tail.py, and the kernels' one import line follows; the schema file takes its new uuid. The kernels' code and the workloads are as they were. The one thing: setup no longer adds the fail-stop watch to the vLLM plugin's AFTER_STEP (core imports no plugin); the route adds it once its group is set up, as setup did there. * revert(plugins/vllm): KDA stage C and its fast key change leave this PR [email protected] is a route without end-to-end evidence: its one schema holds windows of 5 tokens, and the deployment verifies windows of 8, so the route never served a step there. Its contract, reference, baseline, route, schema, tests, small Point and names go, with the AKLR_VLLM_KDA_STAGE_C switch. The fast key's storage-extent and page-grid overlap tests were added for stage C's interleaved Mamba pages; they go with it, and aklr/core/contract/fastkey and its test are main's again. The latent-MoE tail and the attention residual pass their tests without them. * refactor(plugins/vllm): the latent-MoE tail's group state lives in its kernel's sources, not in aklr/core The per-rank state the tail kernel runs with (the peer buffers every rank maps, the launch counters, the health words and their setup) was aklr/core/jit/kimi_k3_latent_moe_tail.py, one op's code in the core. It is now runtime.py of the kernel's own sources, as mega_moe keeps its buffers in its sources, and the kernels import it relatively (SA5): - The vLLM route sets the group up through the module of the kernel the dispatcher serves the call with (api.serving's metadata names the kernel's module; runtime is a module of its package), over vLLM's TP group, before that kernel's first call. Where no caller set one up (validation's ranks), the kernel's first call sets it up over torch.distributed's default group, in a compile function (runtime.default_group). The CPU barrier after a build's first, compiling launch is a compile function too (runtime.every_rank_compiled). - The fail-stop watch, the vLLM plugin's step hook, is the plugin's (failstop.py); it copies the group's FAILED word with the runtime's HIP calls. TailGroup keeps only what launches read; its unused failed, clear_failed, given_up_waits and close go, with Hip.zero. - The baseline sets nothing up: vLLM's tail sets its TP group up at its first call. The route: - Shapes, dtypes, layouts and the TP size are the op's to judge: the route no longer checks them against 8 / 7168 / 3584, and hands vLLM's TP size over. It declines before the dispatcher only what vLLM's tail computes otherwise (padded columns stripped, a reduced routed output, no latent norm, pipeline stages) and, new, a skipped final all-reduce (moe_config.skip_final_all_reduce). Row counts past every committed schema's go back before the dispatcher's verdict, which costs a collective at each new count. - AKLR_VLLM_MOE_TAIL and AKLR_VLLM_MOE_TAIL_CHECK go: [email protected] hands every call to vLLM; the first eager call of a row bucket is always checked. - versions: 0.34.0, the release it was run on. The kernel's sources otherwise: run_traced (no caller) goes, run returns nothing, the entry docstring holds no measurement or commit, and requires FlyDSL >= 0.4.2, the version it was developed and run on. The kernels' device code is unchanged. * fix(plugins/vllm): the latent-MoE tail's contract states the op, not the kernel; common SQNR bounds - tp_size takes 2 and 4 too: vLLM runs the tail at any TP size that divides the hidden width. latent_size % tp_size goes: vLLM requires no such split; the kernel's own is its schema's. - out and shared take the GEMM's common bf16 bound (45 dB). The tolerance's absolute part held only for partials below 16 in magnitude, the workloads' draws: where a rank's own column cancels in the sum over ranks, the kernel's one rounding against vLLM's two (out), or a normalized latent rounded apart at a tie (shared), shows in full. The CPU model of the committed kernel's layout is at 55 dB (out) and 83 dB or more (shared) from 1 to 128 rows. * fix(gemm): Kimi-K3's n 2112 / 6288 kernel zeroes the scratch words a launch compares with its tag The kernel's split launches (tiled.py's two-way K split, which serves its m 600 and 1030 workloads, kernel.py's split-K and skw.py's folds) tell which split folds by comparing scratch words with the launch's tag (dispatch id and queue), and the call handed them torch.empty scratch: a word an earlier tensor left there could hold the tag, and a split would fold before the others wrote their planes. As the attention residual's kernels now do, the call zeroes those words (aklr/ops/README.md: scratch is written before it is read): the tiles' fold counters after the partial planes (_scratch; the builders report where they start), and skw.py's scratch whole. The planes, which every launch writes before it reads them, are not zeroed. The device code is unchanged; each call with split scratch runs one small fill before the launch. The schemas require FlyDSL 0.4.2, the version the kernel is run on. * fix(plugins/vllm): the rows5 attention residual's split build takes the mix's sum of squares from the mix Past 512 tokens the rows5 kernel spreads each leftover token over 14 column shares, which exchanged the rows' dots, sums of squares and cross products and took the mix's sum of squares from those Gram partials, sum w_r^2 |x_r|^2 + 2 sum w_r w_s x_r.x_s. Where rows cancel the terms are far larger than the result: in a float32 model of the merge, bank rows x and -x at 1024 times the others put 7140 of 7168 columns past the contract's bound, and at 4096 the sum is negative and the out NaN (the reference, vLLM and the other kernels sum the mix's squares). The shares now exchange twice: the dots and sums of squares (the scores; the cross products go), then each share's sum of squares of its own columns of the mix, summed over the token's shares in slot order; a partner late on either is recomputed from its rows, and p is stored into the prefix only after both exchanges. The call zeroes both tags of a slot. The float32 model of the new merge passes the bound at every ratio up to 2**20; a gfx950 test runs the committed kernel at its split workloads (520, 550) on such rows. The second exchange lengthens the share wave's merge, which the token waves' second barrier waits for: the split workloads are expected somewhat slower. * fix(plugins/vllm): the Kimi-K3 attention residual's fp8 bound, overflow-safe reference, export and requires - kimi_k3_attn_res_fp8's quantized bound is one fp8 code again (2**-3 of the value, 2**-9 below the normals): both sides are fp8 values, so the output's own rounding adds nothing. - The reference takes each mean square of a row scaled down by a power of two first: rows near 2**58 with a norm passed float32 in their squares and gave 0 where the normalized mix is the norm weight. Its results elsewhere are bit for bit the former ones. - The package exports kimi_k3_attn_res_fp8; the baseline's copy of vLLM's launcher is checked against vLLM's in fp8 too (gfx950). - The contract no longer comments on how a kernel or dispatch serves its tokens. - One schema of the rows5 kernel goes: it repeated another file's kernel at a subset of its workloads. - The 117 schemas this PR adds require FlyDSL 0.4.2, the version their kernels were developed and run on. * test(plugins/vllm): the latent-MoE tail's committed kernel on 8 gfx950 GPUs The GPU checks of the tail, run on 8 MI355X by hand so far, as gfx950 tests that spawn 8 ranks of one torch.distributed group (skipped on fewer than 8 GPUs): - the kernel computes the op on every rank, at every row count of both builds: the same bits on every rank, out and the shared partial's own columns within their bounds of the reference, the other columns untouched, 100 graph replays the eager bits, no wait given up; its first call sets its group up over the default group, as validation's ranks do; - through the route and the committed schema every rank serves, and the group the route set up through the serving kernel's runtime is the one the kernel reads (the kernel set none up), with the fail-stop watching it; - a rank late past the kernel's (2 s) wait: every rank finishes, the step's output and the next's raise on every rank, through the plugin's step hooks and the group word the kernel wrote; late below it, the exact out, the output handed over; - HIP's allocation, export or mapping failing on one rank: setup is None on every rank, nothing left, a clean setup after; - one rank's operand off alignment or aliased, or its dispatcher without the schema: the group serves (or declines) together. * docs(vllm): the plugin tutorial's fp8 output is kimi_k3_attn_res_fp8's; an op whose ranks call it together The tutorial said the attention residual's fp8 output was in no contract and _triton.py had no fp8 launcher; this PR adds both. A section on the latent-MoE tail states the rules of an op whose ranks call it together: the same path on every rank, the kernel's state in its own sources set up by the route (or by its first call over the default group), the in-kernel 10 s wait that fails the group, the plugin's AFTER_STEP step watch that stops the step, and AKLR_DISABLE to turn it off. * test(plugins/vllm): the tail's setup-failure test measures what a failed setup leaves, not the process's first tensors On 8 MI355X the mapping case failed on every run: it is the first case that gets as far as the group's tensors, and a process's first GPU tensors cost it 2 MiB of the device once (measured per rank: 2.0 MiB on the 7 ranks that mapped, at the first such case only; 0 at every later one, mapping failures included). The test makes such tensors before it measures, and the ranks meet at a CPU collective between the release and the measurement, as a peer that still maps a rank's buffer keeps its memory. * fix(plugins/vllm): the latent-MoE tail's baseline sets vLLM's TP group up where its sockets' paths fit CI's vllm-test aborted the tail's schema: every workload's baseline failed with "ZMQError: ipc path ... is longer than ...". vLLM's TP group binds its message queue's ZMQ sockets at <VLLM_RPC_BASE_PATH>/<uuid4>, the base by default the temp directory, and validation gives each task a TMPDIR nested deep enough that the path passes the 107 bytes a Unix socket path holds. The baseline now sets the group up with VLLM_RPC_BASE_PATH at /tmp (vLLM's default without TMPDIR) where the temp directory is too long, keeps a base the caller set, and puts the variable back afterwards. A CPU test sets up a stand-in vLLM under validation's nested TMPDIR, a short one, and a preset base; it fails without the fix. * docs(tests): the attention residual's scratch test names aklr/plugins/aiter's README, where #327 moved it * fix(plugins/vllm): the latent-MoE tail's baseline times its graphs inside vLLM's graph_capture vLLM's TP all-reduce (aiter's custom all-reduce on ROCm) registers the buffers a CUDA graph reads as vLLM's graph_capture ends, after the capture and before any replay. The bench captured the baseline's graph outside it and replayed it at once, so the replays read unregistered peer addresses: a GPU memory fault at a null address on all 8 ranks, every workload candidate_crash in CI's vllm-test. The baseline's profile (the candidate's clock too) now captures each graph inside graph_capture, on the timing's own stream; its eager calls stay outside, and with no vLLM TP group yet nothing changes. * perf(plugins/vllm): the latent-MoE tail's workloads are the rows it wins at in serving, 6 to 14 validate times the kernel alone, and there it is 1.5 to 4.3 times vLLM's tail at every row count to 128. A served decode step says otherwise past a few rows. Kimi-K3 on 8 MI355X, vLLM 0.34.0, the daily 8K/1K flow, CUDA graphs replayed on the eight ranks, each step timed alone, AKLR on with the tail served against the tail left to vLLM: rows of the step 6 10 16 20 30 40 80 step, tail served 16.82 17.39 - 21.53 24.45 26.57 34.08 ms step, tail vLLM's 16.56 18.04 - 21.02 22.93 25.41 33.18 ms the kernel saves -0.26 +0.65 -0.15 -0.51 -1.52 -1.16 -0.90 ms (two servers, one prompt a concurrency: about 0.5 ms of resolution). vLLM's two all-reduces, its norm and its addmm are not slow when eight ranks step together, and the waits of the kernel's hand-offs outweigh the launches it saves; the kernel's own time shows none of that. The schema, the same kernel in one file, now holds 6, 8, 10, 12 and 14 rows: the even graph sizes around the one where the step gains, all in the kernel's small launch (under 28 rows); 8, 12 and 14 were not timed in serving on their own. The route's guard is the largest committed row count, so it follows to 14. The tests that drove the route at 15 to 40 rows use rows up to 14. * fix(plugins/vllm): the latent-MoE tail's contract names out_dtype as its output's dtype param Since #352 a contract's api takes an out_dtype only where an output's dtype names it; the tail's route and kernel take one, so its contract names it (the kernel and its schema file are unchanged). * test(plugins/vllm): the tail's graph-capture test stands in for the timing module It imported aklr.core.utils.testing inside the test. Importing that module registers AKLR's profiler with rocprofiler-sdk, which the vLLM image's SDK refuses once the GPU is up: in vllm-test, where the tests before it have used the GPU, both cases failed on the import (8 MI355X, tests/plugins/vllm in one process). The test only needs the two names the baseline reads, which it replaced anyway: it now puts a module holding them in sys.modules and on aklr.core.utils (the baseline's 'from aklr.core.utils import testing' reads the package's attribute first), and both are put back afterwards. * test(plugins/vllm): the tail's route tests ask for the row counts its schema holds Two of the 8-GPU tests went through the route at 1 to 128 rows, and at 10 and 40. Since the schema kept the rows the kernel wins at in serving (6 to 14), the route serves no other count, and both failed on a GPU (served: False at the others). They now ask for the schema's own counts; the test of the kernel itself keeps 1 to 128 rows. * test(plugins/aiter): the K3 GEMM kernel test tells its kernel by the scratch it hands out, not by sizes The test picked, in gemm_n2112_k7168 and gemm_n6288_k7168, the schema files with skw.py whose smallest m is past 128 rows, to leave out main's sibling kernel (skw.py too, small m, no _scratch). A schema may hold any m: a file giving the sibling larger sizes (#276 adds one at 148 to 380 rows) was taken for the K3 kernel and failed on _scratch. It now picks the files whose sources define _scratch, which is what it tests. --------- Co-authored-by: kyle-256 <[email protected]>
RuibinCheung
added a commit
that referenced
this pull request
Nov 28, 2026
RuibinCheung
added a commit
that referenced
this pull request
Nov 28, 2026
kyle-256
pushed a commit
that referenced
this pull request
Nov 30, 2026
… and prefill at 1024 and 2048 (64 heads) (#312) * feat(plugins): GLM-5.2 attention-DP8 sparse MLA, decode at 1-8 tokens and prefill at 1024 and 2048 (64 heads) At attention DP8 (TP1) a rank holds all 64 of GLM-5.2's heads. dsa_sparse_mla_decode served them at 12-32 tokens only, and dsa_sparse_mla_prefill not at all. This ports the sparse paged MLA kernels of OpenAI-Partners/artemis-kernel-integrations#33 (head ad7e019e): - decode, 64 heads: decode_ep8_m1_m4 for 1 and 4 tokens, decode_ep8_m2_m8 for 2 and 8; - prefill, 64 heads (new schema directory): prefill_ep8_m512_m1024_m2048 for 1024 and 2048. The kernels are unchanged but for relative imports, writing the caller's output and a run entry. #33's 12-32 token decode kernels lose to the committed ones (from artemis's earlier glm52_ep8), and its other prefill sizes are not Points sglang's new-sequence route reaches at a 2048-token chunk, so neither is ported. tests/plugins/sglang/test_dsa_sparse_mla_dp8_kernel_edges.py runs the new kernels on top-k rows in any order, empty or with one slot, which the contract allows and the bench does not draw. * test(plugins): drop the DP8 sparse MLA edge test from this kernel PR * fix(schemas): drop compare.max_violation_fraction and element_order, which #322 removed
kyle-256
pushed a commit
that referenced
this pull request
Nov 30, 2026
…p8_moe, Triton/Gluon) (#284) * feat(plugins): GLM-5.2-FP8 MoE at TP8 at 22-192 tokens (deepseek_v2_fp8_moe, Triton/Gluon) A revision of eff5dc11's Gluon kernel for the 18 token counts GLM-5.2-FP8's verify and draft steps run at, none of them listed on main. 1.12-1.40x over aiter. * fix(plugins): deepseek_v2_fp8_moe review fixes: float32-tiny quant scale floor, no pre-SiLU bf16 round, no bf16-atomic fold Quantization scale is max(amax / 448, float32 tiny), as the reference clamps it; the gate-up accumulator reaches SiLU in float32; _down no longer folds bf16-rounded weighted routes into out with bf16 atomics at 84 tokens and fewer: every count sums its routes in float32 in _finish. Sources marked revised by RuibinCheung. * fix(schemas): drop compare.max_violation_fraction and element_order, which #322 removed
zhenhuang12
pushed a commit
that referenced
this pull request
Nov 30, 2026
…2's indexer at batch 24-192 (#285) * feat(mla): FlyDSL fp8_paged_mqa_logits (page 64, 32 heads) for GLM-5.2's indexer at batch 24-192 Band-sorted, page-major scoring that loads each page's fp8 keys once per request group. 1.49-4.79x over aiter at the 16 listed batches, none of them served on main. * fix(mla): serve every pool and table size, and any finite weight, in the GLM-5.2 indexer logits kernel n_pages, max_blocks and max_seq_len are any_size axes, so dispatch routes any legal pool and table here. The page-major path now takes more bands for a large pool (each at most 1024 pages), sorts band-relative page ids and gives each band its own 64-bit-based key descriptor, so pools past 2 GiB and tables up to the contract's 16448 blocks fit its packing. Pools past 2^21 pages, and batches outside the table, run the direct kernel (the former band kernel walking the block table without the prepass, a descriptor per page). The 2^26 relu pre-scale moves from the bf16 weights onto the fp32 result, so no finite weight overflows. tests/ops/test_flydsl_kernels.py covers both paths. * fix(schemas): drop the compare fields #322 removed; test against Fp8PagedMqaLogitsReference * style(tests): sort imports in test_flydsl_kernels.py per ruff * fix(mla): move the FlyDSL fp8_paged_mqa_logits schema and its test under provider/ after #352
kyle-256
added a commit
that referenced
this pull request
Dec 1, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Dec 1, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
zhenhuang12
pushed a commit
that referenced
this pull request
Dec 1, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Dec 1, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Dec 1, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Dec 1, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Dec 2, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
kyle-256
added a commit
that referenced
this pull request
Dec 2, 2026
…oE prefill on MXFP8, sparse MLA prefill, the MoE front and decode GEMMs Kimi-K3.1-Pro's InferenceX sglang image (lmsysorg/sglang:dev-kimi-k31-pro-mi35x, 0.5.24.dev809) runs its own gfx950 kernels where AKLR had no op, and new decode GEMM shapes. Every route below is declared for 0.5.24.dev809 only; none is on an aiter function. - [email protected]: from 2048 tokens the row-sharded front hands sglang's JIT A8W4 experts (k3_a8w4_moe) input already in MXFP8. Baseline: AKLR's copy of sglang de0f491836's gate-up, down and reduce kernels (_k3_a8w4_gfx950.hip), so CI's sglang 0.5.23 runs it. The kernel keeps stage 2's per-route rows as MXFP6 (e2m3) before the top-k sum, as #329 does for Kimi-K3: its out holds main's 20 dB (MOE_MXFP8_SNR). - [email protected]: sglang's sparse_mla_prefill_gfx950 on the 656-byte fp8_ds_mla rows; baseline AKLR's copy of that kernel. The rows are drawn by a new fp8_ds_mla_rows distribution (aklr/core semantics; a new kind only, no existing schema changes). - [email protected]: the latent MoE's fp32 front (6016 x 7168) where sglang's _k3_bf16_gemm runs torch.mm, the baseline; not routed to [email protected] (#322). - [email protected]: 6144 x 7168 (KDA in_proj) and 7168 x 3584 (latent up_proj) at decode, through the aiter provider. - [email protected] on _forward_fused_hip with an fp32 front (front_fp32), fused_moe's 'interleave' gate mode mapped as 'separated' with a schema at K3.1's decode counts, the KDA prefill route declared for 0.5.24.dev809. Each kernel serves the token counts its schema lists: no range dispatch (#276's is not taken). The decode counts are those a recorded daily 8K/1K run (InferenceX's concurrency-48 recipe, AKLR_EXPORT) reached: 5-256 (fused_moe 50-256, the MoE front 130-240, 7168 x 3584 35-120); prefill keeps its listed counts, as sglang mixes decode tokens into each prefill batch and no two batches had the same count. Workloads carry no measurements; CI writes them.
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.



Why
Each op found its reference and baseline by function name, and core opened special cases for some
(router
id_scores, mega_moe'sgroup_initand ranks). Error bounds came in five kinds, someholding expressions, one allowing a fraction of elements past it. Now each contract holds an
OpReferenceand anOpBaselineinstance, and an error bound is a tolerance or an SQNR, oneelement past it failing.
Scope
reference.pyandbaseline.pyhold one class per contract. A referencereturns its tensors in their declared dtypes; an op with its own comparison rule overrides
OpReference.check(topk's full rows in any order, the DSA indexer's fp8 scale steps, qwen2_moe_router'stied scores). A baseline has
setup/teardownand its ownprofile; ranked ops useDistOpReference/DistOpBaseline.ToleranceBoundandSqnrBound(semantics/_error_bounds.py), with commonones per dtype and op kind (
tolerance(),GEMM_*_SNR,ATTENTION_FP8_SNR,MOE_MXFP8_SNR,MOE_MXFP4_SNR). Gone:DotProductBound,BaselineRelativeBound,OutputRoundingBound,bound expressions,
max_violation_fraction, the bias check,element_order. Every schemafile loses its
compare.max_violation_fractionandcompare.element_orderline.aklr.core.jit); the baseline is timedon its own inputs;
bench_cudagraphreturns the median only; the sglang torch-gemm routes andqwen3_next's route into qwen3_5's op are gone; 2 situv2 fused_moe kernels are withdrawn (below).
aklr/ops/README.mdopens with what an op is (its five parts, how validation and dispatch usethem,
[email protected]as the example).docs/ops_tutorial(.zh).mdis rewritten around one gemm scenario,its script, Triton kernel and MI355X result run as written; creating an op is its section 6, which
replaces
harness/skills/port-generated-kernels/references/new-op.md.docs/plugin_tutorial(.zh).mdis
docs/sglang_plugin_tutorial(.zh).md. Theread-validationskill says how accuracy is judged,what a demotion is and what CI benches; stale statements elsewhere are fixed.
AGENTS.md):aklr/core/runtime/dispatch/_registry.pydrops itscontract.baseline()probe (10 lines): every contract now has a baseline instance, so every op is served from
AKLR_MIN_SPEEDUP.required_outputs,allocated_outputs), the validation process layout, bounds looser than the common ones.Verification
Environment: head
aecf9b21(the GPU runs:a644cfda, this head less the withdrawal commit); MI355X (gfx950),lmsysorg/sglang:v0.5.23-rocm10-mi35x, ROCm 7.15, torch 2.11.0+rocm10.0.0, FlyDSL 0.4.0Gate overrides: none
Contracts
Kernels
No kernel source changes; each schema file loses two
comparelines. Withdrawn:fused_moe_situv2_act_quant8_gate_up_interleaved_model_dim3584_n_experts896_topk16_inter_dim384's8dd41846anda8ca4270: 18.4 dB on all 6 workloads againstMOE_MXFP8_SNR(20 dB; the oldbound was 13 dB), where aiter's fused_moe reaches 30.4 dB on the same inputs. Dispatch falls back to
aiter at those Points.
Validation log
Full run on an earlier head of this branch (2026-11-22/23): 833 schema files, 5582
workloads; accuracy 5561 pass, 7 fail, 14 skipped (two kernels require FlyDSL < 0.3.4). Of the 7,
6 are the withdrawn kernels' and one is
flash_mla_with_kvcache…/a41fafa0at batch 112, failing onmain too. The DSA indexer schemas, changed since, passed 68/68 workloads.
Code
harness/tests/forge_task: 62 passed, 2 skipped.[email protected]'s reference returnsoutinout_dtype: ina's dtype it missed the 4 schemas feat(plugins): Kimi-K3's fp32 MoE router GEMM on vLLM reaches AKLR's gemm #299 added with a float32out. Every dtype combination the committed schemas hold, run through its reference on the CPU at its smallest workload, now returns its declared dtypes.isclosewith NaNs, empty tensors, SQNR in float64), topk'sany-order rows, the DSA indexer's scale steps, the kernels report's baseline summary.
kernels changed result.
Not run
aiter-test,sglang-test,vllm-test): pendingci:gpu.Risk
Affects: every kernel's correctness check and every op's reference and baseline; validation,
runtime dispatch, forge.
AgentX: all
If wrong: a kernel wrongly passing or failing accuracy, a baseline timed wrong (wrong speedups),
a crash in validation.
Undo:
git revert; schema files keep working at the same schema version.