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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_name": "Llama-2-7b-hf",
|
3 |
+
"benchmark_scenarios": [
|
4 |
+
{
|
5 |
+
"scenario_name": "eager_eager_attn",
|
6 |
+
"metadata": {
|
7 |
+
"timestamp": "2025-09-28T16:43:15.211860",
|
8 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
9 |
+
"hardware_info": {
|
10 |
+
"gpu_name": "NVIDIA A10G",
|
11 |
+
"gpu_memory_total_mb": 23028,
|
12 |
+
"cpu_count": 16,
|
13 |
+
"memory_total_mb": 63607,
|
14 |
+
"python_version": "3.10.12",
|
15 |
+
"torch_version": "2.8.0+cu126",
|
16 |
+
"cuda_version": "12.6"
|
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 |
+
3.68081201171875,
|
42 |
+
3.65428564453125,
|
43 |
+
3.66470263671875,
|
44 |
+
3.6580947265625,
|
45 |
+
3.649531005859375
|
46 |
+
],
|
47 |
+
"mean": 3.661485205078125,
|
48 |
+
"median": 3.6580947265625,
|
49 |
+
"std": 0.010863785867558316,
|
50 |
+
"min": 3.649531005859375,
|
51 |
+
"max": 3.68081201171875,
|
52 |
+
"p25": 3.65428564453125,
|
53 |
+
"p75": 3.66470263671875,
|
54 |
+
"p90": 3.67436826171875,
|
55 |
+
"p95": 3.67759013671875,
|
56 |
+
"p99": 3.68016763671875,
|
57 |
+
"unit": "seconds"
|
58 |
+
},
|
59 |
+
"time_to_first_token_seconds": {
|
60 |
+
"name": "time_to_first_token_seconds",
|
61 |
+
"measurements": [
|
62 |
+
0.03892060852050781,
|
63 |
+
0.038342144012451174,
|
64 |
+
0.03924867248535156,
|
65 |
+
0.03729081726074219,
|
66 |
+
0.037099456787109374
|
67 |
+
],
|
68 |
+
"mean": 0.03818033981323242,
|
69 |
+
"median": 0.038342144012451174,
|
70 |
+
"std": 0.000857329754962801,
|
71 |
+
"min": 0.037099456787109374,
|
72 |
+
"max": 0.03924867248535156,
|
73 |
+
"p25": 0.03729081726074219,
|
74 |
+
"p75": 0.03892060852050781,
|
75 |
+
"p90": 0.039117446899414064,
|
76 |
+
"p95": 0.03918305969238281,
|
77 |
+
"p99": 0.03923554992675781,
|
78 |
+
"unit": "seconds"
|
79 |
+
},
|
80 |
+
"tokens_per_second": {
|
81 |
+
"name": "tokens_per_second",
|
82 |
+
"measurements": [
|
83 |
+
27.16791829673071,
|
84 |
+
27.36512952939326,
|
85 |
+
27.287343589093112,
|
86 |
+
27.336634908295466,
|
87 |
+
27.400781042673305
|
88 |
+
],
|
89 |
+
"mean": 27.311561473237173,
|
90 |
+
"median": 27.336634908295466,
|
91 |
+
"std": 0.08084332183379739,
|
92 |
+
"min": 27.16791829673071,
|
93 |
+
"max": 27.400781042673305,
|
94 |
+
"p25": 27.287343589093112,
|
95 |
+
"p75": 27.36512952939326,
|
96 |
+
"p90": 27.386520437361288,
|
97 |
+
"p95": 27.393650740017296,
|
98 |
+
"p99": 27.399354982142103,
|
99 |
+
"unit": "tokens/sec"
|
100 |
+
},
|
101 |
+
"time_per_output_token_seconds": {
|
102 |
+
"name": "time_per_output_token_seconds",
|
103 |
+
"measurements": [
|
104 |
+
0.0368081201171875,
|
105 |
+
0.0365428564453125,
|
106 |
+
0.0366470263671875,
|
107 |
+
0.036580947265625004,
|
108 |
+
0.03649531005859375
|
109 |
+
],
|
110 |
+
"mean": 0.03661485205078125,
|
111 |
+
"median": 0.036580947265625004,
|
112 |
+
"std": 0.00010863785867558357,
|
113 |
+
"min": 0.03649531005859375,
|
114 |
+
"max": 0.0368081201171875,
|
115 |
+
"p25": 0.0365428564453125,
|
116 |
+
"p75": 0.0366470263671875,
|
117 |
+
"p90": 0.0367436826171875,
|
118 |
+
"p95": 0.0367759013671875,
|
119 |
+
"p99": 0.0368016763671875,
|
120 |
+
"unit": "seconds/token"
|
121 |
+
}
|
122 |
+
},
|
123 |
+
"gpu_metrics": {
|
124 |
+
"gpu_utilization_mean": 90.68478260869566,
|
125 |
+
"gpu_utilization_max": 94,
|
126 |
+
"gpu_utilization_min": 86,
|
127 |
+
"gpu_memory_used_mean": 13253,
|
128 |
+
"gpu_memory_used_max": 13253,
|
129 |
+
"gpu_memory_used_min": 13253,
|
130 |
+
"sample_count": 92,
|
131 |
+
"gpu_monitoring_status": "success"
|
132 |
+
}
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"scenario_name": "compiled_compile_max-autotune_eager_attn",
|
136 |
+
"metadata": {
|
137 |
+
"timestamp": "2025-09-28T16:43:50.506632",
|
138 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
139 |
+
"hardware_info": {
|
140 |
+
"gpu_name": "NVIDIA A10G",
|
141 |
+
"gpu_memory_total_mb": 23028,
|
142 |
+
"cpu_count": 16,
|
143 |
+
"memory_total_mb": 63607,
|
144 |
+
"python_version": "3.10.12",
|
145 |
+
"torch_version": "2.8.0+cu126",
|
146 |
+
"cuda_version": "12.6"
|
147 |
+
},
|
148 |
+
"config": {
|
149 |
+
"name": "compiled",
|
150 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
151 |
+
"variant": "compiled",
|
152 |
+
"warmup_iterations": 3,
|
153 |
+
"measurement_iterations": 5,
|
154 |
+
"num_tokens_to_generate": 100,
|
155 |
+
"device": "cuda",
|
156 |
+
"torch_dtype": "float16",
|
157 |
+
"compile_mode": "max-autotune",
|
158 |
+
"compile_options": {},
|
159 |
+
"use_cache": true,
|
160 |
+
"batch_size": 1,
|
161 |
+
"sequence_length": null,
|
162 |
+
"attn_implementation": "eager",
|
163 |
+
"sdpa_backend": null,
|
164 |
+
"custom_params": {}
|
165 |
+
}
|
166 |
+
},
|
167 |
+
"measurements": {
|
168 |
+
"latency_seconds": {
|
169 |
+
"name": "latency_seconds",
|
170 |
+
"measurements": [
|
171 |
+
7.83781005859375,
|
172 |
+
7.88378662109375,
|
173 |
+
7.8414736328125,
|
174 |
+
7.893248046875,
|
175 |
+
7.936220703125
|
176 |
+
],
|
177 |
+
"mean": 7.878507812500001,
|
178 |
+
"median": 7.88378662109375,
|
179 |
+
"std": 0.036342140036140724,
|
180 |
+
"min": 7.83781005859375,
|
181 |
+
"max": 7.936220703125,
|
182 |
+
"p25": 7.8414736328125,
|
183 |
+
"p75": 7.893248046875,
|
184 |
+
"p90": 7.919031640625,
|
185 |
+
"p95": 7.927626171875,
|
186 |
+
"p99": 7.934501796875,
|
187 |
+
"unit": "seconds"
|
188 |
+
},
|
189 |
+
"time_to_first_token_seconds": {
|
190 |
+
"name": "time_to_first_token_seconds",
|
191 |
+
"measurements": [
|
192 |
+
0.038803424835205075,
|
193 |
+
0.03820646286010742,
|
194 |
+
0.03827280044555664,
|
195 |
+
0.039659168243408205,
|
196 |
+
0.038292896270751955
|
197 |
+
],
|
198 |
+
"mean": 0.038646950531005864,
|
199 |
+
"median": 0.038292896270751955,
|
200 |
+
"std": 0.0005492615040278708,
|
201 |
+
"min": 0.03820646286010742,
|
202 |
+
"max": 0.039659168243408205,
|
203 |
+
"p25": 0.03827280044555664,
|
204 |
+
"p75": 0.038803424835205075,
|
205 |
+
"p90": 0.039316870880126954,
|
206 |
+
"p95": 0.039488019561767576,
|
207 |
+
"p99": 0.03962493850708008,
|
208 |
+
"unit": "seconds"
|
209 |
+
},
|
210 |
+
"tokens_per_second": {
|
211 |
+
"name": "tokens_per_second",
|
212 |
+
"measurements": [
|
213 |
+
12.7586659095362,
|
214 |
+
12.684260090505417,
|
215 |
+
12.752704999421521,
|
216 |
+
12.669055806448501,
|
217 |
+
12.600456028223054
|
218 |
+
],
|
219 |
+
"mean": 12.693028566826936,
|
220 |
+
"median": 12.684260090505417,
|
221 |
+
"std": 0.058465018063590175,
|
222 |
+
"min": 12.600456028223054,
|
223 |
+
"max": 12.7586659095362,
|
224 |
+
"p25": 12.669055806448501,
|
225 |
+
"p75": 12.752704999421521,
|
226 |
+
"p90": 12.756281545490328,
|
227 |
+
"p95": 12.757473727513265,
|
228 |
+
"p99": 12.758427473131613,
|
229 |
+
"unit": "tokens/sec"
|
230 |
+
},
|
231 |
+
"time_per_output_token_seconds": {
|
232 |
+
"name": "time_per_output_token_seconds",
|
233 |
+
"measurements": [
|
234 |
+
0.0783781005859375,
|
235 |
+
0.07883786621093751,
|
236 |
+
0.078414736328125,
|
237 |
+
0.07893248046875,
|
238 |
+
0.07936220703124999
|
239 |
+
],
|
240 |
+
"mean": 0.07878507812499999,
|
241 |
+
"median": 0.07883786621093751,
|
242 |
+
"std": 0.00036342140036140565,
|
243 |
+
"min": 0.0783781005859375,
|
244 |
+
"max": 0.07936220703124999,
|
245 |
+
"p25": 0.078414736328125,
|
246 |
+
"p75": 0.07893248046875,
|
247 |
+
"p90": 0.07919031640624999,
|
248 |
+
"p95": 0.07927626171874999,
|
249 |
+
"p99": 0.07934501796874999,
|
250 |
+
"unit": "seconds/token"
|
251 |
+
}
|
252 |
+
},
|
253 |
+
"gpu_metrics": {
|
254 |
+
"gpu_utilization_mean": 44.12352941176471,
|
255 |
+
"gpu_utilization_max": 92,
|
256 |
+
"gpu_utilization_min": 0,
|
257 |
+
"gpu_memory_used_mean": 13629.588235294117,
|
258 |
+
"gpu_memory_used_max": 13777,
|
259 |
+
"gpu_memory_used_min": 13415,
|
260 |
+
"sample_count": 170,
|
261 |
+
"gpu_monitoring_status": "success"
|
262 |
+
}
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"scenario_name": "eager_sdpa_default",
|
266 |
+
"metadata": {
|
267 |
+
"timestamp": "2025-09-28T16:45:18.542177",
|
268 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
269 |
+
"hardware_info": {
|
270 |
+
"gpu_name": "NVIDIA A10G",
|
271 |
+
"gpu_memory_total_mb": 23028,
|
272 |
+
"cpu_count": 16,
|
273 |
+
"memory_total_mb": 63607,
|
274 |
+
"python_version": "3.10.12",
|
275 |
+
"torch_version": "2.8.0+cu126",
|
276 |
+
"cuda_version": "12.6"
|
277 |
+
},
|
278 |
+
"config": {
|
279 |
+
"name": "eager",
|
280 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
281 |
+
"variant": "eager",
|
282 |
+
"warmup_iterations": 3,
|
283 |
+
"measurement_iterations": 5,
|
284 |
+
"num_tokens_to_generate": 100,
|
285 |
+
"device": "cuda",
|
286 |
+
"torch_dtype": "float16",
|
287 |
+
"compile_mode": null,
|
288 |
+
"compile_options": {},
|
289 |
+
"use_cache": true,
|
290 |
+
"batch_size": 1,
|
291 |
+
"sequence_length": null,
|
292 |
+
"attn_implementation": "sdpa",
|
293 |
+
"sdpa_backend": null,
|
294 |
+
"custom_params": {}
|
295 |
+
}
|
296 |
+
},
|
297 |
+
"measurements": {
|
298 |
+
"latency_seconds": {
|
299 |
+
"name": "latency_seconds",
|
300 |
+
"measurements": [
|
301 |
+
3.41444384765625,
|
302 |
+
3.416174072265625,
|
303 |
+
3.418268798828125,
|
304 |
+
3.41754296875,
|
305 |
+
3.41708154296875
|
306 |
+
],
|
307 |
+
"mean": 3.41670224609375,
|
308 |
+
"median": 3.41708154296875,
|
309 |
+
"std": 0.0013178846132277887,
|
310 |
+
"min": 3.41444384765625,
|
311 |
+
"max": 3.418268798828125,
|
312 |
+
"p25": 3.416174072265625,
|
313 |
+
"p75": 3.41754296875,
|
314 |
+
"p90": 3.4179784667968747,
|
315 |
+
"p95": 3.4181236328124998,
|
316 |
+
"p99": 3.4182397656249996,
|
317 |
+
"unit": "seconds"
|
318 |
+
},
|
319 |
+
"time_to_first_token_seconds": {
|
320 |
+
"name": "time_to_first_token_seconds",
|
321 |
+
"measurements": [
|
322 |
+
0.03513004684448242,
|
323 |
+
0.03467155075073242,
|
324 |
+
0.0347143669128418,
|
325 |
+
0.03462521743774414,
|
326 |
+
0.03491091156005859
|
327 |
+
],
|
328 |
+
"mean": 0.03481041870117187,
|
329 |
+
"median": 0.0347143669128418,
|
330 |
+
"std": 0.00018712067034898158,
|
331 |
+
"min": 0.03462521743774414,
|
332 |
+
"max": 0.03513004684448242,
|
333 |
+
"p25": 0.03467155075073242,
|
334 |
+
"p75": 0.03491091156005859,
|
335 |
+
"p90": 0.03504239273071289,
|
336 |
+
"p95": 0.035086219787597656,
|
337 |
+
"p99": 0.035121281433105465,
|
338 |
+
"unit": "seconds"
|
339 |
+
},
|
340 |
+
"tokens_per_second": {
|
341 |
+
"name": "tokens_per_second",
|
342 |
+
"measurements": [
|
343 |
+
29.28734647917617,
|
344 |
+
29.272513017370766,
|
345 |
+
29.25457472340464,
|
346 |
+
29.260787915294593,
|
347 |
+
29.26473914729009
|
348 |
+
],
|
349 |
+
"mean": 29.267992256507256,
|
350 |
+
"median": 29.26473914729009,
|
351 |
+
"std": 0.011291932167259499,
|
352 |
+
"min": 29.25457472340464,
|
353 |
+
"max": 29.28734647917617,
|
354 |
+
"p25": 29.260787915294593,
|
355 |
+
"p75": 29.272513017370766,
|
356 |
+
"p90": 29.281413094454006,
|
357 |
+
"p95": 29.284379786815087,
|
358 |
+
"p99": 29.28675314070395,
|
359 |
+
"unit": "tokens/sec"
|
360 |
+
},
|
361 |
+
"time_per_output_token_seconds": {
|
362 |
+
"name": "time_per_output_token_seconds",
|
363 |
+
"measurements": [
|
364 |
+
0.0341444384765625,
|
365 |
+
0.03416174072265625,
|
366 |
+
0.03418268798828125,
|
367 |
+
0.0341754296875,
|
368 |
+
0.0341708154296875
|
369 |
+
],
|
370 |
+
"mean": 0.0341670224609375,
|
371 |
+
"median": 0.0341708154296875,
|
372 |
+
"std": 1.317884613227995e-05,
|
373 |
+
"min": 0.0341444384765625,
|
374 |
+
"max": 0.03418268798828125,
|
375 |
+
"p25": 0.03416174072265625,
|
376 |
+
"p75": 0.0341754296875,
|
377 |
+
"p90": 0.034179784667968754,
|
378 |
+
"p95": 0.034181236328125,
|
379 |
+
"p99": 0.03418239765625,
|
380 |
+
"unit": "seconds/token"
|
381 |
+
}
|
382 |
+
},
|
383 |
+
"gpu_metrics": {
|
384 |
+
"gpu_utilization_mean": 96.77906976744185,
|
385 |
+
"gpu_utilization_max": 98,
|
386 |
+
"gpu_utilization_min": 95,
|
387 |
+
"gpu_memory_used_mean": 13849,
|
388 |
+
"gpu_memory_used_max": 13849,
|
389 |
+
"gpu_memory_used_min": 13849,
|
390 |
+
"sample_count": 86,
|
391 |
+
"gpu_monitoring_status": "success"
|
392 |
+
}
|
393 |
+
},
|
394 |
+
{
|
395 |
+
"scenario_name": "eager_sdpa_math",
|
396 |
+
"metadata": {
|
397 |
+
"timestamp": "2025-09-28T16:45:51.020745",
|
398 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
399 |
+
"hardware_info": {
|
400 |
+
"gpu_name": "NVIDIA A10G",
|
401 |
+
"gpu_memory_total_mb": 23028,
|
402 |
+
"cpu_count": 16,
|
403 |
+
"memory_total_mb": 63607,
|
404 |
+
"python_version": "3.10.12",
|
405 |
+
"torch_version": "2.8.0+cu126",
|
406 |
+
"cuda_version": "12.6"
|
407 |
+
},
|
408 |
+
"config": {
|
409 |
+
"name": "eager",
|
410 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
411 |
+
"variant": "eager",
|
412 |
+
"warmup_iterations": 3,
|
413 |
+
"measurement_iterations": 5,
|
414 |
+
"num_tokens_to_generate": 100,
|
415 |
+
"device": "cuda",
|
416 |
+
"torch_dtype": "float16",
|
417 |
+
"compile_mode": null,
|
418 |
+
"compile_options": {},
|
419 |
+
"use_cache": true,
|
420 |
+
"batch_size": 1,
|
421 |
+
"sequence_length": null,
|
422 |
+
"attn_implementation": "sdpa",
|
423 |
+
"sdpa_backend": "math",
|
424 |
+
"custom_params": {}
|
425 |
+
}
|
426 |
+
},
|
427 |
+
"measurements": {
|
428 |
+
"latency_seconds": {
|
429 |
+
"name": "latency_seconds",
|
430 |
+
"measurements": [
|
431 |
+
3.55527294921875,
|
432 |
+
3.57189404296875,
|
433 |
+
3.57073876953125,
|
434 |
+
3.56308251953125,
|
435 |
+
3.551847900390625
|
436 |
+
],
|
437 |
+
"mean": 3.5625672363281247,
|
438 |
+
"median": 3.56308251953125,
|
439 |
+
"std": 0.008026700208127492,
|
440 |
+
"min": 3.551847900390625,
|
441 |
+
"max": 3.57189404296875,
|
442 |
+
"p25": 3.55527294921875,
|
443 |
+
"p75": 3.57073876953125,
|
444 |
+
"p90": 3.57143193359375,
|
445 |
+
"p95": 3.5716629882812496,
|
446 |
+
"p99": 3.5718478320312497,
|
447 |
+
"unit": "seconds"
|
448 |
+
},
|
449 |
+
"time_to_first_token_seconds": {
|
450 |
+
"name": "time_to_first_token_seconds",
|
451 |
+
"measurements": [
|
452 |
+
0.03891593551635742,
|
453 |
+
0.04226297760009766,
|
454 |
+
0.039876190185546875,
|
455 |
+
0.04022969436645508,
|
456 |
+
0.03845846557617188
|
457 |
+
],
|
458 |
+
"mean": 0.03994865264892579,
|
459 |
+
"median": 0.039876190185546875,
|
460 |
+
"std": 0.001321173525537848,
|
461 |
+
"min": 0.03845846557617188,
|
462 |
+
"max": 0.04226297760009766,
|
463 |
+
"p25": 0.03891593551635742,
|
464 |
+
"p75": 0.04022969436645508,
|
465 |
+
"p90": 0.04144966430664063,
|
466 |
+
"p95": 0.04185632095336914,
|
467 |
+
"p99": 0.04218164627075196,
|
468 |
+
"unit": "seconds"
|
469 |
+
},
|
470 |
+
"tokens_per_second": {
|
471 |
+
"name": "tokens_per_second",
|
472 |
+
"measurements": [
|
473 |
+
28.12723563797666,
|
474 |
+
27.996351178683295,
|
475 |
+
28.005409091611465,
|
476 |
+
28.065586315176258,
|
477 |
+
28.154358746330946
|
478 |
+
],
|
479 |
+
"mean": 28.069788193955723,
|
480 |
+
"median": 28.065586315176258,
|
481 |
+
"std": 0.06325773781861259,
|
482 |
+
"min": 27.996351178683295,
|
483 |
+
"max": 28.154358746330946,
|
484 |
+
"p25": 28.005409091611465,
|
485 |
+
"p75": 28.12723563797666,
|
486 |
+
"p90": 28.143509502989232,
|
487 |
+
"p95": 28.148934124660087,
|
488 |
+
"p99": 28.153273821996773,
|
489 |
+
"unit": "tokens/sec"
|
490 |
+
},
|
491 |
+
"time_per_output_token_seconds": {
|
492 |
+
"name": "time_per_output_token_seconds",
|
493 |
+
"measurements": [
|
494 |
+
0.0355527294921875,
|
495 |
+
0.0357189404296875,
|
496 |
+
0.035707387695312495,
|
497 |
+
0.0356308251953125,
|
498 |
+
0.03551847900390625
|
499 |
+
],
|
500 |
+
"mean": 0.03562567236328125,
|
501 |
+
"median": 0.0356308251953125,
|
502 |
+
"std": 8.026700208127529e-05,
|
503 |
+
"min": 0.03551847900390625,
|
504 |
+
"max": 0.0357189404296875,
|
505 |
+
"p25": 0.0355527294921875,
|
506 |
+
"p75": 0.035707387695312495,
|
507 |
+
"p90": 0.035714319335937494,
|
508 |
+
"p95": 0.035716629882812496,
|
509 |
+
"p99": 0.0357184783203125,
|
510 |
+
"unit": "seconds/token"
|
511 |
+
}
|
512 |
+
},
|
513 |
+
"gpu_metrics": {
|
514 |
+
"gpu_utilization_mean": 95.2,
|
515 |
+
"gpu_utilization_max": 97,
|
516 |
+
"gpu_utilization_min": 85,
|
517 |
+
"gpu_memory_used_mean": 13849,
|
518 |
+
"gpu_memory_used_max": 13849,
|
519 |
+
"gpu_memory_used_min": 13849,
|
520 |
+
"sample_count": 90,
|
521 |
+
"gpu_monitoring_status": "success"
|
522 |
+
}
|
523 |
+
},
|
524 |
+
{
|
525 |
+
"scenario_name": "eager_sdpa_flash_attention",
|
526 |
+
"metadata": {
|
527 |
+
"timestamp": "2025-09-28T16:46:24.682183",
|
528 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
529 |
+
"hardware_info": {
|
530 |
+
"gpu_name": "NVIDIA A10G",
|
531 |
+
"gpu_memory_total_mb": 23028,
|
532 |
+
"cpu_count": 16,
|
533 |
+
"memory_total_mb": 63607,
|
534 |
+
"python_version": "3.10.12",
|
535 |
+
"torch_version": "2.8.0+cu126",
|
536 |
+
"cuda_version": "12.6"
|
537 |
+
},
|
538 |
+
"config": {
|
539 |
+
"name": "eager",
|
540 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
541 |
+
"variant": "eager",
|
542 |
+
"warmup_iterations": 3,
|
543 |
+
"measurement_iterations": 5,
|
544 |
+
"num_tokens_to_generate": 100,
|
545 |
+
"device": "cuda",
|
546 |
+
"torch_dtype": "float16",
|
547 |
+
"compile_mode": null,
|
548 |
+
"compile_options": {},
|
549 |
+
"use_cache": true,
|
550 |
+
"batch_size": 1,
|
551 |
+
"sequence_length": null,
|
552 |
+
"attn_implementation": "sdpa",
|
553 |
+
"sdpa_backend": "flash_attention",
|
554 |
+
"custom_params": {}
|
555 |
+
}
|
556 |
+
},
|
557 |
+
"measurements": {
|
558 |
+
"latency_seconds": {
|
559 |
+
"name": "latency_seconds",
|
560 |
+
"measurements": [
|
561 |
+
3.417764892578125,
|
562 |
+
3.41739794921875,
|
563 |
+
3.41646728515625,
|
564 |
+
3.419969970703125,
|
565 |
+
3.417473876953125
|
566 |
+
],
|
567 |
+
"mean": 3.4178147949218753,
|
568 |
+
"median": 3.417473876953125,
|
569 |
+
"std": 0.001162156690131176,
|
570 |
+
"min": 3.41646728515625,
|
571 |
+
"max": 3.419969970703125,
|
572 |
+
"p25": 3.41739794921875,
|
573 |
+
"p75": 3.417764892578125,
|
574 |
+
"p90": 3.4190879394531253,
|
575 |
+
"p95": 3.419528955078125,
|
576 |
+
"p99": 3.4198817675781252,
|
577 |
+
"unit": "seconds"
|
578 |
+
},
|
579 |
+
"time_to_first_token_seconds": {
|
580 |
+
"name": "time_to_first_token_seconds",
|
581 |
+
"measurements": [
|
582 |
+
0.03549359893798828,
|
583 |
+
0.034764190673828126,
|
584 |
+
0.034707679748535156,
|
585 |
+
0.034851200103759764,
|
586 |
+
0.034859039306640624
|
587 |
+
],
|
588 |
+
"mean": 0.03493514175415039,
|
589 |
+
"median": 0.034851200103759764,
|
590 |
+
"std": 0.00028484221780813264,
|
591 |
+
"min": 0.034707679748535156,
|
592 |
+
"max": 0.03549359893798828,
|
593 |
+
"p25": 0.034764190673828126,
|
594 |
+
"p75": 0.034859039306640624,
|
595 |
+
"p90": 0.03523977508544922,
|
596 |
+
"p95": 0.035366687011718745,
|
597 |
+
"p99": 0.03546821655273437,
|
598 |
+
"unit": "seconds"
|
599 |
+
},
|
600 |
+
"tokens_per_second": {
|
601 |
+
"name": "tokens_per_second",
|
602 |
+
"measurements": [
|
603 |
+
29.258887940816468,
|
604 |
+
29.262029616088743,
|
605 |
+
29.270000750329608,
|
606 |
+
29.240022823779533,
|
607 |
+
29.26137948687285
|
608 |
+
],
|
609 |
+
"mean": 29.258464123577436,
|
610 |
+
"median": 29.26137948687285,
|
611 |
+
"std": 0.009945521566007432,
|
612 |
+
"min": 29.240022823779533,
|
613 |
+
"max": 29.270000750329608,
|
614 |
+
"p25": 29.258887940816468,
|
615 |
+
"p75": 29.262029616088743,
|
616 |
+
"p90": 29.266812296633262,
|
617 |
+
"p95": 29.268406523481435,
|
618 |
+
"p99": 29.269681904959974,
|
619 |
+
"unit": "tokens/sec"
|
620 |
+
},
|
621 |
+
"time_per_output_token_seconds": {
|
622 |
+
"name": "time_per_output_token_seconds",
|
623 |
+
"measurements": [
|
624 |
+
0.034177648925781255,
|
625 |
+
0.0341739794921875,
|
626 |
+
0.0341646728515625,
|
627 |
+
0.03419969970703125,
|
628 |
+
0.03417473876953125
|
629 |
+
],
|
630 |
+
"mean": 0.03417814794921875,
|
631 |
+
"median": 0.03417473876953125,
|
632 |
+
"std": 1.1621566901312944e-05,
|
633 |
+
"min": 0.0341646728515625,
|
634 |
+
"max": 0.03419969970703125,
|
635 |
+
"p25": 0.0341739794921875,
|
636 |
+
"p75": 0.034177648925781255,
|
637 |
+
"p90": 0.034190879394531255,
|
638 |
+
"p95": 0.03419528955078125,
|
639 |
+
"p99": 0.03419881767578125,
|
640 |
+
"unit": "seconds/token"
|
641 |
+
}
|
642 |
+
},
|
643 |
+
"gpu_metrics": {
|
644 |
+
"gpu_utilization_mean": 96.86046511627907,
|
645 |
+
"gpu_utilization_max": 98,
|
646 |
+
"gpu_utilization_min": 95,
|
647 |
+
"gpu_memory_used_mean": 13849,
|
648 |
+
"gpu_memory_used_max": 13849,
|
649 |
+
"gpu_memory_used_min": 13849,
|
650 |
+
"sample_count": 86,
|
651 |
+
"gpu_monitoring_status": "success"
|
652 |
+
}
|
653 |
+
},
|
654 |
+
{
|
655 |
+
"scenario_name": "eager_sdpa_efficient_attention",
|
656 |
+
"metadata": {
|
657 |
+
"timestamp": "2025-09-28T16:46:57.138544",
|
658 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
659 |
+
"hardware_info": {
|
660 |
+
"gpu_name": "NVIDIA A10G",
|
661 |
+
"gpu_memory_total_mb": 23028,
|
662 |
+
"cpu_count": 16,
|
663 |
+
"memory_total_mb": 63607,
|
664 |
+
"python_version": "3.10.12",
|
665 |
+
"torch_version": "2.8.0+cu126",
|
666 |
+
"cuda_version": "12.6"
|
667 |
+
},
|
668 |
+
"config": {
|
669 |
+
"name": "eager",
|
670 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
671 |
+
"variant": "eager",
|
672 |
+
"warmup_iterations": 3,
|
673 |
+
"measurement_iterations": 5,
|
674 |
+
"num_tokens_to_generate": 100,
|
675 |
+
"device": "cuda",
|
676 |
+
"torch_dtype": "float16",
|
677 |
+
"compile_mode": null,
|
678 |
+
"compile_options": {},
|
679 |
+
"use_cache": true,
|
680 |
+
"batch_size": 1,
|
681 |
+
"sequence_length": null,
|
682 |
+
"attn_implementation": "sdpa",
|
683 |
+
"sdpa_backend": "efficient_attention",
|
684 |
+
"custom_params": {}
|
685 |
+
}
|
686 |
+
},
|
687 |
+
"measurements": {
|
688 |
+
"latency_seconds": {
|
689 |
+
"name": "latency_seconds",
|
690 |
+
"measurements": [
|
691 |
+
3.41446728515625,
|
692 |
+
3.409910888671875,
|
693 |
+
3.414175048828125,
|
694 |
+
3.410681884765625,
|
695 |
+
3.411018798828125
|
696 |
+
],
|
697 |
+
"mean": 3.41205078125,
|
698 |
+
"median": 3.411018798828125,
|
699 |
+
"std": 0.0018905030770829322,
|
700 |
+
"min": 3.409910888671875,
|
701 |
+
"max": 3.41446728515625,
|
702 |
+
"p25": 3.410681884765625,
|
703 |
+
"p75": 3.414175048828125,
|
704 |
+
"p90": 3.4143503906249997,
|
705 |
+
"p95": 3.4144088378906248,
|
706 |
+
"p99": 3.414455595703125,
|
707 |
+
"unit": "seconds"
|
708 |
+
},
|
709 |
+
"time_to_first_token_seconds": {
|
710 |
+
"name": "time_to_first_token_seconds",
|
711 |
+
"measurements": [
|
712 |
+
0.03530614471435547,
|
713 |
+
0.03478716659545898,
|
714 |
+
0.034781280517578124,
|
715 |
+
0.03476556777954101,
|
716 |
+
0.03496467208862305
|
717 |
+
],
|
718 |
+
"mean": 0.03492096633911133,
|
719 |
+
"median": 0.03478716659545898,
|
720 |
+
"std": 0.00020583283788135726,
|
721 |
+
"min": 0.03476556777954101,
|
722 |
+
"max": 0.03530614471435547,
|
723 |
+
"p25": 0.034781280517578124,
|
724 |
+
"p75": 0.03496467208862305,
|
725 |
+
"p90": 0.0351695556640625,
|
726 |
+
"p95": 0.03523785018920898,
|
727 |
+
"p99": 0.035292485809326174,
|
728 |
+
"unit": "seconds"
|
729 |
+
},
|
730 |
+
"tokens_per_second": {
|
731 |
+
"name": "tokens_per_second",
|
732 |
+
"measurements": [
|
733 |
+
29.28714544571303,
|
734 |
+
29.326279561208406,
|
735 |
+
29.28965227905459,
|
736 |
+
29.31965025723054,
|
737 |
+
29.316754288881544
|
738 |
+
],
|
739 |
+
"mean": 29.307896366417623,
|
740 |
+
"median": 29.316754288881544,
|
741 |
+
"std": 0.016235800098134627,
|
742 |
+
"min": 29.28714544571303,
|
743 |
+
"max": 29.326279561208406,
|
744 |
+
"p25": 29.28965227905459,
|
745 |
+
"p75": 29.31965025723054,
|
746 |
+
"p90": 29.32362783961726,
|
747 |
+
"p95": 29.32495370041283,
|
748 |
+
"p99": 29.32601438904929,
|
749 |
+
"unit": "tokens/sec"
|
750 |
+
},
|
751 |
+
"time_per_output_token_seconds": {
|
752 |
+
"name": "time_per_output_token_seconds",
|
753 |
+
"measurements": [
|
754 |
+
0.0341446728515625,
|
755 |
+
0.03409910888671875,
|
756 |
+
0.03414175048828125,
|
757 |
+
0.03410681884765625,
|
758 |
+
0.03411018798828125
|
759 |
+
],
|
760 |
+
"mean": 0.0341205078125,
|
761 |
+
"median": 0.03411018798828125,
|
762 |
+
"std": 1.8905030770830765e-05,
|
763 |
+
"min": 0.03409910888671875,
|
764 |
+
"max": 0.0341446728515625,
|
765 |
+
"p25": 0.03410681884765625,
|
766 |
+
"p75": 0.03414175048828125,
|
767 |
+
"p90": 0.03414350390625,
|
768 |
+
"p95": 0.03414408837890625,
|
769 |
+
"p99": 0.03414455595703125,
|
770 |
+
"unit": "seconds/token"
|
771 |
+
}
|
772 |
+
},
|
773 |
+
"gpu_metrics": {
|
774 |
+
"gpu_utilization_mean": 96.86046511627907,
|
775 |
+
"gpu_utilization_max": 98,
|
776 |
+
"gpu_utilization_min": 95,
|
777 |
+
"gpu_memory_used_mean": 13849,
|
778 |
+
"gpu_memory_used_max": 13849,
|
779 |
+
"gpu_memory_used_min": 13849,
|
780 |
+
"sample_count": 86,
|
781 |
+
"gpu_monitoring_status": "success"
|
782 |
+
}
|
783 |
+
},
|
784 |
+
{
|
785 |
+
"scenario_name": "compiled_compile_max-autotune_sdpa_default",
|
786 |
+
"metadata": {
|
787 |
+
"timestamp": "2025-09-28T16:47:29.583416",
|
788 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
789 |
+
"hardware_info": {
|
790 |
+
"gpu_name": "NVIDIA A10G",
|
791 |
+
"gpu_memory_total_mb": 23028,
|
792 |
+
"cpu_count": 16,
|
793 |
+
"memory_total_mb": 63607,
|
794 |
+
"python_version": "3.10.12",
|
795 |
+
"torch_version": "2.8.0+cu126",
|
796 |
+
"cuda_version": "12.6"
|
797 |
+
},
|
798 |
+
"config": {
|
799 |
+
"name": "compiled",
|
800 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
801 |
+
"variant": "compiled",
|
802 |
+
"warmup_iterations": 3,
|
803 |
+
"measurement_iterations": 5,
|
804 |
+
"num_tokens_to_generate": 100,
|
805 |
+
"device": "cuda",
|
806 |
+
"torch_dtype": "float16",
|
807 |
+
"compile_mode": "max-autotune",
|
808 |
+
"compile_options": {},
|
809 |
+
"use_cache": true,
|
810 |
+
"batch_size": 1,
|
811 |
+
"sequence_length": null,
|
812 |
+
"attn_implementation": "sdpa",
|
813 |
+
"sdpa_backend": null,
|
814 |
+
"custom_params": {}
|
815 |
+
}
|
816 |
+
},
|
817 |
+
"measurements": {
|
818 |
+
"latency_seconds": {
|
819 |
+
"name": "latency_seconds",
|
820 |
+
"measurements": [
|
821 |
+
3.699927978515625,
|
822 |
+
3.701105224609375,
|
823 |
+
3.707957275390625,
|
824 |
+
3.698542236328125,
|
825 |
+
3.701989013671875
|
826 |
+
],
|
827 |
+
"mean": 3.701904345703125,
|
828 |
+
"median": 3.701105224609375,
|
829 |
+
"std": 0.0032401706034872906,
|
830 |
+
"min": 3.698542236328125,
|
831 |
+
"max": 3.707957275390625,
|
832 |
+
"p25": 3.699927978515625,
|
833 |
+
"p75": 3.701989013671875,
|
834 |
+
"p90": 3.705569970703125,
|
835 |
+
"p95": 3.706763623046875,
|
836 |
+
"p99": 3.707718544921875,
|
837 |
+
"unit": "seconds"
|
838 |
+
},
|
839 |
+
"time_to_first_token_seconds": {
|
840 |
+
"name": "time_to_first_token_seconds",
|
841 |
+
"measurements": [
|
842 |
+
0.038495105743408205,
|
843 |
+
0.03743407821655274,
|
844 |
+
0.03748947143554687,
|
845 |
+
0.03775308990478515,
|
846 |
+
0.03747043228149414
|
847 |
+
],
|
848 |
+
"mean": 0.03772843551635742,
|
849 |
+
"median": 0.03748947143554687,
|
850 |
+
"std": 0.0003996765684852438,
|
851 |
+
"min": 0.03743407821655274,
|
852 |
+
"max": 0.038495105743408205,
|
853 |
+
"p25": 0.03747043228149414,
|
854 |
+
"p75": 0.03775308990478515,
|
855 |
+
"p90": 0.038198299407958984,
|
856 |
+
"p95": 0.038346702575683594,
|
857 |
+
"p99": 0.03846542510986328,
|
858 |
+
"unit": "seconds"
|
859 |
+
},
|
860 |
+
"tokens_per_second": {
|
861 |
+
"name": "tokens_per_second",
|
862 |
+
"measurements": [
|
863 |
+
27.02755312553922,
|
864 |
+
27.018956212074265,
|
865 |
+
26.969027033750066,
|
866 |
+
27.03767960732523,
|
867 |
+
27.012505880133194
|
868 |
+
],
|
869 |
+
"mean": 27.013144371764394,
|
870 |
+
"median": 27.018956212074265,
|
871 |
+
"std": 0.023622508936141103,
|
872 |
+
"min": 26.969027033750066,
|
873 |
+
"max": 27.03767960732523,
|
874 |
+
"p25": 27.012505880133194,
|
875 |
+
"p75": 27.02755312553922,
|
876 |
+
"p90": 27.033629014610828,
|
877 |
+
"p95": 27.035654310968027,
|
878 |
+
"p99": 27.03727454805379,
|
879 |
+
"unit": "tokens/sec"
|
880 |
+
},
|
881 |
+
"time_per_output_token_seconds": {
|
882 |
+
"name": "time_per_output_token_seconds",
|
883 |
+
"measurements": [
|
884 |
+
0.03699927978515625,
|
885 |
+
0.03701105224609375,
|
886 |
+
0.03707957275390625,
|
887 |
+
0.03698542236328125,
|
888 |
+
0.03701989013671875
|
889 |
+
],
|
890 |
+
"mean": 0.03701904345703125,
|
891 |
+
"median": 0.03701105224609375,
|
892 |
+
"std": 3.2401706034872667e-05,
|
893 |
+
"min": 0.03698542236328125,
|
894 |
+
"max": 0.03707957275390625,
|
895 |
+
"p25": 0.03699927978515625,
|
896 |
+
"p75": 0.03701989013671875,
|
897 |
+
"p90": 0.03705569970703125,
|
898 |
+
"p95": 0.03706763623046875,
|
899 |
+
"p99": 0.03707718544921875,
|
900 |
+
"unit": "seconds/token"
|
901 |
+
}
|
902 |
+
},
|
903 |
+
"gpu_metrics": {
|
904 |
+
"gpu_utilization_mean": 90.08602150537635,
|
905 |
+
"gpu_utilization_max": 93,
|
906 |
+
"gpu_utilization_min": 85,
|
907 |
+
"gpu_memory_used_mean": 13845,
|
908 |
+
"gpu_memory_used_max": 13845,
|
909 |
+
"gpu_memory_used_min": 13845,
|
910 |
+
"sample_count": 93,
|
911 |
+
"gpu_monitoring_status": "success"
|
912 |
+
}
|
913 |
+
},
|
914 |
+
{
|
915 |
+
"scenario_name": "compiled_compile_max-autotune_sdpa_math",
|
916 |
+
"metadata": {
|
917 |
+
"timestamp": "2025-09-28T16:48:04.333616",
|
918 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
919 |
+
"hardware_info": {
|
920 |
+
"gpu_name": "NVIDIA A10G",
|
921 |
+
"gpu_memory_total_mb": 23028,
|
922 |
+
"cpu_count": 16,
|
923 |
+
"memory_total_mb": 63607,
|
924 |
+
"python_version": "3.10.12",
|
925 |
+
"torch_version": "2.8.0+cu126",
|
926 |
+
"cuda_version": "12.6"
|
927 |
+
},
|
928 |
+
"config": {
|
929 |
+
"name": "compiled",
|
930 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
931 |
+
"variant": "compiled",
|
932 |
+
"warmup_iterations": 3,
|
933 |
+
"measurement_iterations": 5,
|
934 |
+
"num_tokens_to_generate": 100,
|
935 |
+
"device": "cuda",
|
936 |
+
"torch_dtype": "float16",
|
937 |
+
"compile_mode": "max-autotune",
|
938 |
+
"compile_options": {},
|
939 |
+
"use_cache": true,
|
940 |
+
"batch_size": 1,
|
941 |
+
"sequence_length": null,
|
942 |
+
"attn_implementation": "sdpa",
|
943 |
+
"sdpa_backend": "math",
|
944 |
+
"custom_params": {}
|
945 |
+
}
|
946 |
+
},
|
947 |
+
"measurements": {
|
948 |
+
"latency_seconds": {
|
949 |
+
"name": "latency_seconds",
|
950 |
+
"measurements": [
|
951 |
+
3.8928515625,
|
952 |
+
3.949130126953125,
|
953 |
+
3.96617041015625,
|
954 |
+
3.910406982421875,
|
955 |
+
3.952773681640625
|
956 |
+
],
|
957 |
+
"mean": 3.9342665527343748,
|
958 |
+
"median": 3.949130126953125,
|
959 |
+
"std": 0.027805669525888616,
|
960 |
+
"min": 3.8928515625,
|
961 |
+
"max": 3.96617041015625,
|
962 |
+
"p25": 3.910406982421875,
|
963 |
+
"p75": 3.952773681640625,
|
964 |
+
"p90": 3.96081171875,
|
965 |
+
"p95": 3.963491064453125,
|
966 |
+
"p99": 3.965634541015625,
|
967 |
+
"unit": "seconds"
|
968 |
+
},
|
969 |
+
"time_to_first_token_seconds": {
|
970 |
+
"name": "time_to_first_token_seconds",
|
971 |
+
"measurements": [
|
972 |
+
0.0436506233215332,
|
973 |
+
0.040496257781982424,
|
974 |
+
0.04088124847412109,
|
975 |
+
0.042307903289794925,
|
976 |
+
0.04121891021728516
|
977 |
+
],
|
978 |
+
"mean": 0.041710988616943355,
|
979 |
+
"median": 0.04121891021728516,
|
980 |
+
"std": 0.0011423371456221322,
|
981 |
+
"min": 0.040496257781982424,
|
982 |
+
"max": 0.0436506233215332,
|
983 |
+
"p25": 0.04088124847412109,
|
984 |
+
"p75": 0.042307903289794925,
|
985 |
+
"p90": 0.043113535308837894,
|
986 |
+
"p95": 0.04338207931518555,
|
987 |
+
"p99": 0.04359691452026367,
|
988 |
+
"unit": "seconds"
|
989 |
+
},
|
990 |
+
"tokens_per_second": {
|
991 |
+
"name": "tokens_per_second",
|
992 |
+
"measurements": [
|
993 |
+
25.688110218047903,
|
994 |
+
25.322032140063477,
|
995 |
+
25.21323837824216,
|
996 |
+
25.57278576105291,
|
997 |
+
25.29869100891563
|
998 |
+
],
|
999 |
+
"mean": 25.418971501264416,
|
1000 |
+
"median": 25.322032140063477,
|
1001 |
+
"std": 0.18015839135846418,
|
1002 |
+
"min": 25.21323837824216,
|
1003 |
+
"max": 25.688110218047903,
|
1004 |
+
"p25": 25.29869100891563,
|
1005 |
+
"p75": 25.57278576105291,
|
1006 |
+
"p90": 25.641980435249906,
|
1007 |
+
"p95": 25.665045326648904,
|
1008 |
+
"p99": 25.683497239768105,
|
1009 |
+
"unit": "tokens/sec"
|
1010 |
+
},
|
1011 |
+
"time_per_output_token_seconds": {
|
1012 |
+
"name": "time_per_output_token_seconds",
|
1013 |
+
"measurements": [
|
1014 |
+
0.038928515625,
|
1015 |
+
0.03949130126953125,
|
1016 |
+
0.0396617041015625,
|
1017 |
+
0.03910406982421875,
|
1018 |
+
0.03952773681640625
|
1019 |
+
],
|
1020 |
+
"mean": 0.03934266552734375,
|
1021 |
+
"median": 0.03949130126953125,
|
1022 |
+
"std": 0.0002780566952588877,
|
1023 |
+
"min": 0.038928515625,
|
1024 |
+
"max": 0.0396617041015625,
|
1025 |
+
"p25": 0.03910406982421875,
|
1026 |
+
"p75": 0.03952773681640625,
|
1027 |
+
"p90": 0.0396081171875,
|
1028 |
+
"p95": 0.03963491064453125,
|
1029 |
+
"p99": 0.03965634541015625,
|
1030 |
+
"unit": "seconds/token"
|
1031 |
+
}
|
1032 |
+
},
|
1033 |
+
"gpu_metrics": {
|
1034 |
+
"gpu_utilization_mean": 87.66666666666667,
|
1035 |
+
"gpu_utilization_max": 93,
|
1036 |
+
"gpu_utilization_min": 82,
|
1037 |
+
"gpu_memory_used_mean": 13845,
|
1038 |
+
"gpu_memory_used_max": 13845,
|
1039 |
+
"gpu_memory_used_min": 13845,
|
1040 |
+
"sample_count": 99,
|
1041 |
+
"gpu_monitoring_status": "success"
|
1042 |
+
}
|
1043 |
+
},
|
1044 |
+
{
|
1045 |
+
"scenario_name": "compiled_compile_max-autotune_sdpa_efficient_attention",
|
1046 |
+
"metadata": {
|
1047 |
+
"timestamp": "2025-09-28T16:48:45.561089",
|
1048 |
+
"commit_id": "071eb5334f5a9ac2c7a13515219be8a272388ec6",
|
1049 |
+
"hardware_info": {
|
1050 |
+
"gpu_name": "NVIDIA A10G",
|
1051 |
+
"gpu_memory_total_mb": 23028,
|
1052 |
+
"cpu_count": 16,
|
1053 |
+
"memory_total_mb": 63607,
|
1054 |
+
"python_version": "3.10.12",
|
1055 |
+
"torch_version": "2.8.0+cu126",
|
1056 |
+
"cuda_version": "12.6"
|
1057 |
+
},
|
1058 |
+
"config": {
|
1059 |
+
"name": "compiled",
|
1060 |
+
"model_id": "meta-llama/Llama-2-7b-hf",
|
1061 |
+
"variant": "compiled",
|
1062 |
+
"warmup_iterations": 3,
|
1063 |
+
"measurement_iterations": 5,
|
1064 |
+
"num_tokens_to_generate": 100,
|
1065 |
+
"device": "cuda",
|
1066 |
+
"torch_dtype": "float16",
|
1067 |
+
"compile_mode": "max-autotune",
|
1068 |
+
"compile_options": {},
|
1069 |
+
"use_cache": true,
|
1070 |
+
"batch_size": 1,
|
1071 |
+
"sequence_length": null,
|
1072 |
+
"attn_implementation": "sdpa",
|
1073 |
+
"sdpa_backend": "efficient_attention",
|
1074 |
+
"custom_params": {}
|
1075 |
+
}
|
1076 |
+
},
|
1077 |
+
"measurements": {
|
1078 |
+
"latency_seconds": {
|
1079 |
+
"name": "latency_seconds",
|
1080 |
+
"measurements": [
|
1081 |
+
3.693129638671875,
|
1082 |
+
3.6915986328125,
|
1083 |
+
3.6927587890625,
|
1084 |
+
3.690875,
|
1085 |
+
3.688215576171875
|
1086 |
+
],
|
1087 |
+
"mean": 3.6913155273437503,
|
1088 |
+
"median": 3.6915986328125,
|
1089 |
+
"std": 0.0017468780503902737,
|
1090 |
+
"min": 3.688215576171875,
|
1091 |
+
"max": 3.693129638671875,
|
1092 |
+
"p25": 3.690875,
|
1093 |
+
"p75": 3.6927587890625,
|
1094 |
+
"p90": 3.692981298828125,
|
1095 |
+
"p95": 3.69305546875,
|
1096 |
+
"p99": 3.6931148046874998,
|
1097 |
+
"unit": "seconds"
|
1098 |
+
},
|
1099 |
+
"time_to_first_token_seconds": {
|
1100 |
+
"name": "time_to_first_token_seconds",
|
1101 |
+
"measurements": [
|
1102 |
+
0.038004222869873046,
|
1103 |
+
0.037669536590576175,
|
1104 |
+
0.03749228668212891,
|
1105 |
+
0.03743625640869141,
|
1106 |
+
0.037480350494384765
|
1107 |
+
],
|
1108 |
+
"mean": 0.03761653060913086,
|
1109 |
+
"median": 0.03749228668212891,
|
1110 |
+
"std": 0.00020956874170618937,
|
1111 |
+
"min": 0.03743625640869141,
|
1112 |
+
"max": 0.038004222869873046,
|
1113 |
+
"p25": 0.037480350494384765,
|
1114 |
+
"p75": 0.037669536590576175,
|
1115 |
+
"p90": 0.037870348358154296,
|
1116 |
+
"p95": 0.037937285614013674,
|
1117 |
+
"p99": 0.03799083541870117,
|
1118 |
+
"unit": "seconds"
|
1119 |
+
},
|
1120 |
+
"tokens_per_second": {
|
1121 |
+
"name": "tokens_per_second",
|
1122 |
+
"measurements": [
|
1123 |
+
27.07730564149978,
|
1124 |
+
27.088535332946932,
|
1125 |
+
27.08002491150729,
|
1126 |
+
27.093846310156806,
|
1127 |
+
27.1133825924008
|
1128 |
+
],
|
1129 |
+
"mean": 27.090618957702322,
|
1130 |
+
"median": 27.088535332946932,
|
1131 |
+
"std": 0.01282512037965962,
|
1132 |
+
"min": 27.07730564149978,
|
1133 |
+
"max": 27.1133825924008,
|
1134 |
+
"p25": 27.08002491150729,
|
1135 |
+
"p75": 27.093846310156806,
|
1136 |
+
"p90": 27.105568079503204,
|
1137 |
+
"p95": 27.109475335952002,
|
1138 |
+
"p99": 27.11260114111104,
|
1139 |
+
"unit": "tokens/sec"
|
1140 |
+
},
|
1141 |
+
"time_per_output_token_seconds": {
|
1142 |
+
"name": "time_per_output_token_seconds",
|
1143 |
+
"measurements": [
|
1144 |
+
0.03693129638671875,
|
1145 |
+
0.036915986328125004,
|
1146 |
+
0.036927587890625,
|
1147 |
+
0.036908750000000004,
|
1148 |
+
0.03688215576171875
|
1149 |
+
],
|
1150 |
+
"mean": 0.0369131552734375,
|
1151 |
+
"median": 0.036915986328125004,
|
1152 |
+
"std": 1.7468780503903278e-05,
|
1153 |
+
"min": 0.03688215576171875,
|
1154 |
+
"max": 0.03693129638671875,
|
1155 |
+
"p25": 0.036908750000000004,
|
1156 |
+
"p75": 0.036927587890625,
|
1157 |
+
"p90": 0.03692981298828125,
|
1158 |
+
"p95": 0.0369305546875,
|
1159 |
+
"p99": 0.036931148046875,
|
1160 |
+
"unit": "seconds/token"
|
1161 |
+
}
|
1162 |
+
},
|
1163 |
+
"gpu_metrics": {
|
1164 |
+
"gpu_utilization_mean": 90.59139784946237,
|
1165 |
+
"gpu_utilization_max": 93,
|
1166 |
+
"gpu_utilization_min": 87,
|
1167 |
+
"gpu_memory_used_mean": 13845,
|
1168 |
+
"gpu_memory_used_max": 13845,
|
1169 |
+
"gpu_memory_used_min": 13845,
|
1170 |
+
"sample_count": 93,
|
1171 |
+
"gpu_monitoring_status": "success"
|
1172 |
+
}
|
1173 |
+
}
|
1174 |
+
]
|
1175 |
+
}
|