Skip to content
KernelIndex
Search⌘K

Attention weights matmul with value projection

26 eligible runs
other

Fused attention weights @ value matmul with transpose and reshape. Performs attn_weights @ value_states followed by transpose from (batch, num_heads, seq_len, head_dim) to (batch, seq_len, num_heads, head_dim) and reshape to (batch, seq_len, hidden_size). This is the second major matmul in attention that combines attention weights with value states, appearing 64 times per forward pass.

Fastest reported
23.6µsmean · 75% of SOL
RIAC as wellLicense unknown · unknown

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

No public sourceRun detail →

Current records

Workloadsuite of 16 cases · mean latencyhead_dim = 128 · hidden_size = 5120 · num_attention_heads = 4016 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 · 16 results · last observed 2026-08-22Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
23.6µs75% SOL
1.00×
Reported · license unknown · no source
2026-08-17

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

no sourcelicense unknownno install recipeRun detail →
2
27.7µs72% 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 →
3
28.0µs71% 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 →
4
29.4µs70% SOL
1.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 →
5
30.0µs67% SOL
1.27×
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 →
6
30.9µs66% SOL
1.31×
Reported · license unknown · no source
2026-07-24

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

no sourcelicense unknownno install recipeRun detail →
7
31.4µs65% SOL
1.33×
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 →
8
31.4µs65% SOL
1.33×
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 →
9
31.9µs65% SOL
1.35×
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 →
10
32.4µs64% SOL
1.37×
Reported · license unknown · no source
2026-08-13

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

no sourcelicense unknownno install recipeRun detail →
11
33.5µs64% SOL
1.42×
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 →
12
33.5µs64% SOL
1.42×
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 →
13
34.4µs63% SOL
1.46×
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
34.8µs63% SOL
1.48×
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 →
15
38.7µs60% SOL
1.64×
Reported · license unknown · no source
2026-07-20

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

no sourcelicense unknownno install recipeRun detail →
16
46.6µs53% SOL
1.98×
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
23.6µs
1.00×
Reported
license unknown · no source
unknown
28.8µs
1.22×
Reported
license unknown · no source
unknown
30.0µs
1.27×
Reported
license unknown · no source
unknown
31.9µs
1.35×
Reported
license unknown · no source
unknown
31.4µs
1.33×
Reported
license unknown · no source
unknown
33.7µs
1.43×
Reported
license unknown · no source
unknown
33.6µs
1.42×
Reported
license unknown · no source
unknown
38.7µs
1.64×
Reported
license unknown · no source
Show all 26 implementations ›
unknown
45.1µs
1.92×
Reported
license unknown · no source
unknown
71.3µs
3.03×
Reported
license unknown · no source
unknown
28.0µs
1.19×
Reported
license unknown · no source
unknown
29.4µs
1.25×
Reported
license unknown · no source
unknown
30.9µs
1.31×
Reported
license unknown · no source
unknown
31.4µs
1.33×
Reported
license unknown · no source
unknown
33.5µs
1.42×
Reported
license unknown · no source
unknown
33.5µs
1.42×
Reported
license unknown · no source
unknown
33.1µs
1.40×
Reported
license unknown · no source
unknown
32.4µs
1.37×
Reported
license unknown · no source
unknown
33.6µs
1.43×
Reported
license unknown · no source
unknown
34.8µs
1.48×
Reported
license unknown · no source
unknown
34.4µs
1.46×
Reported
license unknown · no source
unknown
38.8µs
1.65×
Reported
license unknown · no source
unknown
46.6µs
1.98×
Reported
license unknown · no source
unknown
27.3µs
1.16×
Reported
license unknown · no source
unknown
27.7µs
1.18×
Reported
license unknown · no source
unknown
27.5µs
1.17×
Reported
license unknown · no source

Semantics

Inputs and outputs
attn_weightsbf16 [batch_size, num_attention_heads, seq_len, seq_len]
value_statesbf16 [batch_size, num_attention_heads, seq_len, head_dim]
outputbf16 [batch_size, seq_len, hidden_size]
Axes and behavior
seq_lenvariable
head_dimconstant = 128
batch_sizevariable
hidden_sizeconstant = 5120
num_attention_headsconstant = 40
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias032_attention_weights_matmul_with_value_projectionmodelolmo-3-32b-thinksha25640057badf276…
Sources: NVIDIA SOL-ExecBench (2026-08-22)last observed 2026-08-22How records are decidedJSON