Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
the dataset is currently locked, please try again later.
Error code:   LockedDatasetTimeoutError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

family
string
domain
string
version
string
order
int64
provenance
string
labels
string
port_status
string
shape
string
launch_grid
int64
us_r0
float64
us_r1
float64
total_time_us
float64
noise_pct
float64
hw_min_cosine
float64
n_instructions
int64
ramp_frac
float64
ramp_flag
bool
opening_ramp_us
float64
warm_est_us
float64
half_A_us
float64
half_B_us
float64
half_spread
float64
controlled_us
float64
instance_type
string
attention_decode_d256
attention
v1.0.0
0
hugging-face
release
ported
d256_h8kv4_s512
1
79.809
81.4199
79.809
2.018
0.999998
705
0.00053
false
0.264
79.545
80.9674
66.7699
1.2126
66.7699
trn2.48xlarge
attention_decode_d256
attention
v1.0.0
0
hugging-face
release
ported
d512_h8kv2_s1024
1
122.609
121.8373
121.8373
0.633
0.999998
930
0.00046
false
0.003
121.834
88.6174
122.5781
1.3832
88.6174
trn2.48xlarge
attention_decode_d256
attention
v1.0.0
0
hugging-face
release
ported
d256_b2_h16kv8_s2048
1
930.8319
929.6577
929.6577
0.126
0.999997
8,416
0.00136
false
0.067
929.591
933.8069
703.668
1.3271
703.668
trn2.48xlarge
attn_scores_pair_d64
attention
serial
1
jburtoft
baseline
ported
p8
1
37.1491
37.2658
37.1491
0.314
0.999999
169
0
false
0
37.149
37.1633
37.6008
1.0118
37.1633
trn2.48xlarge
attn_scores_pair_d64
attention
serial
1
jburtoft
baseline
ported
p32
1
106.1223
106.5115
106.1223
0.367
0.999999
516
0.00207
false
0.111
106.011
98.8932
105.6848
1.0687
98.8932
trn2.48xlarge
attn_scores_pair_d64
attention
partvec
2
jburtoft
optimization
ported
p8
1
31.7866
31.6583
31.6583
0.405
0.999999
149
0
false
0.006
31.652
31.7525
31.9583
1.0065
31.7525
trn2.48xlarge
attn_scores_pair_d64
attention
partvec
2
jburtoft
optimization
ported
p32
1
78.8549
78.9415
78.8549
0.11
0.999999
369
0.00005
false
0.004
78.851
78.5482
83.629
1.0647
78.5482
trn2.48xlarge
bsa_gqa_prefill_allq
attention
v5_qloop
1
jburtoft
rejected
verbatim
hq8_hkv2_top8
1
1,044.85
1,045.7217
1,044.85
0.083
1
8,922
0.00745
false
0.055
1,044.795
1,046.9183
1,045.2183
1.0016
1,045.2183
trn2.48xlarge
bsa_gqa_prefill_allq
attention
v5_qloop
1
jburtoft
rejected
verbatim
hq16_hkv4_top8_s2
1
2,167.2908
2,168.0307
2,167.2908
0.034
1
17,730
0.00743
false
0.054
2,167.237
2,168.2817
2,171.0841
1.0013
2,168.2817
trn2.48xlarge
bsa_gqa_prefill_masked
attention
v10_masked
1
jburtoft
fix
ported
hq8_hkv2_top8
2
395.3619
394.8977
394.8977
0.118
1
6,138
0.00544
false
0.054
394.844
381.3861
395.141
1.0361
381.3861
trn2.48xlarge
bsa_gqa_prefill_masked
attention
v10_masked
1
jburtoft
fix
ported
hq16_hkv4_top8_s2
2
799.4104
802.6046
799.4104
0.4
1
12,189
0.00737
false
0.052
799.358
802.9838
747.463
1.0743
747.463
trn2.48xlarge
bsa_gqa_prefill_qtile2
attention
v5_1_qbatch
1
jburtoft
optimization
verbatim
hq8_hkv2_top8
1
509.8475
510.0534
509.8475
0.04
1
4,514
0.0057
false
0.056
509.792
509.7759
509.5084
1.0005
509.5084
trn2.48xlarge
bsa_gqa_prefill_qtile2
attention
v5_1_qbatch
1
jburtoft
optimization
verbatim
hq16_hkv4_top8_s2
1
1,089.4107
1,090.3316
1,089.4107
0.085
1
8,911
0.00756
false
0.054
1,089.357
1,090.755
1,088.6283
1.002
1,088.6283
trn2.48xlarge
bsa_gqa_prefill_qtile2
attention
v7_fusedsm
2
jburtoft
optimization
ported
hq8_hkv2_top8
1
497.6584
498.1342
497.6584
0.096
1
4,518
0.00546
false
0.054
497.604
497.9559
496.0234
1.0039
496.0234
trn2.48xlarge
bsa_gqa_prefill_qtile2
attention
v7_fusedsm
2
jburtoft
optimization
ported
hq16_hkv4_top8_s2
1
1,049.2075
1,052.1009
1,049.2075
0.276
1
8,915
0.00759
false
0.055
1,049.152
1,048.6101
1,051.3925
1.0027
1,048.6101
trn2.48xlarge
bsa_gqa_prefill_qtile2
attention
v10_spmd
3
jburtoft
optimization
verbatim
hq8_hkv2_top8
2
274.8404
277.6962
274.8404
1.039
1
4,623
0.00606
false
0.055
274.785
276.6546
275.2854
1.005
275.2854
trn2.48xlarge
bsa_gqa_prefill_qtile2
attention
v10_spmd
3
jburtoft
optimization
verbatim
hq16_hkv4_top8_s2
2
540.8108
540.3125
540.3125
0.092
1
9,074
0.00683
false
0.052
540.26
542.1566
540.7575
1.0026
540.7575
trn2.48xlarge
bsa_gqa_prefill_qtile2_bf16
attention
v11_bf16
1
jburtoft
optimization
ported
hq8_hkv2_top8
2
247.5804
247.4613
247.4613
0.048
0.999999
5,039
0.00608
false
0.054
247.407
246.9879
245.6204
1.0056
245.6204
trn2.48xlarge
bsa_gqa_prefill_qtile2_bf16
attention
v11_bf16
1
jburtoft
optimization
ported
hq16_hkv4_top8_s2
2
464.976
464.1085
464.1085
0.187
0.999999
9,741
0.00477
false
0.053
464.056
473.4593
462.196
1.0244
462.196
trn2.48xlarge
bsa_gqa_prefill_state_masked
attention
v12_masked
1
jburtoft
fix
ported
hq8_hkv2_top8
2
367.4319
368.3744
367.4319
0.257
1
6,163
0.00407
false
0.053
367.379
370.2944
381.6711
1.0307
370.2944
trn2.48xlarge
bsa_gqa_prefill_state_masked
attention
v12_masked
1
jburtoft
fix
ported
hq16_hkv4_top8_s2
2
729.4964
724.8172
724.8172
0.646
1
12,316
0.00522
false
0.053
724.764
727.8547
765.348
1.0515
727.8547
trn2.48xlarge
bsa_gqa_prefill_state_qtile2
attention
v12_state
1
jburtoft
optimization
verbatim
hq8_hkv2_top8
2
268.7287
266.5712
266.5712
0.809
1
4,677
0.00569
false
0.054
266.517
269.6246
267.2813
1.0088
267.2813
trn2.48xlarge
bsa_gqa_prefill_state_qtile2
attention
v12_state
1
jburtoft
optimization
verbatim
hq16_hkv4_top8_s2
2
531.1642
530.5042
530.5042
0.124
1
9,068
0.00585
false
0.053
530.451
533.6708
530.2458
1.0065
530.2458
trn2.48xlarge
bsa_single_q_causal
attention
v2
1
jburtoft
optimization
ported
kv16_top8
1
90.8057
90.4399
90.4399
0.404
1
421
0.00145
false
0.051
90.389
91.0399
90.334
1.0078
90.334
trn2.48xlarge
bsa_single_q_causal
attention
v2
1
jburtoft
optimization
ported
kv64_top16
1
113.4157
113.8923
113.4157
0.42
1
703
0.0014
false
0.057
113.359
118.2548
113.7565
1.0395
113.7565
trn2.48xlarge
bsa_single_q_gqa_causal
attention
v4
1
jburtoft
optimization
verbatim
hq8_hkv2_top8
1
279.5479
279.5579
279.5479
0.004
1
2,310
0.00472
false
0.054
279.494
279.3779
278.9737
1.0014
278.9737
trn2.48xlarge
bsa_single_q_gqa_causal
attention
v4
1
jburtoft
optimization
verbatim
hq16_hkv4_top8
1
558.9808
559.6733
558.9808
0.124
1
4,517
0.00715
false
0.053
558.928
559.2874
559.4474
1.0003
559.2874
trn2.48xlarge
bsa_single_q_mh_causal
attention
v3
1
jburtoft
optimization;technique-altered
ported
h4_kv16_top8
1
283.8004
283.4612
283.4612
0.12
1
1,379
0.0075
false
0.128
283.333
263.2871
283.7454
1.0777
263.2871
trn2.48xlarge
bsa_single_q_mh_causal
attention
v3
1
jburtoft
optimization;technique-altered
ported
h8_kv32_top8
1
515.7217
515.0767
515.0767
0.125
1
2,647
0.00585
false
0.056
515.021
466.3134
515.0809
1.1046
466.3134
trn2.48xlarge
bsa_single_q_mh_causal
attention
v3_1
2
jburtoft
optimization
ported
h4_kv16_top8
1
1,579.1209
1,579.1818
1,579.1209
0.004
1
4,413
0.00205
false
0.051
1,579.07
1,776.7405
1,580.1142
1.1244
1,580.1142
trn2.48xlarge
bsa_single_q_mh_causal
attention
v3_1
2
jburtoft
optimization
ported
h8_kv32_top8
1
3,114.2225
3,113.7443
3,113.7443
0.015
1
8,708
0.00266
false
0.054
3,113.69
3,119.7718
3,501.5102
1.1224
3,119.7718
trn2.48xlarge
bsa_single_q_proto32
attention
gather_then_flash
1
jburtoft
wip
ported
bs32_kv8_top3
1
34.6099
34.4208
34.4208
0.549
1
249
0.00171
false
0
34.421
34.7274
34.6541
1.0021
34.6541
trn2.48xlarge
bsa_single_q_proto32
attention
gather_then_flash
1
jburtoft
wip
ported
bs32_kv8_top3_s1
1
34.2608
34.4783
34.2608
0.635
1
249
0.00187
false
0
34.261
34.7249
33.9641
1.0224
33.9641
trn2.48xlarge
encoder_attn_core_d64
attention
pt_vector
1
jburtoft
shipped
verbatim
b2_l128_nh12
2
35.0649
35.1108
35.0649
0.131
0.999998
459
0.02085
false
0.754
34.311
34.7233
35.4074
1.0197
34.7233
trn2.48xlarge
encoder_attn_core_d64
attention
pt_vector
1
jburtoft
shipped
verbatim
b2_l512_nh12
2
103.3057
103.4348
103.3057
0.125
0.999998
2,375
0.00018
false
0.019
103.287
103.5415
102.899
1.0062
102.899
trn2.48xlarge
encoder_attn_core_d64
attention
pt_vector_nobatch
2
jburtoft
rejected
verbatim
b2_l128_nh12
2
52.7182
52.5849
52.5849
0.253
0.999998
549
0.00264
false
0.004
52.581
55.6057
53.1874
1.0455
53.1874
trn2.48xlarge
encoder_attn_core_d64
attention
pt_vector_nobatch
2
jburtoft
rejected
verbatim
b2_l512_nh12
2
113.8515
109.7532
109.7532
3.734
0.999998
2,481
0.0013
false
0
109.753
107.3223
109.8523
1.0236
107.3223
trn2.48xlarge
encoder_attn_core_d64
attention
pt_eng1
3
jburtoft
rejected
verbatim
b2_l128_nh12
2
35.4149
35.0749
35.0749
0.969
0.999998
458
0.02246
false
0.798
34.277
35.2524
35.2249
1.0008
35.2249
trn2.48xlarge
encoder_attn_core_d64
attention
pt_eng1
3
jburtoft
rejected
verbatim
b2_l512_nh12
2
114.9373
114.4515
114.4515
0.424
0.999998
2,356
0.00003
false
0.004
114.447
114.8723
114.4282
1.0039
114.4282
trn2.48xlarge
gte_attn_block
attention
v1.0.0
1
hugging-face
release
verbatim
b4_l128_h768
2
95.7099
94.9724
94.9724
0.777
0.999985
1,986
0.00315
false
0.742
94.231
93.9107
94.9965
1.0116
93.9107
trn2.48xlarge
gte_attn_block
attention
v1.0.0
1
hugging-face
release
verbatim
b2_l512_h768
2
167.2731
164.5114
164.5114
1.679
0.999984
2,841
0.01153
false
1.968
162.543
165.4981
167.9614
1.0149
165.4981
trn2.48xlarge
gte_attn_block
attention
v1.1.0
2
hugging-face
release;optimization
verbatim
b4_l128_h768
2
94.6499
94.1582
94.1582
0.522
0.999985
1,966
0.00143
false
1.354
92.804
93.7765
96.3698
1.0277
93.7765
trn2.48xlarge
gte_attn_block
attention
v1.1.0
2
hugging-face
release;optimization
verbatim
b2_l512_h768
2
164.5231
163.5097
163.5097
0.62
0.999984
2,793
0.01327
false
1.288
162.221
165.7547
163.5606
1.0134
163.5606
trn2.48xlarge
gte_attn_block
attention
dev_v1
101
jburtoft
wip
ported
b4_l128_h768
2
103.8148
103.6432
103.6432
0.166
0.999991
2,141
0.00325
false
0.192
103.451
104.1815
99.2648
1.0495
99.2648
trn2.48xlarge
gte_attn_block
attention
dev_v1
101
jburtoft
wip
ported
b2_l512_h768
2
189.3137
188.4772
188.4772
0.444
0.999992
3,649
0.00541
false
0.942
187.535
188.4368
188.0445
1.0021
188.0445
trn2.48xlarge
gte_attn_block
attention
dev_v2
102
jburtoft
wip
ported
b4_l128_h768
2
96.2465
94.4299
94.4299
1.924
0.999991
2,038
0.00234
false
0
94.43
95.2699
95.5965
1.0034
95.2699
trn2.48xlarge
gte_attn_block
attention
dev_v2
102
jburtoft
wip
ported
b2_l512_h768
2
189.0572
192.848
189.0572
2.005
0.999992
3,530
0.00642
false
1.171
187.886
189.4305
189.5839
1.0008
189.4305
trn2.48xlarge
gte_attn_block
attention
dev_v3
103
jburtoft
wip
ported
b4_l128_h768
2
98.8432
96.8848
96.8848
2.021
0.999991
2,003
0.00863
false
0.833
96.052
98.7848
96.5682
1.023
96.5682
trn2.48xlarge
gte_attn_block
attention
dev_v3
103
jburtoft
wip
ported
b2_l512_h768
2
181.2472
177.7014
177.7014
1.995
0.999992
2,812
0.01047
false
1.535
176.166
182.7364
180.6397
1.0116
180.6397
trn2.48xlarge
gte_attn_block
attention
dev_v4
104
jburtoft
wip
ported
b4_l128_h768
2
93.5624
93.1065
93.1065
0.49
0.999985
1,945
0.0193
false
0.99
92.116
94.7057
94.1449
1.006
94.1449
trn2.48xlarge
gte_attn_block
attention
dev_v4
104
jburtoft
wip
ported
b2_l512_h768
2
164.5497
164.9239
164.5497
0.227
0.999984
2,794
0.0131
false
1.064
163.486
169.2981
167.0064
1.0137
167.0064
trn2.48xlarge
gte_attn_block
attention
dev_v5
105
jburtoft
wip
ported
b4_l128_h768
2
96.7682
93.9599
93.9599
2.989
0.999985
1,948
0.00399
false
0
93.96
94.9307
96.5365
1.0169
94.9307
trn2.48xlarge
gte_attn_block
attention
dev_v5
105
jburtoft
wip
ported
b2_l512_h768
2
163.7047
169.6322
163.7047
3.621
0.999984
2,796
0.00883
false
1.171
162.534
166.3081
167.1714
1.0052
166.3081
trn2.48xlarge
gte_attn_block
attention
flags_shipped
106
jburtoft
shipped
ported
b4_l128_h768
2
94.1057
98.839
94.1057
5.03
0.999985
1,948
0.00217
false
0
94.106
93.559
97.5165
1.0423
93.559
trn2.48xlarge
gte_attn_block
attention
flags_shipped
106
jburtoft
shipped
ported
b2_l512_h768
2
165.3589
170.3297
165.3589
3.006
0.999984
2,822
0.01564
false
1.544
163.814
162.9964
166.7231
1.0229
162.9964
trn2.48xlarge
gte_attn_block
attention
flags_pt1
107
jburtoft
rejected
ported
b4_l128_h768
2
101.7948
99.3873
99.3873
2.422
0.999985
2,077
0.00565
false
0.26
99.128
95.2999
96.7973
1.0157
95.2999
trn2.48xlarge
gte_attn_block
attention
flags_pt1
107
jburtoft
rejected
ported
b2_l512_h768
2
178.7622
180.1172
178.7622
0.758
0.999984
3,228
0.01353
false
1.429
177.333
179.0547
180.0922
1.0058
179.0547
trn2.48xlarge
gte_attn_block
attention
flags_proj1
108
jburtoft
rejected
ported
b4_l128_h768
2
96.7826
97.989
96.7826
1.247
0.999985
1,947
0.00635
false
0.021
96.762
96.0346
99.7811
1.039
96.0346
trn2.48xlarge
gte_attn_block
attention
flags_proj1
108
jburtoft
rejected
ported
b2_l512_h768
2
179.1997
177.6497
177.6497
0.873
0.999984
2,823
0.02212
false
1.044
176.606
181.5764
178.9172
1.0149
178.9172
trn2.48xlarge
gte_attn_block
attention
flags_proj2
109
jburtoft
rejected
ported
b4_l128_h768
2
97.624
98.604
97.624
1.004
0.999987
1,964
0.01352
false
0.861
96.763
95.3999
99.0057
1.0378
95.3999
trn2.48xlarge
gte_attn_block
attention
flags_proj2
109
jburtoft
rejected
ported
b2_l512_h768
2
176.0997
176.3016
176.0997
0.115
0.999987
2,760
0.01332
false
0.938
175.161
179.1883
182.0933
1.0162
179.1883
trn2.48xlarge
gte_attn_block
attention
flags_early1
110
jburtoft
rejected
ported
b4_l128_h768
2
97.1932
97.9982
97.1932
0.828
0.999985
1,989
0.00078
false
0.012
97.181
97.874
98.9857
1.0114
97.874
trn2.48xlarge
gte_attn_block
attention
flags_early1
110
jburtoft
rejected
ported
b2_l512_h768
2
167.2906
167.8506
167.2906
0.335
0.999984
2,859
0.00106
false
0.039
167.252
167.0991
165.9083
1.0072
165.9083
trn2.48xlarge
gte_attn_block
attention
flags_sm1
111
jburtoft
rejected
ported
b4_l128_h768
2
99.6157
99.7165
99.6157
0.101
0.999985
1,912
0.0099
false
0.556
99.06
99.314
96.8149
1.0258
96.8149
trn2.48xlarge
gte_attn_block
attention
flags_sm1
111
jburtoft
rejected
ported
b2_l512_h768
2
187.0639
187.0355
187.0355
0.015
0.999984
2,830
0.01207
false
1.297
185.739
189.9172
186.693
1.0173
186.693
trn2.48xlarge
gte_attn_block
attention
flags_misc2
112
jburtoft
rejected
ported
b4_l128_h768
2
97.4815
98.959
97.4815
1.516
0.999985
1,940
0.00367
false
0
97.482
100.3007
100.6115
1.0031
100.3007
trn2.48xlarge
gte_attn_block
attention
flags_misc2
112
jburtoft
rejected
ported
b2_l512_h768
2
157.4989
159.2031
157.4989
1.082
0.999984
2,777
0.02263
false
1.972
155.527
164.1597
155.9256
1.0528
155.9256
trn2.48xlarge
gte_attn_block
attention
pubstage
120
jburtoft
wip
verbatim
b4_l128_h768
2
94.5507
94.589
94.5507
0.041
0.999985
1,945
0.00484
false
0.116
94.435
95.2223
97.0998
1.0197
95.2223
trn2.48xlarge
gte_attn_block
attention
pubstage
120
jburtoft
wip
verbatim
b2_l512_h768
2
166.8272
164.2131
164.2131
1.592
0.999984
2,837
0.00618
false
1.054
163.159
166.2814
165.1956
1.0066
165.1956
trn2.48xlarge
gte_attn_block
attention
pub_gen2
121
jburtoft
release
verbatim
b4_l128_h768
2
94.8998
96.5957
94.8998
1.787
0.999985
1,947
0.0045
false
1.242
93.658
153.0264
96.3532
1.5882
96.3532
trn2.48xlarge
gte_attn_block
attention
pub_gen2
121
jburtoft
release
verbatim
b2_l512_h768
2
165.4964
165.0847
165.0847
0.249
0.999984
2,779
0.01116
false
1.422
163.663
167.0797
165.6639
1.0085
165.6639
trn2.48xlarge
minimax_msa_gqa_prefill
attention
v1.0.0
0
hugging-face
release
verbatim
hq16_hkv2_top8
2
552.36
552.0949
552.0949
0.048
0.999999
11,172
0.00728
false
0.054
552.041
465.0035
551.2258
1.1854
465.0035
trn2.48xlarge
minimax_msa_gqa_prefill
attention
v1.0.0
0
hugging-face
release
verbatim
hq32_hkv4_top16
2
2,244.7323
2,244.9498
2,244.7323
0.01
0.999999
44,247
0.00741
false
0.051
2,244.681
2,241.9374
1,737.734
1.2901
1,737.734
trn2.48xlarge
minimax_msa_gqa_prefill
attention
fori_q_blocks
101
jburtoft
rejected
verbatim
hq16_hkv2_top8
2
694.8939
694.1389
694.1389
0.109
0.999999
12,427
0.0035
false
0.014
694.124
695.4889
611.6966
1.137
611.6966
trn2.48xlarge
minimax_msa_gqa_prefill
attention
fori_q_blocks
101
jburtoft
rejected
verbatim
hq32_hkv4_top16
2
2,768.6523
2,762.4031
2,762.4031
0.226
0.999999
48,613
0.00444
false
0.002
2,762.402
2,771.2206
2,263.4107
1.2244
2,263.4107
trn2.48xlarge
minimax_msa_gqa_prefill_state
attention
v1.0.0
0
hugging-face
release
ported
hq16_hkv2_top8
2
459.1576
459.2618
459.1576
0.023
1
11,051
0.00219
false
0.052
459.106
459.886
550.0033
1.196
459.886
trn2.48xlarge
minimax_msa_gqa_prefill_state
attention
v1.0.0
0
hugging-face
release
ported
hq32_hkv4_top16
2
1,709.199
1,696.1849
1,696.1849
0.767
1
43,707
0.00282
false
0.053
1,696.132
1,697.7891
2,155.6858
1.2697
1,697.7891
trn2.48xlarge
minimax_msa_single_q
attention
v1.0.0
0
hugging-face
release
verbatim
kv16_top8
1
92.0907
91.7699
91.7699
0.35
1
415
0.00647
false
0.051
91.719
90.9474
91.794
1.0093
90.9474
trn2.48xlarge
minimax_msa_single_q
attention
v1.0.0
0
hugging-face
release
verbatim
kv64_top16
1
115.7257
115.7515
115.7257
0.022
1
696
0.00571
false
0.055
115.671
119.8015
115.7632
1.0349
115.7632
trn2.48xlarge
minimax_msa_single_q
attention
proto_v1
101
jburtoft
wip
verbatim
kv16_top8
1
90.5457
90.9282
90.5457
0.422
1
417
0.00225
false
0.051
90.495
90.8815
90.4882
1.0043
90.4882
trn2.48xlarge
minimax_msa_single_q
attention
proto_v1
101
jburtoft
wip
verbatim
kv64_top16
1
112.6548
112.8673
112.6548
0.189
1
696
0.0019
false
0.05
112.605
112.0282
116.7173
1.0419
112.0282
trn2.48xlarge
na2d_fused_rpb
attention
fused
1
jburtoft
optimization
ported
bh2_h16_w16_k7
1
905.8528
905.5694
905.5694
0.031
1
5,235
0
false
0
905.569
904.8578
904.3794
1.0005
904.3794
trn2.48xlarge
na2d_fused_rpb
attention
fused
1
jburtoft
optimization
ported
bh4_h12_w12_k5
1
930.8102
930.5286
930.5286
0.03
1
5,381
0
false
0
930.529
930.7252
932.2019
1.0016
930.7252
trn2.48xlarge
na2d_gather
attention
gather
1
jburtoft
optimization
ported
bh2_h16_w16_k7
1
618.509
618.4157
618.4157
0.015
1
3,704
0
false
0
618.416
618.6349
772.3455
1.2485
618.6349
trn2.48xlarge
na2d_gather
attention
gather
1
jburtoft
optimization
ported
bh4_h16_w8_k5
1
325.8595
326.0795
325.8595
0.068
1
1,977
0
false
0
325.86
325.7112
402.4927
1.2357
325.7112
trn2.48xlarge
na2d_pregathered
attention
naive
1
jburtoft
baseline
ported
bh1_h8_w8_k3
1
332.332
331.2253
331.2253
0.334
1
2,153
0.00064
false
0.004
331.221
331.7237
292.9029
1.1325
292.9029
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.28
1
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
72.0782
70.1074
70.1074
2.811
0.999991
1,096
0.00844
false
0.334
69.773
67.8324
70.4024
1.0379
67.8324
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.28
1
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
87.154
93.3515
87.154
7.111
0.99999
1,969
0
false
0
87.154
85.319
84.3257
1.0118
84.3257
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.29
2
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
69.8332
70.9257
69.8332
1.564
0.999991
1,070
0.019
false
0.736
69.097
69.1541
70.4457
1.0187
69.1541
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.29
2
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
83.924
80.4265
80.4265
4.349
0.99999
1,903
0.00019
false
0
80.426
80.7982
81.3674
1.007
80.7982
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.30
3
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
69.7482
69.5382
69.5382
0.302
0.999991
1,089
0.0186
false
0.342
69.197
68.6041
68.7424
1.002
68.6041
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.30
3
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
81.844
82.7865
81.844
1.152
0.99999
1,904
0.00019
false
0
81.844
78.939
85.8499
1.0875
78.939
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.31
4
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
70.8399
70.0024
70.0024
1.196
0.999992
1,218
0.00994
false
0.34
69.662
70.0024
70.6641
1.0095
70.0024
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.31
4
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
88.3607
86.0232
86.0232
2.717
0.99999
1,957
0
false
0
86.023
86.0265
91.6265
1.0651
86.0265
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.32
5
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
63.2574
63.0149
63.0149
0.385
0.999992
1,154
0.00519
false
0.33
62.684
60.9707
64.6924
1.061
60.9707
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.32
5
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
93.6049
93.2899
93.2899
0.338
0.99999
1,904
0.00013
false
0
93.29
94.9649
97.0932
1.0224
94.9649
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.33a
6
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
63.6799
62.0082
62.0082
2.696
0.999992
1,150
0.00532
false
0.334
61.674
64.0766
65.3966
1.0206
64.0766
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.33a
6
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
96.4415
94.7607
94.7607
1.774
0.99999
1,900
0.00113
false
0
94.761
94.2982
93.529
1.0082
93.529
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.33b
7
nki-lib
release
ported
b4_q8_d64_h3072_ctx2048_t4_kt
2
66.9699
66.6732
66.6732
0.445
0.999992
1,164
0.01775
false
0
66.673
67.2732
64.4174
1.0443
64.4174
trn2.48xlarge
nkilib_attention_block_tkg
attention
2.33b
7
nki-lib
release
ported
b16_q1_d128_h4096_ctx2048_t1_qkn
2
90.2557
91.4849
90.2557
1.362
0.999987
1,951
0.00027
false
0.026
90.229
92.1015
99.0332
1.0753
92.1015
trn2.48xlarge
End of preview.

