Skip to content

MiMo-V2.6-Flash on CUDA (2x GB10) with DFlash as the drafter - #728

Open
ajensenwaud wants to merge 26 commits into
ashhart:mainfrom
ajensenwaud:mimo-v2
Open

ajensenwaud wants to merge 26 commits into
ashhart:mainfrom
ajensenwaud:mimo-v2

Conversation

@ajensenwaud

@ajensenwaud ajensenwaud commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

This PR adds Xiaomi's MiMo-V2.6-Flash to the native CUDA engine. It serves the model on two GB10s from a 3-bit EXL3 pack, with the pack's DFlash drafter to speed up decoding and the prompt cache on. The proposal is #725.

  • Kernels. MiMo runs on main's shared EXL3 code, with no copied kernels. Its own kernels cover the norms, the router, attention and the drafter.
  • Prompt cache. A resumed conversation gives exactly the same reply as a fresh one, because a prompt's result does not depend on how it was split into chunks.
  • Limits. Only two GB10s were tested, so any other GPU or number of GPUs is refused with an error that says why.
  • Shared code. Two small changes reach beyond MiMo: an optional rule for draft length that no other model switches on, and 3-bit support in main's shared prompt kernels. Either can become its own PR if you prefer.
  • Scope. The 8-bit KV cache stays out, as you asked, and the experts' load-ahead is now its own PR, exl3 cuda: the grouped experts kernel loads a tile ahead #1505.

Results

  • Accuracy. Over eight texts, MiMo picks the same top token as exllamav3 at 1,879 of 1,905 positions. Where the two differ, exllamav3's own lead is small, and MiMo almost always ranks exllamav3's choice second.
  • Exactness. Drafted replies equal undrafted ones, concurrent requests equal the same requests run alone, and 117 of 117 replies with the prompt cache on equal those of a cold server.
  • Quality. GSM8K 477 of 500, MMLU 190 of 228, and passkey retrieval 10 of 10 at 32K and 120K tokens.
  • Speed. Decode runs at 42 to 66 tokens a second for one stream and 76 to 108 for four, slightly below the recipe's release build. Prompts read at about 1,000 tokens a second up to 64K.
  • Kernel contract. All 446 kernels pass, and every MiMo launch matches its recorded limits.
  • Host tests. Everything passes except two prompt-cache tests, which fail the same way on main.
Details
  • Hardware. Two DGX Sparks (GB10, sm_121) linked over RoCE.

  • Checkpoints. Model XiaomiMiMo/MiMo-V2.6-Flash-RL at 5711b268. Served pack ajensenwaud/MiMo-V2.6-Flash-RL-exl3-3.0bpw at 139d9a4e. Drafter from benthecarman/MiMo-V2.6-Flash-RL-exl3 at 5ae87b83.

  • Run dates. On the previous head, which still had the load-ahead now in exl3 cuda: the grouped experts kernel loads a tile ahead #1505. MiMo's logits are byte-identical without it, so accuracy and exactness hold, but decode is a little slower until exl3 cuda: the grouped experts kernel loads a tile ahead #1505 lands.

  • Accuracy figures. Mean KL 0.0043 nats, against exllamav3's 0.0019 when compared with itself. Next-token loss 0.4957, against exllamav3's 0.4984.

  • Decode figures. 512-token replies at temperature 0, in tokens a second for chat, code, agent and report prompts:

    1 stream 4 streams, total
    This PR 42.0 / 65.8 / 54.2 / 45.8 75.6 / 108.1 / 89.1 / 82.6
    Recipe release build 49.8 / 64.3 / 55.7 / 53.4 81.6 / 115.6 / 90.6 / 80.6
  • Prompt speed. A cold prompt reads at 1,106 tokens a second at 8K, 1,037 at 32K and 962 at 64K.

  • Host tests. The lean checker finds 426 problems, the same as main.

  • Remaining work. Decode is about 0.8 ms a token behind the old captured-kernel build, and one-GPU serving needs its own checks.

  • Merge order. Muse Spark Open on CUDA, on two GB10s #1295 adds its family at the same three build lines, so whichever lands second needs a one-line rebase.

  • Recipe. https://github.com/ajensenwaud/MiMo-V2.6-2x-DGX-Spark-TensorFold

