Skip to content
KernelIndex
Search⌘K

Attention score value matmul

22 eligible runs
other

Fused attention score-value matrix multiplication that computes attention_weights @ V followed by transpose and reshape. This is the second major matmul in attention (after QK^T softmax) and appears in every self-attention and cross-attention layer throughout SDXL UNet.

Fastest reported
13.1µsmean · 77% of SOL
RIAC as wellLicense unknown · unknown

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

No public sourceRun detail →

Current records

Workloadsuite of 16 cases · mean latencyhead_dim = 64 · num_heads = 20 · hidden_size = 128016 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 · 13 results · last observed 2026-08-18Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
13.1µs77% SOL
1.00×
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 →
2
15.0µs73% SOL
1.14×
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
15.2µs73% SOL
1.15×
Reported · license unknown · no source
2026-08-14

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

no sourcelicense unknownno install recipeRun detail →
4
15.3µs73% SOL
1.17×
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
15.4µs73% SOL
1.17×
Reported · license unknown · no source
2026-08-14

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

no sourcelicense unknownno install recipeRun detail →
6
15.4µs73% SOL
1.18×
Reported · license unknown · no source
2026-07-16

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

no sourcelicense unknownno install recipeRun detail →
7
15.5µs73% SOL
1.18×
Reported · license unknown · no source
2026-08-14

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

no sourcelicense unknownno install recipeRun detail →
8
15.5µs73% SOL
1.18×
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 →
9
15.7µs72% SOL
1.19×
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 →
10
16.7µs71% SOL
1.27×
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 →
11
17.0µs71% SOL
1.30×
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 →
12
17.7µs69% SOL
1.35×
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 →
13
29.6µs55% SOL
2.25×
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
15.7µs
1.19×
Reported
license unknown · no source
unknown
17.0µs
1.30×
Reported
license unknown · no source
unknown
13.7µs
1.04×
Reported
license unknown · no source
unknown
14.4µs
1.10×
Reported
license unknown · no source
unknown
14.5µs
1.11×
Reported
license unknown · no source
unknown
13.1µs
1.00×
Reported
license unknown · no source
unknown
14.8µs
1.13×
Reported
license unknown · no source
unknown
15.2µs
1.15×
Reported
license unknown · no source
Show all 22 implementations ›
unknown
15.4µs
1.17×
Reported
license unknown · no source
unknown
15.4µs
1.18×
Reported
license unknown · no source
unknown
15.5µs
1.18×
Reported
license unknown · no source
unknown
16.7µs
1.27×
Reported
license unknown · no source
unknown
19.6µs
1.49×
Reported
license unknown · no source
unknown
29.0µs
2.20×
Reported
license unknown · no source
unknown
15.0µs
1.14×
Reported
license unknown · no source
unknown
15.5µs
1.18×
Reported
license unknown · no source
unknown
15.3µs
1.17×
Reported
license unknown · no source
unknown
15.5µs
1.18×
Reported
license unknown · no source
unknown
17.4µs
1.32×
Reported
license unknown · no source
unknown
17.7µs
1.35×
Reported
license unknown · no source
unknown
23.4µs
1.78×
Reported
license unknown · no source
unknown
29.6µs
2.25×
Reported
license unknown · no source

Semantics

Inputs and outputs
attention_weightsbf16 [batch_size, num_heads, seq_len_q, seq_len_kv]
valuebf16 [batch_size, num_heads, seq_len_kv, head_dim]
outputbf16 [batch_size, seq_len_q, hidden_size]
Axes and behavior
head_dimconstant = 64
num_headsconstant = 20
seq_len_qvariable
batch_sizevariable
seq_len_kvvariable
hidden_sizeconstant = 1280
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias083_attention_score_value_matmulmodelstable-diffusion-xl-base-1-0sha256049739b1cc6d…
Sources: NVIDIA SOL-ExecBench (2026-08-18)last observed 2026-08-18How records are decidedJSON