nki-kernel-bench

A dataset of real NKI kernels with several versions each (release-to-release changes, optimization steps, rejected variants). Every version compiles and runs on one pinned toolchain and comes with:

  • the kernel source
  • numpy inputs
  • an independent numpy reference
  • simulator and hardware parity results
  • the NEFF
  • two neuron-explorer hardware profiles

Uses

  • Compiler and toolchain testing. Run every kernel version against a new compiler build or flag and see what breaks or regresses (tools/compare.py).
  • Comparing optimization techniques. Within a family, every pair of versions shares inputs and an output contract, so any two of them form a valid A/B pair at the same shape. The version history records which change was tried, kept or rejected, and what it did to device time.
  • Training and evaluating performance models on held-out pairs (nkb.iter_pairs).

Contents (v0.1)

Toolchain SDK 2.33 DLAMI, nki 0.7.0, neuronx-cc 2.28.7631.0 (TOOLCHAIN.md)
Timing host trn2.48xlarge (every version)
Families / versions 216 / 599, every version passes simulator + hardware parity with 2 profiles (release/DATASET.md)
A/B pairs 2744 within-family pairs
Sources aws-neuron/nki-library release tags 2.27-2.33 and commits on a public fork of it; Hugging Face Kernel Hub repositories; unpublished kernels from model-porting work

