interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / amd-speed-20261114 / REPORT.md

747 lines · 64342 bytes Raw Blame History Source

title: "Omega on one AMD Instinct MI300X: Qwen3.8-27B-FP8 decode speed, 13 and 14 November 2026" author: "Drake Stapleton" date: "14 November 2026"


Omega on one AMD Instinct MI300X: Qwen3.8-27B-FP8 decode speed

Final report, 14 November 2026. Readers: engineers at Intel (UXL) and AMD. Status of every section is in its first line.

This report was written by the author's AI agents under the author's direction (section 2).

1. Summary

State: FINAL. COMPLETE for every result measured on the card. Four card items are to be done when equipment is available; for each, the CPU work done so far is listed with its source (local, unreviewed and not landed):

4-bit quality on the CPU: IN PROGRESS. The frozen-bar comparison of the fp8 and q4 arms had not finished when this report was written; its result is not in this report, so 4-bit weights are neither accepted nor rejected here (section 6).

On 13 November an Omega program ran Qwen3.8-27B-FP8 on one AMD Instinct MI300X at a median decode time of 26.726 ms per token, with no AMD user-space runtime in its process (the published run). Since then the work has gone after one goal set by the author on 14 November: as fast as possible on one card.

Headline (MEASURED, one card, one session 6e585e21, three interleaved 256-token runs per arm). The fixed launcher and the new kernels together decode at 16.226 ms per token (61.6 tokens per second), against 27.164 ms for the published launcher and kernels in the same session: 1.674 times faster. Every one of the 21 timed runs printed the published 256 token ids, and the altered-weights control differed at index 0. That run uses a plan sized for this request's 286 positions; on the general plan (131,072 positions) the same launcher and kernels take 16.519 ms (1.644 times). Each step in the same session:

ArmWhat changedDecode, ms per token (MEASURED)Percent of 5.3 TB/s (estimate)
Apublished launcher and kernels27.16418.7
Blauncher fix (plan3)25.42520.0
Cplus RMSNorm v2 and delta-net state update v219.61925.9
D2plus FP8 matrix-vector v2b2 (taken over from lane GpuBenchSync)16.51930.7
E2D2 on the 286-position plan16.22631.3

The launcher fix is the first 1.739 ms; the RMSNorm and state rewrites 5.806 ms; the faster FP8 kernel 3.1 ms; the smaller plan 0.293 ms. The output-identical floor for this plan, reading every weight byte once per token at the card's quoted 5.3 TB/s, is 5.08 ms per token (MODELED), so the best arm is still 3.19 times the floor and moves weights at 31.3 percent of that bandwidth (an estimate: modelled bytes per step over measured time).

Earlier sessions found the pieces separately (sections 4 and 5): the launcher was 1.98 ms per token behind AMD's HIP runtime replaying the same 18 kernels, because of system-scope memory fences on all 1,126 dispatches of a step and a single doorbell after the host wrote the whole step; fixing both took 26.490 to 24.812 ms in one session and 26.641 to 24.891 in another. A third session paired each Omega run with a HIP run over nine cycles: with the same clock on both sides, Omega still trails HIP by 0.08 ms per token after each side is charged its own token read (paired median, 0.3 percent; behind in 8 of 9 cycles; 0.096 ms on the raw step clocks), the launch path itself costs the same on both, and the remaining gap is by elimination inside kernel execution (section 4).

4-bit weight kernels now run bit-exact on all 10 matrix shapes of the model on the card, at 2.98 to 3.18 TB/s isolated against 2.09 to 2.15 for the v1 FP8 kernel on the same tensors. Their isolated times add up to 4.44 ms per token for every FP8 linear and the head (MODELED), against 12.2 ms for the v1 FP8 kernel; v2b2, the fastest FP8 kernel of the headline, was not timed by this method. But the measured whole step on the v1 kernels (21 to 27 ms) is about twice the isolated sum of its FP8 matrix kernels, so the kernels between and around the matrix products, and the gaps between dispatches, matter as much as the weights (section 6). 4-bit quality is IN PROGRESS on the CPU.

