Image-Text-to-Text
Transformers
Safetensors
English
Chinese
glm5_next
quark
mxfp4
rocm
sglang
speculative-decoding
conversational
8-bit precision
Run this model with HF Jobs
Run OneNexus/GLM-5.3-Flash-MXFP4 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/OneNexus/GLM-5.3-Flash-MXFP4. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OneNexus/GLM-5.3-Flash-MXFP4 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/OneNexus/GLM-5.3-Flash-MXFP4. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use OneNexus/GLM-5.3-Flash-MXFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OneNexus/GLM-5.3-Flash-MXFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="OneNexus/GLM-5.3-Flash-MXFP4") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OneNexus/GLM-5.3-Flash-MXFP4") model = AutoModelForMultimodalLM.from_pretrained("OneNexus/GLM-5.3-Flash-MXFP4", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OneNexus/GLM-5.3-Flash-MXFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OneNexus/GLM-5.3-Flash-MXFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OneNexus/GLM-5.3-Flash-MXFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/OneNexus/GLM-5.3-Flash-MXFP4
- SGLang
How to use OneNexus/GLM-5.3-Flash-MXFP4 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "OneNexus/GLM-5.3-Flash-MXFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OneNexus/GLM-5.3-Flash-MXFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "OneNexus/GLM-5.3-Flash-MXFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OneNexus/GLM-5.3-Flash-MXFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use OneNexus/GLM-5.3-Flash-MXFP4 with Docker Model Runner:
docker model run hf.co/OneNexus/GLM-5.3-Flash-MXFP4
Download assets/kda-trace-optimization.json from OneNexus/GLM-5.3-Flash-MXFP4: direct link, hf CLI and curl.
- Browser
- Download file 47.5 kB
-
https://huggingface.co/OneNexus/GLM-5.3-Flash-MXFP4/resolve/main/assets/kda-trace-optimization.json
- Command line
-
hf download hf://OneNexus/GLM-5.3-Flash-MXFP4/assets/kda-trace-optimization.json
-
curl -L -o kda-trace-optimization.json https://huggingface.co/OneNexus/GLM-5.3-Flash-MXFP4/resolve/main/assets/kda-trace-optimization.json
47.5 kB
{
"scope": "Historical isolated operator tuning; synthetic inputs; no model throughput",
"hardware": "One AMD Instinct MI350X VF (gfx950)",
"torch": "2.11.0+rocm7.2",
"hip": "7.2.26015",
"image_id": "sha256:4735a1841eacb4be8041ff3d07c45e2923f8a05c87375fff427681322c355e00",
"geometry": {
"local_q_heads": 16,
"local_v_heads": 16,
"K": 128,
"V": 128,
"conv_width": 4,
"conv_bias": false,
"lower_bound": -5.0,
"activations": "BF16",
"conv_weights": "FP32",
"ssm_state": "FP32",
"num_warps": 1
},
"timing_protocol": "256 graph warmups; three ABBA repeats; each arm uses do_bench_cudagraph(rep=40, return_mode='median'); fixture clones excluded",
"summary_statistic": "Median of three paired arm means; all ABBA values retained",
"correctness": "Three changed-input graph replays per shape; active output and convolution buffers bit-exact; intermediate SSM states atol=0.004, rtol=0",
"kernel_source_sha256": "c6dd71d18acaa64342d4eb3a36d7c4bd1fabae6a495c870fc7017043f7bde7b8",
"reviewed_runtime_kernel_sha256": "11f074b404acd9f962635afe2aaa886d751240a779c38a52432f2a28c31eaacc",
"source_comparison": "Archived kernel equals the reviewed kernel except the T=6 selector/comment is widened to T in (6,8). The probe explicitly forces each tile for both T values.",
"runs": [
{
"id": "v2",
"started_at": "2026-09-05T20:39:01Z",
"finished_at": "2026-09-05T20:39:51Z",
"log_sha256": "df32b3e10858aca62c3085e061ad200bff6e19c7789d4f91d587fefaae3ce427",
"harness_sha256": "281a99aa651c0238f0a32384595ba51926d6a7b9ed43367ae7ff181a3e0f2bb9"
},
{
"id": "v3",
"started_at": "2026-09-05T20:44:26Z",
"finished_at": "2026-09-05T20:45:05Z",
"log_sha256": "d77291f7ed325729a5079d656b6f8a1f5907cf1b09116f3c9c981b49fb5b954b",
"harness_sha256": "3a912c85e45eb1e5b79680a6a66ffbd82b3f5f4b7e8698a22ade2ac2f7212f1f"
}
],
"cases": [
{
"run": "v2",
"batch": 1,
"tokens": 6,
"value_tile": 4,
"reference_us": 25.221460502595846,
"fused_us": 13.039892368000043,
"time_reduction_percent": 48.29842480114127,
"repeats": [
{
"phase": "timing",
"B": 1,
"T": 6,
"BV": 4,
"repeat": 0,
"abba_us": [
25.237130285871082,
13.016348542410624,
13.032243138834128,
25.20579071932061
],
"reference_us": 25.221460502595846,
"fused_us": 13.024295840622376,
"speedup": 1.9364932132400503
},
{
"phase": "timing",
"B": 1,
"T": 6,
"BV": 4,
"repeat": 1,
"abba_us": [
25.231828625570206,
13.043984177890444,
13.042171095248964,
25.225065123866983
],
"reference_us": 25.228446874718593,
"fused_us": 13.043077636569704,
"speedup": 1.9342403363439313
},
{
"phase": "timing",
"B": 1,
"T": 6,
"BV": 4,
"repeat": 2,
"abba_us": [
25.194562136471927,
13.018067467291623,
13.061717268708463,
25.245260184919328
],
"reference_us": 25.219911160695627,
"fused_us": 13.039892368000043,
"speedup": 1.9340582306174097
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 1,
"tokens": 8,
"value_tile": 4,
"reference_us": 32.26755400123836,
"fused_us": 16.259260634145704,
"time_reduction_percent": 49.61111513589872,
"repeats": [
{
"phase": "timing",
"B": 1,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
32.27914054438753,
16.28423936711917,
16.22268305780377,
32.25596745808919
],
"reference_us": 32.26755400123836,
"fused_us": 16.25346121246147,
"speedup": 1.9852727723310368
},
{
"phase": "timing",
"B": 1,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
32.221767389885734,
16.362265244270993,
16.23413863096262,
32.222084113356416
],
"reference_us": 32.22192575162107,
"fused_us": 16.298201937616806,
"speedup": 1.9770233474191878
},
{
"phase": "timing",
"B": 1,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
32.281815280589456,
16.283769016118015,
16.23475225217339,
32.27007129917974
],
"reference_us": 32.275943289884594,
"fused_us": 16.259260634145704,
"speedup": 1.985080626735426
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 1,
"tokens": 8,
"value_tile": 16,
"reference_us": 32.22440083269802,
"fused_us": 21.096759846674043,
"time_reduction_percent": 34.531723471900165,
"repeats": [
{
"phase": "timing",
"B": 1,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
32.21173207528766,
21.123724468683793,
21.08108741789117,
32.237069590108376
],
"reference_us": 32.22440083269802,
"fused_us": 21.10240594328748,
"speedup": 1.527048665412882
},
{
"phase": "timing",
"B": 1,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
32.27803031391001,
21.112893373911618,
21.08062631943647,
32.2350662676356
],
"reference_us": 32.256548290772805,
"fused_us": 21.096759846674043,
"speedup": 1.5289811575429262
},
{
"phase": "timing",
"B": 1,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
32.21225129797104,
21.107737937670073,
21.07583936600236,
32.22528042823775
],
"reference_us": 32.218765863104394,
"fused_us": 21.091788651836218,
"speedup": 1.5275501947673593
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 8,
"tokens": 6,
"value_tile": 16,
"reference_us": 31.501533516841846,
"fused_us": 23.024958002579993,
"time_reduction_percent": 26.908453551094503,
"repeats": [
{
"phase": "timing",
"B": 8,
"T": 6,
"BV": 16,
"repeat": 0,
"abba_us": [
31.493616104125973,
23.106401933677013,
22.94054702013127,
31.48155375076001
],
"reference_us": 31.48758492744299,
"fused_us": 23.02347447690414,
"speedup": 1.3676295886196312
},
{
"phase": "timing",
"B": 8,
"T": 6,
"BV": 16,
"repeat": 1,
"abba_us": [
31.505640688652914,
23.11189814311702,
22.938017862042962,
31.511481497724592
],
"reference_us": 31.508561093188753,
"fused_us": 23.024958002579993,
"speedup": 1.3684524892361651
},
{
"phase": "timing",
"B": 8,
"T": 6,
"BV": 16,
"repeat": 2,
"abba_us": [
31.478467740510634,
23.110479765885103,
22.940593788482115,
31.524599293173054
],
"reference_us": 31.501533516841846,
"fused_us": 23.02553677718361,
"speedup": 1.3681128836074408
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 8,
"tokens": 8,
"value_tile": 4,
"reference_us": 38.901534987738856,
"fused_us": 41.71954527782264,
"time_reduction_percent": -7.243956545601549,
"repeats": [
{
"phase": "timing",
"B": 8,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
38.856634357631606,
41.60345574189408,
41.59024849678707,
38.946435617846106
],
"reference_us": 38.901534987738856,
"fused_us": 41.596852119340575,
"speedup": 0.9352038196575811
},
{
"phase": "timing",
"B": 8,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
38.98230639757186,
41.73013054619718,
41.7089600094481,
38.822037442707405
],
"reference_us": 38.90217192013964,
"fused_us": 41.71954527782264,
"speedup": 0.9324687424342406
},
{
"phase": "timing",
"B": 8,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
38.8550543016003,
41.75519485368977,
41.69114430745442,
38.896348498283174
],
"reference_us": 38.87570139994173,
"fused_us": 41.7231695805721,
"speedup": 0.9317533109479713
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 8,
"tokens": 8,
"value_tile": 16,
"reference_us": 38.90520242676518,
"fused_us": 28.383097730552926,
"time_reduction_percent": 27.045495306235644,
"repeats": [
{
"phase": "timing",
"B": 8,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
38.89394932038794,
28.3867067365504,
28.382584611339684,
38.863782529477724
],
"reference_us": 38.87886592493283,
"fused_us": 28.384645673945045,
"speedup": 1.3697146820691402
},
{
"phase": "timing",
"B": 8,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
38.91436765840222,
28.392639209762198,
28.371500654094646,
38.99334693008117
],
"reference_us": 38.95385729424169,
"fused_us": 28.38206993192842,
"speedup": 1.3724811963210808
},
{
"phase": "timing",
"B": 8,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
38.92435406480667,
28.388475366029198,
28.37772009507665,
38.886050788723686
],
"reference_us": 38.90520242676518,
"fused_us": 28.383097730552926,
"speedup": 1.3707172767433964
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 12,
"tokens": 6,
"value_tile": 16,
"reference_us": 34.05867365607766,
"fused_us": 28.44422953258907,
"time_reduction_percent": 16.48462350643155,
"repeats": [
{
"phase": "timing",
"B": 12,
"T": 6,
"BV": 16,
"repeat": 0,
"abba_us": [
33.85714504206291,
28.432830913142645,
28.455628152035494,
34.15798104327658
],
"reference_us": 34.007563042669744,
"fused_us": 28.44422953258907,
"speedup": 1.1955874214735422
},
{
"phase": "timing",
"B": 12,
"T": 6,
"BV": 16,
"repeat": 1,
"abba_us": [
34.079272930438705,
28.44358101869241,
28.340607694580385,
34.03807438171662
],
"reference_us": 34.05867365607766,
"fused_us": 28.3920943566364,
"speedup": 1.1995829975859722
},
{
"phase": "timing",
"B": 12,
"T": 6,
"BV": 16,
"repeat": 2,
"abba_us": [
34.045015355592135,
28.566054272685395,
28.465140949596062,
34.13982756502994
],
"reference_us": 34.09242146031104,
"fused_us": 28.515597611140727,
"speedup": 1.1955709968004145
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 12,
"tokens": 8,
"value_tile": 4,
"reference_us": 41.97069146887988,
"fused_us": 59.92143587993541,
"time_reduction_percent": -42.769713299494995,
"repeats": [
{
"phase": "timing",
"B": 12,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
41.989874894844746,
59.91016734730113,
59.93231741490697,
41.951508042915016
],
"reference_us": 41.97069146887988,
"fused_us": 59.92124238110405,
"speedup": 0.7004309290175063
},
{
"phase": "timing",
"B": 12,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
41.99031134632146,
60.139070891154795,
59.7359960018789,
41.93395482914528
],
"reference_us": 41.96213308773337,
"fused_us": 59.93753344651685,
"speedup": 0.700097763034857
},
{
"phase": "timing",
"B": 12,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
42.02161122005607,
59.903503614223276,
59.93936814564754,
41.92798431605509
],
"reference_us": 41.97479776805558,
"fused_us": 59.92143587993541,
"speedup": 0.7004971952301091
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 12,
"tokens": 8,
"value_tile": 16,
"reference_us": 41.987008979489694,
"fused_us": 37.353595499562786,
"time_reduction_percent": 11.035350201273664,
"repeats": [
{
"phase": "timing",
"B": 12,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
41.98221075688309,
37.36269624083192,
37.34449475829364,
41.95475083076636
],
"reference_us": 41.968480793824725,
"fused_us": 37.353595499562786,
"speedup": 1.1235459460473076
},
{
"phase": "timing",
"B": 12,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
42.12959398303116,
38.11518186739469,
37.44980140968605,
41.99701697657256
],
"reference_us": 42.063305479801855,
"fused_us": 37.78249163854037,
"speedup": 1.1133015228909573
},
{
"phase": "timing",
"B": 12,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
41.966254478679495,
37.146707108078616,
37.24373941836149,
42.00776348029989
],
"reference_us": 41.987008979489694,
"fused_us": 37.19522326322006,
"speedup": 1.1288279863884545
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 16,
"tokens": 6,
"value_tile": 16,
"reference_us": 37.65865076097181,
"fused_us": 33.03285732667033,
"time_reduction_percent": 12.283481592748668,
"repeats": [
{
"phase": "timing",
"B": 16,
"T": 6,
"BV": 16,
"repeat": 0,
"abba_us": [
37.68739385919256,
33.159737286957075,
32.88398859193759,
37.579176285687616
],
"reference_us": 37.63328507244009,
"fused_us": 33.02186293944733,
"speedup": 1.139647546277107
},
{
"phase": "timing",
"B": 16,
"T": 6,
"BV": 16,
"repeat": 1,
"abba_us": [
37.6947239076892,
33.09393171126468,
32.97178294207598,
37.622577614254425
],
"reference_us": 37.65865076097181,
"fused_us": 33.03285732667033,
"speedup": 1.1400361279242612
},
{
"phase": "timing",
"B": 16,
"T": 6,
"BV": 16,
"repeat": 2,
"abba_us": [
37.8516462982678,
33.17695819437137,
33.05623835863725,
37.69688594935909
],
"reference_us": 37.77426612381345,
"fused_us": 33.11659827650431,
"speedup": 1.1406445133168668
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 16,
"tokens": 8,
"value_tile": 4,
"reference_us": 44.99735344162386,
"fused_us": 77.92131331066447,
"time_reduction_percent": -73.16865848955685,
"repeats": [
{
"phase": "timing",
"B": 16,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
45.135302203042166,
78.05996265663767,
77.84876070524517,
44.85940468020555
],
"reference_us": 44.99735344162386,
"fused_us": 77.95436168094142,
"speedup": 0.5772268859796845
},
{
"phase": "timing",
"B": 16,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
45.124487443403765,
78.21347136153751,
77.62915525979143,
44.83063281546014
],
"reference_us": 44.97756012943195,
"fused_us": 77.92131331066447,
"speedup": 0.5772176856171677
},
{
"phase": "timing",
"B": 16,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
45.17781255613169,
78.11223174170624,
77.65564863285962,
44.87998190890537
],
"reference_us": 45.02889723251853,
"fused_us": 77.88394018728293,
"speedup": 0.5781538161043238
}
],
"changed_input_replays_passed": 3
},
{
"run": "v2",
"batch": 16,
"tokens": 8,
"value_tile": 16,
"reference_us": 45.0448715646385,
"fused_us": 42.35447957177441,
"time_reduction_percent": 5.972693226582804,
"repeats": [
{
"phase": "timing",
"B": 16,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
45.06724045194428,
42.48729680208552,
42.22566263687208,
44.99457548330496
],
"reference_us": 45.03090796762462,
"fused_us": 42.3564797194788,
"speedup": 1.0631409471669553
},
{
"phase": "timing",
"B": 16,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
45.10516141142164,
42.449152244711826,
42.23879873374871,
44.984581717855356
],
"reference_us": 45.0448715646385,
"fused_us": 42.34397548923027,
"speedup": 1.0637846599003244
},
{
"phase": "timing",
"B": 16,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
45.15136710475169,
42.570915425347586,
42.13804371820124,
44.98820691495328
],
"reference_us": 45.06978700985249,
"fused_us": 42.35447957177441,
"speedup": 1.0641090969722975
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 2,
"tokens": 6,
"value_tile": 4,
"reference_us": 26.194572232486806,
"fused_us": 15.23598473727209,
"time_reduction_percent": 41.83533671767219,
"repeats": [
{
"phase": "timing",
"B": 2,
"T": 6,
"BV": 4,
"repeat": 0,
"abba_us": [
26.217365701356798,
15.340018114506805,
15.138345852232817,
26.171778763616818
],
"reference_us": 26.194572232486806,
"fused_us": 15.23918198336981,
"speedup": 1.7188962151034337
},
{
"phase": "timing",
"B": 2,
"T": 6,
"BV": 4,
"repeat": 1,
"abba_us": [
26.196621442868324,
15.322299818918495,
15.133336297889006,
26.19572982047368
],
"reference_us": 26.196175631671004,
"fused_us": 15.22781805840375,
"speedup": 1.7202842541984644
},
{
"phase": "timing",
"B": 2,
"T": 6,
"BV": 4,
"repeat": 2,
"abba_us": [
26.140606921652093,
15.326130528782688,
15.145838945761495,
26.233946043869544
],
"reference_us": 26.18727648276082,
"fused_us": 15.23598473727209,
"speedup": 1.7187780727226882
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 2,
"tokens": 8,
"value_tile": 4,
"reference_us": 33.42171063229213,
"fused_us": 18.52587724760189,
"time_reduction_percent": 44.56933263702503,
"repeats": [
{
"phase": "timing",
"B": 2,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
33.40559571845346,
18.599232037862144,
18.425443898076598,
33.408636563674996
],
"reference_us": 33.40711614106423,
"fused_us": 18.512337967969373,
"speedup": 1.8045865518912991
},
{
"phase": "timing",
"B": 2,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
33.476274264486214,
18.614020204468737,
18.437734290735044,
33.42558202548016
],
"reference_us": 33.45092814498319,
"fused_us": 18.52587724760189,
"speedup": 1.8056326131229923
},
{
"phase": "timing",
"B": 2,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
33.4312430617585,
18.653985769441814,
18.422376025806773,
33.41217820282576
],
"reference_us": 33.42171063229213,
"fused_us": 18.538180897624294,
"speedup": 1.8028581561945591
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 2,
"tokens": 8,
"value_tile": 16,
"reference_us": 33.41229621381474,
"fused_us": 22.074397067292633,
"time_reduction_percent": 33.93331327475275,
"repeats": [
{
"phase": "timing",
"B": 2,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
33.4019152323405,
22.081014545561988,
22.01969515892767,
33.4455838213729
],
"reference_us": 33.423749526856696,
"fused_us": 22.05035485224483,
"speedup": 1.515791911324003
},
{
"phase": "timing",
"B": 2,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
33.36992898212482,
22.113185718747005,
22.03560841583826,
33.45466344550466
],
"reference_us": 33.41229621381474,
"fused_us": 22.074397067292633,
"speedup": 1.5136221438782278
},
{
"phase": "timing",
"B": 2,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
33.37908107622535,
22.10266307248908,
22.04947734622361,
33.40062499046326
],
"reference_us": 33.3898530333443,
"fused_us": 22.076070209356345,
"speedup": 1.5124907973518273
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 4,
"tokens": 6,
"value_tile": 16,
"reference_us": 28.26028422724386,
"fused_us": 19.94718705534163,
"time_reduction_percent": 29.41618387506566,
"repeats": [
{
"phase": "timing",
"B": 4,
"T": 6,
"BV": 16,
"repeat": 0,
"abba_us": [
28.33945197718484,
19.968980638851672,
19.90399946246231,
28.181116477302883
],
"reference_us": 28.26028422724386,
"fused_us": 19.936490050656992,
"speedup": 1.417515528332058
},
{
"phase": "timing",
"B": 4,
"T": 6,
"BV": 16,
"repeat": 1,
"abba_us": [
28.354115414053005,
19.94836865869256,
19.946005451990704,
28.21797950595033
],
"reference_us": 28.28604746000167,
"fused_us": 19.94718705534163,
"speedup": 1.4180469347143856
},
{
"phase": "timing",
"B": 4,
"T": 6,
"BV": 16,
"repeat": 2,
"abba_us": [
28.33732637036748,
19.95426409309741,
19.965904039986075,
28.155698274311266
],
"reference_us": 28.246512322339374,
"fused_us": 19.960084066541743,
"speedup": 1.4151499677142054
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 4,
"tokens": 8,
"value_tile": 4,
"reference_us": 36.256956909801126,
"fused_us": 25.195966161297513,
"time_reduction_percent": 30.50722314070865,
"repeats": [
{
"phase": "timing",
"B": 4,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
36.240927780730814,
25.20263396113752,
25.171435983889655,
36.27298603887144
],
"reference_us": 36.256956909801126,
"fused_us": 25.187034972513587,
"speedup": 1.4395087373074305
},
{
"phase": "timing",
"B": 4,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
36.25956914758169,
25.206166697172147,
25.185765625422874,
36.24054904659418
],
"reference_us": 36.25005909708794,
"fused_us": 25.195966161297513,
"speedup": 1.4387247095437907
},
{
"phase": "timing",
"B": 4,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
36.294947172466074,
25.22500770351898,
25.17516603607699,
36.28849983215332
],
"reference_us": 36.291723502309694,
"fused_us": 25.200086869797985,
"speedup": 1.4401427935474662
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 4,
"tokens": 8,
"value_tile": 16,
"reference_us": 36.24683054897926,
"fused_us": 25.443056576251543,
"time_reduction_percent": 29.806120449976724,
"repeats": [
{
"phase": "timing",
"B": 4,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
36.22014581753492,
25.44076035090185,
25.44960940671142,
36.273515280423595
],
"reference_us": 36.24683054897926,
"fused_us": 25.445184878806636,
"speedup": 1.4245064723097904
},
{
"phase": "timing",
"B": 4,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
36.271736469674615,
25.44007672521169,
25.4460364272914,
36.256823994367984
],
"reference_us": 36.2642802320213,
"fused_us": 25.443056576251543,
"speedup": 1.4253114645773435
},
{
"phase": "timing",
"B": 4,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
36.21888357745714,
25.462223223648163,
25.422554526595885,
36.12968196039615
],
"reference_us": 36.174282768926645,
"fused_us": 25.442388875122024,
"speedup": 1.4218115659846091
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 14,
"tokens": 6,
"value_tile": 16,
"reference_us": 35.113046597177934,
"fused_us": 30.50325555572802,
"time_reduction_percent": 13.128428000948244,
"repeats": [
{
"phase": "timing",
"B": 14,
"T": 6,
"BV": 16,
"repeat": 0,
"abba_us": [
34.96756309118027,
30.47116237616389,
30.535348735292153,
35.04142805280091
],
"reference_us": 35.00449557199059,
"fused_us": 30.50325555572802,
"speedup": 1.1475658887635456
},
{
"phase": "timing",
"B": 14,
"T": 6,
"BV": 16,
"repeat": 1,
"abba_us": [
35.40396079038962,
30.531534363951863,
30.33895351509728,
34.95325041668755
],
"reference_us": 35.178605603538585,
"fused_us": 30.43524393952457,
"speedup": 1.1558509494268936
},
{
"phase": "timing",
"B": 14,
"T": 6,
"BV": 16,
"repeat": 2,
"abba_us": [
35.37550709278287,
30.555730273636257,
30.517035768232276,
34.850586101573
],
"reference_us": 35.113046597177934,
"fused_us": 30.536383020934267,
"speedup": 1.149875758799139
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 14,
"tokens": 8,
"value_tile": 4,
"reference_us": 43.37256993447218,
"fused_us": 69.44545401179582,
"time_reduction_percent": -60.1137634147916,
"repeats": [
{
"phase": "timing",
"B": 14,
"T": 8,
"BV": 4,
"repeat": 0,
"abba_us": [
43.33849234375553,
69.96709097803166,
69.197572072347,
43.38928960984753
],
"reference_us": 43.36389097680153,
"fused_us": 69.58233152518933,
"speedup": 0.6232026151797382
},
{
"phase": "timing",
"B": 14,
"T": 8,
"BV": 4,
"repeat": 1,
"abba_us": [
43.374815983558776,
69.33167289657847,
69.15567461761313,
43.38812664389883
],
"reference_us": 43.3814713137288,
"fused_us": 69.24367375709579,
"speedup": 0.6265044726816399
},
{
"phase": "timing",
"B": 14,
"T": 8,
"BV": 4,
"repeat": 2,
"abba_us": [
43.374027371941125,
69.81522461463666,
69.07568340895497,
43.37111249700323
],
"reference_us": 43.37256993447218,
"fused_us": 69.44545401179582,
"speedup": 0.6245559274060623
}
],
"changed_input_replays_passed": 3
},
{
"run": "v3",
"batch": 14,
"tokens": 8,
"value_tile": 16,
"reference_us": 43.356328145611,
"fused_us": 39.25557365587938,
"time_reduction_percent": 9.458260570312493,
"repeats": [
{
"phase": "timing",
"B": 14,
"T": 8,
"BV": 16,
"repeat": 0,
"abba_us": [
43.528448590885134,
38.96241961610808,
39.02664934387957,
43.32269155062162
],
"reference_us": 43.42557007075338,
"fused_us": 38.994534479993824,
"speedup": 1.1136322217933619
},
{
"phase": "timing",
"B": 14,
"T": 8,
"BV": 16,
"repeat": 1,
"abba_us": [
43.37097392362707,
39.46567790027897,
39.15842257161643,
43.341682367594935
],
"reference_us": 43.356328145611,
"fused_us": 39.312050235947694,
"speedup": 1.1028762907401137
},
{
"phase": "timing",
"B": 14,
"T": 8,
"BV": 16,
"repeat": 2,
"abba_us": [
43.35852520006923,
39.4085418177015,
39.102605494057265,
43.29710218641493
],
"reference_us": 43.32781369324208,
"fused_us": 39.25557365587938,
"speedup": 1.1037366075212809
}
],
"changed_input_replays_passed": 3
}
],
"traces": {
"kda_B8_T8_BV4.trace.json": {
"source_sha256": "a399211304ee096c5af951be0fb4ae872b038b8bf6711a01bccfa10ac5a19528",
"arms": {
"reference": {
"replays": 8,
"kernels_per_replay": 2,
"events": [
{
"name": "_causal_conv1d_update_kernel",
"start_us": 0.0,
"duration_us": 7.239
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 7.2392578125,
"duration_us": 34.88
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 51.0810546875,
"duration_us": 5.639
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 56.720703125,
"duration_us": 33.399
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 98.7607421875,
"duration_us": 5.719
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 104.48046875,
"duration_us": 33.28
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 146.4013671875,
"duration_us": 5.479
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 151.8818359375,
"duration_us": 33.439
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 194.001953125,
"duration_us": 5.559
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 199.5615234375,
"duration_us": 33.36
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 241.4423828125,
"duration_us": 5.919
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 247.3623046875,
"duration_us": 33.399
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 289.5625,
"duration_us": 5.68
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 295.2431640625,
"duration_us": 33.279
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 337.1240234375,
"duration_us": 5.599
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 342.7236328125,
"duration_us": 33.399
}
]
},
"fused": {
"replays": 8,
"kernels_per_replay": 1,
"events": [
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 0.0,
"duration_us": 44.44
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 53.2412109375,
"duration_us": 42.519
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 104.4814453125,
"duration_us": 42.4
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 155.681640625,
"duration_us": 42.319
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 206.76171875,
"duration_us": 42.36
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 258.04296875,
"duration_us": 42.48
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 309.484375,
"duration_us": 42.439
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 360.763671875,
"duration_us": 42.4
}
]
}
}
},
"kda_B8_T8_BV16.trace.json": {
"source_sha256": "ea130ef3c355388ac76f1373b6bb4c1d0a5fa9a439d68a0193095d38397c5138",
"arms": {
"reference": {
"replays": 8,
"kernels_per_replay": 2,
"events": [
{
"name": "_causal_conv1d_update_kernel",
"start_us": 0.0,
"duration_us": 7.199
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 7.2001953125,
"duration_us": 33.799
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 49.8818359375,
"duration_us": 5.519
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 55.4013671875,
"duration_us": 32.919
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 96.7216796875,
"duration_us": 5.439
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 102.1611328125,
"duration_us": 33.199
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 143.8427734375,
"duration_us": 5.559
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 149.40234375,
"duration_us": 33.239
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 191.162109375,
"duration_us": 5.479
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 196.642578125,
"duration_us": 33.04
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 238.04296875,
"duration_us": 5.679
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 243.7236328125,
"duration_us": 33.159
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 285.5234375,
"duration_us": 5.559
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 291.0830078125,
"duration_us": 33.12
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 332.884765625,
"duration_us": 5.439
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 338.32421875,
"duration_us": 32.999
}
]
},
"fused": {
"replays": 8,
"kernels_per_replay": 1,
"events": [
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 0.0,
"duration_us": 30.799
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 39.4794921875,
"duration_us": 28.44
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 76.3603515625,
"duration_us": 28.479
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 113.400390625,
"duration_us": 28.559
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 150.6806640625,
"duration_us": 28.68
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 188.1220703125,
"duration_us": 28.679
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 225.4013671875,
"duration_us": 28.56
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 262.6826171875,
"duration_us": 28.799
}
]
}
}
},
"kda_B8_T6_BV16.trace.json": {
"source_sha256": "e1f014e2829706339189e2a77651c455f36181f09926f57cebf0cca467eaae02",
"arms": {
"reference": {
"replays": 8,
"kernels_per_replay": 2,
"events": [
{
"name": "_causal_conv1d_update_kernel",
"start_us": 0.0,
"duration_us": 6.439
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 6.4404296875,
"duration_us": 27.32
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 42.4814453125,
"duration_us": 5.519
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 48.0009765625,
"duration_us": 26.199
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 82.6015625,
"duration_us": 5.439
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 88.041015625,
"duration_us": 26.36
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 122.72265625,
"duration_us": 5.479
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 128.2021484375,
"duration_us": 26.439
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 163.2021484375,
"duration_us": 5.439
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 168.642578125,
"duration_us": 26.32
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 203.68359375,
"duration_us": 5.519
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 209.203125,
"duration_us": 26.359
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 244.123046875,
"duration_us": 5.639
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 249.763671875,
"duration_us": 26.279
},
{
"name": "_causal_conv1d_update_kernel",
"start_us": 284.64453125,
"duration_us": 5.599
},
{
"name": "fused_sigmoid_gating_delta_rule_update_kernel",
"start_us": 290.244140625,
"duration_us": 26.239
}
]
},
"fused": {
"replays": 8,
"kernels_per_replay": 1,
"events": [
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 0.0,
"duration_us": 25.119
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 33.560546875,
"duration_us": 22.759
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 64.8408203125,
"duration_us": 22.88
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 96.4814453125,
"duration_us": 22.839
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 128.0009765625,
"duration_us": 22.799
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 159.681640625,
"duration_us": 22.76
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 191.322265625,
"duration_us": 23.079
},
{
"name": "fused_kda_conv_gating_verify_kernel",
"start_us": 223.1220703125,
"duration_us": 23.119
}
]
}
}
}
}
}
{
"scope": "Historical isolated operator tuning; synthetic inputs; no model throughput",
"hardware": "One AMD Instinct MI350X VF (gfx950)",
"torch": "2.11.0+rocm7.2",
"hip": "7.2.26015",
"image_id": "sha256:4735a1841eacb4be8041ff3d07c45e2923f8a05c87375fff427681322c355e00",
"geometry": {
"local_q_heads": 16,
"local_v_heads": 16,
"K": 128,
"V": 128,
"conv_width": 4,
"conv_bias": false,
"lower_bound": -5.0,
"activations": "BF16",
"conv_weights": "FP32",
"ssm_state": "FP32",
"num_warps": 1
},
"timing_protocol": "256 graph warmups; three ABBA repeats; each arm uses do_bench_cudagraph(rep=40, return_mode='median'); fixture clones excluded",
"summary_statistic": "Median of three paired arm means; all ABBA values retained",
"correctness": "Three changed-input graph replays per shape; active output and convolution buffers bit-exact; intermediate SSM states atol=0.004, rtol=0",
"kernel_source_sha256": "c6dd71d18acaa64342d4eb3a36d7c4bd1fabae6a495c870fc7017043f7bde7b8",
"reviewed_runtime_kernel_sha256": "11f074b404acd9f962635afe2aaa886d751240a779c38a52432f2a28c31eaacc",
"source_comparison": "Archived kernel equals the reviewed kernel except the T=6 selector/comment is widened to T in (6,8). The probe explicitly forces each tile for both T values.",
"runs": [
{
"id": "v2",
"started_at": "2026-09-05T20:39:01Z",
"finished_at": "2026-09-05T20:39:51Z",
"log_sha256": "df32b3e10858aca62c3085e061ad200bff6e19c7789d4f91d587fefaae3ce427",
"harness_sha256": "281a99aa651c0238f0a32384595ba51926d6a7b9ed43367ae7ff181a3e0f2bb9"
},
{
"id": "v3",
"started_at": "2026-09-05T20:44:26Z",
"finished_at": "2026-09-05T20:45:05Z",
"log_sha256": "d77291f7ed325729a5079d656b6f8a1f5907cf1b09116f3c9c981b49fb5b954b",
"harness_sha256": "3a912c85e45eb1e5b79680a6a66ffbd82b3f5f4b7e8698a22ade2ac2f7212f1f"
}
],
"cases": [
{
"run": "v2",
"batch": 1,
"tokens": 6,
"value_tile": 4,
"reference_us": 25.221460502595846,
"fused_us": 13.039892368000043,
"time_reduction_percent": 48.29842480114127,
"repeats": [
{
"phase": "timing",
"B": 1,
"T": 6,
"BV": 4,
"repeat": 0,
"abba_us": [
25.237130285871082,
13.016348542410624,
13.032243138834128,
25.20579071932061
],
"reference_us": 25.221460502595846,
"fused_us": 13.024295840622376,
"speedup": 1.9364932132400503
},
{
"phase": "timing",
"B": 1,
"T": 6,
"BV": 4,
"repeat": 1,
"abba_us": [
25.231828625570206,
13.043984177890444,
13.042171095248964,
25.225065123866983
],
"reference_us": 25.228446874718593,
"fused_us": 13.043077636569704,
"speedup": 1.9342403363439313
},
{
"phase": "timing",
"B": 1,
"T": 6,
"BV": 4,
"repeat": 2,
"abba_us": [
25.194562136471927,
13.018067467291623,
13.061717268708463,
25.245260184919328
],
"reference_us": 25.219911160695627,
"fused_us": 13.039892368000043,
"speedup": 1.9340582306174097
}
],