Layout

dataset/<domain>/<family>/{family.yaml, inputs.py, reference.py, <version>/{manifest.yaml, kernel.py, deps/, results/}}
release/       DATASET.md (summary), RESULTS.csv (all timings), CONTENTS.sha256
FORMAT.md      entry format, family / A-B rule, manifest + results schema
PORTING.md     how older NKI versions were ported to 0.7.0 (syntax only; pattern ids P00-P15)
TOOLCHAIN.md   exact pinned versions and environment
harness/       run.py (one entry), batch.py (many, sharded, resumable)
nkb.py         loader: load_dataset / load_family / iter_pairs
tools/         validate.py (schema + hygiene), compare.py (variant vs baseline), freeze.py, scrub_paths.py
schema/        JSON schemas

Quick start

import nkb
ds = nkb.load_dataset("dataset")
for a, b, shape in nkb.iter_pairs(ds):
    print(a.id, "->", b.id, shape, f"{a.time_us(shape) / b.time_us(shape):.3f}x")

Reproducing the hardware results on a trn2 instance:

source toolchain/env.sh
python harness/batch.py --hw dataset --force --workers 4

Testing a compiler knob across the dataset (on trn2.48xlarge, the timing host of record):

python tools/compare.py --name pe_transpose --env NKI_DMA_TRANSPOSE_AS_PE_TRANSPOSE=1
python tools/paired_profile.py dataset --variant compare_pe_transpose --out paired.jsonl   # placement-controlled verdicts

