Skip to content
KernelIndex
Search⌘K

Grouped query attention with RoPE and QK norm

42 eligible runs
rmsnorm

Grouped Query Attention with RoPE and Query/Key RMSNorm. Features 32 query heads, 8 KV heads (4x grouping), per-head RMSNorm on Q/K before RoPE application, and causal attention. This is the core attention mechanism from Qwen3-8B.

Fastest reported
228.4µsmean · 60% of SOL
Amir M. Mir | SF TensorLicense unknown · unknown

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

No public sourceRun detail →

Current records

Workloadsuite of 16 cases · mean latencyone = 1 · head_dim = 128 · hidden_size = 4096 · q_proj_out_dim = 4096 · kv_proj_out_dim = 1024 · num_attention_heads = 32 · num_key_value_heads = 8 · 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.1 · mean · 26 results · last observed 2026-08-19Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
228.4µs60% SOL
1.00×
Reported · license unknown · no source
2026-08-07

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

no sourcelicense unknownno install recipeRun detail →
2
230.1µs59% SOL
1.01×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
3
236.6µs58% SOL
1.04×
Reported · license unknown · no source
2026-08-19

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

no sourcelicense unknownno install recipeRun detail →
4
237.7µs58% SOL
1.04×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
5
241.9µs58% SOL
1.06×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
6
242.1µs59% SOL
1.06×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
7
242.2µs59% SOL
1.06×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
8
243.4µs55% SOL
1.07×
Reported · license unknown · no source
2026-08-18

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

no sourcelicense unknownno install recipeRun detail →
9
243.8µs58% SOL
1.07×
Reported · license unknown · no source
2026-07-11

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

no sourcelicense unknownno install recipeRun detail →
10
251.9µs53% SOL
1.10×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
11
256.4µs54% SOL
1.12×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
12
257.1µs54% SOL
1.13×
Reported · license unknown · no source
2026-07-15

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

no sourcelicense unknownno install recipeRun detail →
13
260.4µs52% SOL
1.14×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
14
267.8µs52% SOL
1.17×
Reported · license unknown · no source
2026-08-18

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

no sourcelicense unknownno install recipeRun detail →
15
272.6µs51% SOL
1.19×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
16
278.3µs48% SOL
1.22×
Reported · license unknown · no source
2026-07-30

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

no sourcelicense unknownno install recipeRun detail →
17
288.1µs50% SOL
1.26×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
18
293.7µs47% SOL
1.29×
Reported · license unknown · no source
2026-07-27

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

no sourcelicense unknownno install recipeRun detail →
19
311.5µs47% SOL
1.36×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
20
314.8µs45% SOL
1.38×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
21
316.8µs46% SOL
1.39×
Reported · license unknown · no source
2026-08-15

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

no sourcelicense unknownno install recipeRun detail →
22
339.5µs43% SOL
1.49×
Reported · license unknown · no source
2026-07-13

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

no sourcelicense unknownno install recipeRun detail →
23
434.3µs36% SOL
1.90×
Reported · license unknown · no source
2026-07-15

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

no sourcelicense unknownno install recipeRun detail →
24
554.5µs28% SOL
2.43×
Reported · license unknown · no source
2026-07-10

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

no sourcelicense unknownno install recipeRun detail →
25
593.6µs29% SOL
2.60×
Reported · license unknown · no source
2026-08-02

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

no sourcelicense unknownno install recipeRun detail →
26
863.4µs21% SOL
3.78×
Reported · license unknown · no source
2026-08-11

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
217.8µs
1.02×
Reported
license unknown · no source
unknown
222.7µs
1.05×
Reported
license unknown · no source
unknown
212.8µs
1.00×
Reported
license unknown · no source
unknown
236.3µs
1.11×
Reported
license unknown · no source
unknown
239.7µs
1.13×
Reported
license unknown · no source
unknown
242.2µs
1.14×
Reported
license unknown · no source
unknown
242.1µs
1.14×
Reported
license unknown · no source
unknown
236.6µs
1.11×
Reported
license unknown · no source
Show all 42 implementations ›
unknown
256.4µs
1.20×
Reported
license unknown · no source
unknown
257.1µs
1.21×
Reported
license unknown · no source
unknown
279.4µs
1.31×
Reported
license unknown · no source
unknown
278.3µs
1.31×
Reported
license unknown · no source
unknown
319.4µs
1.50×
Reported
license unknown · no source
unknown
339.5µs
1.60×
Reported
license unknown · no source
unknown
450.5µs
2.12×
Reported
license unknown · no source
unknown
593.6µs
2.79×
Reported
license unknown · no source
unknown
879.1µs
4.13×
Reported
license unknown · no source
unknown
1.64ms
7.69×
Reported
license unknown · no source
unknown
237.5µs
1.12×
Reported
license unknown · no source
unknown
241.3µs
1.13×
Reported
license unknown · no source
unknown
243.8µs
1.15×
Reported
license unknown · no source
unknown
241.9µs
1.14×
Reported
license unknown · no source
unknown
243.0µs
1.14×
Reported
license unknown · no source
unknown
243.4µs
1.14×
Reported
license unknown · no source
unknown
251.9µs
1.18×
Reported
license unknown · no source
unknown
260.4µs
1.22×
Reported
license unknown · no source
unknown
267.8µs
1.26×
Reported
license unknown · no source
unknown
272.6µs
1.28×
Reported
license unknown · no source
unknown
288.1µs
1.35×
Reported
license unknown · no source
unknown
283.5µs
1.33×
Reported
license unknown · no source
unknown
284.1µs
1.34×
Reported
license unknown · no source
unknown
293.7µs
1.38×
Reported
license unknown · no source
unknown
311.5µs
1.46×
Reported
license unknown · no source
unknown
316.8µs
1.49×
Reported
license unknown · no source
unknown
314.8µs
1.48×
Reported
license unknown · no source
unknown
434.3µs
2.04×
Reported
license unknown · no source
unknown
554.5µs
2.61×
Reported
license unknown · no source
unknown
863.4µs
4.06×
Reported
license unknown · no source
unknown
1.64ms
7.70×
Reported
license unknown · no source
unknown
228.4µs
1.07×
Reported
license unknown · no source
unknown
230.1µs
1.08×
Reported
license unknown · no source
unknown
237.7µs
1.12×
Reported
license unknown · no source

Semantics

Inputs and outputs
hidden_statesbf16 [batch_size, seq_len, hidden_size]
cosbf16 [batch_size, seq_len, head_dim]
sinbf16 [batch_size, seq_len, head_dim]
attention_maskbf16 [batch_size, one, seq_len, seq_len]
q_proj_weightbf16 [q_proj_out_dim, hidden_size]
k_proj_weightbf16 [kv_proj_out_dim, hidden_size]
v_proj_weightbf16 [kv_proj_out_dim, hidden_size]
o_proj_weightbf16 [hidden_size, q_proj_out_dim]
q_norm_weightbf16 [head_dim]
k_norm_weightbf16 [head_dim]
rms_norm_epsfp32 scalar
scalingfp32 scalar
attn_outputbf16 [batch_size, seq_len, hidden_size]
Axes and behavior
oneconstant = 1
seq_lenvariable
head_dimconstant = 128
batch_sizevariable
hidden_sizeconstant = 4096
q_proj_out_dimq_proj_out_dim = num_attention_heads * head_dim
kv_proj_out_dimkv_proj_out_dim = num_key_value_heads * head_dim
num_attention_headsconstant = 32
num_key_value_headsconstant = 8
num_key_value_groupsconstant = 4
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias015_grouped_query_attention_with_rope_and_qk_normmodelqwen3-8bsha25669d867183028…
Sources: NVIDIA SOL-ExecBench (2026-08-19)last observed 2026-08-19How records are decidedJSON