Repository navigation
Description
In the checked-in H100 calibration, the tensor-core GEMM rounds vary much more than every other metric, and much more than the A100 run done with the same harness. The profile has no clock, power, or temperature data, so you can't tell whether the published median reflects a boosted, throttled, or mixed GPU state. That median is the 700 TFLOP/s figure in H100.md and the site.
Per-round times from results/h100-sxm.json (ms per 8192³ GEMM, 7 rounds × 20 iterations, in order):
gemm_fp16 1.4295 1.4428 1.6347 1.6321 1.6329 1.5855 1.5204 spread 14.4% (769 → 673 TFLOP/s)
gemm_bf16 1.3924 1.5220 1.5326 1.5619 1.5652 1.5747 1.5072 spread 13.1% (790 → 698 TFLOP/s)
gemm_tf32 2.7395 3.0400 2.9290 2.9066 2.8829 2.8954 2.8879 spread 11.0%
gemm_fp32 21.2775 21.2336 21.2345 21.2340 21.2332 21.2344 21.2338 spread 0.2%
For comparison, A100 gemm_fp16/bf16/tf32 spreads are 0.8% / 0.7% / 2.2%. H100 hbm_copy, host_to_device, and gpu_to_gpu are at or below 0.1%. The published values also moved between the two committed H100 runs (668e7f6 → 9da5cf3): fp16 went from 701.8 to 693.5, bf16 from 711.5 to 717.4, and tf32 from 374.5 to 379.7.
What the profile records
nvidia-smi is queried only for name,uuid,memory.total,pci.bus_id,driver_version,power.limit (modal_benchmark.py#L360-L366), once, after all measurements. There's no SM clock, power draw, temperature, or clocks_event_reasons during or around the GEMM rounds. Clocks aren't locked or reported. The methodology block lists only the timer and "median of 7 rounds".
On the host side, cpu_memory_copy is a perf_counter measurement with 8 unpinned torch threads (#L140-L141). The container shows logical_cpu_count: 24 and has a cpu=8.0 request. Its rounds spread 5.6% on H100 and 8.9% on A100, compared with ≤0.2% for the device-timed copies. No affinity or frequency-governor state is recorded.
Expected behavior
Every published number comes with enough state to explain it. Per the evidence guide, that means clocks, power, and throttle reasons for GPU metrics, and CPU affinity for host metrics. Large spread within a run shows up in the report instead of being collapsed into one median.
Hypothesis (not confirmed)
The fast first one or two rounds followed by a plateau look like power/clock management on a 700 W part. Horace He's post shows that kind of effect on H100 GEMMs with random inputs. I tried to check it with an nvidia-smi sampler on an H100! Modal container, but the Modal workspace is at its spend limit, so this is still unverified. On the host side, easyperf and the LLVM benchmarking tips cover the usual knobs: affinity, SMT, turbo, and the frequency governor.
Environment
- Commit: be778e9
- Profiles:
results/h100-sxm.json(captured 2026-08-08,H100!:2, torch 2.8.0+cu128, driver 580.95.05) andresults/a100-80gb-sxm4.json(same harness and software)
Activity
devin-ai-integration commentedon Oct 12, 2026
Still reproduces after the move to napkin-bench (all four profiles recalibrated in #19). GEMM spread across the 7 rounds in
samples_ms(max/min − 1) at 1bdfaae:profiles/*.measured.jsonstill has no clock, power, temperature or throttle-reason fields. The file references above point at the removed Python harness, but the gap is the same incrates/napkin-bench.Written by Devin