NEURON_CC_FLAGS=-O1/-O3/--auto-cast have no effect on NKI kernels on this toolchain; see eval_public/COMPARE_PE_TRANSPOSE.md.

Provenance and licenses

Everything in this package is licensed under the Apache License 2.0 (LICENSE). Third-party sources keep their notices (NOTICE).

Each version's manifest.yaml records its origin. provenance.source is one of:

source meaning provenance.origin
nki-lib aws-neuron/nki-library release tags and upstream commits public GitHub URL + commit
hugging-face Hugging Face Kernel Hub repositories public HF URL + commit
jburtoft maintainer-written kernels: commits on a public nki-library fork, plus kernels written during model-porting work that were never published as-is the public fork URL + commit, or unpublished; when a later version of the same kernel family was posted publicly, provenance.related_public links to it

Versions are byte-identical to their origin unless port.status: ported. port.notes lists every change, using PORTING.md pattern ids. The changes are either edits needed to run on SDK 2.33 or the removal of non-technical comments (P00).

Source records. A full source inventory is kept privately and is not part of this package. It covers, for every version, the original location, commit and file path, the pre-edit text of every kernel, and the list of candidate kernels that were scanned and excluded, with reasons. Researchers who need the provenance of a specific kernel for their work can contact the maintainer.

