SAM hq vision attention with relative position backward
Backward pass for SAM-HQ vision attention with 2D decomposed relative positional embeddings. Computes gradients through output projection, attention mechanism, softmax, relative position bias, and QKV projection.
Reported evidence · last observed 2026-08-21. Reported by source; not independently reproduced. No public source. License unknown.
Current records
Workloadsuite of 16 cases · mean latencyhead_dim = 64 · hidden_size = 768 · qkv_out_size = 2304 · num_attention_heads = 1216 cases
Not measured on H100 for this workload. Challenges →
1339.6µs75% SOL1.00×Reported · license unknown · no source2026-08-21
Measured exactly what you asked. Reported by source; not independently reproduced.
2341.1µs74% SOL1.00×Reported · license unknown · no source2026-08-22
Measured exactly what you asked. Reported by source; not independently reproduced.
3346.4µs73% SOL1.02×Reported · license unknown · no source2026-08-04
Measured exactly what you asked. Reported by source; not independently reproduced.
4370.3µs73% SOL1.09×Reported · license unknown · no source2026-07-29
Measured exactly what you asked. Reported by source; not independently reproduced.
5448.1µs69% SOL1.32×Reported · license unknown · no source2026-07-22
Measured exactly what you asked. Reported by source; not independently reproduced.
6464.1µs68% SOL1.37×Reported · license unknown · no source2026-07-23
Measured exactly what you asked. Reported by source; not independently reproduced.
7486.0µs67% SOL1.43×Reported · license unknown · no source2026-08-23
Measured exactly what you asked. Reported by source; not independently reproduced.
8531.2µs65% SOL1.56×Reported · license unknown · no source2026-07-10
Measured exactly what you asked. Reported by source; not independently reproduced.
9552.5µs64% SOL1.63×Reported · license unknown · no source2026-08-22
Measured exactly what you asked. Reported by source; not independently reproduced.
10579.8µs63% SOL1.71×Reported · license unknown · no source2026-07-17
Measured exactly what you asked. Reported by source; not independently reproduced.
11606.3µs62% SOL1.79×Reported · license unknown · no source2026-08-17
Measured exactly what you asked. Reported by source; not independently reproduced.
12610.9µs62% SOL1.80×Reported · license unknown · no source2026-08-07
Measured exactly what you asked. Reported by source; not independently reproduced.
13631.2µs61% SOL1.86×Reported · license unknown · no source2026-08-22
Measured exactly what you asked. Reported by source; not independently reproduced.
14678.0µs59% SOL2.00×Reported · license unknown · no source2026-08-07
Measured exactly what you asked. Reported by source; not independently reproduced.
15682.4µs59% SOL2.01×Reported · license unknown · no source2026-07-10
Measured exactly what you asked. Reported by source; not independently reproduced.
16682.9µs59% SOL2.01×Reported · license unknown · no source2026-07-10
Measured exactly what you asked. Reported by source; not independently reproduced.
17699.4µs59% SOL2.06×Reported · license unknown · no source2026-08-19
Measured exactly what you asked. Reported by source; not independently reproduced.
18872.1µs54% SOL2.57×Reported · license unknown · no source2026-07-12
Measured exactly what you asked. Reported by source; not independently reproduced.
19917.2µs52% SOL2.70×Reported · license unknown · no source2026-08-06
Measured exactly what you asked. Reported by source; not independently reproduced.
20954.8µs51% SOL2.81×Reported · license unknown · no source2026-08-06
Measured exactly what you asked. Reported by source; not independently reproduced.
211.10ms48% SOL3.24×Reported · license unknown · no source2026-08-06
Measured exactly what you asked. Reported by source; not independently reproduced.
221.22ms45% SOL3.60×Reported · license unknown · no source2026-08-07
Measured exactly what you asked. Reported by source; not independently reproduced.
232.83ms27% SOL8.33×Reported · license unknown · no source2026-07-27
Measured exactly what you asked. Reported by source; not independently reproduced.
243.21ms25% SOL9.46×Reported · license unknown · no source2026-07-26
Measured exactly what you asked. Reported by source; not independently reproduced.
256.56ms15% SOL19.33×Reported · license unknown · no source2026-08-16
Measured exactly what you asked. Reported by source; not independently reproduced.