hf-transformers-bot commited on
Commit
c256f4c
·
verified ·
1 Parent(s): aec7c13

Upload benchmark results for run 18246839452

Browse files
2025-10-04/18246839452/benchmark_results/Llama-2-7b-hf/Llama-2-7b-hf_benchmark_20251004_164602.json ADDED
@@ -0,0 +1,1121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "Llama-2-7b-hf",
3
+ "benchmark_scenarios": [
4
+ {
5
+ "scenario_name": "eager_eager_attn",
6
+ "metadata": {
7
+ "timestamp": "2025-10-04T16:42:47.758760",
8
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
9
+ "hardware_info": {
10
+ "gpu_name": "unknown",
11
+ "gpu_memory_total_mb": 0,
12
+ "cpu_count": 160,
13
+ "memory_total_mb": 1290069,
14
+ "python_version": "3.12.10",
15
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
16
+ "cuda_version": null
17
+ },
18
+ "config": {
19
+ "name": "eager",
20
+ "model_id": "meta-llama/Llama-2-7b-hf",
21
+ "variant": "eager",
22
+ "warmup_iterations": 3,
23
+ "measurement_iterations": 5,
24
+ "num_tokens_to_generate": 100,
25
+ "device": "cuda",
26
+ "torch_dtype": "float16",
27
+ "compile_mode": null,
28
+ "compile_options": {},
29
+ "use_cache": true,
30
+ "batch_size": 1,
31
+ "sequence_length": null,
32
+ "attn_implementation": "eager",
33
+ "sdpa_backend": null,
34
+ "custom_params": {}
35
+ }
36
+ },
37
+ "measurements": {
38
+ "latency_seconds": {
39
+ "name": "latency_seconds",
40
+ "measurements": [
41
+ 1.43477392578125,
42
+ 1.4494881591796875,
43
+ 1.434574462890625,
44
+ 1.4304163818359374,
45
+ 1.4256763916015625
46
+ ],
47
+ "mean": 1.4349858642578124,
48
+ "median": 1.434574462890625,
49
+ "std": 0.007975928507015425,
50
+ "min": 1.4256763916015625,
51
+ "max": 1.4494881591796875,
52
+ "p25": 1.4304163818359374,
53
+ "p75": 1.43477392578125,
54
+ "p90": 1.4436024658203126,
55
+ "p95": 1.4465453125,
56
+ "p99": 1.44889958984375,
57
+ "unit": "seconds"
58
+ },
59
+ "time_to_first_token_seconds": {
60
+ "name": "time_to_first_token_seconds",
61
+ "measurements": [
62
+ 0.015210222244262696,
63
+ 0.01579424858093262,
64
+ 0.015579052925109863,
65
+ 0.015403218269348144,
66
+ 0.015330738067626953
67
+ ],
68
+ "mean": 0.015463496017456054,
69
+ "median": 0.015403218269348144,
70
+ "std": 0.0002040374188722339,
71
+ "min": 0.015210222244262696,
72
+ "max": 0.01579424858093262,
73
+ "p25": 0.015330738067626953,
74
+ "p75": 0.015579052925109863,
75
+ "p90": 0.015708170318603516,
76
+ "p95": 0.01575120944976807,
77
+ "p99": 0.01578564075469971,
78
+ "unit": "seconds"
79
+ },
80
+ "tokens_per_second": {
81
+ "name": "tokens_per_second",
82
+ "measurements": [
83
+ 69.6973914866406,
84
+ 68.9898702288077,
85
+ 69.70708219530339,
86
+ 69.90971389159438,
87
+ 70.14214487178467
88
+ ],
89
+ "mean": 69.68924053482615,
90
+ "median": 69.70708219530339,
91
+ "std": 0.3855475138773134,
92
+ "min": 68.9898702288077,
93
+ "max": 70.14214487178467,
94
+ "p25": 69.6973914866406,
95
+ "p75": 69.90971389159438,
96
+ "p90": 70.04917247970855,
97
+ "p95": 70.0956586757466,
98
+ "p99": 70.13284763257705,
99
+ "unit": "tokens/sec"
100
+ },
101
+ "time_per_output_token_seconds": {
102
+ "name": "time_per_output_token_seconds",
103
+ "measurements": [
104
+ 0.014347739257812499,
105
+ 0.014494881591796875,
106
+ 0.014345744628906249,
107
+ 0.014304163818359375,
108
+ 0.014256763916015625
109
+ ],
110
+ "mean": 0.014349858642578126,
111
+ "median": 0.014345744628906249,
112
+ "std": 7.975928507015388e-05,
113
+ "min": 0.014256763916015625,
114
+ "max": 0.014494881591796875,
115
+ "p25": 0.014304163818359375,
116
+ "p75": 0.014347739257812499,
117
+ "p90": 0.014436024658203124,
118
+ "p95": 0.014465453125,
119
+ "p99": 0.014488995898437499,
120
+ "unit": "seconds/token"
121
+ }
122
+ },
123
+ "gpu_metrics": {
124
+ "gpu_monitoring_status": "disabled",
125
+ "gpu_monitoring_reason": "no_gpus_available"
126
+ }
127
+ },
128
+ {
129
+ "scenario_name": "compiled_compile_max-autotune_eager_attn",
130
+ "metadata": {
131
+ "timestamp": "2025-10-04T16:43:04.650193",
132
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
133
+ "hardware_info": {
134
+ "gpu_name": "unknown",
135
+ "gpu_memory_total_mb": 0,
136
+ "cpu_count": 160,
137
+ "memory_total_mb": 1290069,
138
+ "python_version": "3.12.10",
139
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
140
+ "cuda_version": null
141
+ },
142
+ "config": {
143
+ "name": "compiled",
144
+ "model_id": "meta-llama/Llama-2-7b-hf",
145
+ "variant": "compiled",
146
+ "warmup_iterations": 3,
147
+ "measurement_iterations": 5,
148
+ "num_tokens_to_generate": 100,
149
+ "device": "cuda",
150
+ "torch_dtype": "float16",
151
+ "compile_mode": "max-autotune",
152
+ "compile_options": {},
153
+ "use_cache": true,
154
+ "batch_size": 1,
155
+ "sequence_length": null,
156
+ "attn_implementation": "eager",
157
+ "sdpa_backend": null,
158
+ "custom_params": {}
159
+ }
160
+ },
161
+ "measurements": {
162
+ "latency_seconds": {
163
+ "name": "latency_seconds",
164
+ "measurements": [
165
+ 3.0334091796875,
166
+ 3.08386767578125,
167
+ 3.08074609375,
168
+ 3.117628662109375,
169
+ 3.13439306640625
170
+ ],
171
+ "mean": 3.090008935546875,
172
+ "median": 3.08386767578125,
173
+ "std": 0.0348133538761582,
174
+ "min": 3.0334091796875,
175
+ "max": 3.13439306640625,
176
+ "p25": 3.08074609375,
177
+ "p75": 3.117628662109375,
178
+ "p90": 3.1276873046875,
179
+ "p95": 3.1310401855468752,
180
+ "p99": 3.133722490234375,
181
+ "unit": "seconds"
182
+ },
183
+ "time_to_first_token_seconds": {
184
+ "name": "time_to_first_token_seconds",
185
+ "measurements": [
186
+ 0.016206560134887697,
187
+ 0.01620591926574707,
188
+ 0.016468074798583983,
189
+ 0.016353635787963866,
190
+ 0.016295400619506836
191
+ ],
192
+ "mean": 0.01630591812133789,
193
+ "median": 0.016295400619506836,
194
+ "std": 9.854355597338485e-05,
195
+ "min": 0.01620591926574707,
196
+ "max": 0.016468074798583983,
197
+ "p25": 0.016206560134887697,
198
+ "p75": 0.016353635787963866,
199
+ "p90": 0.016422299194335938,
200
+ "p95": 0.01644518699645996,
201
+ "p99": 0.016463497238159177,
202
+ "unit": "seconds"
203
+ },
204
+ "tokens_per_second": {
205
+ "name": "tokens_per_second",
206
+ "measurements": [
207
+ 32.966208670306045,
208
+ 32.426812857547965,
209
+ 32.45966949463084,
210
+ 32.075660971226895,
211
+ 31.90410324466911
212
+ ],
213
+ "mean": 32.36649104767618,
214
+ "median": 32.426812857547965,
215
+ "std": 0.3661602884948366,
216
+ "min": 31.90410324466911,
217
+ "max": 32.966208670306045,
218
+ "p25": 32.075660971226895,
219
+ "p75": 32.45966949463084,
220
+ "p90": 32.76359300003596,
221
+ "p95": 32.86490083517101,
222
+ "p99": 32.94594710327904,
223
+ "unit": "tokens/sec"
224
+ },
225
+ "time_per_output_token_seconds": {
226
+ "name": "time_per_output_token_seconds",
227
+ "measurements": [
228
+ 0.030334091796874997,
229
+ 0.030838676757812503,
230
+ 0.030807460937500003,
231
+ 0.03117628662109375,
232
+ 0.0313439306640625
233
+ ],
234
+ "mean": 0.03090008935546875,
235
+ "median": 0.030838676757812503,
236
+ "std": 0.0003481335387615815,
237
+ "min": 0.030334091796874997,
238
+ "max": 0.0313439306640625,
239
+ "p25": 0.030807460937500003,
240
+ "p75": 0.03117628662109375,
241
+ "p90": 0.031276873046875,
242
+ "p95": 0.031310401855468746,
243
+ "p99": 0.031337224902343745,
244
+ "unit": "seconds/token"
245
+ }
246
+ },
247
+ "gpu_metrics": {
248
+ "gpu_monitoring_status": "disabled",
249
+ "gpu_monitoring_reason": "no_gpus_available"
250
+ }
251
+ },
252
+ {
253
+ "scenario_name": "eager_sdpa_default",
254
+ "metadata": {
255
+ "timestamp": "2025-10-04T16:43:46.915614",
256
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
257
+ "hardware_info": {
258
+ "gpu_name": "unknown",
259
+ "gpu_memory_total_mb": 0,
260
+ "cpu_count": 160,
261
+ "memory_total_mb": 1290069,
262
+ "python_version": "3.12.10",
263
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
264
+ "cuda_version": null
265
+ },
266
+ "config": {
267
+ "name": "eager",
268
+ "model_id": "meta-llama/Llama-2-7b-hf",
269
+ "variant": "eager",
270
+ "warmup_iterations": 3,
271
+ "measurement_iterations": 5,
272
+ "num_tokens_to_generate": 100,
273
+ "device": "cuda",
274
+ "torch_dtype": "float16",
275
+ "compile_mode": null,
276
+ "compile_options": {},
277
+ "use_cache": true,
278
+ "batch_size": 1,
279
+ "sequence_length": null,
280
+ "attn_implementation": "sdpa",
281
+ "sdpa_backend": null,
282
+ "custom_params": {}
283
+ }
284
+ },
285
+ "measurements": {
286
+ "latency_seconds": {
287
+ "name": "latency_seconds",
288
+ "measurements": [
289
+ 1.406444091796875,
290
+ 1.406904296875,
291
+ 1.4123724365234376,
292
+ 1.4007564697265624,
293
+ 1.40017529296875
294
+ ],
295
+ "mean": 1.405330517578125,
296
+ "median": 1.406444091796875,
297
+ "std": 0.00449007139742295,
298
+ "min": 1.40017529296875,
299
+ "max": 1.4123724365234376,
300
+ "p25": 1.4007564697265624,
301
+ "p75": 1.406904296875,
302
+ "p90": 1.4101851806640626,
303
+ "p95": 1.41127880859375,
304
+ "p99": 1.4121537109375,
305
+ "unit": "seconds"
306
+ },
307
+ "time_to_first_token_seconds": {
308
+ "name": "time_to_first_token_seconds",
309
+ "measurements": [
310
+ 0.014971311569213868,
311
+ 0.015578815460205078,
312
+ 0.01517154312133789,
313
+ 0.015484335899353028,
314
+ 0.015229066848754884
315
+ ],
316
+ "mean": 0.01528701457977295,
317
+ "median": 0.015229066848754884,
318
+ "std": 0.0002192913336642003,
319
+ "min": 0.014971311569213868,
320
+ "max": 0.015578815460205078,
321
+ "p25": 0.01517154312133789,
322
+ "p75": 0.015484335899353028,
323
+ "p90": 0.015541023635864258,
324
+ "p95": 0.015559919548034668,
325
+ "p99": 0.015575036277770996,
326
+ "unit": "seconds"
327
+ },
328
+ "tokens_per_second": {
329
+ "name": "tokens_per_second",
330
+ "measurements": [
331
+ 71.10129765075827,
332
+ 71.07804007857455,
333
+ 70.80285441292705,
334
+ 71.3899968775591,
335
+ 71.41962902942886
336
+ ],
337
+ "mean": 71.15836360984956,
338
+ "median": 71.10129765075827,
339
+ "std": 0.22716019573760476,
340
+ "min": 70.80285441292705,
341
+ "max": 71.41962902942886,
342
+ "p25": 71.07804007857455,
343
+ "p75": 71.3899968775591,
344
+ "p90": 71.40777616868095,
345
+ "p95": 71.41370259905491,
346
+ "p99": 71.41844374335408,
347
+ "unit": "tokens/sec"
348
+ },
349
+ "time_per_output_token_seconds": {
350
+ "name": "time_per_output_token_seconds",
351
+ "measurements": [
352
+ 0.01406444091796875,
353
+ 0.01406904296875,
354
+ 0.014123724365234376,
355
+ 0.014007564697265624,
356
+ 0.014001752929687502
357
+ ],
358
+ "mean": 0.01405330517578125,
359
+ "median": 0.01406444091796875,
360
+ "std": 4.4900713974229646e-05,
361
+ "min": 0.014001752929687502,
362
+ "max": 0.014123724365234376,
363
+ "p25": 0.014007564697265624,
364
+ "p75": 0.01406904296875,
365
+ "p90": 0.014101851806640626,
366
+ "p95": 0.014112788085937501,
367
+ "p99": 0.014121537109375002,
368
+ "unit": "seconds/token"
369
+ }
370
+ },
371
+ "gpu_metrics": {
372
+ "gpu_monitoring_status": "disabled",
373
+ "gpu_monitoring_reason": "no_gpus_available"
374
+ }
375
+ },
376
+ {
377
+ "scenario_name": "eager_sdpa_math",
378
+ "metadata": {
379
+ "timestamp": "2025-10-04T16:44:05.056630",
380
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
381
+ "hardware_info": {
382
+ "gpu_name": "unknown",
383
+ "gpu_memory_total_mb": 0,
384
+ "cpu_count": 160,
385
+ "memory_total_mb": 1290069,
386
+ "python_version": "3.12.10",
387
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
388
+ "cuda_version": null
389
+ },
390
+ "config": {
391
+ "name": "eager",
392
+ "model_id": "meta-llama/Llama-2-7b-hf",
393
+ "variant": "eager",
394
+ "warmup_iterations": 3,
395
+ "measurement_iterations": 5,
396
+ "num_tokens_to_generate": 100,
397
+ "device": "cuda",
398
+ "torch_dtype": "float16",
399
+ "compile_mode": null,
400
+ "compile_options": {},
401
+ "use_cache": true,
402
+ "batch_size": 1,
403
+ "sequence_length": null,
404
+ "attn_implementation": "sdpa",
405
+ "sdpa_backend": "math",
406
+ "custom_params": {}
407
+ }
408
+ },
409
+ "measurements": {
410
+ "latency_seconds": {
411
+ "name": "latency_seconds",
412
+ "measurements": [
413
+ 1.4619793701171875,
414
+ 1.3871126708984376,
415
+ 1.402314453125,
416
+ 1.4633046875,
417
+ 1.466699462890625
418
+ ],
419
+ "mean": 1.43628212890625,
420
+ "median": 1.4619793701171875,
421
+ "std": 0.03431390296741223,
422
+ "min": 1.3871126708984376,
423
+ "max": 1.466699462890625,
424
+ "p25": 1.402314453125,
425
+ "p75": 1.4633046875,
426
+ "p90": 1.465341552734375,
427
+ "p95": 1.4660205078125,
428
+ "p99": 1.466563671875,
429
+ "unit": "seconds"
430
+ },
431
+ "time_to_first_token_seconds": {
432
+ "name": "time_to_first_token_seconds",
433
+ "measurements": [
434
+ 0.016742149353027345,
435
+ 0.016805707931518556,
436
+ 0.01475539207458496,
437
+ 0.01690558433532715,
438
+ 0.01699346351623535
439
+ ],
440
+ "mean": 0.01644045944213867,
441
+ "median": 0.016805707931518556,
442
+ "std": 0.0008468801528849066,
443
+ "min": 0.01475539207458496,
444
+ "max": 0.01699346351623535,
445
+ "p25": 0.016742149353027345,
446
+ "p75": 0.01690558433532715,
447
+ "p90": 0.01695831184387207,
448
+ "p95": 0.01697588768005371,
449
+ "p99": 0.016989948348999022,
450
+ "unit": "seconds"
451
+ },
452
+ "tokens_per_second": {
453
+ "name": "tokens_per_second",
454
+ "measurements": [
455
+ 68.40041798399955,
456
+ 72.0921970493065,
457
+ 71.31068197803575,
458
+ 68.33846761664255,
459
+ 68.18029359806019
460
+ ],
461
+ "mean": 69.6644116452089,
462
+ "median": 68.40041798399955,
463
+ "std": 1.6830188292134993,
464
+ "min": 68.18029359806019,
465
+ "max": 72.0921970493065,
466
+ "p25": 68.33846761664255,
467
+ "p75": 71.31068197803575,
468
+ "p90": 71.77959102079821,
469
+ "p95": 71.93589403505236,
470
+ "p99": 72.06093644645567,
471
+ "unit": "tokens/sec"
472
+ },
473
+ "time_per_output_token_seconds": {
474
+ "name": "time_per_output_token_seconds",
475
+ "measurements": [
476
+ 0.014619793701171875,
477
+ 0.013871126708984376,
478
+ 0.01402314453125,
479
+ 0.014633046875,
480
+ 0.01466699462890625
481
+ ],
482
+ "mean": 0.0143628212890625,
483
+ "median": 0.014619793701171875,
484
+ "std": 0.0003431390296741223,
485
+ "min": 0.013871126708984376,
486
+ "max": 0.01466699462890625,
487
+ "p25": 0.01402314453125,
488
+ "p75": 0.014633046875,
489
+ "p90": 0.01465341552734375,
490
+ "p95": 0.014660205078124999,
491
+ "p99": 0.01466563671875,
492
+ "unit": "seconds/token"
493
+ }
494
+ },
495
+ "gpu_metrics": {
496
+ "gpu_monitoring_status": "disabled",
497
+ "gpu_monitoring_reason": "no_gpus_available"
498
+ }
499
+ },
500
+ {
501
+ "scenario_name": "eager_sdpa_flash_attention",
502
+ "metadata": {
503
+ "timestamp": "2025-10-04T16:44:22.730365",
504
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
505
+ "hardware_info": {
506
+ "gpu_name": "unknown",
507
+ "gpu_memory_total_mb": 0,
508
+ "cpu_count": 160,
509
+ "memory_total_mb": 1290069,
510
+ "python_version": "3.12.10",
511
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
512
+ "cuda_version": null
513
+ },
514
+ "config": {
515
+ "name": "eager",
516
+ "model_id": "meta-llama/Llama-2-7b-hf",
517
+ "variant": "eager",
518
+ "warmup_iterations": 3,
519
+ "measurement_iterations": 5,
520
+ "num_tokens_to_generate": 100,
521
+ "device": "cuda",
522
+ "torch_dtype": "float16",
523
+ "compile_mode": null,
524
+ "compile_options": {},
525
+ "use_cache": true,
526
+ "batch_size": 1,
527
+ "sequence_length": null,
528
+ "attn_implementation": "sdpa",
529
+ "sdpa_backend": "flash_attention",
530
+ "custom_params": {}
531
+ }
532
+ },
533
+ "measurements": {
534
+ "latency_seconds": {
535
+ "name": "latency_seconds",
536
+ "measurements": [
537
+ 1.222719970703125,
538
+ 1.2164395751953125,
539
+ 1.218609375,
540
+ 1.2214364013671875,
541
+ 1.2179609375
542
+ ],
543
+ "mean": 1.219433251953125,
544
+ "median": 1.218609375,
545
+ "std": 0.0023075403064604875,
546
+ "min": 1.2164395751953125,
547
+ "max": 1.222719970703125,
548
+ "p25": 1.2179609375,
549
+ "p75": 1.2214364013671875,
550
+ "p90": 1.22220654296875,
551
+ "p95": 1.2224632568359375,
552
+ "p99": 1.2226686279296877,
553
+ "unit": "seconds"
554
+ },
555
+ "time_to_first_token_seconds": {
556
+ "name": "time_to_first_token_seconds",
557
+ "measurements": [
558
+ 0.013392303466796875,
559
+ 0.013583378791809082,
560
+ 0.01348374080657959,
561
+ 0.013476781845092774,
562
+ 0.013449063301086426
563
+ ],
564
+ "mean": 0.01347705364227295,
565
+ "median": 0.013476781845092774,
566
+ "std": 6.215445423622597e-05,
567
+ "min": 0.013392303466796875,
568
+ "max": 0.013583378791809082,
569
+ "p25": 0.013449063301086426,
570
+ "p75": 0.01348374080657959,
571
+ "p90": 0.013543523597717285,
572
+ "p95": 0.013563451194763184,
573
+ "p99": 0.013579393272399902,
574
+ "unit": "seconds"
575
+ },
576
+ "tokens_per_second": {
577
+ "name": "tokens_per_second",
578
+ "measurements": [
579
+ 81.7848750294763,
580
+ 82.20712482487585,
581
+ 82.06075059942813,
582
+ 81.87082019830687,
583
+ 82.10443941269668
584
+ ],
585
+ "mean": 82.00560201295677,
586
+ "median": 82.06075059942813,
587
+ "std": 0.1551181360754545,
588
+ "min": 81.7848750294763,
589
+ "max": 82.20712482487585,
590
+ "p25": 81.87082019830687,
591
+ "p75": 82.10443941269668,
592
+ "p90": 82.16605066000417,
593
+ "p95": 82.18658774244001,
594
+ "p99": 82.20301740838867,
595
+ "unit": "tokens/sec"
596
+ },
597
+ "time_per_output_token_seconds": {
598
+ "name": "time_per_output_token_seconds",
599
+ "measurements": [
600
+ 0.01222719970703125,
601
+ 0.012164395751953126,
602
+ 0.01218609375,
603
+ 0.012214364013671875,
604
+ 0.012179609375
605
+ ],
606
+ "mean": 0.01219433251953125,
607
+ "median": 0.01218609375,
608
+ "std": 2.3075403064604454e-05,
609
+ "min": 0.012164395751953126,
610
+ "max": 0.01222719970703125,
611
+ "p25": 0.012179609375,
612
+ "p75": 0.012214364013671875,
613
+ "p90": 0.0122220654296875,
614
+ "p95": 0.012224632568359376,
615
+ "p99": 0.012226686279296876,
616
+ "unit": "seconds/token"
617
+ }
618
+ },
619
+ "gpu_metrics": {
620
+ "gpu_monitoring_status": "disabled",
621
+ "gpu_monitoring_reason": "no_gpus_available"
622
+ }
623
+ },
624
+ {
625
+ "scenario_name": "eager_sdpa_efficient_attention",
626
+ "metadata": {
627
+ "timestamp": "2025-10-04T16:44:38.996291",
628
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
629
+ "hardware_info": {
630
+ "gpu_name": "unknown",
631
+ "gpu_memory_total_mb": 0,
632
+ "cpu_count": 160,
633
+ "memory_total_mb": 1290069,
634
+ "python_version": "3.12.10",
635
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
636
+ "cuda_version": null
637
+ },
638
+ "config": {
639
+ "name": "eager",
640
+ "model_id": "meta-llama/Llama-2-7b-hf",
641
+ "variant": "eager",
642
+ "warmup_iterations": 3,
643
+ "measurement_iterations": 5,
644
+ "num_tokens_to_generate": 100,
645
+ "device": "cuda",
646
+ "torch_dtype": "float16",
647
+ "compile_mode": null,
648
+ "compile_options": {},
649
+ "use_cache": true,
650
+ "batch_size": 1,
651
+ "sequence_length": null,
652
+ "attn_implementation": "sdpa",
653
+ "sdpa_backend": "efficient_attention",
654
+ "custom_params": {}
655
+ }
656
+ },
657
+ "measurements": {
658
+ "latency_seconds": {
659
+ "name": "latency_seconds",
660
+ "measurements": [
661
+ 1.208748779296875,
662
+ 1.1971795654296875,
663
+ 1.191031982421875,
664
+ 1.20262646484375,
665
+ 1.206256591796875
666
+ ],
667
+ "mean": 1.2011686767578125,
668
+ "median": 1.20262646484375,
669
+ "std": 0.00638960971107509,
670
+ "min": 1.191031982421875,
671
+ "max": 1.208748779296875,
672
+ "p25": 1.1971795654296875,
673
+ "p75": 1.206256591796875,
674
+ "p90": 1.207751904296875,
675
+ "p95": 1.208250341796875,
676
+ "p99": 1.208649091796875,
677
+ "unit": "seconds"
678
+ },
679
+ "time_to_first_token_seconds": {
680
+ "name": "time_to_first_token_seconds",
681
+ "measurements": [
682
+ 0.013276145935058594,
683
+ 0.01340406322479248,
684
+ 0.01344026279449463,
685
+ 0.01306783103942871,
686
+ 0.013378024101257324
687
+ ],
688
+ "mean": 0.013313265419006348,
689
+ "median": 0.013378024101257324,
690
+ "std": 0.00013429977856316673,
691
+ "min": 0.01306783103942871,
692
+ "max": 0.01344026279449463,
693
+ "p25": 0.013276145935058594,
694
+ "p75": 0.01340406322479248,
695
+ "p90": 0.01342578296661377,
696
+ "p95": 0.0134330228805542,
697
+ "p99": 0.013438814811706544,
698
+ "unit": "seconds"
699
+ },
700
+ "tokens_per_second": {
701
+ "name": "tokens_per_second",
702
+ "measurements": [
703
+ 82.7301766196361,
704
+ 83.52965827988247,
705
+ 83.96080162067305,
706
+ 83.15133827775227,
707
+ 82.90110137432458
708
+ ],
709
+ "mean": 83.25461523445371,
710
+ "median": 83.15133827775227,
711
+ "std": 0.44385176100157214,
712
+ "min": 82.7301766196361,
713
+ "max": 83.96080162067305,
714
+ "p25": 82.90110137432458,
715
+ "p75": 83.52965827988247,
716
+ "p90": 83.78834428435682,
717
+ "p95": 83.87457295251494,
718
+ "p99": 83.94355588704143,
719
+ "unit": "tokens/sec"
720
+ },
721
+ "time_per_output_token_seconds": {
722
+ "name": "time_per_output_token_seconds",
723
+ "measurements": [
724
+ 0.012087487792968749,
725
+ 0.011971795654296876,
726
+ 0.01191031982421875,
727
+ 0.0120262646484375,
728
+ 0.01206256591796875
729
+ ],
730
+ "mean": 0.012011686767578125,
731
+ "median": 0.0120262646484375,
732
+ "std": 6.38960971107505e-05,
733
+ "min": 0.01191031982421875,
734
+ "max": 0.012087487792968749,
735
+ "p25": 0.011971795654296876,
736
+ "p75": 0.01206256591796875,
737
+ "p90": 0.01207751904296875,
738
+ "p95": 0.01208250341796875,
739
+ "p99": 0.01208649091796875,
740
+ "unit": "seconds/token"
741
+ }
742
+ },
743
+ "gpu_metrics": {
744
+ "gpu_monitoring_status": "disabled",
745
+ "gpu_monitoring_reason": "no_gpus_available"
746
+ }
747
+ },
748
+ {
749
+ "scenario_name": "compiled_compile_max-autotune_sdpa_default",
750
+ "metadata": {
751
+ "timestamp": "2025-10-04T16:44:55.597082",
752
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
753
+ "hardware_info": {
754
+ "gpu_name": "unknown",
755
+ "gpu_memory_total_mb": 0,
756
+ "cpu_count": 160,
757
+ "memory_total_mb": 1290069,
758
+ "python_version": "3.12.10",
759
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
760
+ "cuda_version": null
761
+ },
762
+ "config": {
763
+ "name": "compiled",
764
+ "model_id": "meta-llama/Llama-2-7b-hf",
765
+ "variant": "compiled",
766
+ "warmup_iterations": 3,
767
+ "measurement_iterations": 5,
768
+ "num_tokens_to_generate": 100,
769
+ "device": "cuda",
770
+ "torch_dtype": "float16",
771
+ "compile_mode": "max-autotune",
772
+ "compile_options": {},
773
+ "use_cache": true,
774
+ "batch_size": 1,
775
+ "sequence_length": null,
776
+ "attn_implementation": "sdpa",
777
+ "sdpa_backend": null,
778
+ "custom_params": {}
779
+ }
780
+ },
781
+ "measurements": {
782
+ "latency_seconds": {
783
+ "name": "latency_seconds",
784
+ "measurements": [
785
+ 1.6974056396484376,
786
+ 1.7035843505859376,
787
+ 1.702534912109375,
788
+ 1.7078240966796876,
789
+ 1.7118887939453125
790
+ ],
791
+ "mean": 1.70464755859375,
792
+ "median": 1.7035843505859376,
793
+ "std": 0.004910498143252341,
794
+ "min": 1.6974056396484376,
795
+ "max": 1.7118887939453125,
796
+ "p25": 1.702534912109375,
797
+ "p75": 1.7078240966796876,
798
+ "p90": 1.7102629150390625,
799
+ "p95": 1.7110758544921876,
800
+ "p99": 1.7117262060546874,
801
+ "unit": "seconds"
802
+ },
803
+ "time_to_first_token_seconds": {
804
+ "name": "time_to_first_token_seconds",
805
+ "measurements": [
806
+ 0.017494976043701174,
807
+ 0.01802388381958008,
808
+ 0.01761937141418457,
809
+ 0.017687610626220703,
810
+ 0.018020122528076173
811
+ ],
812
+ "mean": 0.017769192886352543,
813
+ "median": 0.017687610626220703,
814
+ "std": 0.0002154670146673712,
815
+ "min": 0.017494976043701174,
816
+ "max": 0.01802388381958008,
817
+ "p25": 0.01761937141418457,
818
+ "p75": 0.018020122528076173,
819
+ "p90": 0.018022379302978515,
820
+ "p95": 0.0180231315612793,
821
+ "p99": 0.018023733367919924,
822
+ "unit": "seconds"
823
+ },
824
+ "tokens_per_second": {
825
+ "name": "tokens_per_second",
826
+ "measurements": [
827
+ 58.91343687341097,
828
+ 58.69976439124109,
829
+ 58.735946786608835,
830
+ 58.55403972482746,
831
+ 58.41500940580056
832
+ ],
833
+ "mean": 58.663639436377785,
834
+ "median": 58.69976439124109,
835
+ "std": 0.1689740297716821,
836
+ "min": 58.41500940580056,
837
+ "max": 58.91343687341097,
838
+ "p25": 58.55403972482746,
839
+ "p75": 58.735946786608835,
840
+ "p90": 58.842440838690116,
841
+ "p95": 58.87793885605055,
842
+ "p99": 58.90633726993889,
843
+ "unit": "tokens/sec"
844
+ },
845
+ "time_per_output_token_seconds": {
846
+ "name": "time_per_output_token_seconds",
847
+ "measurements": [
848
+ 0.016974056396484374,
849
+ 0.017035843505859377,
850
+ 0.017025349121093748,
851
+ 0.017078240966796877,
852
+ 0.017118887939453126
853
+ ],
854
+ "mean": 0.017046475585937502,
855
+ "median": 0.017035843505859377,
856
+ "std": 4.9104981432524343e-05,
857
+ "min": 0.016974056396484374,
858
+ "max": 0.017118887939453126,
859
+ "p25": 0.017025349121093748,
860
+ "p75": 0.017078240966796877,
861
+ "p90": 0.017102629150390625,
862
+ "p95": 0.017110758544921875,
863
+ "p99": 0.017117262060546874,
864
+ "unit": "seconds/token"
865
+ }
866
+ },
867
+ "gpu_metrics": {
868
+ "gpu_monitoring_status": "disabled",
869
+ "gpu_monitoring_reason": "no_gpus_available"
870
+ }
871
+ },
872
+ {
873
+ "scenario_name": "compiled_compile_max-autotune_sdpa_math",
874
+ "metadata": {
875
+ "timestamp": "2025-10-04T16:45:16.838098",
876
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
877
+ "hardware_info": {
878
+ "gpu_name": "unknown",
879
+ "gpu_memory_total_mb": 0,
880
+ "cpu_count": 160,
881
+ "memory_total_mb": 1290069,
882
+ "python_version": "3.12.10",
883
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
884
+ "cuda_version": null
885
+ },
886
+ "config": {
887
+ "name": "compiled",
888
+ "model_id": "meta-llama/Llama-2-7b-hf",
889
+ "variant": "compiled",
890
+ "warmup_iterations": 3,
891
+ "measurement_iterations": 5,
892
+ "num_tokens_to_generate": 100,
893
+ "device": "cuda",
894
+ "torch_dtype": "float16",
895
+ "compile_mode": "max-autotune",
896
+ "compile_options": {},
897
+ "use_cache": true,
898
+ "batch_size": 1,
899
+ "sequence_length": null,
900
+ "attn_implementation": "sdpa",
901
+ "sdpa_backend": "math",
902
+ "custom_params": {}
903
+ }
904
+ },
905
+ "measurements": {
906
+ "latency_seconds": {
907
+ "name": "latency_seconds",
908
+ "measurements": [
909
+ 2.01546630859375,
910
+ 2.00723828125,
911
+ 2.010544921875,
912
+ 2.009880859375,
913
+ 2.0014193115234375
914
+ ],
915
+ "mean": 2.0089099365234375,
916
+ "median": 2.009880859375,
917
+ "std": 0.004593599400289944,
918
+ "min": 2.0014193115234375,
919
+ "max": 2.01546630859375,
920
+ "p25": 2.00723828125,
921
+ "p75": 2.010544921875,
922
+ "p90": 2.01349775390625,
923
+ "p95": 2.01448203125,
924
+ "p99": 2.015269453125,
925
+ "unit": "seconds"
926
+ },
927
+ "time_to_first_token_seconds": {
928
+ "name": "time_to_first_token_seconds",
929
+ "measurements": [
930
+ 0.02086849784851074,
931
+ 0.021290687561035155,
932
+ 0.021173091888427736,
933
+ 0.02122109031677246,
934
+ 0.021119455337524413
935
+ ],
936
+ "mean": 0.021134564590454104,
937
+ "median": 0.021173091888427736,
938
+ "std": 0.00014447507510956313,
939
+ "min": 0.02086849784851074,
940
+ "max": 0.021290687561035155,
941
+ "p25": 0.021119455337524413,
942
+ "p75": 0.02122109031677246,
943
+ "p90": 0.021262848663330076,
944
+ "p95": 0.021276768112182615,
945
+ "p99": 0.02128790367126465,
946
+ "unit": "seconds"
947
+ },
948
+ "tokens_per_second": {
949
+ "name": "tokens_per_second",
950
+ "measurements": [
951
+ 49.61630942358592,
952
+ 49.8196955160328,
953
+ 49.73775960536197,
954
+ 49.75419290827834,
955
+ 49.964542374622205
956
+ ],
957
+ "mean": 49.77849996557625,
958
+ "median": 49.75419290827834,
959
+ "std": 0.11389928290997393,
960
+ "min": 49.61630942358592,
961
+ "max": 49.964542374622205,
962
+ "p25": 49.73775960536197,
963
+ "p75": 49.8196955160328,
964
+ "p90": 49.90660363118644,
965
+ "p95": 49.93557300290433,
966
+ "p99": 49.95874850027863,
967
+ "unit": "tokens/sec"
968
+ },
969
+ "time_per_output_token_seconds": {
970
+ "name": "time_per_output_token_seconds",
971
+ "measurements": [
972
+ 0.0201546630859375,
973
+ 0.020072382812499998,
974
+ 0.020105449218749998,
975
+ 0.02009880859375,
976
+ 0.020014193115234377
977
+ ],
978
+ "mean": 0.020089099365234377,
979
+ "median": 0.02009880859375,
980
+ "std": 4.59359940028987e-05,
981
+ "min": 0.020014193115234377,
982
+ "max": 0.0201546630859375,
983
+ "p25": 0.020072382812499998,
984
+ "p75": 0.020105449218749998,
985
+ "p90": 0.020134977539062498,
986
+ "p95": 0.0201448203125,
987
+ "p99": 0.02015269453125,
988
+ "unit": "seconds/token"
989
+ }
990
+ },
991
+ "gpu_metrics": {
992
+ "gpu_monitoring_status": "disabled",
993
+ "gpu_monitoring_reason": "no_gpus_available"
994
+ }
995
+ },
996
+ {
997
+ "scenario_name": "compiled_compile_max-autotune_sdpa_efficient_attention",
998
+ "metadata": {
999
+ "timestamp": "2025-10-04T16:45:47.736025",
1000
+ "commit_id": "e11a00a16f925b7d3b52f5007bdce3464edb361f",
1001
+ "hardware_info": {
1002
+ "gpu_name": "unknown",
1003
+ "gpu_memory_total_mb": 0,
1004
+ "cpu_count": 160,
1005
+ "memory_total_mb": 1290069,
1006
+ "python_version": "3.12.10",
1007
+ "torch_version": "2.7.1+rocm6.4.1.git2a215e4a",
1008
+ "cuda_version": null
1009
+ },
1010
+ "config": {
1011
+ "name": "compiled",
1012
+ "model_id": "meta-llama/Llama-2-7b-hf",
1013
+ "variant": "compiled",
1014
+ "warmup_iterations": 3,
1015
+ "measurement_iterations": 5,
1016
+ "num_tokens_to_generate": 100,
1017
+ "device": "cuda",
1018
+ "torch_dtype": "float16",
1019
+ "compile_mode": "max-autotune",
1020
+ "compile_options": {},
1021
+ "use_cache": true,
1022
+ "batch_size": 1,
1023
+ "sequence_length": null,
1024
+ "attn_implementation": "sdpa",
1025
+ "sdpa_backend": "efficient_attention",
1026
+ "custom_params": {}
1027
+ }
1028
+ },
1029
+ "measurements": {
1030
+ "latency_seconds": {
1031
+ "name": "latency_seconds",
1032
+ "measurements": [
1033
+ 1.6226431884765624,
1034
+ 1.5434627685546876,
1035
+ 1.4574515380859374,
1036
+ 1.457660888671875,
1037
+ 1.45477685546875
1038
+ ],
1039
+ "mean": 1.5071990478515624,
1040
+ "median": 1.457660888671875,
1041
+ "std": 0.06681218038784943,
1042
+ "min": 1.45477685546875,
1043
+ "max": 1.6226431884765624,
1044
+ "p25": 1.4574515380859374,
1045
+ "p75": 1.5434627685546876,
1046
+ "p90": 1.5909710205078125,
1047
+ "p95": 1.6068071044921874,
1048
+ "p99": 1.6194759716796874,
1049
+ "unit": "seconds"
1050
+ },
1051
+ "time_to_first_token_seconds": {
1052
+ "name": "time_to_first_token_seconds",
1053
+ "measurements": [
1054
+ 0.01699714469909668,
1055
+ 0.016845346450805664,
1056
+ 0.015232583045959473,
1057
+ 0.015121625900268556,
1058
+ 0.015130824089050292
1059
+ ],
1060
+ "mean": 0.015865504837036134,
1061
+ "median": 0.015232583045959473,
1062
+ "std": 0.0008642221974846599,
1063
+ "min": 0.015121625900268556,
1064
+ "max": 0.01699714469909668,
1065
+ "p25": 0.015130824089050292,
1066
+ "p75": 0.016845346450805664,
1067
+ "p90": 0.016936425399780273,
1068
+ "p95": 0.016966785049438476,
1069
+ "p99": 0.016991072769165037,
1070
+ "unit": "seconds"
1071
+ },
1072
+ "tokens_per_second": {
1073
+ "name": "tokens_per_second",
1074
+ "measurements": [
1075
+ 61.62784320679038,
1076
+ 64.7893827031804,
1077
+ 68.61291602966739,
1078
+ 68.60306178010542,
1079
+ 68.73906443045423
1080
+ ],
1081
+ "mean": 66.47445363003956,
1082
+ "median": 68.60306178010542,
1083
+ "std": 2.848211817677794,
1084
+ "min": 61.62784320679038,
1085
+ "max": 68.73906443045423,
1086
+ "p25": 64.7893827031804,
1087
+ "p75": 68.61291602966739,
1088
+ "p90": 68.6886050701395,
1089
+ "p95": 68.71383475029687,
1090
+ "p99": 68.73401849442276,
1091
+ "unit": "tokens/sec"
1092
+ },
1093
+ "time_per_output_token_seconds": {
1094
+ "name": "time_per_output_token_seconds",
1095
+ "measurements": [
1096
+ 0.016226431884765625,
1097
+ 0.015434627685546876,
1098
+ 0.014574515380859375,
1099
+ 0.01457660888671875,
1100
+ 0.0145477685546875
1101
+ ],
1102
+ "mean": 0.015071990478515623,
1103
+ "median": 0.01457660888671875,
1104
+ "std": 0.0006681218038784942,
1105
+ "min": 0.0145477685546875,
1106
+ "max": 0.016226431884765625,
1107
+ "p25": 0.014574515380859375,
1108
+ "p75": 0.015434627685546876,
1109
+ "p90": 0.015909710205078125,
1110
+ "p95": 0.016068071044921875,
1111
+ "p99": 0.016194759716796875,
1112
+ "unit": "seconds/token"
1113
+ }
1114
+ },
1115
+ "gpu_metrics": {
1116
+ "gpu_monitoring_status": "disabled",
1117
+ "gpu_monitoring_reason": "no_gpus_available"
1118
+ }
1119
+ }
1120
+ ]
1121
+ }