Host comparison and multicore timings

eval_public/HOST_COMPARISON.md compares single-core and fully loaded host ("multicore") timings on trn2.48xlarge and trn2.3xlarge, with eval_public/host_comparison.csv. In short:

  • utilization throttling (from the NTFF throttle notifications) caps about 30 % of profiles, mostly the activity cap at 0.5, with power caps in 23 profiles. It is recorded per profile and does not change the reported times or explain the differences below;
  • most kernels time the same alone and with the whole host loaded;
  • a tail of about 13 % of kernels is more than 10 % slower when all 16 devices are busy;
  • the two instance types agree for most kernels but not all, so compare within one instance type.

Every profile ships with its raw profile.ntff, so it can be opened directly in neuron-explorer with the version's NEFF.

Core placement (read before comparing timings)

On trn2 the same NEFF can run 10-40 % slower on one half of a device (pcores 0-3 vs 4-7) than on the other. This is reproducible and concentrated in kernels with many GpSimd DMAs. Every timing carries placement.half_A_us / half_B_us and controlled_us (the faster half). For A/B comparisons, use controlled_us, or run both NEFFs on the same cores with tools/paired_profile.py. Details are in eval_public/PLACEMENT.md; the worked compiler-knob comparison that exposed it is in eval_public/COMPARE_PE_TRANSPOSE.md.

Cold start and the Tensor-Engine warm-up

All timings are cold starts: each profiled execution begins with an idle Tensor Engine. On Trn2 the engine runs the first ~3 us of every burst at about half speed (dI/dt ramp). Every timing therefore also carries:

  • opening_ramp_us: the ramp cost of the first burst;
  • warm_est_us: the estimated time with the engine already busy;
  • ramp_frac: the ramp cost of all bursts.

The opening ramp is at most 6 % of any kernel. Ramps inside bursty kernels reach 24 %. eval_public/WARM_START.md has the method and the trn2 validation.

Timing semantics

results/timing.json:total_time_us is the minimum, over 2 profiles, of Summary.total_time for the second execution, measured by neuron-explorer capture with the version's own inputs at launch_grid LNC. noise_pct is the spread between the two profiles. These are single-NeuronCore kernel timings, not model throughput.

Downloads last month
67