Conv2d Subtract Tanh Subtract AvgPool
4 eligible runs
conv
KernelBench level2 problem 46: Conv2d Subtract Tanh Subtract AvgPool. The computation is the reference PyTorch module's forward pass; the output shape follows the module (mirrored as each implementation's source).
Fastest reported
2.40ms±0.01 · mean of 100 · 2.35× faster than baseline
torch.compile (inductor)PyTorch · MIT · python
Reported evidence · last observed 2026-03-05. Reported by source; not independently reproduced.
Current records
HardwareBest knownImplementationRuns
NVIDIA H100 · env 12.40 mstorch.compile (inductor)2NVIDIA H100 · env 24.33 mstorch.compile (inductor)2Not measured on B200 for this workload. Challenges →
Source-native comparison · GPU NVIDIA H100 · Workload width = 128 · height = 128 · batch_size = 128 · in_channels = 64 · fp32 · Protocol KernelBench timing scripts · mean · 2 results · last observed 2026-03-05Record history →
Estimated floor 160.3 µs · record 14.98× above itestimate, not evidence ›
DRAM 160.3 µs · 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
1torch.compile (inductor)PyTorch2.40ms±0.011.00×Reported · MIT · source2026-03-05stale
2.35× faster than the baseline. Measured exactly what you asked. Reported by source; not independently reproduced.
source mirroredMITno install recipeView source →Run detail →
25.65ms±0.002.35×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 →
Implementations
Implementation
Runtime
Best latency
Evidence
Availability
Semantics
Inputs and outputs
input_1fp32 [batch_size, in_channels, height, width]
outfloat [out]
Axes and behavior
outvariable
widthvariable
heightvariable
batch_sizevariable
in_channelsvariable
determinismunspecified
constraintsNo mutation or aliasing
Identity
sha25612cd5aa30332…
Sources: KernelBench baseline timings (2026-03-05) · MITlast observed 2026-03-05How records are decidedJSON