L2Norm
4 eligible runs
normalization
KernelBench level1 problem 39: L2Norm. The computation is the reference PyTorch module's forward pass; the output shape follows the module (mirrored as each implementation's source).
Source baseline · unbeaten
10.1ms±0.04 · mean of 100
PyTorch eagerPyTorch · MIT · python
Reported evidence · last observed 2026-03-05. The source's designated baseline implementation. Reported by source; not independently reproduced.
Current records
HardwareBest knownImplementationRuns
NVIDIA H100 · env 110.1 msPyTorch eager2NVIDIA H100 · env 214.8 msPyTorch eager2Not measured on B200 for this workload. Challenges →
Source-native comparison · GPU NVIDIA H100 · Workload dim = 65535 · batch_size = 32768 · fp32 · Protocol KernelBench timing scripts · mean · 2 results · last observed 2026-03-05Record history →
Estimated floor 2.56 ms · record 3.94× above itestimate, not evidence ›
DRAM 2.56 ms · bandwidth-bound on H100 SXM
every declared tensor crosses HBM exactly once (3,350 GB/s, H100 SXM datasheet)
no arithmetic formula for this family: bandwidth floor only
headroom-v1: a lower bound from declared tensors and datasheet peaks. A kernel can sit well above it for good reasons.
#
Implementation
Latency
vs #1
Trust
Observed
110.1ms±0.041.00×Reported · MIT · source2026-03-05stale
Measured exactly what you asked. The source's designated baseline implementation. Reported by source; not independently reproduced.
source mirroredMITno install recipeView source →Run detail →
2torch.compile (inductor)PyTorch13.1ms±0.061.30×Reported · MIT · source2026-03-05stale
1.30× slower than the baseline. Measured exactly what you asked. Reported by source; not independently reproduced.
source mirroredMITno install recipeView source →Run detail →
Implementations
Implementation
Runtime
Best latency
Evidence
Availability
Semantics
Inputs and outputs
xfp32 [batch_size, dim]
outfloat [out]
Axes and behavior
dimvariable
outvariable
batch_sizevariable
determinismunspecified
constraintsNo mutation or aliasing
Identity
sha256cf71bbeba13d…
Sources: KernelBench baseline timings (2026-03-05) · MITlast observed 2026-03-05How records are decidedJSON