Dataset Viewer
Auto-converted to Parquet Duplicate
op
stringclasses
3 values
size_mb
int64
1
1.02k
median_ms
float64
0.01
13.8
p10_ms
float64
0.01
13.8
p90_ms
float64
0.01
13.9
gbs
float64
31.9
4.42k
copy
1
0.021504
0.021504
0.023552
97.5
add
1
0.02048
0.02048
0.023552
153.6
sum
1
0.032768
0.031744
0.039936
32
copy
16
0.03584
0.03584
0.037888
936.2
add
16
0.07424
0.067584
0.083968
678
sum
16
0.04096
0.039936
0.048128
409.6
copy
256
2.331616
2.323456
2.341888
230.3
add
256
3.465216
3.454976
3.47648
232.4
sum
256
1.05984
1.058816
1.068032
253.3
copy
1,024
9.339392
9.319424
9.357312
229.9
add
1,024
13.840384
13.81888
13.856768
232.7
sum
1,024
4.146688
4.143104
4.153344
258.9
copy
1
0.00792
0.007584
0.008768
264.8
add
1
0.00768
0.00752
0.008032
409.6
sum
1
0.010768
0.010592
0.010944
97.4
copy
16
0.009376
0.009056
0.010112
3,578.8
add
16
0.011392
0.011136
0.011552
4,418.2
sum
16
0.012464
0.01232
0.012512
1,346.1
copy
256
0.367248
0.365248
0.36832
1,461.9
add
256
0.544416
0.541376
0.549376
1,479.2
sum
256
0.183904
0.183616
0.184864
1,459.6
copy
1,024
1.471744
1.468608
1.473856
1,459.1
add
1,024
2.167328
2.165024
2.169824
1,486.3
sum
1,024
0.709712
0.707968
0.710112
1,512.9
copy
1
0.020576
0.019392
0.032512
101.9
add
1
0.022464
0.021152
0.0616
140
sum
1
0.032832
0.030144
0.079584
31.9
copy
16
0.158048
0.148768
0.178464
212.3
add
16
0.218512
0.21648
0.227328
230.3
sum
16
0.083824
0.080032
0.10816
200.1
copy
256
2.301952
2.295808
2.308064
233.2
add
256
3.371536
3.365056
3.378496
238.9
sum
256
0.992848
0.988928
1.004544
270.4
copy
1,024
9.22192
9.197504
9.234432
232.9
add
1,024
13.426256
13.410304
13.44096
239.9
sum
1,024
3.89896
3.892544
3.916032
275.4

Measured GPU microbenchmarks for transformer training

Measured numbers for the GPUs most people can actually get on Colab and Kaggle: matmul throughput across sizes, memory bandwidth, kernel launch overhead, and GPT-2-small (124M) training-step time, each recorded with the GPU clock, power and temperature during the run.

Summary

GPU Platform fp16 burst TFLOP/s fp16 model-shape TFLOP/s fp32 TFLOP/s Copy GB/s Launch µs Step ms Tokens/s Noise % Clock MHz (step) Power W (step)
Tesla T4 colab 40.18 23.09 4.16 232.9 8.15 516.55 15866 3.98 788 66.7
NVIDIA L4 colab 75.1 49.06 15.9 229.9 8.67 283.11 28938 1.44 991 72.0
NVIDIA RTX PRO 6000 Blackwell Server Edition colab 427.06 276.96 77.1 1459.1 3.32 45.0 182054 0.04 2338 504.2

Baseline step: GPT-2-small (124M), context 1024, batch 8, fp16 autocast, AdamW. "fp16 model shapes" is the median throughput over the four matmul shapes that step actually runs.

Method

  • Device time from CUDA events; median of 20–50 iterations after warm-up.
  • Before each training-step measurement, 10 s of matmuls bring the GPU to its steady-state clock.
  • Clock, power and temperature are sampled every 0.5 s during the timed run (reading them afterwards is wrong: an idle GPU boosts instantly).
  • fp32 means real fp32: TF32 is disabled. bf16 is excluded on GPUs without native bf16.
  • FLOPs for the training step use 6 × params × tokens plus attention, a rule of thumb.

Files

data/<gpu>_<platform>/: matmul.csv, bandwidth.csv, train_step.csv, hardware.json (the fact sheet), and per-GPU figures. summary.csv has one row per GPU. figures/ has cross-GPU charts.

Caveats

  • One chip per GPU type and one session each. Chips of the same model can differ (two T4s here ran ~10% apart in clock at the same power).
  • Power-capped GPUs (T4, L4) vary 3–4% run to run with temperature; compare runs measured back to back, as ratios.
  • Small buffers in the bandwidth sweep can fit in L2 cache and read far above DRAM bandwidth.
  • Launch overhead is timed from Python, so it depends on the host CPU as well as the GPU.
  • A second T4 session measured 34.7 µs launch overhead, likely host-CPU contention; the table uses the first session's 8.15 µs (Kaggle T4: 7.85 µs).

Contribute a GPU

Run the notebook from the accompanying repository on any NVIDIA GPU and open a pull request on this dataset with your results folder.

Downloads last month
42