Skip to content
KernelIndex
Search⌘K

Attention softmax with softcapping and dropout

26 eligible runs
attention

Attention softmax with logit softcapping (tanh-based clamping to ±30.0) applied before softmax, as used in Gemma-2 models. This operation applies: tanh(logits / 30.0) * 30.0 to stabilize attention scores, then softmax normalization.

Fastest reported
7.51µsmean · 89% of SOL
HyraLicense unknown · unknown

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

No public sourceRun detail →

Current records

Workloadsuite of 16 cases · mean latencynum_heads = 8 · attn_logit_softcapping = 3016 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-24Record history →
#
Implementation
Latency
vs #1
Trust
Observed
1
7.51µs89% SOL
1.00×
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 →
2
7.76µs88% SOL
1.03×
Reported · license unknown · no source
2026-08-03

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

no sourcelicense unknownno install recipeRun detail →
3
7.97µs87% SOL
1.06×
Reported · license unknown · no source
2026-07-18

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

no sourcelicense unknownno install recipeRun detail →
4
8.06µs87% SOL
1.07×
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
8.42µs87% SOL
1.12×
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
8.43µs87% SOL
1.12×
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 →
7
8.46µs87% SOL
1.13×
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 →
8
8.71µs85% SOL
1.16×
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
8.72µs85% SOL
1.16×
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 →
10
8.84µs84% SOL
1.18×
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
9.37µs82% 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 →
12
10.7µs79% SOL
1.43×
Reported · license unknown · no source
2026-07-21

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

no sourcelicense unknownno install recipeRun detail →
13
15.6µs68% SOL
2.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 →

Implementations

Implementation
Runtime
Best latency
Evidence
Availability
unknown
8.34µs
1.11×
Reported
license unknown · no source
unknown
8.38µs
1.12×
Reported
license unknown · no source
unknown
8.38µs
1.12×
Reported
license unknown · no source
unknown
8.53µs
1.13×
Reported
license unknown · no source
unknown
8.71µs
1.16×
Reported
license unknown · no source
unknown
8.84µs
1.18×
Reported
license unknown · no source
unknown
10.7µs
1.43×
Reported
license unknown · no source
unknown
12.6µs
1.67×
Reported
license unknown · no source
Show all 26 implementations ›
unknown
15.6µs
2.08×
Reported
license unknown · no source
unknown
29.1µs
3.87×
Reported
license unknown · no source
unknown
82.7µs
11.00×
Reported
license unknown · no source
unknown
8.06µs
1.07×
Reported
license unknown · no source
unknown
7.97µs
1.06×
Reported
license unknown · no source
unknown
8.42µs
1.12×
Reported
license unknown · no source
unknown
8.43µs
1.12×
Reported
license unknown · no source
unknown
8.46µs
1.13×
Reported
license unknown · no source
unknown
8.72µs
1.16×
Reported
license unknown · no source
unknown
8.72µs
1.16×
Reported
license unknown · no source
unknown
9.41µs
1.25×
Reported
license unknown · no source
unknown
9.36µs
1.25×
Reported
license unknown · no source
unknown
9.37µs
1.25×
Reported
license unknown · no source
unknown
15.7µs
2.08×
Reported
license unknown · no source
unknown
16.2µs
2.15×
Reported
license unknown · no source
unknown
8.04µs
1.07×
Reported
license unknown · no source
unknown
7.51µs
1.00×
Reported
license unknown · no source
unknown
7.76µs
1.03×
Reported
license unknown · no source

Semantics

Inputs and outputs
attn_weightsbf16 [batch_size, num_heads, seq_len_q, seq_len_k]
outputbf16 [batch_size, num_heads, seq_len_q, seq_len_k]
Axes and behavior
num_headsconstant = 8
seq_len_kvariable
seq_len_qvariable
batch_sizevariable
attn_logit_softcappingconstant = 30
determinismunspecified
constraintsNo mutation or aliasing
Identity
alias046_attention_softmax_with_softcapping_and_dropoutmodelgemma-3-1b-itsha256a6f4c49cae62…
Sources: NVIDIA SOL-ExecBench (2026-08-24)last observed 2026-08-24How records are decidedJSON