submission_id
int64
513k
755k
leaderboard_id
int64
763
765
problem_name
large_stringclasses
3 values
user_id
large_stringclasses
737 values
user_name
large_stringclasses
729 values
code_id
int64
2.94k
446k
file_name
large_stringlengths
4
115
submission_time
timestamp[us, tz=UTC]date
2026-03-06 17:01:06
2026-04-07 07:58:55
status
large_stringclasses
6 values
score
float64
0
1.74
⌀
passed
bool
2 classes
mode
large_stringclasses
1 value
runner
large_stringclasses
1 value
code
large_stringlengths
6
950k
754,087
765
amd-mixed-mla
51903518
Amo-Zeng
445,432
submission.py
2026-04-07T01:45:33.394688Z
succeeded
0.000008
true
leaderboard
MI355X
# gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_head_dim = kv_lora_rank = 512. The input provides: q: ...
753,797
765
amd-mixed-mla
67768263
Barry_zhang
442,931
submission-040501.py
2026-04-07T00:01:17.664536Z
succeeded
0.000015
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ MLA — Skip-amax with pg2 for kv<=1024 (dice roll version). Same as mla_skip_amax.py that scored 38.7μs ranked. 67% pass rate on secret seeds. Keep submitting this to leaderboard every hour — each attempt is independent. When it passes, you lock in ~38μs. ""...
754,992
765
amd-mixed-mla
5554649
josusanmartin
445,806
v033b.py
2026-04-07T06:36:26.395848Z
succeeded
0.000021
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V033b: v029n + Triton fused init kernel for 8K shapes. Replace zero_() + fill_(-inf) with one Triton kernel that does both. Saves ~1.5us dispatch overhead per 8K shape (4 ops -> 3 ops).""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.enviro...
736,894
765
amd-mixed-mla
171488486
NinoHeather
433,933
my_submission_refact.py
2026-04-05T14:22:29.862243Z
succeeded
0.000022
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X import os import torch from task import input_t, output_t from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadata_v1 from aiter import mla_decode_stage1_asm_fwd, mla_reduce_v1 from aiter.mla import mla_decode_fwd H...
753,463
765
amd-mixed-mla
5554649
josusanmartin
439,126
v031n.py
2026-04-06T22:33:17.393917Z
succeeded
0.000022
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V031n: Best hybrid — _fwd for 4/32/256x1K, persistent for 64x1K, NP for 8K. v031j showed _fwd is 5.9us faster for 256x1K (41.0 vs 46.9). But 64x1K is 0.5us worse with _fwd (25.1 vs 24.6). Cherry-pick: _fwd for 256x1K, persistent for 64x1K.""" import os os.envi...
736,348
765
amd-mixed-mla
5554649
josusanmartin
391,843
v029n.py
2026-04-05T13:31:03.525598Z
succeeded
0.000022
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V029n: Push ALL 8K shapes to maximum page sizes. - 4x8K: ps=2048 (8192/2048=4 pages, 4*4=16 total) - 32x8K: ps=1024 (8192/1024=8 pages, 32*8=256 total) - 64x8K: ps=512 (8192/512=16 pages, 64*16=1024 total) - 256x8K: ps=2048 (proven in v029b leaderboard) 1K sha...
754,596
765
amd-mixed-mla
5554649
josusanmartin
438,760
v031k.py
2026-04-07T04:35:23.460286Z
succeeded
0.000022
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V031k: v029n but try intra=False for 256x1K. Previous notes say 'same or worse' but let's verify with current base. Also try kg=4 for 256x1K (our 64x1K uses kg=4 and is good).""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefau...
675,586
765
amd-mixed-mla
5554649
josusanmartin
391,326
v029b.py
2026-03-31T00:21:59.340818Z
succeeded
0.000023
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V029b: v027m + 256x8K ps=2048. Fresh namespace copy of the deepest 256x8K page ladder point on top of safe v027m.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASL...
675,331
765
amd-mixed-mla
5554649
josusanmartin
391,305
v029a.py
2026-03-30T23:20:14.131115Z
succeeded
0.000023
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V029a: v027m + 256x8K ps=1024. Fresh namespace copy of the deep 256x8K page ladder on top of the now-safe v027m stack.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIP...
673,583
765
amd-mixed-mla
5554649
josusanmartin
389,988
v028k.py
2026-03-30T16:42:35.942461Z
succeeded
0.000023
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V028k: v027l + 256x8K ps=256 isolate. Keep the safe v027l stack everywhere else. Push only 256x8K one step beyond the already-benchmark-valid ps=128 point.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPA...
675,102
765
amd-mixed-mla
5554649
josusanmartin
390,361
v028m.py
2026-03-30T22:19:55.327769Z
succeeded
0.000023
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V028m: v027m + 256x8K ps=256. Start from the now-safe v027m stack and push only 256x8K one page step further.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASLT_AL...
673,003
765
amd-mixed-mla
5554649
josusanmartin
388,584
v027m.py
2026-03-30T15:02:00.979214Z
succeeded
0.000024
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V027m: v027l but push 256x8K to ps=128 and try 256x1K persistent intra=True kg=2. 256x8K: ps=128 (was ps=64 at 26.4us, should drop to ~18us like other 8K) 256x1K: try persistent intra=True split=1 kg=2 (smaller granularity)""" import os os.environ.setdefault("...
670,980
765
amd-mixed-mla
5554649
josusanmartin
388,539
v027l.py
2026-03-30T10:06:38.266869Z
succeeded
0.000024
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V027l: Cherry-pick best configs: - 64x1K: persistent intra=True split=1 kg=4 (24.4us from v027k, was 27.3) - 256x1K: persistent intra=False split=1 kg=8 (43.7us from v027i, better than v027k) - All 8K: NP ns=1 large ps (proven in v027i leaderboard)""" import o...
670,399
765
amd-mixed-mla
5554649
josusanmartin
388,040
v027i.py
2026-03-30T08:04:25.249848Z
succeeded
0.000024
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V027i: v027h + add 64x8K NP ns=1 ps=128. v027h passed ranked with 4+32x8K NP ps=128. Now add 64x8K too. 64x8K was 33.9us persistent in v027h. NP ps=128 should be ~18us. v027b (all 8K NP) failed ranked — isolating whether 64x8K is the culprit.""" import os os.e...
670,118
765
amd-mixed-mla
5554649
josusanmartin
387,807
v027h.py
2026-03-30T07:03:39.567965Z
succeeded
0.000026
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V027h: v026o plus 4x8K and 32x8K NP ns=1 ps=128 direct output. Keep 64x8K persistent while grafting the two smaller 8K rows from v027b.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.enviro...
669,133
765
amd-mixed-mla
5554649
josusanmartin
387,419
v026o.py
2026-03-30T04:01:34.002600Z
succeeded
0.000027
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V026o: SAFE version of v026l. 256x8K NP ns=1 ps=64 (fastest!). 64x8K reverted to PERSISTENT (NP ns=2 failed ranked at seed 1360). 32x8K: NP ns=3 + Triton reduce (frozen from v025h).""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.se...
755,173
765
amd-mixed-mla
103906690925649842288
Danny Estenberg
446,072
attempt_v103.py
2026-04-07T07:41:44.485321Z
succeeded
0.000029
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X import os if "PYTORCH_ROCM_ARCH" not in os.environ: os.environ["PYTORCH_ROCM_ARCH"] = "gfx950" import torch from torch.utils.cpp_extension import load_inline from task import input_t, output_t NUM_HEADS = 16 KV_LORA_RANK = 512 QK_ROPE_HEAD_DIM = 64 QK_HEAD...
749,874
765
amd-mixed-mla
874282040814600203
John Hahn
441,097
submission.py
2026-04-06T14:38:59.551791Z
succeeded
0.000029
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v506: Based on v505. Add tp=4 (nhead=32) support with macro-based dispatch. On first call per config: registers C++ state, caches KV pointers. On subsequent calls with same data: dispatch_cached(key) skips all tensor argument parsing, dict lookups, and data...
693,347
765
amd-mixed-mla
874282040814600203
John Hahn
403,833
submission.py
2026-04-01T21:53:22.198407Z
succeeded
0.000029
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v506: Based on v505. Add tp=4 (nhead=32) support with macro-based dispatch. On first call per config: registers C++ state, caches KV pointers. On subsequent calls with same data: dispatch_cached(key) skips all tensor argument parsing, dict lookups, and data...
701,761
765
amd-mixed-mla
874282040814600203
John Hahn
406,978
submission.py
2026-04-02T15:08:18.301393Z
succeeded
0.000029
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v506: Based on v505. Add tp=4 (nhead=32) support with macro-based dispatch. On first call per config: registers C++ state, caches KV pointers. On subsequent calls with same data: dispatch_cached(key) skips all tensor argument parsing, dict lookups, and data...
755,183
765
amd-mixed-mla
100126016156253279883
Will Fisher
446,072
attempt_v103.py
2026-04-07T07:47:01.335328Z
succeeded
0.000029
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X import os if "PYTORCH_ROCM_ARCH" not in os.environ: os.environ["PYTORCH_ROCM_ARCH"] = "gfx950" import torch from torch.utils.cpp_extension import load_inline from task import input_t, output_t NUM_HEADS = 16 KV_LORA_RANK = 512 QK_ROPE_HEAD_DIM = 64 QK_HEAD...
742,733
765
amd-mixed-mla
782440
LunNova
437,009
sub_all_a1.py
2026-04-06T00:32:40.007096Z
succeeded
0.000029
true
leaderboard
MI355X
""" mixed custom×aiter 4x1024: bf16 splitk (triton_flash_v1) 4x8192: fp8 splitk (mk19g_c) 32x1024: fp8 splitk (mk19_FINAL_c) ~~32x8192: fp8 splitk mk19f (champ, 74.4µs)~~ aiter 64x1024: fp8 splitk (mk1a_c) ~~64x8192: fp8 splitk mk1a (champ, 124.3µs)~~ aiter 256x1024: fp8 stage1 splitk (hip_v17_mk1g) ~~256x8192:...
748,977
765
amd-mixed-mla
124847097
Jingze
428,569
submission_triton.py
2026-04-06T13:02:00.607673Z
succeeded
0.00003
true
leaderboard
MI355X
from typing import Any, Optional, Tuple import math import os import shutil import statistics import time import torch import triton import triton.language as tl @triton.jit def remap_xcd(pid, GRID_MN, NUM_XCDS: tl.constexpr = 8): ## pid remapping on xcds # Number of pids per XCD in the new arrangement p...
743,988
765
amd-mixed-mla
7123044
mmk150
438,886
sub_mla_final.py
2026-04-06T02:41:43.192467Z
succeeded
0.00003
true
leaderboard
MI355X
import torch import triton import triton.language as tl from task import input_t, output_t from aiter.mla import mla_decode_fwd from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadata_v1 QK_HEAD_DIM = 576 V_HEAD_DIM = 512 ROPE_DIM = 64 NOPE_DIM = 512 NUM_HEADS = 16 SM_SCAL...
662,770
765
amd-mixed-mla
5554649
josusanmartin
382,133
v023m.py
2026-03-29T08:25:45.916248Z
succeeded
0.000031
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V023m: v023a plus single-block fused minimal-correct 256x8k init, 1 warp.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASLT_ALLOW_FLUSH_DENORM", "1") os.environ.s...
661,294
765
amd-mixed-mla
5554649
josusanmartin
381,447
v023a.py
2026-03-29T04:15:53.292628Z
succeeded
0.000031
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V023a: v022o plus lighter custom 32x8k Triton stage2 launch.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASLT_ALLOW_FLUSH_DENORM", "1") os.environ.setdefault("GP...
754,421
765
amd-mixed-mla
1479806814731239445
divc13
443,622
submission_v157b.py
2026-04-07T03:36:45.713834Z
succeeded
0.000031
true
leaderboard
MI355X
"""MLA decode Triton v157b: v156 + allow_flush_denorm=True only. v157 (also + sanitize_overflow=False) hit CI 17min timeout twice. Split: test denormal FTZ alone (LLVM denormal-fp-math-f32=preserve-sign). """ import torch import triton import triton.language as tl from task import input_t, output_t NUM_HEADS = 16 KV...
754,926
765
amd-mixed-mla
22185413
ftyghome
445,935
submission.py
2026-04-07T06:13:20.400749Z
succeeded
0.000031
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla import base64 import os import pathlib import zlib import torch from torch.utils.cpp_extension import load_inline from task import input_t, output_t os.environ.setdefault("HSA_XNACK", "0") os.environ.setdefault("PYTORCH_ROCM_ARCH", "gfx950:xnack-") os.environ.setdefault("TORCH_EXT...
637,218
765
amd-mixed-mla
5554649
josusanmartin
365,916
v013j.py
2026-03-26T05:16:54.867432Z
succeeded
0.000031
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V013j: v012w plus only 32x8k direct path uses split_override=3.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") import torch import triton import triton.language as tl from task import inpu...
645,153
765
amd-mixed-mla
5554649
josusanmartin
370,843
cand_v1282a.py
2026-03-27T05:23:57.876055Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1282a: Cherry-pick confirmed improvements. - 32×8K: split=3 (-1.6µs from v1280a) - 64×1K: intra=True split=1 (-3.3µs from v1277a! No reduce needed!) - 256×1K: keep intra=False split=2 (intra=True was worse) - 256×8K: keep default (manual splits all worse)""" ...
649,623
765
amd-mixed-mla
5554649
josusanmartin
372,937
v016c.py
2026-03-27T18:28:04.116140Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V016c: safe v1271-style routing with 64x1k intra=False split=3 only.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASLT_ALLOW_FLUSH_DENORM", "1") import torch, tri...
642,377
765
amd-mixed-mla
5554649
josusanmartin
368,490
v1267.py
2026-03-26T21:52:43.079510Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1267: v1266 + HIPBLASLT_ALLOW_FLUSH_DENORM=1 (from v013v). Flush denorm may improve precision and speed.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASLT_ALLOW_...
747,749
765
amd-mixed-mla
1479806814731239445
divc13
441,301
submission_v145.py
2026-04-06T10:29:02.802847Z
succeeded
0.000032
true
leaderboard
MI355X
"""MLA decode Triton v145: v144 refinement — selective NUM_TILES + no .wt. v144 showed: tiles=1,4 improved (-4 to -6%), tiles=16,64 regressed (+1-2%). Changes from v144: 1. Only set NUM_TILES constexpr for small tile counts (<=4). Large tile counts use NUM_TILES=0 (dynamic loop) to avoid compiler over-scheduling...
653,095
765
amd-mixed-mla
5554649
josusanmartin
371,827
cand_v1285a.py
2026-03-28T05:47:29.170851Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1285a: v1267 + ONLY 64×1K intra=True split=2. No 32×8K changes. 32×8K split=3 caused memory corruption on leaderboard (v1284a). Keep v1267 defaults.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", ...
755,102
765
amd-mixed-mla
106760756
Law1912
446,036
svm.py
2026-04-07T07:07:56.732949Z
timed_out
0.000032
true
leaderboard
MI355X
"""Two-pass grouped FP8 attention for decode with log-sum-exp merging.""" import torch import triton import triton.language as tl from task import input_t, output_t _H, _DQ, _DL, _DV = 16, 576, 512, 512 _PARTITION_MAP = [ (4, 1024, 16), (4, 8192, 32), (32, 1024, 4), (32, 8192, 8), (64, 1024, 4), (64, 819...
746,709
765
amd-mixed-mla
1479806814731239445
divc13
440,193
submission_v140.py
2026-04-06T08:10:39.457918Z
succeeded
0.000032
true
leaderboard
MI355X
"""MLA decode Triton v140: v135 + separated LSE tensor (stride=512). Isolates the separated tensor layout from v138 (which also changed stage2 nw=2). Keeps stage2 nw=4 to avoid the bs32/kv8k regression. mid_acc: [batch, heads, splits, 512] stride=512 (power of 2, shift) mid_lse: [batch, heads, splits] separate ...
702,682
765
amd-mixed-mla
69537135
Danishlynx
409,959
submission.py
2026-04-02T16:54:55.940560Z
succeeded
0.000032
true
leaderboard
MI355X
# /// script # leaderboard = "amd-mixed-mla" # /// """v96: pg8 for ALL 8192 shapes. (4,8192) ns=4 optimal (25.2us, -4.3us from pg4). Dead FP4 removed. ctypes BF16->FP8 on PyTorch's default queue. """ import os, sys, ctypes, struct, base64 os.environ["HIP_FORCE_DEV_KERNARG"] = "1" import torch import aiter from task imp...
648,412
765
amd-mixed-mla
874282040814600203
John Hahn
371,909
v36_pg2_hybrid.py
2026-03-27T14:36:06.425933Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v36_pg2_hybrid: ps=2 for kv=1024 with per-case kv_granularity. - kv=1024: ps=2, kv_granularity=2 (huge speedup, especially bs=256: 67→45µs) - kv=8192: ps=8, kv_granularity=16 (keep original, kvgran=8 regressed bs=4) """ import torch from task import input_t,...
664,428
765
amd-mixed-mla
5554649
josusanmartin
383,716
v024x.py
2026-03-29T13:26:45.071690Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V024x: v023h plus fast 1k stack and fused minimal-correct 256x8k init.""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.environ.setdefault("HIPBLASLT_ALLOW_FLUSH_DENORM", "1") os.environ.setd...
662,415
765
amd-mixed-mla
5554649
josusanmartin
382,459
v023h.py
2026-03-29T07:16:58.971544Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V023h: ONLY 256x8K uses NP ns=1 (the big win). 32x8K/64x8K stay persistent. Ranked failure was 32x8K NP ns=3, NOT 256x8K. So isolate 256x8K NP only. 64x1K uses split=2/intraT (our proven config).""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1")...
755,196
765
amd-mixed-mla
13750248
Ananda Sai A
446,084
submission_v252_asm_aggressive.py
2026-04-07T07:55:25.096038Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v252_asm_aggressive = v243 (direct ctypes asm-np1 launch + autotune) + v246 Triton (256,1024) + loosened autotune guard so asm wins on near-ties. Why: v243's autotune requires asm to beat PS by 0.5% (3% on (256,8192)). On the leaderboard server timing noi...
645,490
765
amd-mixed-mla
5554649
josusanmartin
371,403
cand_v1283a.py
2026-03-27T06:24:13.499096Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1283a: Safer cherry-pick. Split=1 for 64×1K caused precision failure. Use split=2 instead (still -1.1µs, more precise due to partial reduction). - 32×8K: split=3 (-1.5µs confirmed) - 64×1K: intra=True split=2 (safer than split=1, -1.1µs) - 256×1K: intra=False...
741,445
765
amd-mixed-mla
107061425576238456078
Maxwell Cipher
437,127
MLA_v5d.py
2026-04-05T22:16:30.644283Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X from __future__ import annotations import torch import triton import triton.language as tl from task import input_t, output_t from aiter.mla import mla_decode_fwd from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadat...
744,932
765
amd-mixed-mla
107061425576238456078
Maxwell Cipher
437,564
MLA_v5g.py
2026-04-06T04:27:12.457846Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X from __future__ import annotations import torch import triton import triton.language as tl from task import input_t, output_t from aiter.mla import mla_decode_fwd as _fwd from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla...
752,135
765
amd-mixed-mla
107061425576238456078
Maxwell Cipher
443,675
MLA_v5_final.py
2026-04-06T18:59:36.299705Z
timed_out
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X from __future__ import annotations import torch import triton import triton.language as tl from task import input_t, output_t from aiter.mla import mla_decode_fwd as _fwd from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla...
754,379
765
amd-mixed-mla
22185413
ftyghome
444,707
submission.py
2026-04-07T03:26:35.929251Z
succeeded
0.000032
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla import base64 import os import pathlib import zlib import torch from torch.utils.cpp_extension import load_inline from task import input_t, output_t os.environ.setdefault("HSA_XNACK", "0") os.environ.setdefault("PYTORCH_ROCM_ARCH", "gfx950:xnack-") os.environ.setdefault("TORCH_EXT...
742,458
765
amd-mixed-mla
13750248
Ananda Sai A
437,828
submission_v224.py
2026-04-06T00:03:04.487555Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v224 """ import math import torch from task import input_t, output_t from aiter.mla import mla_decode_fwd from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadata_v1 NUM_HEADS = 16 NUM_KV_HEADS = 1 QK_HEAD_DIM =...
754,366
765
amd-mixed-mla
13750248
Ananda Sai A
444,924
submission_v246_onego_256triton.py
2026-04-07T03:24:14.725126Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v246_onego_256triton One-go architecture: - Keep known-strong v243/v224-style persistent path for non-256 shapes. - Use a dedicated Triton 256-only FP8 split-K path with reduced register pressure: - head tiling (BLOCK_H=8) - V tiling (BLOCK_DV=128) - s...
745,253
765
amd-mixed-mla
1488875422019096637
augustus2024
436,398
submission_v409.py
2026-04-06T05:08:27.392021Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V409 — V400 configs + kf.view cache + last_fk. NO Q cache (causes fail). Q cache is unsafe: benchmark reuses same tensor with different data.""" import os os.environ["HIP_FORCE_DEV_KERNARG"]="1";os.environ["HSA_ENABLE_SDMA"]="0" import torch from task import i...
739,598
765
amd-mixed-mla
451405244585476096
johnny.t.shi
358,253
v61.py
2026-04-05T18:47:58.606717Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """MLA v61 — v60 + split tuning + a8w8 for bs=64/kv=1024. Changes from v60: 1. bs=64/kv=1024: FP8 NP splits=1 → a8w8 ps=2 splits=16 2. bs=64/kv=8192: splits 4→8 3. bs=256/kv=8192: splits 4→8 """ from task import input_t, output_t import torch from aiter.mla impo...
751,073
765
amd-mixed-mla
1489638608619962391
mars-compute
439,985
submission_v2.py
2026-04-06T16:58:10.595928Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V409 — V400 configs + kf.view cache + last_fk. NO Q cache (causes fail). Q cache is unsafe: benchmark reuses same tensor with different data.""" import os os.environ["HIP_FORCE_DEV_KERNARG"]="1";os.environ["HSA_ENABLE_SDMA"]="0" import torch from task import i...
745,692
765
amd-mixed-mla
1479806814731239445
divc13
439,936
submission_v135.py
2026-04-06T06:06:17.035698Z
succeeded
0.000033
true
leaderboard
MI355X
"""MLA decode Triton v135: constexpr strides. All tensor strides are known constants. Making them constexprs: - Enables shift+add instead of multiply for address calculations (stride_kvt=576=2^9+2^6, used 128x per tile) - Eliminates 8 SGPR loads at kernel entry - Reduces kernel arguments from 16→8 (stage1), 9→4 (sta...
700,499
765
amd-mixed-mla
69537135
Danishlynx
396,295
submission.py
2026-04-02T13:05:53.724141Z
succeeded
0.000033
true
leaderboard
MI355X
# /// script # leaderboard = "amd-mixed-mla" # /// """v96: pg8 for ALL 8192 shapes. (4,8192) ns=4 optimal (25.2us, -4.3us from pg4). Dead FP4 removed. ctypes BF16->FP8 on PyTorch's default queue. """ import os, sys, ctypes, struct, base64 os.environ["HIP_FORCE_DEV_KERNARG"] = "1" import torch import aiter from task imp...
618,775
765
amd-mixed-mla
52249105
Nicky Pochinkov
349,955
submission-v1774310923.py
2026-03-24T00:08:49.410714Z
succeeded
0.000033
true
leaderboard
MI355X
""" Attempt 502: Ultra-conservative safe config. Uses persistent mode for ALL cases EXCEPT bs=4 (where NP is proven safe). This maximizes leaderboard safety at potential cost to benchmark speed. Based on 404 safe config but even more conservative: - NP only for bs=4 (both kv lengths) - Persistent for ALL bs>=32 cases...
723,187
765
amd-mixed-mla
61266184
Hamza
424,277
submission.py
2026-04-04T12:17:10.435618Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
722,157
765
amd-mixed-mla
61266184
Hamza
422,740
submission.py
2026-04-04T10:12:11.062281Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
690,773
765
amd-mixed-mla
52249105
Nicky Pochinkov
401,928
submission-v1775057598.py
2026-04-01T16:02:25.751372Z
succeeded
0.000033
true
leaderboard
MI355X
""" Attempt 736: max-autotune with MODULE-LEVEL warmup (not first-call warmup). Key insight: In 728/733, autotuning happened during benchmark timed iterations because the warmup was triggered by the first custom_kernel call. But the benchmark harness times custom_kernel calls. Fix: Trigger compilation+autotuning at M...
744,064
765
amd-mixed-mla
61266184
Hamza
433,474
submission.py
2026-04-06T02:47:56.788626Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
657,771
765
amd-mixed-mla
5554649
josusanmartin
379,801
cand_v1301a.py
2026-03-28T18:56:06.017887Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1301a: 256x1K uses auto_ns=1 (no split override). Auto ns=1 means no reduce! Currently we force split=2 which ADDS unnecessary reduce overhead. Also 64x1K: auto_ns=4, our split=2 is LOWER than auto — test auto instead.""" import os os.environ.setdefault("HIP_...
753,932
765
amd-mixed-mla
52125056
guojun21
445,259
submission_v3b_kvg128_256_public.py
2026-04-07T00:49:45.231070Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ Paged MLA decode with per-shape routing, persistent ASM kernels, non-persistent fast path for small batches, and pybind reduce shortcut. """ import os as _os _os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") import gc as _gc import sys as _sys _gc.disa...
747,579
765
amd-mixed-mla
61266184
Hamza
440,190
BEST-LB-MLA.py
2026-04-06T10:08:38.155638Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
601,703
765
amd-mixed-mla
13750248
Ananda Sai A
342,651
submission_v42_pg2_fix.py
2026-03-21T05:26:15.580633Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v9: fp8+fp8 persistent + page_size>1 + fast_mode=True + 32 splits. bf16 NP for bs=4 (zero Q quant). fp8 persistent for everything else. Key insight: page_size>1 reduces indirect addressing. fast_mode speeds metadata. """ import math import torch from task im...
703,162
765
amd-mixed-mla
69537135
Danishlynx
410,550
submission.py
2026-04-02T17:56:03.992190Z
succeeded
0.000033
true
leaderboard
MI355X
# /// script # leaderboard = "amd-mixed-mla" # /// """v96: pg8 for ALL 8192 shapes. (4,8192) ns=4 optimal (25.2us, -4.3us from pg4). Dead FP4 removed. ctypes BF16->FP8 on PyTorch's default queue. """ import os, sys, ctypes, struct, base64 os.environ["HIP_FORCE_DEV_KERNARG"] = "1" import torch import aiter from task imp...
723,086
765
amd-mixed-mla
471386583166353410
.jonnss
424,072
Submission.v208.py
2026-04-04T12:07:26.403217Z
succeeded
0.000033
true
leaderboard
MI355X
# gpumode leaderboard reference """ MLA-SESSION true b4 hybrid. Keep the live `v158` runner unchanged for every non-`b4` shape. Only the two `b4` shapes get the old exact-shape-bank runner family: - `(4, 1024)` uses the `v167` exact-shape runner depth - `(4, 8192)` uses the `v173` deeper-Q-ring exact-shape runner dept...
720,258
765
amd-mixed-mla
61266184
Hamza
422,279
submission.py
2026-04-04T06:08:39.846236Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
730,678
765
amd-mixed-mla
61266184
Hamza
428,624
submission.py
2026-04-05T02:00:02.009289Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
683,433
765
amd-mixed-mla
61266184
Hamza
394,193
submission.py
2026-04-01T00:04:08.478105Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
744,389
765
amd-mixed-mla
1479806814731239445
divc13
438,885
submission_v128.py
2026-04-06T03:20:15.867633Z
succeeded
0.000033
true
leaderboard
MI355X
"""MLA decode Triton v128: uniform ns=2 + adjusted splits. Hypothesis: ns=3 forces occ1 (73KB LDS > 64KB/WG at occ2). With ns=2 (36KB LDS), all shapes run at occ2, doubling effective memory bandwidth. Trade: slightly shallower pipeline, but more concurrent wavefronts. Also: adjusted split counts to increase parallelis...
643,451
765
amd-mixed-mla
5554649
josusanmartin
369,845
v1271.py
2026-03-27T00:55:19.081235Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1271: v1267 + 64×1K split tuning. Try split=2 and split=3 for 64×1K direct. Also try intra=True for 64×1K (it's ps=2, should be fine).""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") os.enviro...
638,027
765
amd-mixed-mla
5554649
josusanmartin
366,366
submission.py
2026-03-26T07:35:43.597934Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1266: v1265 but 32×8K uses auto splits (split=3 failed ranked). Keep 64×8K split=3 (never failed). Drop 32×8K split=3 (failed v1265 ranked).""" import os os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") os.environ.setdefault("AMD_DIRECT_DISPATCH", "1") imp...
635,670
765
amd-mixed-mla
5554649
josusanmartin
364,922
submission.py
2026-03-26T00:57:48.249771Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """V1261: Best of v012g safety + v1260 ps=8 speed. NP only for 4×1K, 32×1K (safest, small batch, safe reduce patched). Persistent wrapper for 64×1K, 256×1K (from v012g — avoids NP for large batch 1K). Direct _s1+_rd ps=8 intra=False for ALL 8K (from v1260 — ps=8 ...
701,445
765
amd-mixed-mla
69537135
Danishlynx
409,304
submission_v143_sweep_optimal.py
2026-04-02T14:31:35.931310Z
succeeded
0.000033
true
leaderboard
MI355X
# /// script # leaderboard = "amd-mixed-mla" # /// """v143: Sweep-optimal configs. pg2 ns=1 for ALL 1024, pg8 for ALL 8192. Sweep showed 15.4μs kernel-only geomean. ns=1 = no reduce = massive speedup. """ import os, sys, ctypes, struct, base64 os.environ["HIP_FORCE_DEV_KERNARG"] = "1" import torch import aiter from tas...
660,501
765
amd-mixed-mla
13750248
Ananda Sai A
381,624
submission_v148_id_check.py
2026-03-29T02:18:43.509275Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v9: fp8+fp8 persistent + page_size>1 + fast_mode=True + 32 splits. bf16 NP for bs=4 (zero Q quant). fp8 persistent for everything else. Key insight: page_size>1 reduces indirect addressing. fast_mode speeds metadata. """ import math import torch from task im...
715,623
765
amd-mixed-mla
61266184
Hamza
412,957
submission.py
2026-04-03T20:05:13.782551Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
678,072
765
amd-mixed-mla
61266184
Hamza
393,004
submission.py
2026-03-31T06:55:21.257220Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
607,838
765
amd-mixed-mla
13750248
Ananda Sai A
346,663
submission_v77_kinda6_fixed.py
2026-03-22T05:28:08.542590Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X import math import aiter import torch from task import input_t, output_t from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadata_v1 from aiter.mla import get_meta_param, _fwd_kernel_stage2_asm NUM_HEADS = 16 NUM_KV...
670,975
765
amd-mixed-mla
61266184
Hamza
387,850
submission_paged.py
2026-03-30T10:06:06.765169Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ Paged MLA decode: persistent paged ASM kernels with page_size scaling. Based on #1 approach: pg4 for kv=8192 (53% faster), pg1 for kv=1024. """ import os as _os _os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") import gc as _gc import sys as _sys _gc.d...
672,590
765
amd-mixed-mla
61266184
Hamza
389,541
submission_paged.py
2026-03-30T14:16:17.128074Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ Paged MLA decode: persistent paged ASM kernels with page_size scaling. Based on #1 approach: pg4 for kv=8192 (53% faster), pg1 for kv=1024. """ import os as _os _os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") import gc as _gc import sys as _sys _gc.d...
677,054
765
amd-mixed-mla
451405244585476096
johnny.t.shi
369,747
v90.py
2026-03-31T04:22:10.586750Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """MLA v90 — v89 with bs=64/kv=1024 reverted to FP8 NP (BF16p failed leaderboard). Changes from v86: - bs=4/kv=1024: BF16 NP → BF16 persistent (-1.2µs) ← KEPT - bs=64/kv=1024: stays FP8 NP splits=1 (BF16p fails secret runner) ← REVERTED """ from task import inpu...
742,662
765
amd-mixed-mla
107061425576238456078
Maxwell Cipher
437,297
MLA_v5f.py
2026-04-06T00:27:02.154176Z
timed_out
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X from __future__ import annotations import torch import triton import triton.language as tl from task import input_t, output_t from aiter.mla import mla_decode_fwd as _fwd from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla...
694,453
765
amd-mixed-mla
61266184
Hamza
402,623
submission.py
2026-04-02T00:53:11.219725Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
703,920
765
amd-mixed-mla
61266184
Hamza
391,096
submission.py
2026-04-02T19:55:21.370467Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
741,894
765
amd-mixed-mla
13750248
Ananda Sai A
431,740
submission_v220_hybrid.py
2026-04-05T23:02:48.869228Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v220: Best-of-both-worlds — AITER fp8 persistent for all shapes. Uses v42 proven config with fast_mode=True, page_size tuning. Eliminates auto-benchmarking overhead that costs warmup time under recheck=True. v42 leaderboard best was 32.97us. This version aim...
726,161
765
amd-mixed-mla
61266184
Hamza
425,969
submission.py
2026-04-04T16:49:30.482519Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
659,221
765
amd-mixed-mla
13750248
Ananda Sai A
380,956
submission_v142_np_splits1.py
2026-03-28T23:17:08.782091Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v142: Hybrid NP + PS dispatch. Key insight: For shapes where batch parallelism saturates CUs (bs >= kv/128), use NP mode with NO metadata and NO reduce kernel. AITER auto-selects splits=1, writing directly to output in a single kernel launch. For small-batc...
720,433
765
amd-mixed-mla
471386583166353410
.jonnss
398,912
Submission.v158.py
2026-04-04T06:30:44.646638Z
succeeded
0.000033
true
leaderboard
MI355X
# gpumode leaderboard reference """ MLA-SESSION hot-path stabilization: widen buffer reuse distance. Keep the fast `v155` closure-based runner design and change one thing only: - increase the per-runner FP8 Q ring and BF16 output ring depths `MLA-SESSION.md` notes that aggressive `copy_()` timing can destabilize rank...
607,363
765
amd-mixed-mla
52249105
Nicky Pochinkov
346,505
submission-v1774147275.py
2026-03-22T03:32:55.735265Z
succeeded
0.000033
true
leaderboard
MI355X
""" Attempt 305: Try is_sparse=True for metadata scheduling. Never explicitly tested is_sparse mode. Might use different work scheduling that better handles our 16:1 MQA + non-standard 576 head dim. Uses same proven config as 094/272: ps=2 for bs>=64/kv=1024, ps=8 for kv>1024, 12 splits for kv=8192, 16 splits for kv=...
716,743
765
amd-mixed-mla
348585670329237505
ooousay
420,001
submission.py
2026-04-03T22:28:58.315254Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla """ Auto-generated by build.py ? do not edit directly. Edit the per-shape kernel.py files and re-run build.py. """ # ============================================================ # Constants # ============================================================ from aiter import dtypes as a...
620,781
765
amd-mixed-mla
13750248
Ananda Sai A
355,413
submission_v123_fastmode_16sp.py
2026-03-24T07:32:24.616799Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v9: fp8+fp8 persistent + page_size>1 + fast_mode=True + 32 splits. bf16 NP for bs=4 (zero Q quant). fp8 persistent for everything else. Key insight: page_size>1 reduces indirect addressing. fast_mode speeds metadata. """ import math import torch from task im...
700,258
765
amd-mixed-mla
471386583166353410
.jonnss
408,138
Submission.v183.py
2026-04-02T12:37:03.843587Z
succeeded
0.000033
true
leaderboard
MI355X
# gpumode leaderboard reference """ MLA-SESSION post-v178 surgical branch: direct-Q only where ranked evidence is best. The current evidence says `b4` is poison on ranked and `b256/1024` does not show a reliable transfer gain. This variant keeps the exact-shape bank but only uses direct-Q on `(64,1024)`, the clearest ...
655,985
765
amd-mixed-mla
13750248
Ananda Sai A
378,625
submission_v136_fastmode_absmax8.py
2026-03-28T14:08:35.987096Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v9: fp8+fp8 persistent + page_size>1 + fast_mode=True + 32 splits. bf16 NP for bs=4 (zero Q quant). fp8 persistent for everything else. Key insight: page_size>1 reduces indirect addressing. fast_mode speeds metadata. """ import math import torch from task im...
687,093
765
amd-mixed-mla
471386583166353410
.jonnss
399,499
Submission.v162.py
2026-04-01T08:44:41.923087Z
succeeded
0.000033
true
leaderboard
MI355X
# gpumode leaderboard reference """ MLA-SESSION hot-path trim: remove redundant runner-side tensor reshapes. Keep `v158`'s shape config and ring depths, but tighten the persistent runner: - pass the already-shaped Q buffer directly to `mla_decode_fwd` - use `view()` for the divisible paged-KV path - replace modulo rin...
688,450
765
amd-mixed-mla
61266184
Hamza
400,515
submission.py
2026-04-01T11:47:45.826253Z
succeeded
0.000033
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X # gpumode leaderboard reference """ Reference implementation for MLA (Multi-head Latent Attention) decode kernel. Uses aiter MLA kernels (mla_decode_fwd) as the reference. DeepSeek R1 forward_absorb MLA: absorbed q (576), compressed kv_buffer (576), output v_he...
735,284
765
amd-mixed-mla
25472434
Borui Xu
431,739
submission.py
2026-04-05T11:46:23.783456Z
succeeded
0.000033
true
leaderboard
MI355X
import os os.environ["HIP_FORCE_DEV_KERNARG"]="1";os.environ["HSA_ENABLE_SDMA"]="0" import torch from task import input_t, output_t import aiter from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadata_v1 NH=16;NKH=1;QKD=576;VD=512;SM=1.0/(QKD**0.5);FP8=aiter_dtypes.fp8 _sta...
606,366
765
amd-mixed-mla
52249105
Nicky Pochinkov
345,926
submission-v1774132830.py
2026-03-21T22:44:03.513842Z
succeeded
0.000034
true
leaderboard
MI355X
""" Attempt 265: Safe per-case dispatch v2 — NP splits=1 ps=1 for bs=64/kv=1024. 264 showed NP ps=1 splits=16 is terrible for bs=64/kv=1024 (39μs). Try NP ps=1 splits=1 instead — skip stage2 entirely, just like ps=2 splits=1 but with safe accuracy (ps=1). Grid for bs=64/kv=1024 with splits=1: (1, 64, 1) = 64 blocks. ...
754,766
765
amd-mixed-mla
13750248
Ananda Sai A
445,840
submission_v249_k128.py
2026-04-07T05:28:34.993544Z
succeeded
0.000034
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ v249_k128 Builds on v247_extended_triton. Single-variable change: bump the inner-K tile from 64 to 128 so Triton emits the gfx950 v_mfma_f32_16x16x128_f8f6f4 instruction instead of two v_mfma_f32_16x16x32_fp8_fp8 ops per dot. Why this might help: - 16x16x...
667,163
765
amd-mixed-mla
61266184
Hamza
385,678
submission_paged.py
2026-03-29T21:32:25.720565Z
succeeded
0.000034
true
leaderboard
MI355X
#!POPCORN leaderboard amd-mixed-mla #!POPCORN gpu MI355X """ Paged MLA decode: persistent paged ASM kernels with page_size scaling. Based on #1 approach: pg4 for kv=8192 (53% faster), pg1 for kv=1024. """ import os as _os _os.environ.setdefault("HIP_FORCE_DEV_KERNARG", "1") import gc as _gc import sys as _sys _gc.d...
701,884
765
amd-mixed-mla
471386583166353410
.jonnss
409,206
Submission.v196.py
2026-04-02T15:22:15.564984Z
succeeded
0.000034
true
leaderboard
MI355X
# gpumode leaderboard reference """ MLA-SESSION hybrid closeout: safer path only on the two `b256` shapes. `v183` nearly matched the official line, but the largest ranked loss versus `v158` remained concentrated on `(256,1024)` and, more mildly, `(256,8192)`. This variant keeps the `v183` runner style on every non-`b2...
676,600
765
amd-mixed-mla
52249105
Nicky Pochinkov
392,142
submission-v1774926180.py
2026-03-31T03:16:00.723757Z
succeeded
0.000034
true
leaderboard
MI355X
""" Attempt 697: 695 base + NP ps=1 splits=2 for bs=64/kv=1024. Test if splits=2 is faster than splits=1 for bs=64/kv=1024: - splits=1: 1024 WGs, each processes all 1024 KV tokens = 32.3μs - splits=2: 2048 WGs, each processes 512 KV tokens + tiny reduce = potentially faster - ps=1 keeps accuracy safe (no page boundary...
737,883
765
amd-mixed-mla
7725389
JIANG Jiaxin
431,739
submission-v401.py
2026-04-05T15:37:56.119004Z
succeeded
0.000034
true
leaderboard
MI355X
import os os.environ["HIP_FORCE_DEV_KERNARG"]="1";os.environ["HSA_ENABLE_SDMA"]="0" import torch from task import input_t, output_t import aiter from aiter import dtypes as aiter_dtypes from aiter import get_mla_metadata_info_v1, get_mla_metadata_v1 NH=16;NKH=1;QKD=576;VD=512;SM=1.0/(QKD**0.5);FP8=aiter_dtypes.fp8 _sta...