Every position where the top tokens differ from exllamav3's

Margin = exllamav3's top-1 minus top-2 (logit, prob). "rank" = where this PR puts exllamav3's top-1. Token = idtext. Next = the teacher token at that position.

text step KL next exllamav3 top-1 (logit, p) exllamav3 margin (logit, p) this PR's top-1 (p) this PR's p of exllamav3 top-1, rank exllamav3 p of this PR's top-1
en_story 18 (prompt) 0.000636 1943 message 25382 mysterious (16.8438, 0.1630) 0.0312, 0.0050 14888 strange (0.1622) 0.1615, 2 0.1580
en_story 37 0.00272 5001 coming 5001 coming (18.8438, 0.2429) 0.0781, 0.0183 13458 storm (0.2410) 0.2324, 2 0.2246
en_story 40 0.0059 576 The 1260 He (18.0312, 0.3508) 0.1875, 0.0600 576 The (0.3144) 0.3092, 2 0.2908
en_story 87 0.00398 45035 gratitude 5775 wonder (22.4688, 0.4402) 0.0625, 0.0267 45035 gratitude (0.4338) 0.4308, 2 0.4135
en_story 95 0.0598 264 a 264 a (17.0625, 0.1783) 0.2500, 0.0394 504 from (0.2353) 0.1526, 2 0.1389
en_story 161 0.0255 326 l 1943 message (17.3125, 0.3852) 0.1719, 0.0608 326 l (0.3987) 0.3000, 2 0.3244
en_story 177 0.00457 1035 would 1035 would (23.4062, 0.4174) 0.1562, 0.0604 44419 climbed (0.3757) 0.3751, 2 0.3570
en_story 216 0.0362 73632 lodged 73632 lodged (22.2188, 0.2552) 0.1094, 0.0264 4279 half (0.2813) 0.2623, 2 0.2287
en_story 263 0.00522 11, 304 in (25.7188, 0.4495) 0.0938, 0.0402 11, (0.4278) 0.4165, 2 0.4093
zh_explain 63 0.0199 101068无法 53153不能 (21.8906, 0.2774) 0.0312, 0.0085 101068无法 (0.3350) 0.2731, 2 0.2689
zh_explain 119 0.0325 117184粒子 100369两个 (22.5000, 0.4304) 0.3125, 0.1155 117184粒子 (0.4073) 0.3570, 2 0.3149
zh_explain 133 0.0398 1773。 106293的状态 (25.8438, 0.3952) 0.1250, 0.0464 1773。 (0.4682) 0.2807, 2 0.3488
code_py 145 0.0289 11, 13. (23.8594, 0.3009) 0.0625, 0.0182 11, (0.3421) 0.2576, 2 0.2783
math 60 0.0157 18611 \n\n 6771 Let (14.8438, 0.0822) 0.2578, 0.0187 18611 \n\n (0.0781) 0.0755, 2 0.0635
tool_json 22 (prompt) 0.00878 25: 510:\n (17.7812, 0.2198) 0.0781, 0.0165 25: (0.2269) 0.2251, 2 0.2033
edit 49 0.023 334** 88757Rename (16.1406, 0.1151) 0.2188, 0.0226 334** (0.0988) 0.0956, 2 0.0925
edit 50 0.035 16141Answer 18896Expected (16.0625, 0.0680) 0.1875, 0.0116 16141Answer (0.0761) 0.0622, 3 0.0563
edit 72 0.0122 1760 count 1760 count (24.5781, 0.5373) 0.1562, 0.0777 13195 cnt (0.5366) 0.4598, 2 0.4596
edit 279 0.0293 25: 982):\n (30.0312, 0.5592) 0.2656, 0.1305 25: (0.5490) 0.4393, 2 0.4288
list 106 0.00615 576 The 27360 Rot (22.9062, 0.4174) 0.1406, 0.0548 576 The (0.4054) 0.3734, 2 0.3626
short 0 (prompt) 0.029 0! 358 I (8.7500, 0.0129) 0.1953, 0.0023 11, (0.0173) 0.0142, 2 0.0075
short 10 0.00149 2371-g 2371-g (17.5156, 0.0956) 0.0156, 0.0015 1448-m (0.0996) 0.0948, 2 0.0941
short 16 0.00917 12- 5338First (14.1562, 0.0263) 0.0938, 0.0024 12- (0.0298) 0.0213, 2 0.0240
short 54 0.00165 358 I 358 I (20.8594, 0.3520) 0.0625, 0.0213 576 The (0.3544) 0.3427, 2 0.3307
short 208 0.00613 12440 correctly 12440 correctly (24.6719, 0.4150) 0.0625, 0.0251 6915 fine (0.4299) 0.4114, 2 0.3898
short 237 0.00629 4460 trying 4460 trying (17.5000, 0.1722) 0.1562, 0.0249 537 not (0.1535) 0.1494, 2 0.1473

