README: source, validated platform, baseline table, AVO version/config and reference results; add baseline_mi308x.csv and AVO task template
Browse filesFiles changed (4)
- MANIFEST.sha256+18-16
- README.md+99-2
- docs/avo_task_template.mdAdded+52
- results/baseline_mi308x.csvAdded+51
123456789101112913141516171314151817181920212223242526272811 unmodified lines40414243444546474846495051130 unmodified lines1821831841851861871851881891901911921931947 unmodified lines2022032042022052062072082092102112122102132142152162172182196 unmodified lines2262272282262292302312322332342352362342372382392402412422432442412452462472 unmodified lines25025125225025325425525625725825925726026126215 unmodified lines27827928028128228328128428528643070e2d4e532684de521b885f385d0841030efa2b1a20bafb76133a5e1379c1 ./LICENSEf2bc19f9842ebe2fed45ed8ed401275a46d01cc5af829c1684616ae2dcc0b6d2 ./NOTICE1958a65b3044c6223cfc5261f19b1dfadc5c72edf20ed85e81f7731d8e0fd592 ./README.md332a949a82a0ce983290f9db1b121e1ebc76fc75229cd185b4ae875ba3a67d79 ./adapters/glm-5.3-flash__fused_moe_kernel.py6f6eaa3835f38da5c37ff54114dbaa4adab54ad01f393cf6cbb38a8ca6907e8d ./adapters/kimi-k3__fwd_grouped_kernel_stage1.pydd5c35f14114fc6fa35dd899c31c38d97d7716f132218a8d9a23f5de81b07071 ./adapters/minimax-m3__gqa_share_sparse_fwd_kernel.py97904137ad7fae2c9cb8ece0f77ff50b3314712c7eabc036fefa52418ec70e2c ./docs/2026-10-26_headkernel-mi308-筛选报告.md01fbf829552aea14b0c3b68e65aae0af43507d6fce29a4b057e2fd4f70e6e155 ./docs/2026-10-26_headkernel-mi308-筛选方案.md9e3b8109bff08ddc68bbde6ca6528ce164d1a9ef1ea16468b4ff0ff986101afa ./docs/avo_task_template.mdb87b9ace0639c8cbaf2ec00ae607db311074a41219d3673ce05683944ff09828 ./docs/screening_WORKFLOW.mdf169fdd6d32cdd900872c48878d681dd37b44a7e129a3a3b2f0d862386086924 ./harness/child.py9e0f66c7ab2bc993c997b074bf9f32aa26d8271c16863bdb9a6b47999ecb58b0 ./harness/run.py43070e2d4e532684de521b885f385d0841030efa2b1a20bafb76133a5e1379c1 ./LICENSEf4a18c6ae40b0a8e7d2b7667f52f6e1994e54a46430d2e172b73cb8c9b5eb0d7 ./model_cfg/GLM-5.2-FP8-config/LICENSEde23c1b7cab43a99f0fedf4edf10de0d165882a2ecb2e2bad6c5796fcabf2e46 ./model_cfg/GLM-5.2-FP8-config/README.md172dc74a35e1752df75ecfb2b2cf9326d2852bb1379868ebeec9571654489679 ./model_cfg/GLM-5.2-FP8-config/chat_template.jinjad1539d36be7546a1d827fe9cf74c55874695652efb6a5aaa3e60cde1c76ba819 ./model_cfg/GLM-5.2-FP8-config/config.jsonac76b43d8683d3b930126870fc8be73d8679308fe752fa1f381096d8354f6a55 ./model_cfg/GLM-5.2-FP8-config/generation_config.jsonf4a18c6ae40b0a8e7d2b7667f52f6e1994e54a46430d2e172b73cb8c9b5eb0d7 ./model_cfg/GLM-5.2-FP8-config/LICENSEde23c1b7cab43a99f0fedf4edf10de0d165882a2ecb2e2bad6c5796fcabf2e46 ./model_cfg/GLM-5.2-FP8-config/README.md98b1271574f41abf89427ae2dda030d94dc9478f0edc5a8bd240db213c6fd5fc ./model_cfg/GLM-5.2-FP8-config/tokenizer_config.json19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d ./model_cfg/GLM-5.2-FP8-config/tokenizer.jsonf2bc19f9842ebe2fed45ed8ed401275a46d01cc5af829c1684616ae2dcc0b6d2 ./NOTICE630ea78fe4b8ebfb9b4695d0e1b81ab692403c4696e2b4246432730b13fd7cd6 ./README.md98b1271574f41abf89427ae2dda030d94dc9478f0edc5a8bd240db213c6fd5fc ./model_cfg/GLM-5.2-FP8-config/tokenizer_config.jsond4adecea1b2384e7626a8deb4bdb61c9585669cf71506904429371c669088c31 ./refs/glm-5.3-flash__fused_moe_kernel.pybdb7692f6befc224627c9ca16863b5ec3ee00b9346932f61a256a81d7728a774 ./refs/kimi-k3__fwd_grouped_kernel_stage1.py90fd66b30da37f06dab71497728f0ffdc63465984270f9fe7cfb060d757b77d4 ./refs/minimax-m3__gqa_share_sparse_fwd_kernel.pyde0505d47e3131bb43e5c8b12e1969fdc14a7e70c2a2153f785bb1ae63d8ee64 ./refs/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode.pyfdc4a8355670a69fb3af57d30c276109ceebc6a89eaf2f0e557b055d0aa971ba ./refs/qwen3.8-2.4t__gemma_fused_add_rmsnorm.py34351e1457012b6d26dc58e4dddd8a6ebef9737d21d33ca361f790aa7a7ce979 ./results/baseline_mi308x.csv0b643b1f087e7bf7ab6cedf6c70cd4df7fdd6912dd42868bc73303fe40a87a7a ./results/screening_20261026/final_run.logb542b90f8a45a77fca7293ce57e35e2f3921f22bb6facd16fea8bff3d2f2c494 ./results/screening_20261026/logs/deepseek-v4-pro__dsa_sparse_mla_attn.log7a6b82415d904802684ba8565fa2f40b9de0b6e971fb1fecd92e8621ee45c547 ./results/screening_20261026/logs/deepseek-v4-pro__moe_stage1_grouped_gemm_silu_flydsl.log11 unmodified lines25bd0384a1452053b2fd8abba68c73024fcee5c6b5b4c657d3f2a74712eac124 ./results/screening_20261026/logs/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode.log3a96d01b568564a055cd3bdc70e9f887073ae1b6ac61d887c2fdf5adff99653e ./results/screening_20261026/logs/qwen3.8-2.4t__gemma_fused_add_rmsnorm.log10321407f8fc7172c9d5e5f7ef4d5ad18c42171929c4845a42624ce92bbe5195 ./results/screening_20261026/logs/qwen3.8-2.4t__paged_attention_decode.log49ceca9213adbeea3d524d6f137fc0aea80dd380455acd448ef9dbeda627cf09 ./results/screening_20261026/results.json2936be32a4f279046bb6d807bd9727621680b080dd82c2c2666fcd9038fa0f21 ./results/screening_20261026/results/deepseek-v4-pro__dsa_sparse_mla_attn.json2b6660d6c29656d14dae6d16e6072707cd8c6fa9ffb7e4731e8c4a2d1d3de815 ./results/screening_20261026/results/deepseek-v4-pro__moe_stage1_grouped_gemm_silu_flydsl.json1c0beae123528156c76ca01d29f76b47bcb559c0270b94d5f63624353ec2c7ab ./results/screening_20261026/results/deepseek-v4-pro__moe_stage2_down_proj_reduce_opus_a8w4.jsonbc6f78c0ab5e9308ee8cdda09f06d1d4cbe6de5d827a445fe8d61ca164a72cb5 ./results/screening_20261026/results/glm-5.3-flash__elementwise_copy_cluster.jsond010b336662cf38023da409a36ccc09885228b918f27177950a9d04078848de0 ./results/screening_20261026/results/glm-5.3-flash__fused_moe_kernel.json49ceca9213adbeea3d524d6f137fc0aea80dd380455acd448ef9dbeda627cf09 ./results/screening_20261026/results.jsoneae3913f406adb11a87f7920da66bc9d0eb8676abf44f921ed18cfe98362a0b1 ./results/screening_20261026/results/kimi-k3__fwd_grouped_kernel_stage1.jsonc1a5be2fbed0a62ed986e44ec4113a5fd7c11d2c4e4ddf80c057ad1c45fa052b ./results/screening_20261026/results/kimi-k3__moe_gemm1_stage1.jsonc53cd3a3d28268201cf4c9b855ee2f0a6aa649981ff4209bc41d84d1d58c599a ./results/screening_20261026/results/kimi-k3__moe_gemm2_stage2.json130 unmodified lines1eac19a6b7ced90d0b910fa62edca1d6fe494a8836d987210596291e2e0efc28 ./results/validation_20261103_glm_fnuz/perf_3/glm-5.3-flash__fused_moe_kernel.performance.log3dadde573642525a306b4aac74c9dc53b070aaac226d60ef93b94e8364389897 ./scripts/compare_runs.py5f2fe07f20e3c63d6981edc1e601d294cc136916c803569da947597ed6243f58 ./scripts/run_in_container.sh829185490c5a4adf60fbfc47a7d2101639fc8f28b53bb4eef923fbd77a9fca3d ./tasks/glm-5.3-flash__fused_moe_kernel/README.md88abdf0030b98a3c57547469cb6253cf371a15afbf89632023d807ac9cb89624 ./tasks/glm-5.3-flash__fused_moe_kernel/config.upstream.yaml715a08adfa21477ef04c731ca4505ea6240c3caf3457cbece6ee698377035458 ./tasks/glm-5.3-flash__fused_moe_kernel/config.yaml829185490c5a4adf60fbfc47a7d2101639fc8f28b53bb4eef923fbd77a9fca3d ./tasks/glm-5.3-flash__fused_moe_kernel/README.mdaafe92b3f7c809f96a87930f5dd8e60e1c2d161fdf57debb5a2a1bcd2cc94419 ./tasks/glm-5.3-flash__fused_moe_kernel/scripts/_bench.py30b267c28419c03a55571e87e4a125161d86926ebf28577287c14a72b25b1630 ./tasks/glm-5.3-flash__fused_moe_kernel/scripts/task_runner.py4ad1d5a4faad153021c7c765939ef26117e7ba755b555e16e107c11b1b5da2da ./tasks/glm-5.3-flash__fused_moe_kernel/source/fused_moe.py13b22178fc8ecc3341a559d3e016fd4bba038804df4f9a770ae16c2a5e3a17c9 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/README.md264088409bcb95752aef4e96d7c1ed5222dcba333560b4274971b930b7af5ac6 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/baseline_overlay/_overlay_manifest.jsond8b5c55e926eea158154d30ee1a796144058e50a102c4c762cbd7c0f7203fd5b ./tasks/glm-5.3-flash__fused_moe_kernel/ut/baseline_overlay/sitecustomize.py9626f13eab79d55865162164117d55c8e7f3d6a06a708d3cd2728de6a71735ed ./tasks/glm-5.3-flash__fused_moe_kernel/ut/baseline_overlay/sitecustomize.py.eager_bak7 unmodified lines7cbf3d70eb2c2921c9f128c2c072706c3f009de818f9e5c53cbaf8bcfeec71fa ./tasks/glm-5.3-flash__fused_moe_kernel/ut/overlay_setup.py0343b5f4b5f48aabb93f392f25d278cfe72109bb7655309257b0b6f63519d544 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/profile_roofline.jsonaa0238def5af8f368db2e5f79c96d3ca8af14138ede9126377afcdf63930a09a ./tasks/glm-5.3-flash__fused_moe_kernel/ut/profile_roofline.md13b22178fc8ecc3341a559d3e016fd4bba038804df4f9a770ae16c2a5e3a17c9 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/README.mde5e1dcafdfb58e8350dcc00cbf87db71f47d859606c6ec20269898708def07f7 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/regime.json3dc80ed88b7d491dbc455ae054152fdb567575b5332612f11d46aeddabe535cb ./tasks/glm-5.3-flash__fused_moe_kernel/ut/selection_validation.jsond3895d82bed71271b53d439bb75788f657882bc152331a8caef4b3152c269246 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/sglang_bootstrap.py6b5e5baa762a0b14359611502dc32ffda7c56d3f3e897fa94c3d001a8e228355 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/unittest.py9f5beb4e30d9fcda8b174c9663f326700349af2540277fe17d6471a0fab039d3 ./tasks/glm-5.3-flash__fused_moe_kernel/ut/workload.jsone403276b3b337460a6ae1c5a5717e4995fec32745625721eea141e367ea57872 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/README.md3a273b102f60fdb32cff7b7e4fb0a8785c421a0389c658fa8bb50fbba50276d8 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/config.upstream.yaml6c224899fb567dd4488f275bcbe2b1385ff214a85785d7ab274fcd378d056c2c ./tasks/kimi-k3__fwd_grouped_kernel_stage1/config.yamle403276b3b337460a6ae1c5a5717e4995fec32745625721eea141e367ea57872 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/README.mdaafe92b3f7c809f96a87930f5dd8e60e1c2d161fdf57debb5a2a1bcd2cc94419 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/scripts/_bench.py44b9311111588a4c66c5f31df03951c578b05c62af39f96a67717a833ddf6865 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/scripts/task_runner.py15b0456e621c184d7f11c704001b63822a5c9008f07ee3d374653d9f981d37fe ./tasks/kimi-k3__fwd_grouped_kernel_stage1/source/geak_mla_stage1.py79cea973f45e4d8aa179402992cf760e4f5c213960285132d2c30ab0148415bd ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/README.md760da1b3f9e3720b4f5343f846c15a57c8ce7ac5631034d69c3dadd5f8bd5b02 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/baseline_overlay/_overlay_manifest.jsonc407056e04297d658fa6126d0657624fa685055fba984669a9f14a85a97bb7e5 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/baseline_overlay/_patched/sglang.kernels.ops.attention.decode_attention.py5680c72bf60dedd7b0d5843b5c3a002ef3a43247f8ac4ca51a4e598dd05a9b84 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/baseline_overlay/_patched/sglang.srt.models.kimi_k3.py6 unmodified lines8477f7d73b440fbb654a9c822389a7d78e3a24e6ace15a062128c903fec02e74 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/opbench_result.jsoneee0c5761359b3a3884489ce405bf665b98617d83d32d00a252e20db631f42cf ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/profile_roofline.json4f115aa44f2a7f7cf4278606a78b4c419773b88aacbd0fec66e0f399dd69f8d3 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/profile_roofline.md79cea973f45e4d8aa179402992cf760e4f5c213960285132d2c30ab0148415bd ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/README.md558991da4f908f27ee37d4afa9a0bd384a34a67ccfc1aff259eac93bf01e2dfb ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/regime.json83d90056afdd7abdfe006c802e0434a9f0749da096b1e6e75ca2ed30269ed940 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/run_unittest.shac123439ca83a4cb8a4dd4453c781e1cc942da119fc0e0c0d80db565feac5d7d ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/selection_validation.json9bc5d7f57f3c03f094db2f78d6d738966e16258d23f7b6754fa36205b7f14648 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/unittest.py99cc27b298cf41abef541491020e6859507d753f895a613f9f1e30fb734d42a2 ./tasks/kimi-k3__fwd_grouped_kernel_stage1/ut/workload.json244c876ae934db54bf35ba94e09835873925ac426714f6f800145b57a1268d75 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/README.md49252ff803966cc96f7ab434af2a9715f15b99608df318fe1d362a1bae511f5a ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/config.upstream.yaml3475b5f847418c87f6780a1b5e2803fcba26b4887ef2f2c83fe32e39e5178f7f ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/config.yaml244c876ae934db54bf35ba94e09835873925ac426714f6f800145b57a1268d75 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/README.mdaafe92b3f7c809f96a87930f5dd8e60e1c2d161fdf57debb5a2a1bcd2cc94419 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/scripts/_bench.py30b267c28419c03a55571e87e4a125161d86926ebf28577287c14a72b25b1630 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/scripts/task_runner.py1bc59d10771c5f4ecf98b0addd50e7de88cc7aeeddb9121532ccd259458c3688 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/source/topk_sparse.py9ab824bc9303f32ae1766e4c8c5873a97bc67d0c019f5112b41b1b14a50edfb0 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/README.md31f5a5f770d84d7411129d2963700768d78bce1a27b709fbed3d586fd50dc892 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/_capture_meta.json264088409bcb95752aef4e96d7c1ed5222dcba333560b4274971b930b7af5ac6 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/baseline_overlay/_overlay_manifest.json9626f13eab79d55865162164117d55c8e7f3d6a06a708d3cd2728de6a71735ed ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/baseline_overlay/sitecustomize.py1bc59d10771c5f4ecf98b0addd50e7de88cc7aeeddb9121532ccd259458c3688 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/baseline_ref/topk_sparse.py.orig31f5a5f770d84d7411129d2963700768d78bce1a27b709fbed3d586fd50dc892 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/_capture_meta.jsonfc1c03c341aa771d1ca1b793f6c64e0112975f336e546360c17caa035d58bcbd ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/cases.pyd196db4cfee8441467a8ef05fb4fead5b79183f02562b8716043bca24ecc9245 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/harness_lib.py1bc59d10771c5f4ecf98b0addd50e7de88cc7aeeddb9121532ccd259458c3688 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/kernel_src/topk_sparse.py2 unmodified lines5934423a52035a9f6b68e238dc236e1b5434935dceba2c4281cc6f9833c98525 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/overlay_setup.py66e43c4908898317cfac79de31419d02d7befc71dc8c289cfd20ece1a43fc24c ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/profile_roofline.jsona23f4bc63c89c8439f6f6000ef3eb2651248fe9c6c1c67ebf50e93be7e7ef109 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/profile_roofline.md9ab824bc9303f32ae1766e4c8c5873a97bc67d0c019f5112b41b1b14a50edfb0 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/README.md7c3216058c69ec1f23d93c8faadeca26e4271fcc67fecc3b4c4e9a80fb48510f ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/regime.json6b4bb6a8e1ac2fddab318fc4e8c2f99d40a0e03c07d4e871f8a43597fceabf60 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/selection_validation.jsonc36cef314dcaaf8dd2ec386182849a31b524dd040deec6a311ff5258d5deb661 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/unittest.py51d1f540391d9ae95560c51e731da1317e80089f588629bea0ca2d0fc2ab3b20 ./tasks/minimax-m3__gqa_share_sparse_fwd_kernel/ut/workload.json13fcb149eb67f73137de35bf45091f6578b12888b48c83a93774c2297cbe57ca ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/README.mda15c003fa4143f99cf7c61064f79cd30ffe121477df0e809bfa8d51e819385f6 ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/config.upstream.yaml504fc0bf19b0f4bad3ca17e58fc6e8a47daec86a3f3f4878352434442f5f95f5 ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/config.yaml13fcb149eb67f73137de35bf45091f6578b12888b48c83a93774c2297cbe57ca ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/README.mdaafe92b3f7c809f96a87930f5dd8e60e1c2d161fdf57debb5a2a1bcd2cc94419 ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/scripts/_bench.py44b9311111588a4c66c5f31df03951c578b05c62af39f96a67717a833ddf6865 ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/scripts/task_runner.pycf5e980d86174a631bcd0872f8ebf7a6ab7c21c3435c097f66f8ba0e686debc0 ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/source/fused_recurrent.py15 unmodified lines9248a9ae73697c1d5c49c7027271fdd2b36844bfccc072a6b899cd7722cb49ab ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/ut/selection_validation.json2cd8de513e55e555ca69ea1a2cb3e9ddeb390c7d2c4a20fc566cd29b7c68b47a ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/ut/selection_validation.probe.jsoneec5c197c6afa019612c02d4b3150e06a9864964463ddc158dd099d7c9718e37 ./tasks/qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode/ut/unittest.py5a0ee68d605579bebe6b10872aac894b1da41f4da265c6c3afb4149d9b3fc244 ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/README.mdf5a19c4ba6f91374c628248bc022b80d4a07e047c0a6dd2173d60e0076f8c894 ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/config.upstream.yaml02cf3eca23ab3482602c5170444eaf410bce860eec52861f8e45d9fbda316e0d ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/config.yaml5a0ee68d605579bebe6b10872aac894b1da41f4da265c6c3afb4149d9b3fc244 ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/README.mdaafe92b3f7c809f96a87930f5dd8e60e1c2d161fdf57debb5a2a1bcd2cc94419 ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/scripts/_bench.py44b9311111588a4c66c5f31df03951c578b05c62af39f96a67717a833ddf6865 ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/scripts/task_runner.pye7e81662d1989eacd46b757b0240111ef9caae31a77fb3035ca2b9196307198d ./tasks/qwen3.8-2.4t__gemma_fused_add_rmsnorm/source/minimax_m3_rmsnorm.py11 unmodified lines121314151617181920212223242526272829304 unmodified lines35363738394041424344454647484950 unmodified lines10010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918022 unmodified lines20320420510911020620720811 unmodified lines| `qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode` | Triton gated delta-rule state update | 2 || `qwen3.8-2.4t__gemma_fused_add_rmsnorm` | Triton fused add + Gemma RMSNorm | 2 |
## Source
- Tasks: [AMD-AGI/AgentKernelArena](https://github.com/AMD-AGI/AgentKernelArena), branch `head_kernels_top5_20260920`, commit `8fa0d73c81e55100d8e32d1963d6b247764fe56a` (Apache-2.0). The upstream tasks target MI355X (gfx950), an internal MI355 image, and non-public captured inputs (`reference_io.pt`).- Selection: 16 upstream tasks were screened on MI308X; 10 run and pass, 6 need gfx950-only instructions (FP4, scaled MFMA) or do not compile for gfx942. Five of the 10 are packaged here (`docs/2026-10-26_headkernel-mi308-筛选报告.md`).- Adaptation for MI308X: seeded synthetic inputs, independent PyTorch references, a negative control, a public runtime image, and the changes listed in "Differences from the upstream tasks". The kernel sources (`tasks/<task>/source/`) and the upstream tests (`tasks/<task>/ut/`) are unchanged.
## Requirements
- MI308X (gfx942) GPU, Docker with access to `/dev/kfd` and `/dev/dri`.4 unmodified linesdocker pull lmsysorg/sglang@sha256:2a4b6896f2d69e5562545b5abaaf00e8d8dbb14da736fa2f5f5bd47ce00bfb0f```
## Validated platform
| Item | Value ||---|---|| GPU | AMD Instinct MI308X (gfx942), 80 CUs, max 1850 MHz, 192 GB HBM3 || Host | Linux 5.15, amdgpu driver 6.16.13, ROCm 7.2.0 || Image | `lmsysorg/sglang@sha256:2a4b6896f2d69e5562545b5abaaf00e8d8dbb14da736fa2f5f5bd47ce00bfb0f` (`versions.lock`) || GPU selection | `ROCR_VISIBLE_DEVICES` (`HIP_VISIBLE_DEVICES` does not filter HSA agents) |
## Run
```bash50 unmodified lines`HK_WARNING graph capture failed ...` and the per-shape JSON records `timer=cuda_event` instead of`cuda_event_graph`.
## Baseline (original kernels)
Medians of three performance runs on one idle MI308X (`results/baseline_mi308x.csv`, one row per shape,with the run-to-run spread and the source run). GLM uses the FNUZ-weight run of 2026-11-03; the othertasks use the fixed-timing run of 2026-10-29.
| Task | Shapes | Timer | Fastest shape (ms) | Slowest shape (ms) | Geomean (ms) ||---|---:|---|---:|---:|---:|| `glm-5.3-flash__fused_moe_kernel` | 4 | eager | 0.537 | 6.310 | 1.085 || `minimax-m3__gqa_share_sparse_fwd_kernel` | 38 | graph | 0.025 | 26.25 | 15.80 || `kimi-k3__fwd_grouped_kernel_stage1` | 4 | graph | 0.037 | 2.523 | 0.351 || `qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode` | 2 | graph | 0.258 | 0.310 | 0.283 || `qwen3.8-2.4t__gemma_fused_add_rmsnorm` | 2 | graph | 0.017 | 0.262 | 0.067 |
How to compare:
- Absolute latencies depend on the node and on load from neighbouring GPUs (differences of tens of percent have been seen). Use the table to check that a setup is sane (within about 10%), not as a target.- To measure a speedup, time the original and the candidate on the same GPU in the same session, interleaved (A B B A), and report per-shape ratios and their geomean.- Shapes of a few tens of microseconds vary by up to about 8% between runs (Kimi `oracle_bs1_ctx395`); GLM decode under eager timing had one 39% outlier run (`rand_m19_decode`), so take the median of at least three runs.
## AVO reference results
The five tasks were optimized at source level with AVO. Optimized kernels are not distributed: rerun AVOwith the version and configuration below, and verify the result as described here.
AVO version:
| Item | Value ||---|---|| Repository | [AMD-BRAIN-Internal/PerfSkills-avo](https://github.com/AMD-BRAIN-Internal/PerfSkills-avo) (AMD internal) || Branch | `GEAK-v4-integrated` || Commit | `01b60f937a24b3235f2ea897fda9bdc868f0d9bf` || Entry | `python3 avo-workflow/run_geak_avo.py handoff.json result.json` (validate first with `--dry-run`) || Agent | Claude Code 2.1.308 (Claude Opus 5.5), Node 22 |
Configuration (one AVO run per task, two tasks in parallel on one 8-GPU node):
| Setting | Value ||---|---|| `operator` | `team` (default `start_policy=diverse`) || GPUs per task | 4 (`gpu_ids` `0,1,2,3` or `4,5,6,7`) || `budget_s` | 43200 (12 h, counted from workflow start; 10% is reserved for finalization) || `kernel_path` | the repository root (AVO copies it; the harness needs `harness/`, `refs/`, `adapters/`) || `hw` | `gfx942` || `apply_to_original` | `false` || `task` | see `docs/avo_task_template.md` |
Results (speedup = original latency / optimized latency; per-shape median of five interleaved rounds onone GPU, then the geomean over all shapes; every shape passed the correctness check and the negativecontrol):
| Task | Speedup | Notes ||---|---:|---|| `minimax-m3__gqa_share_sparse_fwd_kernel` | 4.39x | AVO stopped at 7.7 h with a workflow error after committing `avo-v5`; `avo-v0..avo-v5` was verified. Per shape 0.95x-5.33x || `glm-5.3-flash__fused_moe_kernel` | 3.19x | Full 12 h. Measured on the FNUZ-weight baseline; the 92x measured on the earlier e4m3fn weights was a weight-format artifact. Per shape 1.38x-9.31x || `kimi-k3__fwd_grouped_kernel_stage1` | 2.64x | Second MI308X node. Starts from a prior optimized candidate || `qwen3.8-2.4t__gemma_fused_add_rmsnorm` | 1.26x | Second MI308X node || `qwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode` | 1.02x | Second MI308X node |
Notes for rerunning AVO on MI308X with this commit:
- Tell AVO to use only `harness/run.py`. With a `workload` key in `meta.json`, its benchmark role prefers the task's `ut/unittest.py`, which needs the non-public `reference_io.pt`.- Tell AVO the GPU has 80 CUs. Its knowledge file reads the CU count with `rocminfo | grep -m1`, which returns the CPU core count on this node, and its roofline table for `gfx942` is MI300X.- Tasks with many shapes (MiniMax, 38) can stop with `TypeError: (perCase || []).map is not a function` after a commit. Committed versions stay in `avo_repo` (tags `avo-vN`) and can be verified.- Review every patch: no output caching, no work skipped on repeated inputs or the fixed seed, no shape-specialised branches, no lowered precision.
## Differences from the upstream tasks
- No `reference_io.pt`: the upstream captured tensors are in non-public OCI storage. Synthetic inputs22 unmodified linesharness/ run.py (entry) and child.py (one task per fresh process)scripts/ run_in_container.sh, compare_runs.py (timing spread across runs)model_cfg/ GLM configuration files used by the GLM taskresults/ screening_20261026 (16 tasks, rocm/atom image) and validation runsdocs/ screening plan/report and packaging plan (Chinese)results/ screening_20261026 (16 tasks, rocm/atom image), validation runs, baseline_mi308x.csvdocs/ screening plan/report (Chinese), avo_task_template.md (AVO task prompt)```12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152# AVO handoff used for the reference results
`handoff.json` given to `avo-workflow/run_geak_avo.py` (AMD-BRAIN-Internal/PerfSkills-avo,`GEAK-v4-integrated` @ `01b60f937a24`). Replace `<task>`, `<editable files>`, `<gpus>` and the paths.`<editable files>` is the task's `config.yaml` `source_file_path`, prefixed with `tasks/<task>/`.
```json{ "kernel_path": "/bench", "exp_root": "/runs/<batch>/<task>", "task": "<task text below>", "root_dir": "/", "claude_bin": "claude", "claude_home": "/root", "gpu_ids": "<gpus, e.g. 0,1,2,3>", "budget_s": 43200, "operator": "team", "hw": "gfx942", "apply_to_original": "false"}```
Task text (one paragraph):
```textTarget kernel: tasks/<task>. Edit ONLY: <editable files>. Use the existing harness, run from the workspaceroot: correctness = `python3 harness/run.py --task <task> --mode correctness`; performance =`python3 harness/run.py --task <task> --mode performance`, which prints one line`GEAK_RESULT_LATENCY_MS=<ms> (<shape id>)` per shape. Select the GPU with ROCR_VISIBLE_DEVICES. The timingmode (CUDA-graph replay or eager) is fixed by the task's deployment regime; do not change it. Never modifyharness/, refs/, adapters/, model_cfg/, tasks/*/ut/, tasks/*/config*.yaml, or any other task.harness/run.py is the ONLY correctness and timing harness of this benchmark: it checks every shape againstan independent PyTorch reference with a negative control. Do NOT run or gate on tasks/*/ut/unittest.py,ut/leg_runner.py or scripts/task_runner.py: they need non-public captured tensors (reference_io.pt) that arenot in this package, so they fail or measure something else. Report the unweighted per-shape geomean.Profiling: rocprofv3 counter collection (--pmc) has hung for 10+ minutes on this node; wrap every profilercall in `timeout 180` and fall back to --kernel-trace if it times out. Forbidden: caching or memoizingoutputs across calls; skipping work based on input pointers, repeated inputs or the fixed random seed;branches specialised to the benchmark shapes only; lowering numeric precision within the tolerance to gainspeed (e.g. bf16 accumulation instead of fp32, polynomial approximations of exp/tanh/rsqrt). Keep thesource's numerics. Hardware: AMD Instinct MI308X (gfx942), 80 CUs (NOT the MI300X's 304), 192 GB HBM3. Sizegrids / persistent-program counts from torch.cuda.get_device_properties().multi_processor_count (do NOT use`rocminfo | grep -m1 'Compute Unit'`: its first match is the CPU, 112 here), and treat roofline percentagesprinted by AVO as MI300X-based (MI308X: 80 CUs at max 1850 MHz vs 304 at 2100, so the compute ceiling isoverstated about 4.3x).```
For `qwen3.8-2.4t__gemma_fused_add_rmsnorm`, append: `RMSNorm: the norm must stay computed from theunrounded FP32 residual sum.`
The container mounts this repository at `/bench`, the output directory at `/runs`, and the AVO checkoutread-only; `root_dir` `/` lets the agents reach all three.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051task,shape,median_ms,spread_3runs,timer,sourceminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m8192_s1,11.017556,0.0015,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s3,21.963873,0.0007,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s5,22.047792,0.0023,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s7,22.117912,0.0011,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m8205_s8,11.280678,0.0022,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s9,22.231274,0.0009,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s11,22.308195,0.0023,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s13,22.391275,0.0004,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s15,22.470837,0.0014,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s17,22.556000,0.0005,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s19,22.608358,0.0013,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s21,22.719198,0.0005,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s23,22.793921,0.0006,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s25,22.876240,0.0010,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s27,22.972521,0.0002,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s29,23.048800,0.0008,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s31,23.117880,0.0021,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s33,23.195835,0.0012,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s35,23.290161,0.0012,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s37,23.367561,0.0005,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s39,23.445204,0.0008,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s41,23.534245,0.0011,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s43,23.619324,0.0008,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s45,23.705284,0.0010,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s47,23.774244,0.0006,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s49,23.876528,0.0006,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s51,23.942368,0.0013,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s53,24.026953,0.0010,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s55,24.112648,0.0003,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s57,24.196936,0.0009,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s59,24.285688,0.0011,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s61,24.368650,0.0002,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m16384_s63,24.440170,0.0001,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,prefill_m9185_s64,14.988545,0.0003,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,replay_even_m16384_s63,26.254461,0.0010,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,replay_skew_m16384_s63,25.001654,0.0007,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,small_prefill_m1_s1,0.024960,0.0097,cuda_event_graph,results/validation_20261029_fixed_timingminimax-m3__gqa_share_sparse_fwd_kernel,small_prefill_m186_s1,0.054040,0.0045,cuda_event_graph,results/validation_20261029_fixed_timingkimi-k3__fwd_grouped_kernel_stage1,oracle_bs1_ctx395,0.036600,0.0754,cuda_event_graph,results/validation_20261029_fixed_timingkimi-k3__fwd_grouped_kernel_stage1,oracle_bs64_ctx8193,2.387297,0.0001,cuda_event_graph,results/validation_20261029_fixed_timingkimi-k3__fwd_grouped_kernel_stage1,decode_bs1_ctx8704,0.068680,0.0058,cuda_event_graph,results/validation_20261029_fixed_timingkimi-k3__fwd_grouped_kernel_stage1,decode_bs64_ctx8704,2.523417,0.0007,cuda_event_graph,results/validation_20261029_fixed_timingqwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode,decode_b64_live,0.309769,0.0121,cuda_event_graph,results/validation_20261029_fixed_timingqwen3.8-2.4t__fused_recurrent_gated_delta_rule_decode,decode_b1_live,0.258327,0.0116,cuda_event_graph,results/validation_20261029_fixed_timingqwen3.8-2.4t__gemma_fused_add_rmsnorm,prefill_m8192_live_shape,0.262127,0.0163,cuda_event_graph,results/validation_20261029_fixed_timingqwen3.8-2.4t__gemma_fused_add_rmsnorm,decode_m64_live_shape,0.017040,0.0187,cuda_event_graph,results/validation_20261029_fixed_timingglm-5.3-flash__fused_moe_kernel,rand_m19_decode,0.543404,0.3940,cuda_event,results/validation_20261103_glm_fnuzglm-5.3-flash__fused_moe_kernel,rand_m1_decode,0.536725,0.0285,cuda_event,results/validation_20261103_glm_fnuzglm-5.3-flash__fused_moe_kernel,rand_m8192_prefill,6.310457,0.0009,cuda_event,results/validation_20261103_glm_fnuzglm-5.3-flash__fused_moe_kernel,rand_m64_decode,0.754087,0.0053,cuda_event,results/validation_20261103_glm_fnuzMANIFEST.sha256+18-16
README.md+99-2
docs/avo_task_template.mdAdded+52
results/baseline_mi308x.csvAdded+51