QK norm RoPE attention core backward
Backward pass for Gemma3 attention with Q/K RMSNorm, RoPE, and soft-capping. Computes gradients for hidden_states, Q/K/V/O projection weights, and Q/K norm weights.
Reported evidence · last observed 2026-08-16. Reported by source; not independently reproduced. No public source. License unknown.
Current records
Workloadsuite of 16 cases · mean latencyhead_dim = 128 · q_proj_out = 3072 · hidden_size = 3072 · kv_proj_out = 1024 · num_attention_heads = 24 · num_key_value_heads = 816 cases
Not measured on H100 for this workload. Challenges →
1464.6µs78% SOL1.00×Reported · license unknown · no source2026-08-16
Measured exactly what you asked. Reported by source; not independently reproduced.
2549.9µs74% SOL1.18×Reported · license unknown · no source2026-08-20
Measured exactly what you asked. Reported by source; not independently reproduced.
3607.7µs71% SOL1.31×Reported · license unknown · no source2026-08-20
Measured exactly what you asked. Reported by source; not independently reproduced.
4614.4µs71% SOL1.32×Reported · license unknown · no source2026-08-22
Measured exactly what you asked. Reported by source; not independently reproduced.
5660.6µs69% SOL1.42×Reported · license unknown · no source2026-08-20
Measured exactly what you asked. Reported by source; not independently reproduced.
6686.4µs68% SOL1.48×Reported · license unknown · no source2026-07-10
Measured exactly what you asked. Reported by source; not independently reproduced.
7710.0µs67% SOL1.53×Reported · license unknown · no source2026-08-20
Measured exactly what you asked. Reported by source; not independently reproduced.
8723.4µs67% SOL1.56×Reported · license unknown · no source2026-08-18
Measured exactly what you asked. Reported by source; not independently reproduced.
9749.8µs66% SOL1.61×Reported · license unknown · no source2026-07-16
Measured exactly what you asked. Reported by source; not independently reproduced.
10763.4µs65% SOL1.64×Reported · license unknown · no source2026-07-10
Measured exactly what you asked. Reported by source; not independently reproduced.
11763.4µs65% SOL1.64×Reported · license unknown · no source2026-07-11
Measured exactly what you asked. Reported by source; not independently reproduced.
12793.4µs64% SOL1.71×Reported · license unknown · no source2026-07-12
Measured exactly what you asked. Reported by source; not independently reproduced.
13802.6µs64% SOL1.73×Reported · license unknown · no source2026-07-17
Measured exactly what you asked. Reported by source; not independently reproduced.
14891.7µs61% SOL1.92×Reported · license unknown · no source2026-08-16
Measured exactly what you asked. Reported by source; not independently reproduced.
151.02ms57% SOL2.19×Reported · license unknown · no source2026-08-14
Measured exactly what you asked. Reported by source; not independently reproduced.
161.26ms51% SOL2.71×Reported · license unknown · no source2026-08-14
Measured exactly what you asked. Reported by source; not independently reproduced.
171.28ms51% SOL2.75×Reported · license unknown · no source2026-08-01
Measured exactly what you asked. Reported by source; not independently reproduced.
181.47ms46% SOL3.17×Reported · license unknown · no source2026-07-27
Measured exactly what you asked. Reported by source; not independently reproduced.
191.74ms42% SOL3.75×Reported · license unknown · no source2026-08-13
Measured exactly what you asked. Reported by source; not independently reproduced.
203.55ms26% SOL7.64×Reported · license unknown · no source2026-07-10
Measured exactly what you asked. Reported by source; not independently reproduced.
218.13ms13% SOL17.51×Reported · license unknown · no source2026-07-25
Measured exactly what you asked. Reported by source; not independently reproduced.