Skip to content
KernelIndex
Search⌘K

Rotary embedding with attention scaling backward

35 eligible runs
rope

Backward pass for rotary position embedding with attention scaling. Computes gradients with respect to position_ids through the RoPE embedding generation pipeline including inverse frequency expansion, frequency computation, and cos/sin with attention scaling.

Fastest reported
4.93µsmean · 93% of SOL
doubleAILicense unknown · unknown

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

No public sourceRun detail →

Current records

Source-native comparison · GPU NVIDIA B200 · Workload suite of 16 cases · mean latency · Protocol SOL-ExecBench evaluation stack v1.1 · mean · 18 results · last observed 2026-08-24Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
4.93µs93% SOL
1.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 →
2
5.12µs93% 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 →
3
5.34µs93% SOL
1.08×
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
5.34µs93% SOL
1.08×
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 →
5
5.36µs93% 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 →
6
5.37µs92% 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 →
7
5.39µs93% SOL
1.09×
Reported · license unknown · no source
2026-07-14

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

no sourcelicense unknownno install recipeRun detail →
8
5.42µs92% SOL
1.10×
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 →
9
6.02µs90% SOL
1.22×
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
6.03µs89% SOL
1.22×
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 →
11
6.07µs89% SOL
1.23×
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 →
12
6.25µs91% SOL
1.27×
Reported · license unknown · no source
2026-07-29

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

no sourcelicense unknownno install recipeRun detail →
13
6.31µs89% SOL
1.28×
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 →
14
6.34µs89% SOL
1.28×
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 →
15
6.34µs89% SOL
1.29×
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 →
16
6.72µs88% SOL
1.36×
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
6.94µs88% SOL
1.41×
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 →
18
7.11µs90% SOL
1.44×
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
4.93µs
1.00×
Reported
license unknown · no source
unknown
5.12µs
1.04×
Reported
license unknown · no source
unknown
5.34µs
1.08×
Reported
license unknown · no source
unknown
5.11µs
1.04×
Reported
license unknown · no source
unknown
5.29µs
1.07×
Reported
license unknown · no source
unknown
5.34µs
1.08×
Reported
license unknown · no source
unknown
5.39µs
1.09×
Reported
license unknown · no source
unknown
5.42µs
1.10×
Reported
license unknown · no source
Show all 35 implementations ›
unknown
6.25µs
1.27×
Reported
license unknown · no source
unknown
6.19µs
1.25×
Reported
license unknown · no source
unknown
6.42µs
1.30×
Reported
license unknown · no source
unknown
7.09µs
1.44×
Reported
license unknown · no source
unknown
6.67µs
1.35×
Reported
license unknown · no source
unknown
6.72µs
1.36×
Reported
license unknown · no source
unknown
6.94µs
1.41×
Reported
license unknown · no source
unknown
6.86µs
1.39×
Reported
license unknown · no source
unknown
4.96µs
1.00×
Reported
license unknown · no source
unknown
5.36µs
1.09×
Reported
license unknown · no source
unknown
5.41µs
1.10×
Reported
license unknown · no source
unknown
5.33µs
1.08×
Reported
license unknown · no source
unknown
5.37µs
1.09×
Reported
license unknown · no source
unknown
6.50µs
1.32×
Reported
license unknown · no source
unknown
6.02µs
1.22×
Reported
license unknown · no source
unknown
7.11µs
1.44×
Reported
license unknown · no source
unknown
6.03µs
1.22×
Reported
license unknown · no source
unknown
6.07µs
1.23×
Reported
license unknown · no source
unknown
6.31µs
1.28×
Reported
license unknown · no source
unknown
6.34µs
1.29×
Reported
license unknown · no source
unknown
6.30µs
1.28×
Reported
license unknown · no source
unknown
6.34µs
1.28×
Reported
license unknown · no source
unknown
6.73µs
1.36×
Reported
license unknown · no source
unknown
7.52µs
1.52×
Reported
license unknown · no source
unknown
9.88µs
2.00×
Reported
license unknown · no source
unknown
16.6µs
3.37×
Reported
license unknown · no source
unknown
86.0µs
17.44×
Reported
license unknown · no source

Semantics

Inputs and outputs
grad_cosbf16 [batch_size, seq_len, head_dim]
grad_sinbf16 [batch_size, seq_len, head_dim]
embfp32 [batch_size, seq_len, head_dim]
inv_freq_expandedfp32 [batch_size, half_dim, 1]
attention_scalingfp32 scalar
grad_position_idsfp32 [batch_size, seq_len]
Axes and behavior
seq_lenvariable
half_dimhalf_dim = head_dim // 2
head_dimconstant = 128
batch_sizevariable
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias014_rotary_embedding_with_attention_scaling_backwardmodelqwen3-4b-instruct-2507sha2560d0062e1e7b9…
Sources: NVIDIA SOL-ExecBench (2026-08-24)last observed 2026-08-24How records are decidedJSON