One MI300X, lighthouse request, greedy, 256 tokensDecode, ms per token (median)LabelSession (short id)
Published Omega run, 13 Nov 10:12 UTC26.726MEASURED76e03a28
Repeat from public instructions, 13 Nov 19:07 UTC26.721MEASURED46d1b9c5
AMD HIP graph replay of the same 18 Omega kernels, same session24.741MEASURED46d1b9c5
Launcher before (plan), 14 Nov run 126.490MEASURED52ef268c
Launcher after (plan2), same session24.812MEASURED52ef268c
HIP graph replay, same session24.722MEASURED52ef268c
Launcher plan3 (plan2 plus agent-scope acquire on decode steps), 14 Nov run 224.891MEASUREDe8cddcb1
Launcher before (plan) and HIP replay, same session26.641 and 24.741MEASUREDe8cddcb1
Kernels before (full plan, v1 kernels), one run27.007MEASUREDe787e65d
Kernels after (v2 RMSNorm and state kernels, 286-position plan), one run20.968MEASUREDe787e65d
Combined: published launcher and kernels (A)27.164MEASURED, 3 runs6e585e21
Combined: launcher fix and all new kernels, general plan (D2)16.519MEASURED, 3 runs6e585e21
Combined: the same on the 286-position plan (E2)16.226MEASURED, 3 runs6e585e21
Several tokens per pass (speculative decoding with the model's own head)NOT_RUN on the cardCPU gates PASS
4-bit weights, whole modelNOT_RUNkernels bit-exact on 10 shapes, q4gemv_d8r2 2.98 to 3.18 TB/s isolated; quality IN PROGRESSc715b669
v1 FP8 linears and BF16 head, sum of isolated kernel times12.2MODELED: no launch gaps, no non-matrix kernelsc715b669
4-bit linears and 4-bit head, same method4.44MODELED: same exclusions, quality IN PROGRESSc715b669
Output-identical lower bound at 5.3 TB/s, this plan5.08MODELED
4-bit floor at 5.3 TB/s, candidate A bytes, head kept in BF16 (4-bit linears with BF16 head above are 1.70 times it)2.93MODELED: not output-identical, needs the quality bar

Two numbers for the same arm in different sessions differ (the published launcher and kernels on the full plan measured 26.726, 26.721, 26.490, 26.641, 27.007, 27.164 and 27.051 ms per token in seven sessions), so every before and after pair above is compared only inside one session. Drift on this hosted card is as large as the remaining gap to HIP, so that gap is measured only by paired runs (section 4, run 3).

2. Machine and method

State: COMPLETE.

3. Baseline

State: COMPLETE.

RunRun medians, ms per tokenDecode medianPrefill, 30 tokens
Published, session 76e03a28, launcher 08a5049126.731, 26.642, 26.675, 26.726, 26.7626.726779.042 ms
Repeat from the public clone, session 46d1b9c526.743, 26.803, 26.706, 26.671, 26.72126.721779.599 ms

Same session as the repeat (46d1b9c5):

PathDecode, ms per token
Omega launcher and Omega kernels26.721
The same 18 Omega kernels replayed by AMD's HIP runtime (graph replay)24.741
PyTorch with transformers on ROCm, same FP8 checkpoint, plain greedy loop: eager, transformers' fast path not available, FP8 kernels from an older community kernel package on the Hugging Face Hub falling back from DeepGEMM to Triton131.011
The notebook's stock pipeline, BF16 checkpoint, 70 prompt tokens, thinking on (not like for like)70.628

Neither PyTorch row is a speed baseline; both are correctness references under the conditions in the rows. No vLLM or SGLang ran on the card. The comparison that matters for the launcher is the HIP row, because it runs the same kernels in the same order.

4. Launcher

State: COMPLETE for runs 1, 2 and 3. Run 3 (paired) shows a small remaining gap to HIP; its cause is open, owner AmdLaunchGap. Run 4 is to be done when equipment is available (section 1).

The gap. In session 46d1b9c5 the Omega launcher took 26.721 ms per token and HIP graph replay of the same kernels 24.741: 1.98 ms per token.

The clocks were not the cause. Both timers stop before the host reads the token back, and both include the on-device argmax (lane analysis from source: Omega plan.om lines 549 to 565 at dc536882; HIP driver amd-launch-gap/src/CUDApp-base/evidence/amd-qwen38-native-20261113/oracle/driver-real2.py lines 206 to 210). HIP's interval contains extra host work, so the clock choice, if anything, understates the gap.

Root cause, two parts (read from ROCm 7.2.2 ROCclr source and the Omega launcher):

  1. System-scope fences on every packet. Every one of the 1,126 AQL packets in a step carried header 0x1502: acquire and release at system scope. On gfx942 that writes back and invalidates the L2 for system-coherent lines at every kernel boundary. HIP marks packets with agent scope between kernels and uses system scope only at the step boundary.
  2. One doorbell after the whole step. The host wrote all 1,126 packets and then rang the doorbell once, so the card sat idle while the host wrote. HIP rings a doorbell after batches of 1, 2, 4 and so on up to 256 packets, so the card starts after the first packet.

The fix (CUDApp local branch amd-launch-gap, commit 139bb6a9, two commits on dc536882; not landed, not reviewed yet by the author's order to review at the end). New launcher modes, the old plan mode unchanged:

CPU gate: tests/amd-kfd-launch/check.py 308 checks PASS, 0 failures, device rows NOT_RUN, at commit d957526e (the script is a CUDApp repository path, not in this folder), which adds the alarm diagnostics of the hang paragraph below to this fix (amd-launch-gap/build-r14-spark-gate.log; the log names the x86 launcher it built, a6aee5ef, the one run 3 used, and no commit; amd-launch-gap/HANG-20261114.md line 20 ties d957526e to a6aee5ef). Section 11 lists each commit with its launcher.

Measured, one card, one session (run 1, session 52ef268c, 14 Nov from 00:50 UTC; 1 warmup plus timed runs, arms interleaved; every run printed the published 256 ids):

ArmRunsDecode, ms per tokenGain against plan, ms
plan (published launcher 08a50491)526.490
plan, rebuilt binary (contract unchanged)226.4905
planstage (doorbells only)226.29250.1975
planscope (fence scope only)225.0141.476
plan2 (both)524.8121.678
HIP graph replay, same kernels524.722

plan2 is 6.3 percent faster than plan in the same session (40.30 tokens per second). It is 0.090 ms per token behind HIP (0.36 percent). The two parts add up: 1.476 plus 0.1975 is within a few microseconds of the 1.678 measured together. The lane had modelled at most 1.854 ms for the fence change and 0.126 ms for the doorbells before the card run.

Run 2, one card, one session (session e8cddcb1, 14 Nov from 01:26 UTC; old plan, plan3 and HIP interleaved, 1 warmup plus 5 timed runs each, then two plan2 runs and a plan3 altered-weights control; all 20 non-control runs printed the published 256 ids, the control differed at index 0):

ArmRunsDecode, ms per tokenBehind HIP, ms
plan (published launcher 08a50491)526.641
plan2224.89750.1566
plan3524.8910.1501
HIP graph replay, same kernels524.741

plan3 is 1.75 ms per token faster than plan in this session (6.6 percent, 40.18 tokens per second), which repeats the run 1 result. plan3 against plan2 is 0.0065 ms, from 5 against 2 runs, far inside the drift described next, so this run shows no effect of the plan3 change and cannot rule one out.

Drift is as large as the remaining gap (found by Main's independent recomputation, MAIN-VERIFY.md; numbers recomputed here). The unchanged published launcher measured 26.490 ms in run 1 and 26.641 ms in run 2, 0.151 ms apart. Within run 2 its five timed runs rose in every step, 26.602, 26.626, 26.641, 26.653, 26.658 (0.056 ms first to last), after a warmup of 26.489; HIP rose over the same interleaved period (24.704 to 24.747). The gap to HIP read 0.090 ms in run 1 and 0.150 ms in run 2, the same size as that drift. So runs 1 and 2 could not establish whether Omega still trails HIP at all: that needs interleaved, paired arms (each Omega run next to a HIP run, the difference taken per pair) and more than five repeats. Run 3 below is designed that way. The 1.7 ms launcher gain is many times the drift and repeats in every session.

A launcher hang (section 13). In the 4-bit rerun, 2 of 175 single-kernel launches of the published launcher never finished and spun until killed. Why their completion never arrived is not established. Commit d957526e adds the card's queue pointers and the signal value to the 10 s slow-wait alarm (CPU gate PASS); it ran on the card in run 3 as launcher a6aee5ef, where no wait reached 10 s, so the new alarm rows have not yet fired. The next occurrence will show whether the card consumed the packet. None of the 71 plan processes behind this section and section 5's earlier sessions hung or raised the alarm, nor did any of the 22 in the combined session (each launch there also ran under a 150 s timeout) or the 67 in run 3 (64 of them with a6aee5ef). A hung launch prints no timing, so no number here is affected.

The launcher fix in the combined session. With the same v1 kernels and full plan, arm B (plan3) took 25.425 ms per token against 27.164 for the published launcher (arm A): 1.739 ms, 6.4 percent, the same size as in runs 1 and 2. That session had no HIP arm.

Run 3, paired against HIP (MEASURED, session 7f66e322, 14 Nov from 02:23 UTC). New launcher a6aee5ef (commit d957526e), published launcher 08a50491, both hash-checked on the card; the card-emitted plan is the published 2a292dad. The tarballs' sha256 equal the card-side values and every file in the run's checksum list matches. The run log's start stamps show nine strictly interleaved cycles, each plan3, then plan3c (the same with a cached ring), then HIP graph replay of the same 18 kernels, after one warmup of each. The published launcher ran three times after the nine cycles, so it is not interleaved with them.

Decode, ms per tokenc1c2c3c4c5c6c7c8c9Median
plan325.15325.15525.14725.14825.24325.28925.31225.30325.22225.222
plan3c25.14825.15225.17225.15925.21225.20125.2925.31525.24725.201
HIP decode_ms25.04825.07825.0725.1725.14725.13525.16925.15325.18125.147
HIP forward_wall_ms25.20225.27825.22625.37325.34525.2925.32525.36325.381
Like for like: (plan3 + 0.00051) minus (HIP + 0.0158)0.090.0620.061-0.0370.080.1390.1270.1340.0260.08

Which clock is fair. Like for like here means "the next token id is in host memory": Omega's step time plus its own token read (0.00051 ms, from the plan3t phase timer), against HIP's decode_ms plus HIP's 4-byte token readback (0.0158 ms, median of 15.0 to 17.4 us measured in the micro-benchmark below, not inside these model runs). The table uses these unrounded medians. HIP's forward_wall_ms is not that clock: around the same call it also times a blocking copy of all 248,320 logits (about 0.99 MB) to the host, the token readback and the Python call (driver-real2.py line 210). It runs 0.198 ms above decode_ms (median; 0.154 to 0.209). Omega never copies the logits, and a program that only generates tokens has no need to, so charging HIP for that copy would make Omega look faster than it is: against forward_wall_ms plan3 is ahead in all 9 cycles (plan3 minus wall, median -0.079 ms), and that comparison is not used here. Raw decode_ms without either readback gives plan3 minus HIP of 0.096 ms (median; -0.022 to 0.154).

Result. Like for like, plan3 trails HIP by a paired median of 0.08 ms per token (0.3 percent), ranging from -0.037 to 0.139 over the 9 cycles, behind in 8 of 9. The gap is not closed. Within the session plan3 drifted by 0.165 ms between cycles and HIP by 0.133 ms, which is why only the paired differences are used. plan3c against plan3 is -0.003 ms (median; -0.088 to 0.025), so the cached ring has no effect. The published launcher read 27.051 ms after the cycles, 1.829 ms above plan3, the same size of gain as in the earlier sessions (not interleaved here).

Run 3 micro-benchmark: the launch path itself (MEASURED, same session). Each step is N dispatches of the model's own step_advance kernel with its real arguments and no weight traffic, 100 steps per process, nine interleaved cycles of plan3, plan3c and HIP.

us per step, median over 9 cyclesN = 1N = 1,126Per dispatch, (N=1,126 minus N=1) / 1,125
Omega plan3717431.543
Omega plan3c717441.543
HIP graph replay20.01744.31.533
Paired plan3 minus HIP, median (range)-12.8 (-16.0 to -11.8)-10.2 (-23.6 to 3.4)0.0025 (-0.0067 to 0.0139)

So the cost of launching 1,126 back-to-back dispatches is the same on both runtimes, 1.743 ms per token under Omega and 1.744 ms under HIP, and Omega's fixed per-step part is about 13 us shorter. This holds for a trivial kernel; it is the launch path, not the model's kernels.

What is established, and what is not. Established: Omega's dispatch, doorbell, completion detection and token read are not slower than HIP's; the cached ring makes no difference; with the fair clock, plan3 still trails HIP by about 0.08 ms per token in 8 of 9 paired cycles. Not established: where that 0.08 ms goes. By elimination it is inside kernel execution, the same 18 kernels running slightly slower under Omega's memory setup [INFERENCE: not measured directly]. The lane names two differences in that setup: one large VRAM region with buffers at 4 KiB offsets against PyTorch's per-tensor allocations, and the token cell in host-coherent memory against VRAM. Run 4 (2 MiB buffer placement and the token cell in VRAM, interleaved against HIP the same way) is prepared. That its modes are built is quoted from amd-launch-gap/RESULT.md, a lane note not in this folder; the card script runs them with launcher 657db853, whose Spark gate covers the existing checks only (section 1). To be done when equipment is available.

Node selection (CPU-gated, not run on a card). At commit 94af5a38 the launcher opens only the KFD topology node named by OMEGA_KFD_NODE=N and refuses to start when the variable is unset or malformed; omega-launch discover prints the node once and opens no device. Spark gate: 318 checks, 0 failures (amd-launch-gap/build-r16-spark-gate-94af5a38.log, launcher 8b6005e8).

5. Kernels

State: COMPLETE. The combined run (launcher fix and all new kernels, three interleaved runs per arm) is the result; the earlier one-run ladder is kept as history.

Floor (MODELED). One decode step reads 26.92 GB of weights and block scales (amd-kernel-speed/model/classes.tsv). At 5.3 TB/s that is 5.08 ms per token: a modelled lower bound for an implementation that reads every weight byte once per token. With the delta-net state and key/value reads at 286 positions it is 5.14 ms. Only changes that alter arithmetic (a smaller output head, fewer weight bits) go below it, and those change output.

Per-kernel ranking (MEASURED, session e787e65d). Method: N extra copies of one kernel are inserted into the real plan; the time per dispatch is the median step-time increase against three base runs, divided by N. Ordered by time per step:

Kernel classDispatches per stepus per dispatchms per stepPercent of 5.3 TB/s (weights)
FP8 matrix-vector 17408x5120 (MLP gate and up)12849.626.35233.9
FP8 matrix-vector 5120x17408 (MLP down)6465.934.2225.5
gated delta-net state update (v1)4863.863.065n/a
FP8 matrix-vector 5120x6144 (delta-net out, attention o)6424.451.56524.3
FP8 matrix-vector 10240x5120 (delta-net qkv)4831.031.4931.9
RMSNorm 5120 (v1)12910.221.319n/a
FP8 matrix-vector 6144x5120 (delta-net z)4822.851.09726.0
attention partial, 131,072-position grid1655.540.889n/a
BF16 output head 248320x51201798.830.79960.1
FP8 matrix-vector 12288x5120 (attention q)1636.040.57732.9
BF16 matrix-vector 48x5120965.640.5411.6
all other classes (residual, SiLU, small delta-net, attention, argmax, embedding)0.397 or less each
empty dispatch, 1 workgroup (control)2.87

The classes sum to 23.612 ms against a 64-token base step of 26.973 ms; the rest (3.36 ms) is not attributed by this method. Inserted copies run after the dependent kernel, with warmer caches, so these are lower bounds for the in-place cost.

What changed (CPU-gated, seeded Omega objects, byte-checked against an LLVM 18 build of the same assembly):

Measured ladder (session e787e65d, ONE run per candidate, each printed the published 256 ids). Each row is a single run until the combined run lands with repeats. The two runs of the unchanged plan in this session (full-a and full-b) differ by 0.15 ms, so differences between rows smaller than that are not resolved:

VersionDecode, ms per token (MEASURED)TB/s (estimate: modelled bytes / measured time)Percent of 5.3 TB/s (estimate)
v0, full plan, first run (full-a)27.0070.99718.8
v0, full plan, second run (full-b)27.1570.99118.7
cap286 only26.7231.00719.0
RMSNorm v2 only25.6141.05119.8
state update v2 only22.8451.17822.2
cap286 with both v2 kernels (v1all)20.9681.28424.2

The ladder gives 1.288 times against full-a and 1.295 against full-b in the same session. The lane's additive estimate for the two kernels without cap286 was 21.45 ms (MODELED); that combination has not run alone. 20.968 ms is still 4.13 times the floor.

Next by measured gap. The FP8 matrix-vector kernels run at 24 to 34 percent of bandwidth in place and take most of the step; the lane's reading of the code is that each wave reloads the activation chunk for every output row (four times the weight traffic from cache). Dispatch count (1,126 per step, an empty dispatch costs 2.87 us) is next. Section 6 adds that the whole step is about twice the isolated time of its matrix kernels, so both matter.

Combined run (MEASURED, session 6e585e21, 14 Nov from 02:05 UTC). Seven arms, each a single 256-token run in turn, three rounds (amd-kernel-speed/combined/card-2026-11-14T0206Z/, script card-combined.sh, the same bytes as the one prepared earlier). Objects by sha256: published launcher 08a50491, plan3 launcher de67f27e, rmsnorm5120 v2 7d63972f, gdnstate_step v2 c689890d, FP8 matrix-vector v2b1 00686ea5 and v2b2 21f4265d. The card emitted the full plan with the published sha256 (2a292dad) and the 286-position plan from the same script. The tarball's sha256 equals the value the card computed, and every file in its own checksum list matches.

ArmLauncher and objectsPlanRun medians, ms per tokenMedianSpreadTB/s (estimate: modelled bytes / measured time)Percent of 5.3 TB/s (estimate)
Apublished, v1full27.211, 27.164, 27.14927.1640.0620.99118.7
Bplan3, v1full25.498, 25.425, 25.34925.4250.1491.05920.0
Cplan3, RMSNorm v2, state v2full19.619, 19.623, 19.61119.6190.0121.37225.9
D1C plus FP8 v2b1full17.056, 17.124, 17.12717.1240.0711.57229.7
D2C plus FP8 v2b2full16.527, 16.517, 16.51916.5190.011.6330.7
E1D1286 positions16.712, 16.797, 16.72116.7210.0851.6130.4
E2D2286 positions16.226, 16.151, 16.23716.2260.0861.65931.3

All 21 timed runs printed the 256 published ids (checked here against the published run, not only against each other); the altered-weights control, plan3 with all v2 objects, differed at index 0.

Steps, each within this session: launcher 1.739 ms; the RMSNorm and state rewrites 5.806 ms (B to C); FP8 v2b1 2.495 ms and v2b2 3.1 ms (C to D1, D2); the 286-position plan 0.403 ms on v2b1 and 0.293 ms on v2b2. Every per-arm spread is at most 0.149 ms, so each of these steps is resolved; v2b2 is faster than v2b1 by 0.605 ms on the full plan. Overall A to E2 is 10.938 ms, 1.674 times; A to D2, without the request-specific plan, 1.644 times. E2 is 3.19 times the 5.08 ms floor.

The FP8 candidates were written by lane GpuBenchSync and taken over by AmdKernelSpeed. By the lane's write-up (amd-kernel-speed/RESULT.md), v2b1 "adds a fast FP8 decode when no byte in a chunk is ±0, 0x7f or 0xff" (the special values), and v2b2 "also issues two chunks of loads before one wait". CPU gates, rerun by AmdKernelSpeed on the Spark and checked here from the logs (amd-kernel-speed/takeover-gpubenchsync/): FP8GEMV-B128F-V2-GATE PASS with 39 cases for each, 5 of 5 mutants caught for v2b1 and 10 of 10 for v2b2, each log naming the object the card ran; and the repository's exact-rounding check on real checkpoint rows, 27 cases and 8 controls, PASS for both. One limit, stated by the lane: no wait checker that is sound for loops exists. The linear wait checker refuses both tables because of their loops and branches, and finds no other error, but that is not a proof; the CPU executor completes loads at once and cannot see a missing wait. So the wait counts of these two kernels are covered only by the card, where every run with them printed the published ids (6 runs each: arms D1 and E1 for v2b1, D2 and E2 for v2b2).

6. 4-bit weights

State: kernels COMPLETE on the card (rerun, session c715b669): both 4-bit kernels bit-exact on all 10 shapes, two of 30 timings missing because two launches hung (section 13). Quality against the frozen bar: IN PROGRESS on the CPU, result not in this report, so 4-bit is neither accepted nor rejected (section 1). Whole-model 4-bit decode on the card: to be done when equipment is available.

Format, Q4D8-1. Symmetric signed int4 weights with one BF16 scale per group of at most 128 weights (32 for the delta-net input projections); the activation becomes a 16-bit per-token fixed-point vector split into four signed base-16 digits, so the inner product is V_DOT8C_I32_I4 (eight int4 products per instruction). gfx942 has no FP4 decode, which is why an integer path. Container: 66 shards, 17.61 GB against 30.87 GB for the FP8 source, ratio 0.570.

Bytes and floor (MODELED). Candidate A (every FP8 linear in 4 bits, output head BF16) reads 15.54 GB per token, 0.577 of FP8, a floor of 2.93 ms at 5.3 TB/s. These are not output-identical to FP8: they need the quality bar.

Kernels. q4gemv_d8 (one row per wave) and q4gemv_d8r2 (two rows per wave), written as gfx942 code objects by Omega's writer. CPU gate: 38 cases PASS, 7 of 7 mutants caught. The seeded gfx942 executor gained V_DOT8C_I32_I4 and V_CVT_F32_I32 for this (local branch fourbit/q4gemv).

Card (MEASURED, session c715b669, 14 Nov 01:46 to 01:59 UTC). Each shape is tiled to at least 600 MB of 4-bit weights per dispatch, more than the card's 256 MB Infinity Cache, and the FP8 baseline is tiled by the same count. Time per dispatch is (median of three runs at 50 repeats minus median of three at 1 repeat) / 49, host clock, through the published Omega launcher (no HIP in the path). The card converted its own copy of the three source shards it used and got the same sha256 as the Spark container (3 of 3). The tarball's sha256 equals the value the card printed.

Shapeq4gemv_d8, TB/sq4gemv_d8r2, TB/sv1 FP8 kernel on the same tensor, TB/sOutput words bit-equal to the oracle
delta-net qkv 10240x51202.723.062.12204800 of 204800, both kernels
delta-net z 6144x51202.853.12.12208896 of 208896, both
delta-net out 5120x6144hung, killed3.182.14189440 of 189440, q4gemv_d8r2 (q4gemv_d8: in session f591aa44)
MLP gate 17408x51202.673.05hung, killed226304 of 226304, both
MLP up 17408x51202.682.982.15226304 of 226304, both
MLP down 5120x174082.793.162.0966560 of 66560, both
attention q 12288x51202.683.072.14233472 of 233472, both
attention k 1024x51202.673.042.13223232 of 223232, both
attention o 5120x61442.833.082.13189440 of 189440, both
output head 248320x51202.673.02BF16 kernel 3.29248320 of 248320, both

In the rerun 19 kernel and shape results ran and all 19 are bit-exact; the one q4gemv_d8 result missing there (delta-net out) was bit-exact in the earlier session f591aa44, so each of the 10 shapes has a bit-exact result for both kernels. Ranges: q4gemv_d8r2 2.98 to 3.18 TB/s (56.3 to 60.0 percent of 5.3 TB/s, 10 shapes), q4gemv_d8 2.67 to 2.85 (50.4 to 53.7 percent, 9 shapes), the v1 FP8 kernel 2.09 to 2.15 (39.5 to 40.6 percent, 8 shapes). The earlier session had read 2.79 to 2.87 and 3.08 to 3.28 on its five shapes; on the 9 kernel and shape pairs timed in both sessions the rerun read -1.3 to 8.6 percent lower (median 0.1 percent), a session-to-session difference on the same kernels. The rerun is the record.

Per-token sums (MODELED from MEASURED per-tensor times). Adding the isolated per-tensor times of every FP8 linear and the head, weighted by how many times each runs per token:

Linears and output headms per token (MODELED)
v1 FP8 kernel, BF16 head12.2
q4gemv_d8r2 linears, BF16 head4.99
q4gemv_d8r2 linears, 4-bit head4.44

The 4-bit sum is 2.75 times smaller than the v1 FP8 one. Against its own floor, 2.93 ms per token for candidate A's bytes (which keep the head in BF16) at 5.3 TB/s, the 4-bit sum with the same BF16 head is 1.70 times; that it is below the 5.08 ms FP8 bound only reflects reading fewer bytes. v2b2, the fastest FP8 kernel in section 5, was not timed by this method, so the 2.75 ratio is against the older kernel. These sums leave out the launch gaps between dispatches and every kernel that is not a matrix product (delta-net state update, attention, norms, residual, SiLU, argmax), and assume back-to-back dispatches behave like the tiled measurement. Two inputs are filled, not measured: the FP8 time of MLP gate uses MLP up's (same shape; its own launch hung), and the value projection uses the key projection's (same shape, not run). They are not a decode time; no 4-bit model step has run.

Finding: the whole step is about twice its matrix kernels. Against the isolated FP8 sum of 12.2 ms, the measured whole decode step of section 5 is 2.21 times larger for the full plan (27.007 ms) and 1.72 times for v1all (20.968 ms). Inside the plan, the inserted-copy method of section 5 puts the same FP8 matrix-vector classes and the BF16 head at 16.36 ms per step, so the matrix kernels themselves run slower in the plan than isolated, and the rest of the step is the non-matrix kernels, launch and host time. The isolated sums and the plan measurements come from different sessions and methods, so this is a ratio of estimates, not a decomposition of one step. It means that faster weight kernels alone, 4-bit or not, cannot bring the step near its floor: the non-matrix kernels and the gaps between dispatches must shrink too.

Quality, IN PROGRESS (CPU; result not in this report). The bar was frozen before any 4-bit result existed (sha256 3ac61cf9...): perplexity ratio at most 1.03 on WikiText-2, top-1 agreement with FP8 at least 94 percent over 2,326 positions and 95 percent on the generated positions, mean KL at most 0.05 nats, ARC-100 loss at most 3 items. The CPU arms fp8 and q4 had not finished on the Spark when this report was written. If q4 fails, candidate B keeps the delta-net input projections in FP8.

7. Several tokens per pass

State: the cost of extra rows MEASURED for the FP8 kernel on the card; the speculative step on the card to be done when equipment is available. Design, CPU gates and acceptance measurement, varied prompts included, COMPLETE.

Idea. The checkpoint ships a one-layer multi-token-prediction head. Each pass feeds the last token and k drafts through the 64 layers together, keeps the longest prefix of drafts equal to the model's own greedy choice, and emits those plus one more. Output equals plain greedy by construction: every row's arithmetic is bit-identical to the one-row kernels.

Acceptance (MEASURED on a CPU float32 reference, lighthouse request, published AMD ids):

Drafterk = 1k = 2k = 3best
model's head, full BF16 output1.7182.1512.372.462
model's head, 32,768-id shortlist1.622.0162.1692.246

Tokens per pass. Acceptance stops growing after about three drafts. On six varied prompts (code, a word problem, a list of facts, a translation, a short story, JSON; 96 tokens each, free-run on the same CPU reference) the head gives 1.71 to 1.96 tokens per pass at k = 1 (MEASURED, spec-decode/acceptance/accept-mtp-freerun.json).

Gated on the CPU (seeded Omega and the seeded gfx942 executor, hardware NOT_RUN): the pass decision (304,470 cases, 5 of 5 mutants caught; spec-decode/om/gate-spec-results.json); a three-state model proving speculative output equals greedy for k = 1 to 8 (576 runs, 8 of 8 mutants caught; spec-decode/om/gate-loop-results.json); R-row FP8 and BF16 matrix-vector kernels that load weights once and match the one-row kernels bit for bit (s2-run6); ring-buffered convolution and state kernels (s2b-conv-run3, s2b-run4); batched map kernels (s2c-run2, s2d-run2); an on-card accept kernel (s3a-run1). Each named run is a report.json with verdict PASS under spec-decode/kernels/.

What it would give (MODELED). With today's kernels the per-row work that is not a matrix-vector product is 5.33 ms per row after the batching built, 3.1 ms of it the state update. The lane's model puts the best case at 18.3 ms per token (extra rows free in the matrix-vector kernels) and 22.8 ms if each extra row costs 30 percent more there, against its 26.309 ms anchor. The cost of extra rows on the card is the first measurement needed. A run in session 3a2e29e5 measured the FP8 kernel (MEASURED, R-row variant of fp8gemv_b128f on an 81920x5120 matrix built by the timing script, not checkpoint weights, median per dispatch of five trials, host clock; rho is the extra time per added row as a fraction of the one-row time, (t_R / t_1 - 1) / (R - 1)):

Rows Rus per dispatchrhoEach row's output against the one-row kernel
1198.592
2260.80.3132bit-identical
3345.1570.369bit-identical
8739.8620.3894bit-identical

The BF16 output head ran at R = 1 only (798.018 us); its R > 1 rows and the whole speculative step (S4) are NOT_RUN. With this measured rho applied to every matrix-vector kernel, the lane's model (MODELED, spec-decode/model/wolfram.md Q10 and Q11) gives 22.922 ms per token at k = 1 against its 26.309 ms anchor, 1.148 times faster, and 25.472 ms at k = 2: more drafts cost more than they gain, because each extra row repeats the per-row work that is not a matrix-vector product. Over the six varied prompts the same model gives 1.14 to 1.31 times faster at k = 1 (MODELED, Q12; the essay slowest, code fastest). These are unreviewed measurements from one session, and the model's anchor is the v1 kernels, not the faster combined arms of section 5. Since this section was first written the lane has built and CPU-gated: on local branch spec-decode2 (unreviewed), the multi-token host loop in the launcher (312 checks, 0 failures at commit f859c88f; raw/amd-report/extracted/spark-logs-20261114/hostloop-gate-final-20261114T022658Z.log); and, in gate reports that name no branch, the per-row position and draft hand-over kernels (spec-decode/kernels/s3c-pos-run1, s3c-select-run1) and a whole-pass gate in which the emitted R = 2, R = 3 and head-drafter plans give the plain plan's ids on two prompts with all 8 required wiring mutants caught, 48 rows of which 47 pass (spec-decode/s3c/run3/report.json and run3.log). One further, non-required mutant (accept-after-mismatch in spec_accept_r3) is not caught by this whole-pass gate on either prompt: run3.log line 105 labels it "caught" in error, with caught_by false for both prompts. The accept kernel's own gate catches it (76 of 400 cases fail, spec-decode/kernels/s3a-run1/report.json). The R-row plan emitter (it reproduces the published plan byte for byte at R = 1) is quoted from spec-decode/RESULT.md, a lane note not in this folder. Drafts 2 to k from the head are not built.

8. Eight cards

State: design only. Hardware NOT_RUN by the author's decision of 14 November: the AMD effort is one MI300X, as fast as it can go, and no money is spent on a multi-card machine.

What exists: a design that splits each layer across 2, 4 or 8 cards by output rows ("exact" mode, bit-identical to one card) or by the Megatron column-then-row split ("fast" mode, changes summation order); a KFD topology scan, peer-memory mapping and exchange protocol in seeded Omega; and a host gate, MCGATE PASS cases=203, on Linux AArch64 and on x86-64 under QEMU (emulated, not native). Nothing has opened a real multi-card /dev/kfd. The model puts the 8-bit weight floor on 8 cards at 0.639 ms per token before exchange costs. The lane's own model also says that once per-card kernels reach 80 percent of peak bandwidth, a host-mediated exchange at the measured 29 us round trip makes 2, 4 or 8 cards slower than one in exact mode. This section stays as design. Files: multi-card/DESIGN.md and its Wolfram queries multi-card/model/WOLFRAM.md, whose line 7 points to ACCESS.md, a lane note not in this folder; the 5.3 TB/s cited there is AMD's figure, as quoted in BRIEF.md line 75.

9. Correctness

State: COMPLETE for every run in this report.

10. What this does not show

11. How to repeat

Each x86 launcher (sha256 prefix), the commit it was built from and the card runs that used it:

LauncherCommitWhere this folder ties themCard runs that used it
08a50491CUDApp dc536882 (published)amd-launch-gap/src/CUDApp-base/evidence/published run 76e03a28; repeat 46d1b9c5; the plan arm of runs 1 to 3; arm A of the combined run 6e585e21; kernel sessions 7605956f and e787e65d; 4-bit rerun c715b669; extra-row session 3a2e29e5
78e09581not recorded in this folderamd-launch-gap/card/final/logs/gap-run.sh line 14, run.log line 204run 1, 52ef268c (plan2, planscope, planstage)
de67f27e9076c537, squashed as 139bb6a9amd-kernel-speed/combined/card-2026-11-14T0206Z/README.md lines 7 to 8run 2, e8cddcb1 (plan2, plan3); arms B to E2 of the combined run 6e585e21
a6aee5efd957526eamd-launch-gap/HANG-20261114.md line 20; amd-launch-gap/build-r14-spark-gate.log line 317run 3, 7f66e322 (plan3, plan3c, plan3t)
657db853not recorded in this folderamd-launch-gap/build-r15-spark-gate.log line 317; amd-launch-gap/card/bundle4/gap-run4.sh line 11none: run 4 is prepared
8b6005e894af5a38amd-launch-gap/build-r16-spark-gate-94af5a38.log (file name, line 327)none: node selection, CPU gate only

12. Card sessions

Every MI300X session behind this report. The UTC start is encoded in the session name. Hashes are of the evidence file as kept; where a lane recorded the card-side hash of a tarball, the two are equal.

SessionUTC startLaneWhat ranState
bb2a389c2026-11-13T07:22:40Zearlier qualification (Main)launcher 373e76cd, warmup + 5 lighthouse runsCOMPLETE
5a0c78a12026-11-13T08:00:38Zearlier qualification (Main)launcher f646ea5d, warmup + 5 lighthouse runsCOMPLETE
76e03a282026-11-13T10:10:13Zpublished run (Main)launcher 08a50491, warmup + 5 lighthouse runs, controlsCOMPLETE
46d1b9c52026-11-13T18:50:25ZUXL brief repeat (Main)public-clone repeat, HIP graph, PyTorch FP8, stock BF16, controlCOMPLETE
7605956f2026-11-13T23:27:37ZGpuBenchSyncper-kernel timing, first build of the cellsCOMPLETE
e787e65d2026-11-14T00:15:49ZAmdKernelSpeedper-kernel timing, v2 kernels, cap286, v1all ladderCOMPLETE
52ef268c2026-11-14T00:50:45ZAmdLaunchGaprun 1: plan, plan2, planscope, planstage, HIP graph, controlsCOMPLETE
f591aa442026-11-14T01:18:36ZFourBitq4gemv_d8 and q4gemv_d8r2 bit checks and timing; ended early at about 01:26Z (section 13)PARTIAL: 5 of 10 shapes
e8cddcb12026-11-14T01:26:02ZAmdLaunchGaprun 2: plan, plan3, HIP graph, plan3 control, plan2COMPLETE
c715b6692026-11-14T01:45:16ZFourBitrerun: q4gemv_d8, q4gemv_d8r2 and FP8/BF16 baseline on 10 shapes, two launches hung and were killedCOMPLETE for the 4-bit rerun, 2 timings missing
6e585e212026-11-14T02:05:44ZAmdKernelSpeedcombined run: 7 arms (launcher, v2 kernels, FP8 v2b1/v2b2, cap286) x 3 interleaved runs, controlCOMPLETE
7f66e3222026-11-14T02:23:48ZAmdLaunchGaprun 3: launch micro-benchmark; 9 paired cycles plan3, plan3c, HIP; plan3t phases; published launcher; controlCOMPLETE
3a2e29e52026-11-14T02:52:37ZSpecDecode2extra-row timing of the R-row kernels (fp8 R=1,2,3,8; bf16 R=1)PARTIAL: BF16 rows at R > 1 and the speculative step not reached

Evidence file and hash for each session (full session name; paths under raw/):

SessionEvidencesha256
jupyter-user-261113072240-bb2a389camd-launch-gap/src/CUDApp-base/evidence/amd-qwen38-native-final-20261113/host/qualification.jsona836b11106efb5060fdae656996fb98caaf89445efea65a89fef345b64d68b29
jupyter-user-261113080038-5a0c78a1amd-launch-gap/src/CUDApp-base/evidence/amd-qwen38-native-compatible-20261113/host/qualification.jsone35dead2c6ec31829176815dc5b3a962357563521b467a3fd4dbcae84011b4e0
jupyter-user-261113101013-76e03a28amd-launch-gap/src/CUDApp-base/evidence/amd-qwen38-native-refusal-20261113/host/qualification.json57b382fe3943be5be7af42838c5aa8493611b1cd0dac931502409b39b856ab7c
jupyter-user-261113185025-46d1b9c5card-evidence/uxl-evidence.tar.gz94940b02854c2c9c07a41fe27d3a7107940f284d3f099b6ba6533b42104a7ac7
jupyter-user-261113232737-7605956famd-kernel-speed/card/GpuBenchSync-20261113T232737Z/aks-results.tar.gzd6502d8957495f25a0ae56ae2f74a020903c733295a9d33d45e3501e47eb9be6
jupyter-user-261114001549-e787e65damd-kernel-speed/card/261114001549-e787e65d/aks-results.tar.gz9894a97b9ddaa78c688aace5ce2d16814f435cadad0dbf43df6b77da3285baf2
jupyter-user-261114005045-52ef268camd-launch-gap/card/gap-evidence.tar.gz3af4ee59322e06773d26cb1caace5ea85628a7c473d3a394e6ec541d5e9000b0
jupyter-user-261114011836-f591aa44four-bit/evidence/card-partial-20261114/card_q4.log.partialdbb33379bef1ac6c7267e7d043d832c3e395231fab3d6b0376157143377c795d
jupyter-user-261114012602-e8cddcb1amd-launch-gap/card/run2/gap-evidence.tar.gz8471a458c97f4339e4ff0b5b20449ac124cf91db0dfc732aaae4754b421a73ec
jupyter-user-261114014516-c715b669four-bit/evidence/card-20261114/q4card.tar.gz24f6cc267888bb2e175acd51b18419bfa13ad071f8056b7b270ed5398e206c01
jupyter-user-261114020544-6e585e21amd-kernel-speed/combined/card-2026-11-14T0206Z/akc-results.tar.gz493d6c29b79c7474659a9f69f877dcd8b597ffbb95a03b8230c5d21d57da9cee
jupyter-user-261114022348-7f66e322amd-launch-gap/card/run3/gap-evidence.tar.gzde086a5e56e56ce949615e9ff6158e7a327d1f4c798264a8d75df23c125e9af3
jupyter-user-261114025237-3a2e29e5spec-decode/card-s4/results/jupyter-user-261114025237-3a2e29e5/rho-results.jsona136ad815610edacf15a6694dcf833e6dd20a59bd18c5b509f8d08c0da7c8c51

13. Runs with missing results

State: facts from the raw logs. None of these changes a number in this report; each missing result is named where it would have appeared.

14. Review

State: three end reviews were made of earlier versions of this report, each by a fresh agent with no memory or past-session tools, given only the review packet. Their findings are applied, except those about material the author chose to leave out of this publication. Reviewers: AI models; the first and third were Claude models made by Anthropic (model ids claude-fable-5-2 and claude-opus-5-5), the same model family as the agents that wrote this report. The first reported that every headline number reproduces from the raw card logs, both by the packet's recompute and by its own independent script; the third, that every number reproduces byte for byte from the raw logs. None of the branches behind sections 4 to 8 has had its final review, and nothing is landed.