The two exact ties, both in the short text, where exllamav3's top two are equal and our top token is one of them:

step KL next exllamav3's tied pair (logit) this PR's top-1 (p)
48 0.00195 21556 Sprite 21556 Sprite and 51548 Collision (16.4219) 21556 Sprite (0.1737)
59 0.00176 17051 sprite 2781 player and 17051 sprite (18.4219) 17051 sprite (0.3132)

satindergrewal added a commit to satindergrewal/TensorFold that referenced this pull request Oct 13, 2026
…3 experts

Checked ash hart PRs open+closed (read-only). Direct hits on our
problems, all OPEN, branch BHCC2025/TensorFold exl3-cuda-experts:
- ashhart#741 EXL3 routed experts behind experts.Grouped: gate+up+SwiGLU
  ONE kernel, down on pair rows, each expert's rows rotated by its
  own suh INLINE (register-resident rot for 1-2 pair chunks - the
  problem we had deemed impossible tile-incrementally). Rides on
  grouped.zig's Plan (in our tree). 297cu+124zig lines, with an
  exactness test harness (tf-cuda-test exl3-experts) - 367,872
  values within FP64 bounds, alone==grouped byte-equal.
- ashhart#740 EXL3 projections behind qlinear (the stacked base).
- ashhart#718 branch-free trellis window extraction (perf).
- ashhart#729 share decoded weights across prefill rows (perf).
- ashhart#728 MiMo-V2.6 CUDA EXL3 two-GPU (another full CUDA EXL3 family).
- ashhart#765 GLM CUDA multi-rank doorbells; ashhart#770/777/768 nemotron CUDA
  single-launch shared rounds + batched MTP drafting (patterns for
  our later concurrency work).
PLAN: vendored exl3_experts.cu/.zig + exl3.cuh into our tree (this
commit, unwired). Next: build wiring (fatbin + mod), port moeBlock
to Grouped.decode with the router->plan plumbing from grouped.zig,
run their exl3-experts test on our checkpoint, parity, bench. Our
own grouped kernels (stage-1 parity) stay as fallback.
@ashhart

ashhart commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Thank you, @ajensenwaud, the shared-lane DFlash path and explicit optional FP8 policy give the MiMo work useful boundaries.

We checked 83fd3f2. native.zig:374 still requires captured kernels, :379 hides bad TP settings with catch null, and rankWeights:412-416 divides bytes despite replicated embeddings/drafter. We can repair refusal and placement accounting while moving execution onto owned kernels and the shared EXL3 module.

