Skip to content
KernelIndex
Search⌘K

Grouped query attention with RoPE backward

32 eligible runs
rope

Backward pass for Grouped Query Attention with Rotary Position Embeddings. Computes gradients through output projection, attention computation, RoPE, and Q/K/V projections.

Fastest reported
316.3µsmean · 70% of SOL
RIAC as wellLicense unknown · unknown

Reported evidence · last observed 2026-08-15. 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 · q_proj_size = 4096 · kv_proj_size = 1024 · num_attention_heads = 32 · num_key_value_heads = 816 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 · 19 results · last observed 2026-08-22Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
316.3µs70% SOL
1.00×
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 →
2
343.8µs67% SOL
1.09×
Reported · license unknown · no source
2026-07-26

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

no sourcelicense unknownno install recipeRun detail →
3
348.3µs67% SOL
1.10×
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
359.8µs66% SOL
1.14×
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 →
5
362.1µs66% SOL
1.14×
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
363.8µs65% SOL
1.15×
Reported · license unknown · no source
2026-07-19

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

no sourcelicense unknownno install recipeRun detail →
7
365.0µs65% SOL
1.15×
Reported · license unknown · no source
2026-08-21

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

no sourcelicense unknownno install recipeRun detail →
8
371.0µs65% 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 →
9
385.4µs64% SOL
1.22×
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
397.9µs63% SOL
1.26×
Reported · license unknown · no source
2026-07-19

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

no sourcelicense unknownno install recipeRun detail →
11
421.1µs61% SOL
1.33×
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 →
12
421.2µs62% SOL
1.33×
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
450.9µs59% SOL
1.43×
Reported · license unknown · no source
2026-08-20

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

no sourcelicense unknownno install recipeRun detail →
14
470.5µs57% SOL
1.49×
Reported · license unknown · no source
2026-08-08

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

no sourcelicense unknownno install recipeRun detail →
15
472.1µs57% SOL
1.49×
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
486.0µs55% SOL
1.54×
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 →
17
496.9µs56% SOL
1.57×
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
543.9µs53% SOL
1.72×
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 →
19
631.7µs47% SOL
2.00×
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
316.3µs
1.00×
Reported
license unknown · no source
unknown
359.8µs
1.14×
Reported
license unknown · no source
unknown
362.3µs
1.15×
Reported
license unknown · no source
unknown
375.2µs
1.19×
Reported
license unknown · no source
unknown
363.8µs
1.15×
Reported
license unknown · no source
unknown
397.9µs
1.26×
Reported
license unknown · no source
unknown
417.2µs
1.32×
Reported
license unknown · no source
unknown
470.5µs
1.49×
Reported
license unknown · no source
Show all 32 implementations ›
unknown
492.3µs
1.56×
Reported
license unknown · no source
unknown
521.6µs
1.65×
Reported
license unknown · no source
unknown
551.7µs
1.74×
Reported
license unknown · no source
unknown
357.5µs
1.13×
Reported
license unknown · no source
unknown
362.1µs
1.14×
Reported
license unknown · no source
unknown
365.0µs
1.15×
Reported
license unknown · no source
unknown
371.0µs
1.17×
Reported
license unknown · no source
unknown
385.4µs
1.22×
Reported
license unknown · no source
unknown
421.2µs
1.33×
Reported
license unknown · no source
unknown
421.1µs
1.33×
Reported
license unknown · no source
unknown
428.5µs
1.35×
Reported
license unknown · no source
unknown
450.9µs
1.43×
Reported
license unknown · no source
unknown
472.1µs
1.49×
Reported
license unknown · no source
unknown
496.9µs
1.57×
Reported
license unknown · no source
unknown
486.0µs
1.54×
Reported
license unknown · no source
unknown
494.3µs
1.56×
Reported
license unknown · no source
unknown
499.0µs
1.58×
Reported
license unknown · no source
unknown
510.3µs
1.61×
Reported
license unknown · no source
unknown
543.9µs
1.72×
Reported
license unknown · no source
unknown
530.1µs
1.68×
Reported
license unknown · no source
unknown
631.7µs
2.00×
Reported
license unknown · no source
unknown
328.9µs
1.04×
Reported
license unknown · no source
unknown
343.8µs
1.09×
Reported
license unknown · no source
unknown
348.3µs
1.10×
Reported
license unknown · no source

Semantics

Inputs and outputs
grad_outputbf16 [batch_size, seq_len, hidden_size]
hidden_statesbf16 [batch_size, seq_len, hidden_size]
cosbf16 [batch_size, seq_len, head_dim]
sinbf16 [batch_size, seq_len, head_dim]
q_weightbf16 [q_proj_size, hidden_size]
k_weightbf16 [kv_proj_size, hidden_size]
v_weightbf16 [kv_proj_size, hidden_size]
o_weightbf16 [hidden_size, q_proj_size]
query_statesbf16 [batch_size, num_attention_heads, seq_len, head_dim]
key_statesbf16 [batch_size, num_attention_heads, seq_len, head_dim]
value_statesbf16 [batch_size, num_attention_heads, seq_len, head_dim]
attn_weightsbf16 [batch_size, num_attention_heads, seq_len, seq_len]
attn_outputbf16 [batch_size, seq_len, q_proj_size]
scalingfp32 scalar
grad_hidden_statesbf16 [batch_size, seq_len, hidden_size]
grad_q_weightbf16 [q_proj_size, hidden_size]
grad_k_weightbf16 [kv_proj_size, hidden_size]
grad_v_weightbf16 [kv_proj_size, hidden_size]
grad_o_weightbf16 [hidden_size, q_proj_size]
Axes and behavior
seq_lenvariable
head_dimconstant = 128
batch_sizevariable
hidden_sizeconstant = 5120
q_proj_sizeq_proj_size = num_attention_heads * head_dim
kv_proj_sizekv_proj_size = num_key_value_heads * head_dim
num_attention_headsconstant = 32
num_key_value_headsconstant = 8
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias003_grouped_query_attention_with_rope_backwardmodeldeephermes-3-mistral-24b-previewsha2562afa1d8c8129…
Sources: NVIDIA SOL-ExecBench (2026-08-22)last observed 2026-08-22How records are decidedJSON