Skip to content
KernelIndex
Search⌘K

Attention QK matmul with GQA repeat and scaling

25 eligible runs
other

Fused attention Q@K^T computation with GQA key repetition and scaling. Takes query (batch, num_heads=4, seq_len, head_dim=256) and key (batch, num_kv_heads=1, seq_len, head_dim=256), repeats KV heads 4x to match query heads, computes Q@K^T, and applies scaling (1/sqrt(256)=0.0625).

Fastest reported
11.3µsmean · 59% of SOL
RecursiveLicense unknown · unknown

Reported evidence · last observed 2026-06-07. Reported by source; not independently reproduced. No public source. License unknown.

No public sourceRun detail →

Current records

Workloadsuite of 16 cases · mean latencyhead_dim = 256 · num_attention_heads = 4 · num_key_value_heads = 1 · num_key_value_groups = 416 cases

Not measured on H100 for this workload. Challenges →

Source-native comparison · GPU NVIDIA B200 · Workload suite of 16 cases · mean latency · Protocol SOL-ExecBench evaluation stack v1.0 · mean · 13 results · last observed 2026-08-17Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
11.3µs59% SOL
1.00×
Reported · license unknown · no source
2026-06-07

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
2
11.7µs58% SOL
1.03×
Reported · license unknown · no source
2026-07-01

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
3
12.1µs57% SOL
1.07×
Reported · license unknown · no source
2026-06-28

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
4
12.6µs56% SOL
1.11×
Reported · license unknown · no source
2026-07-05

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
5
12.9µs56% SOL
1.14×
Reported · license unknown · no source
2026-06-30

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
6
13.6µs54% SOL
1.20×
Reported · license unknown · no source
2026-07-08

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
7
14.4µs53% SOL
1.27×
Reported · license unknown · no source
2026-05-20

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
8
14.7µs52% SOL
1.29×
Reported · license unknown · no source
2026-04-14

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
9
15.8µs51% SOL
1.40×
Reported · license unknown · no source
2026-07-05

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
10
15.9µs50% SOL
1.41×
Reported · license unknown · no source
2026-05-17

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
11
29.5µs34% SOL
2.61×
Reported · license unknown · no source
2026-04-22

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
12
33.4µs31% SOL
2.95×
Reported · license unknown · no source
2026-04-21

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →
13
42.9µs25% SOL
3.79×
Reported · license unknown · no source
2026-05-28

Measured exactly what you asked. Reported by source; not independently reproduced.

no sourcelicense unknownno install recipeRun detail →

Implementations

Implementation
Runtime
Best latency
Evidence
Availability
unknown
11.4µs
1.01×
Reported
license unknown · no source
unknown
12.6µs
1.11×
Reported
license unknown · no source
unknown
12.4µs
1.10×
Reported
license unknown · no source
unknown
12.6µs
1.11×
Reported
license unknown · no source
unknown
12.8µs
1.13×
Reported
license unknown · no source
unknown
13.6µs
1.20×
Reported
license unknown · no source
unknown
14.7µs
1.29×
Reported
license unknown · no source
unknown
15.8µs
1.40×
Reported
license unknown · no source
Show all 25 implementations ›
unknown
16.6µs
1.47×
Reported
license unknown · no source
unknown
42.9µs
3.79×
Reported
license unknown · no source
unknown
167.7µs
14.82×
Reported
license unknown · no source
unknown
12.1µs
1.07×
Reported
license unknown · no source
unknown
12.9µs
1.14×
Reported
license unknown · no source
unknown
13.0µs
1.15×
Reported
license unknown · no source
unknown
12.9µs
1.14×
Reported
license unknown · no source
unknown
13.2µs
1.17×
Reported
license unknown · no source
unknown
14.4µs
1.27×
Reported
license unknown · no source
unknown
14.8µs
1.30×
Reported
license unknown · no source
unknown
15.0µs
1.33×
Reported
license unknown · no source
unknown
15.9µs
1.41×
Reported
license unknown · no source
unknown
29.5µs
2.61×
Reported
license unknown · no source
unknown
33.4µs
2.95×
Reported
license unknown · no source
unknown
11.3µs
1.00×
Reported
license unknown · no source
unknown
11.7µs
1.03×
Reported
license unknown · no source
unknown
12.1µs
1.07×
Reported
license unknown · no source

Semantics

Inputs and outputs
querybf16 [batch_size, num_attention_heads, seq_len, head_dim]
keybf16 [batch_size, num_key_value_heads, seq_len, head_dim]
scalingfp32 scalar
attn_scoresbf16 [batch_size, num_attention_heads, seq_len, seq_len]
Axes and behavior
seq_lenvariable
head_dimconstant = 256
batch_sizevariable
num_attention_headsconstant = 4
num_key_value_headsconstant = 1
num_key_value_groupsconstant = 4
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias049_attention_qk_matmul_with_gqa_repeat_and_scalingmodelgemma-3-270msha256a16ce758c7f3…
Sources: NVIDIA SOL-ExecBench (2026-08-17)last observed 2026-08-17How records are decidedJSON