We will extract the depth rule and infrastructure first, then the family with prompt reuse and final-source numerical/peer/memory gates; 16-bit cache remains the default. Please provide the original/converted checkpoint and vision inventory with the pinned workload so image obligations and the final reference gate are explicit. Earlier pre-rebase receipts remain attached to their source.

Posted by Ash's AI Assistant Synthena

@ashhart

ashhart commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Thank you, @ajensenwaud, for #728 and the 24 concurrent-versus-solo checks on two GPUs, with @jayleaton and the common EXL3 contributors. MiMo-V2.6-Flash is not included in 1.1.1. Its current CUDA path depends on a Python-captured Triton set that TensorFold does not ship; without TENSORFOLD_CUDA_KERNELS it refuses to start. Native kernels for its eight Triton launches come next, followed by full-model fidelity, drafted/plain, resumed/fresh, concurrent/solo, two-rank failure and compiler/resource gates on the integrated EXL3/DFlash path. This is held for a later 1.1.x; captured-set receipts do not qualify the new native path.

Posted by Ash's AI Assistant Synthena

@ashhart

ashhart commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Thanks @ajensenwaud for MiMo-V2.6-Flash on CUDA. Main has moved a long way since this branch (it is stacked on #703), so rather than ask you to rebase, we'll port its MiMo-specific commits onto current main ourselves, keeping you as their author and saying in each message what was adapted. Then it goes to the GB10 kernel contract and served-equality runs on one and two GB10s before it lands. If you are partway through a change here, please say so, so we don't collide.

- Synthema, Ash's AI Assistant.

@ajensenwaud

Copy link
Copy Markdown
Contributor Author

Thank you. Very keen to contribute. I know it's moving fast. I can rebase and recommit if that helps?

@ashhart

ashhart commented Oct 22, 2026

Copy link
Copy Markdown
Owner

@ajensenwaud, a question from the port before we combine the MiMo paths with main's shared EXL3 operators. In the branch, the arithmetic a row gets depends on how many rows or tokens arrive together: the router picks its tile by row count (BM 16 up to 16 rows, then larger tiles with BK 256 to 64 and BLOCK_E 32 to 64, zig/src/families/mimo_v2/forward.zig:404 and :456, with the same switch in prompt.zig:381); prompt projections use a separate GEMM with BK 32 while decode uses the EXL3 linear (prompt.zig:204 against forward.zig:268); experts switch to per-expert GEMMs from 3,072 rows (prompt.zig:389); and prompts of 256 tokens or more take the prompt path (native.zig:218). Our rule is that a row's result never depends on batch size or prompt chunking, so we need one arithmetic per operation, or a fixed-order equivalent with checks at 16/17 router rows, 255/256 prompt tokens and 3,071 to 3,073 expert rows. Would you be happy for main's shared EXL3 operators to define the reference, with the oracle fixtures regenerated against them, or would you rather supply fixed-order versions of the MiMo paths? The rest of the port (the geometric draft depth, which stays off unless a family opts in, and the FP8 KV option) is in hand on our side.

- Synthema, Ash's AI Assistant.

@ajensenwaud

Copy link
Copy Markdown
Contributor Author

Thanks Synthema, and thanks for porting rather than asking for a rebase. Answers to both open questions.

1. Reference arithmetic. Please let main's shared EXL3 operators define the reference and regenerate the oracle fixtures against them. One arithmetic per operation is the right contract: our 24/24 concurrent-versus-solo result was measured, not guaranteed by construction, and I'd rather not keep a parallel MiMo numeric stack. Nothing MiMo-specific needs to survive in the linears or experts. The router tile switch came from the Python engine's shared._tile; one fixed tile for every row count is fine with us (the router is 4,096 x 256, 2 MB of weights a layer).

Two requests so the port keeps what the branch was for:

  • Speed. The thresholds exist for measured reasons, so please keep them as performance choices once the paths are bit-equal. Prompts under 256 tokens on decode rows took 4-stream code from 94-105 to 117-120 tok/s aggregate; grouped experts up to 3,072 rows cut a 512-row prompt from 2.62 s to 0.74 s. Bar at 83fd3f2 on two GB10s: 1 stream code 76.3 tok/s with DFlash, 4 streams 113.4; prefill 4K/16K/64K/128K 772 / 1,317 / 1,210 / 1,066 tok/s.
  • Quality. Fixtures regenerated against main prove self-consistency, not fidelity. Please keep a full-model gate against an external reference too: ours is the pinned 500-item GSM8K and MMLU-Pro sets (greedy, thinking off) plus per-position KL against exllamav3 on the same pack.

I can run both on two Sparks against your port branch and post the receipts; point me at it.

2. Checkpoint, vision inventory, workload (your 17 Oct note)

  • Original: XiaomiMiMo/MiMo-V2.6-Flash-RL @ 5711b268 (166 GB, 65 shards). Multimodal content: visual.* (28 blocks), speech_embeddings.*, audio_tokenizer/ (1.9 GB).
  • Converted: ajensenwaud/MiMo-V2.6-Flash-RL-exl3-3.0bpw @ f2d8d100, exllamav3 v1.6.0, -b 3.0 -hb 8 -mb 4 -hq -cr 250 -cc 2048 -cb mul1. Text only: no vision or audio tensors. DFlash drafter at 4 bpw from benthecarman/MiMo-V2.6-Flash-RL-exl3 @ 5ae87b83.
  • Image obligations: none claimed by this PR. Vision would be a separate PR; until then I'd suggest the family refuses image content rather than silently dropping it.
  • Pinned workload: tools/upstream_contracts.py in the recipe repo (six prompts covering all three prompt paths, greedy, 256 tokens, thinking off), results in results/zig-z7/upstream/upstream-contracts.json; eval items in results/evals/items-*.json.

Nothing in progress on the branch, so no collision risk.

@ashhart ashhart mentioned this pull request Oct 24, 2026
6 tasks done
@ajensenwaud ajensenwaud changed the title MiMo-V2.6-Flash on CUDA: EXL3, DFlash, two GPUs (stacked on #703) MiMo-V2.6-Flash on CUDA: EXL3, DFlash, two GPUs Oct 25, 2026
@ajensenwaud

ajensenwaud commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks Synthema. To avoid duplicated effort: I've rebased #728 onto current main (2ff01910), so it no longer depends on #703. It is now three commits: the geometric depth rule (off by default), the MiMo family, and the 8-bit cache. The 8-bit cache is now opt-in through main's existing --kv-cache fp8, since main refuses --policy on every CUDA family. native/cuda.zig is down to the one registry line. The family's build sits in zig/build/mimo.zig, like Kolibri's, and its EXL3 bindings are cuda/mimo_exl3.zig, next to main's shared module.

I also fixed two points from your earlier review. Admission now uses main's weightShare hook, counting the embeddings and drafter whole on each rank. A bad TF_TP_* setting now refuses to start instead of being silently ignored.

test-cuda-host, test-mimo, the shared lanes tests, zig fmt and lean_check pass (no new problems), and CI is green. Nothing else is in progress on my side, and I'm happy for you to move it onto the shared EXL3 operators as discussed.

@ashhart ashhart left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ajensenwaud. Commit 026bd20 adds an fp8 KV cache (--kv-cache fp8) that the PR itself notes is not bit-equal; TensorFold takes no lossy formats, even opt-in, so that commit has to go. Main has also moved MiMo-only kernels and geometric depth to a separate MiMo track (1964746), so the MiMo EXL3 kernels here, copies beside the shared cuda/exl3.zig, need to fit that plan and be registered with the kernel contract. It's about 150 commits behind and conflicts in docs/recipes/README.md and native/cuda.zig. After a rebase we'd check on two GB10s that a resumed conversation equals a fresh run across the 256-token boundary, and TP=2 equals TP=1.

@ashhart

ashhart commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Review against main e9b69ed. Commit 026bd20 adds an 8-bit key/value cache (--kv-cache fp8) that the PR itself notes is not bit-equal. TensorFold doesn't take lossy formats, even opt-in, so that commit needs to come out. Beyond that:

  • Main moved MiMo-only kernels and geometric depth to the separate MiMo track (1964746); whether MiMo lands is a maintainer decision about that track.
  • The MiMo EXL3 kernels are copies beside main's shared cuda/exl3.zig, and none are registered with the kernel contract. Please reuse the shared EXL3 path where it fits and register every launch.
  • The branch is about 150 commits behind and conflicts in docs/recipes/README.md and native/cuda.zig.
    Geometric draft depth is off by default, which is right. Device plan once rebased (two GB10s): a resumed conversation equal to a fresh run across the 256-token boundary (prompts under 256 tokens run as decode rows), and TP=2 equal to TP=1.

@ajensenwaud

Copy link
Copy Markdown
Contributor Author

Yes in progress. Working on it.

ajensenwaud and others added 22 commits November 25, 2026 04:06
… for gate 5

contract_mimo*.zig registers the family's 28 kernel forms against float64 or their stated rules (ops, attention
with the tensor-core prompt kernel, glue, the drafter's), served shapes and launches as the family makes them.
mimo_cuda_records.zig carries their sm_121 usage from nvcc 13.3 (cuobjdump), with the two 3-bit mul1 instances of the
common EXL3 prompt kernels.
… shallower top-8 tree

mimo_attn_rows runs a chunk's G <= 16 query heads as one m16 tile on the prompt kernel's loads and mma, keys in
64-key tiles at multiples of 64 split over four warps whose partials fold in warp order; p in fp16 for o (the
contract's allowance as the prompt kernel's). A row's bits still depend only on its own position and window.
mimo_rms keeps its values in registers (unrolled; same bits), mimo_topk runs its tree's last five levels in warp 0's
shuffles (the same pairs; same bits). Sliding rows go from 72 to 8.5 us, norms from 11 to 5.7 us.
load set each layer as it filled it, so a refusal before then (an fp16 embedding, say) had deinit free whatever
the uninitialised layers' expert tables held. Every layer now starts blank, without experts. The host test refuses an
fp16 embedding under the testing allocator; without the blank start it crashes in deinit.
… GPU

weightShare read TF_TP_* with catch null, so a malformed world or rank was admitted as one GPU's share. It now
returns BadSetting as open does, and the admission reports it through the family's explain. weightShare may return an
error union (cuda_family_memory's share); GLM's and Nemotron's plain byte counts pass through unchanged. TF_TP_WORLD
unset is still one GPU. Host test: unset, six malformed settings, and a two-rank share.
With TF_TP_WORLD unset, follow read the cfg of a session that world 1 never opens. The world and rank check now
runs on the parsed settings before the driver opens.
…wn per format

The 3-bit mul1 commit made exl3_prompt.Kernels' gateup and down [2]Function
(one per format), so the host test sets both with @Splat. No engine or kernel
code changes.

Co-authored-by: ajensenwaud <5827908+ajensenwaud@users.noreply.github.com>
Main's lean check now refuses a getenv of a name that is not a literal, so
the family's own TF_TP_* getter goes. open and the weight share check
TF_TP_WORLD by its literal name (unset or blank is one GPU, refused by name
as before: tp's own default is two) and read the settings through
tp.Config.fromEnv, so a malformed one is still BadSetting. The weight-share
test reads its fake environments through the same rule (tpFrom).

Co-authored-by: ajensenwaud <5827908+ajensenwaud@users.noreply.github.com>
MiMo-V2's prompt attention keeps its cp.async, ldmatrix and FP16 mma
atoms and its ops keep their warp and block sums. The FP16 mma and the
block sum's total broadcast have no shared form; the others match the
common headers' instructions and move to them once nvcc shows the same
machine code on the family's GB10 run.
The DFlash and glue kernels' comments that ran one sentence over blank-separated lines are whole sentences now, and
the trailing comments past 120 columns are shorter or sit on the line above. No code changes.
…ecords

Main's shared-id ABI (skip) made exl3_prompt_pending own the prompt kernels' usage, and the reconcile added the
mul1 instances there; their sm_121 records in mimo_cuda_records.zig were measured before skip and usageFor never
reads them. They go, so each launch is listed once.
Keep main copy_guard initialization, copy-price state, timing and retained context alongside MiMo geometric depth. Keep main Qwen3 ASR and GLM MoE contract sets registered and deinitialized alongside the MiMo set. Move shared pricing test registrations to the lane root to keep depth.zig within the 600-line cap without dropping test coverage.
Keep MiMo's geometric one-pass cost for opted-in lone streams while preserving main's fixed_draft_block and shared_step_ms pricing for every other lane depth.
…_* share

Main's cuda_family_memory now calls F.weightShare(a, io, dir, whole, drafts,
rank, tp) for every CUDA family. MiMo-V2 declares no Options.rank, so the
server's own place for it is always rank 0 of 1; its two ranks are
TF_TP_*'s, the split matrices divided evenly between them. The new rank and
world are taken and not used, and the share is the one it computed before.
…rnels

This branch registers tf_exl3_prompt_gu_k6_mul1 and tf_exl3_prompt_down_k6_mul1
as pending, like main's four EXL3 prompt kernels, but the test still counted
four records' pending checks. Six records at five compiler versions are 30;
every record is still asserted unmeasured at every version.
The records come from nvcc 13.0 and 13.3 compiling exl3_experts per SM
for sm_80, 86, 89, 120 and 121. 13.0's usage is the record and 13.3's
its receipt; 13.2 stays pending, with no 13.2 compiler to measure on.
@ajensenwaud

Copy link
Copy Markdown
Contributor Author

Thanks, Ash.

  • tf_exl3_prompt_gu_k6_mul1 and tf_exl3_prompt_down_k6_mul1 now carry measured resource records on sm_80, 86, 89, 120 and 121. The nvcc 13.0 usage is the record and the 13.3 usage is its receipt in pending_133.zig. 13.2 stays pending, as it does for the other records measured this way.
  • The two kernels have left exl3_prompt_pending.zig, so its test now counts main's four prompt kernels: 20 pending checks.

@AIFlowML

Copy link
Copy Markdown
Contributor

I tested the revised head 5e3ba988c2 in a clean trial merge into 4beda42498. The two 6-bit MUL1 EXL3 prompt kernels are now in the launch registry, and the pending-check fixture still covers the four other prompt kernels. The host contract covers the new records across sm_80, sm_86, sm_89, sm_120 and sm_121. The 13.2 entries remain pending, and the 13.3 receipt override is exercised by the new test.

zig build test-kernel-contract test-exl3-prompt-host -Dfixed-cpu -j2 --summary all
zig build check-native-cuda-host -Dtarget=aarch64-linux-gnu -Dfixed-cpu -j2 --summary all

On M5 Max, 326/326 tests passed and the ARM64 Linux native CUDA adapter compiled. This verifies the checked-in registry and host integration. Fresh nvcc resource measurements, the two-GB10 token comparison and the served performance run remain outside this receipt.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Thank you, @ajensenwaud. The rebase retains your work, GLM's BF16 prompt input, and MiMo-only geometric depth. The two new prompt kernels now have 13.0 resource records and 13.3 overrides; 13.2 remains pending.

This is ready for controlled comparisons after maintainer integration preserves the newer family registrations. Fresh compiler measurements and exact serial, drafted and resumed token comparisons on the final tree remain before landing.

  • Synthena

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants