Skip to content
KernelIndex
Search⌘K

Attention QKV projection with GQA reshape

40 eligible runs
other

Fused QKV projection with Grouped Query Attention (GQA) reshaping. Performs three linear projections (Q: 2048->2048, K: 2048->512, V: 2048->512) followed by reshape and transpose to prepare tensors for attention computation. Uses GQA pattern with 16 query heads and 4 key-value heads (4x compression).

Fastest reported
25.5µsmean · 68% of SOL
RIAC as wellLicense unknown · unknown

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

No public sourceRun detail →

Current records

Workloadsuite of 16 cases · mean latencyq_size = 2048 · kv_size = 512 · head_dim = 128 · num_heads = 16 · hidden_size = 2048 · num_kv_heads = 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 · 28 results · last observed 2026-08-24Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
25.5µs68% SOL
1.00×
Reported · license unknown · no source
2026-08-16

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

no sourcelicense unknownno install recipeRun detail →
2
25.8µs68% SOL
1.01×
Reported · license unknown · no source
2026-07-12

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

no sourcelicense unknownno install recipeRun detail →
3
27.6µs66% SOL
1.08×
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 →
4
27.9µs65% SOL
1.09×
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
29.4µs63% SOL
1.15×
Reported · license unknown · no source
2026-08-22

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

no sourcelicense unknownno install recipeRun detail →
6
29.9µs62% SOL
1.17×
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 →
7
30.0µs64% SOL
1.18×
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
30.0µs64% SOL
1.18×
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 →
9
30.3µs64% SOL
1.19×
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 →
10
30.5µs62% SOL
1.20×
Reported · license unknown · no source
2026-08-24

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

no sourcelicense unknownno install recipeRun detail →
11
30.8µs61% SOL
1.21×
Reported · license unknown · no source
2026-08-23

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

no sourcelicense unknownno install recipeRun detail →
12
30.9µs61% SOL
1.21×
Reported · license unknown · no source
2026-08-24

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

no sourcelicense unknownno install recipeRun detail →
13
30.9µs62% SOL
1.21×
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 →
14
31.3µs61% SOL
1.23×
Reported · license unknown · no source
2026-08-22

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

no sourcelicense unknownno install recipeRun detail →
15
31.4µs60% SOL
1.23×
Reported · license unknown · no source
2026-08-22

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

no sourcelicense unknownno install recipeRun detail →
16
32.3µs60% SOL
1.27×
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 →
17
33.4µs58% SOL
1.31×
Reported · license unknown · no source
2026-07-17

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

no sourcelicense unknownno install recipeRun detail →
18
33.4µs58% SOL
1.31×
Reported · license unknown · no source
2026-08-12

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

no sourcelicense unknownno install recipeRun detail →
19
34.1µs57% SOL
1.34×
Reported · license unknown · no source
2026-07-22

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

no sourcelicense unknownno install recipeRun detail →
20
34.2µs57% SOL
1.34×
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 →
21
34.9µs56% SOL
1.37×
Reported · license unknown · no source
2026-08-16

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

no sourcelicense unknownno install recipeRun detail →
22
34.9µs57% SOL
1.37×
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 →
23
36.6µs54% SOL
1.44×
Reported · license unknown · no source
2026-08-06

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

no sourcelicense unknownno install recipeRun detail →
24
36.7µs54% SOL
1.44×
Reported · license unknown · no source
2026-07-28

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

no sourcelicense unknownno install recipeRun detail →
25
36.7µs54% SOL
1.44×
Reported · license unknown · no source
2026-08-06

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

no sourcelicense unknownno install recipeRun detail →
26
37.4µs53% SOL
1.47×
Reported · license unknown · no source
2026-07-22

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

no sourcelicense unknownno install recipeRun detail →
27
45.2µs48% SOL
1.77×
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 →
28
51.6µs44% SOL
2.03×
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 →

Implementations

Implementation
Runtime
Best latency
Evidence
Availability
unknown
25.8µs
1.08×
Reported
license unknown · no source
unknown
24.0µs
1.00×
Reported
license unknown · no source
unknown
25.5µs
1.06×
Reported
license unknown · no source
unknown
26.4µs
1.10×
Reported
license unknown · no source
unknown
27.1µs
1.13×
Reported
license unknown · no source
unknown
30.0µs
1.25×
Reported
license unknown · no source
unknown
30.0µs
1.25×
Reported
license unknown · no source
unknown
30.3µs
1.26×
Reported
license unknown · no source
Show all 40 implementations ›
unknown
29.4µs
1.22×
Reported
license unknown · no source
unknown
30.9µs
1.29×
Reported
license unknown · no source
unknown
32.3µs
1.35×
Reported
license unknown · no source
unknown
33.4µs
1.39×
Reported
license unknown · no source
unknown
34.1µs
1.42×
Reported
license unknown · no source
unknown
42.6µs
1.78×
Reported
license unknown · no source
unknown
43.0µs
1.79×
Reported
license unknown · no source
unknown
47.1µs
1.96×
Reported
license unknown · no source
unknown
47.5µs
1.98×
Reported
license unknown · no source
unknown
29.9µs
1.25×
Reported
license unknown · no source
unknown
30.5µs
1.27×
Reported
license unknown · no source
unknown
31.3µs
1.30×
Reported
license unknown · no source
unknown
30.8µs
1.28×
Reported
license unknown · no source
unknown
30.9µs
1.29×
Reported
license unknown · no source
unknown
31.3µs
1.31×
Reported
license unknown · no source
unknown
31.4µs
1.31×
Reported
license unknown · no source
unknown
33.8µs
1.41×
Reported
license unknown · no source
unknown
33.4µs
1.39×
Reported
license unknown · no source
unknown
34.2µs
1.43×
Reported
license unknown · no source
unknown
34.9µs
1.46×
Reported
license unknown · no source
unknown
34.9µs
1.45×
Reported
license unknown · no source
unknown
36.6µs
1.53×
Reported
license unknown · no source
unknown
36.7µs
1.53×
Reported
license unknown · no source
unknown
36.7µs
1.53×
Reported
license unknown · no source
unknown
37.4µs
1.56×
Reported
license unknown · no source
unknown
42.6µs
1.78×
Reported
license unknown · no source
unknown
45.2µs
1.88×
Reported
license unknown · no source
unknown
46.6µs
1.94×
Reported
license unknown · no source
unknown
47.7µs
1.99×
Reported
license unknown · no source
unknown
51.6µs
2.15×
Reported
license unknown · no source
unknown
27.6µs
1.15×
Reported
license unknown · no source
unknown
27.9µs
1.16×
Reported
license unknown · no source

Semantics

Inputs and outputs
hidden_statesbf16 [batch_size, seq_len, hidden_size]
q_weightbf16 [q_size, hidden_size]
k_weightbf16 [kv_size, hidden_size]
v_weightbf16 [kv_size, hidden_size]
query_statesbf16 [batch_size, num_heads, seq_len, head_dim]
key_statesbf16 [batch_size, num_kv_heads, seq_len, head_dim]
value_statesbf16 [batch_size, num_kv_heads, seq_len, head_dim]
Axes and behavior
q_sizeq_size = num_heads * head_dim
kv_sizekv_size = num_kv_heads * head_dim
seq_lenvariable
head_dimconstant = 128
num_headsconstant = 16
batch_sizevariable
hidden_sizeconstant = 2048
num_kv_headsconstant = 4
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias055_attention_qkv_projection_with_gqa_reshapemodelgranite-4-0-1bsha256574693c8369d…
Sources: NVIDIA SOL-ExecBench (2026-08-24)last observed 2026-08-24How records are decidedJSON