Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
|
4 |
"backend": {
|
5 |
"name": "pytorch",
|
6 |
-
"version": "2.
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "text-generation",
|
9 |
"library": "transformers",
|
@@ -11,7 +11,7 @@
|
|
11 |
"model": "openai-community/gpt2",
|
12 |
"processor": "openai-community/gpt2",
|
13 |
"device": "cuda",
|
14 |
-
"device_ids": "
|
15 |
"seed": 42,
|
16 |
"inter_op_num_threads": null,
|
17 |
"intra_op_num_threads": null,
|
@@ -97,7 +97,7 @@
|
|
97 |
"transformers_commit": null,
|
98 |
"accelerate_version": "0.33.0",
|
99 |
"accelerate_commit": null,
|
100 |
-
"diffusers_version": "0.30.
|
101 |
"diffusers_commit": null,
|
102 |
"optimum_version": null,
|
103 |
"optimum_commit": null,
|
@@ -111,24 +111,24 @@
|
|
111 |
"load": {
|
112 |
"memory": {
|
113 |
"unit": "MB",
|
114 |
-
"max_ram":
|
115 |
-
"max_global_vram":
|
116 |
-
"max_process_vram":
|
117 |
"max_reserved": 725.614592,
|
118 |
"max_allocated": 666.338304
|
119 |
},
|
120 |
"latency": {
|
121 |
"unit": "s",
|
122 |
"count": 1,
|
123 |
-
"total":
|
124 |
-
"mean":
|
125 |
"stdev": 0.0,
|
126 |
-
"p50":
|
127 |
-
"p90":
|
128 |
-
"p95":
|
129 |
-
"p99":
|
130 |
"values": [
|
131 |
-
|
132 |
]
|
133 |
},
|
134 |
"throughput": null,
|
@@ -138,92 +138,95 @@
|
|
138 |
"prefill": {
|
139 |
"memory": {
|
140 |
"unit": "MB",
|
141 |
-
"max_ram":
|
142 |
-
"max_global_vram":
|
143 |
-
"max_process_vram":
|
144 |
"max_reserved": 725.614592,
|
145 |
"max_allocated": 513.035264
|
146 |
},
|
147 |
"latency": {
|
148 |
"unit": "s",
|
149 |
-
"count":
|
150 |
-
"total": 0.
|
151 |
-
"mean": 0.
|
152 |
-
"stdev": 0.
|
153 |
-
"p50": 0.
|
154 |
-
"p90": 0.
|
155 |
-
"p95": 0.
|
156 |
-
"p99": 0.
|
157 |
"values": [
|
158 |
-
0.
|
159 |
-
0.
|
160 |
-
0.
|
161 |
-
0.
|
162 |
-
0.
|
163 |
-
0.
|
164 |
-
0.
|
165 |
-
0.
|
166 |
-
0.
|
167 |
-
0.
|
168 |
-
0.
|
169 |
-
0.
|
170 |
-
0.
|
171 |
-
0.
|
172 |
-
0.
|
173 |
-
0.
|
174 |
-
0.
|
175 |
-
0.
|
176 |
-
0.
|
177 |
-
0.
|
178 |
-
0.
|
179 |
-
0.
|
180 |
-
0.
|
181 |
-
0.
|
182 |
-
0.
|
183 |
-
0.
|
184 |
-
0.
|
185 |
-
0.
|
186 |
-
0.
|
187 |
-
0.
|
188 |
-
0.
|
189 |
-
0.
|
190 |
-
0.
|
191 |
-
0.
|
192 |
-
0.
|
193 |
-
0.
|
194 |
-
0.
|
195 |
-
0.
|
196 |
-
0.
|
197 |
-
0.
|
198 |
-
0.
|
199 |
-
0.
|
200 |
-
0.
|
201 |
-
0.
|
202 |
-
0.
|
203 |
-
0.
|
204 |
-
0.
|
205 |
-
0.
|
206 |
-
0.
|
207 |
-
0.
|
208 |
-
0.
|
209 |
-
0.
|
210 |
-
0.
|
211 |
-
0.
|
212 |
-
0.
|
213 |
-
0.
|
214 |
-
0.
|
215 |
-
0.
|
216 |
-
0.
|
217 |
-
0.
|
218 |
-
0.
|
219 |
-
0.
|
220 |
-
0.
|
221 |
-
0.
|
|
|
|
|
|
|
222 |
]
|
223 |
},
|
224 |
"throughput": {
|
225 |
"unit": "tokens/s",
|
226 |
-
"value":
|
227 |
},
|
228 |
"energy": null,
|
229 |
"efficiency": null
|
@@ -231,92 +234,95 @@
|
|
231 |
"decode": {
|
232 |
"memory": {
|
233 |
"unit": "MB",
|
234 |
-
"max_ram":
|
235 |
-
"max_global_vram":
|
236 |
-
"max_process_vram":
|
237 |
"max_reserved": 725.614592,
|
238 |
"max_allocated": 513.259008
|
239 |
},
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
-
"count":
|
243 |
-
"total": 0.
|
244 |
-
"mean": 0.
|
245 |
-
"stdev": 0.
|
246 |
-
"p50": 0.
|
247 |
-
"p90": 0.
|
248 |
-
"p95": 0.
|
249 |
-
"p99": 0.
|
250 |
"values": [
|
251 |
-
0.
|
252 |
-
0.
|
253 |
-
0.
|
254 |
-
0.
|
255 |
-
0.
|
256 |
-
0.
|
257 |
-
0.
|
258 |
-
0.
|
259 |
-
0.
|
260 |
-
0.
|
261 |
-
0.
|
262 |
-
0.
|
263 |
-
0.
|
264 |
-
0.
|
265 |
-
0.
|
266 |
-
0.
|
267 |
-
0.
|
268 |
-
0.
|
269 |
-
0.
|
270 |
-
0.
|
271 |
-
0.
|
272 |
-
0.
|
273 |
-
0.
|
274 |
-
0.
|
275 |
-
0.
|
276 |
-
0.
|
277 |
-
0.
|
278 |
-
0.
|
279 |
-
0.
|
280 |
-
0.
|
281 |
-
0.
|
282 |
-
0.
|
283 |
-
0.
|
284 |
-
0.
|
285 |
-
0.
|
286 |
-
0.
|
287 |
-
0.
|
288 |
-
0.
|
289 |
-
0.
|
290 |
-
0.
|
291 |
-
0.
|
292 |
-
0.
|
293 |
-
0.
|
294 |
-
0.
|
295 |
-
0.
|
296 |
-
0.
|
297 |
-
0.
|
298 |
-
0.
|
299 |
-
0.
|
300 |
-
0.
|
301 |
-
0.
|
302 |
-
0.
|
303 |
-
0.
|
304 |
-
0.
|
305 |
-
0.
|
306 |
-
0.
|
307 |
-
0.
|
308 |
-
0.
|
309 |
-
0.
|
310 |
-
0.
|
311 |
-
0.
|
312 |
-
0.
|
313 |
-
0.
|
314 |
-
0.
|
|
|
|
|
|
|
315 |
]
|
316 |
},
|
317 |
"throughput": {
|
318 |
"unit": "tokens/s",
|
319 |
-
"value":
|
320 |
},
|
321 |
"energy": null,
|
322 |
"efficiency": null
|
@@ -325,84 +331,87 @@
|
|
325 |
"memory": null,
|
326 |
"latency": {
|
327 |
"unit": "s",
|
328 |
-
"count":
|
329 |
-
"total": 0.
|
330 |
-
"mean": 0.
|
331 |
-
"stdev": 0.
|
332 |
-
"p50": 0.
|
333 |
-
"p90": 0.
|
334 |
-
"p95": 0.
|
335 |
-
"p99": 0.
|
336 |
"values": [
|
337 |
-
0.
|
338 |
-
0.
|
339 |
-
0.
|
340 |
-
0.
|
341 |
-
0.
|
342 |
-
0.
|
343 |
-
0.
|
344 |
-
0.
|
345 |
-
0.
|
346 |
-
0.
|
347 |
-
0.
|
348 |
-
0.
|
349 |
-
0.
|
350 |
-
0.
|
351 |
-
0.
|
352 |
-
0.
|
353 |
-
0.
|
354 |
-
0.
|
355 |
-
0.
|
356 |
-
0.
|
357 |
-
0.
|
358 |
-
0.
|
359 |
-
0.
|
360 |
-
0.
|
361 |
-
0.
|
362 |
-
0.
|
363 |
-
0.
|
364 |
-
0.
|
365 |
-
0.
|
366 |
-
0.
|
367 |
-
0.
|
368 |
-
0.
|
369 |
-
0.
|
370 |
-
0.
|
371 |
-
0.
|
372 |
-
0.
|
373 |
-
0.
|
374 |
-
0.
|
375 |
-
0.
|
376 |
-
0.
|
377 |
-
0.
|
378 |
-
0.
|
379 |
-
0.
|
380 |
-
0.
|
381 |
-
0.
|
382 |
-
0.
|
383 |
-
0.
|
384 |
-
0.
|
385 |
-
0.
|
386 |
-
0.
|
387 |
-
0.
|
388 |
-
0.
|
389 |
-
0.
|
390 |
-
0.
|
391 |
-
0.
|
392 |
-
0.
|
393 |
-
0.
|
394 |
-
0.
|
395 |
-
0.
|
396 |
-
0.
|
397 |
-
0.
|
398 |
-
0.
|
399 |
-
0.
|
400 |
-
0.
|
|
|
|
|
|
|
401 |
]
|
402 |
},
|
403 |
"throughput": {
|
404 |
"unit": "tokens/s",
|
405 |
-
"value":
|
406 |
},
|
407 |
"energy": null,
|
408 |
"efficiency": null
|
|
|
3 |
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
|
4 |
"backend": {
|
5 |
"name": "pytorch",
|
6 |
+
"version": "2.4.0+rocm6.1",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "text-generation",
|
9 |
"library": "transformers",
|
|
|
11 |
"model": "openai-community/gpt2",
|
12 |
"processor": "openai-community/gpt2",
|
13 |
"device": "cuda",
|
14 |
+
"device_ids": "0",
|
15 |
"seed": 42,
|
16 |
"inter_op_num_threads": null,
|
17 |
"intra_op_num_threads": null,
|
|
|
97 |
"transformers_commit": null,
|
98 |
"accelerate_version": "0.33.0",
|
99 |
"accelerate_commit": null,
|
100 |
+
"diffusers_version": "0.30.2",
|
101 |
"diffusers_commit": null,
|
102 |
"optimum_version": null,
|
103 |
"optimum_commit": null,
|
|
|
111 |
"load": {
|
112 |
"memory": {
|
113 |
"unit": "MB",
|
114 |
+
"max_ram": 1390.125056,
|
115 |
+
"max_global_vram": 11.145216,
|
116 |
+
"max_process_vram": 0.0,
|
117 |
"max_reserved": 725.614592,
|
118 |
"max_allocated": 666.338304
|
119 |
},
|
120 |
"latency": {
|
121 |
"unit": "s",
|
122 |
"count": 1,
|
123 |
+
"total": 8.0194111328125,
|
124 |
+
"mean": 8.0194111328125,
|
125 |
"stdev": 0.0,
|
126 |
+
"p50": 8.0194111328125,
|
127 |
+
"p90": 8.0194111328125,
|
128 |
+
"p95": 8.0194111328125,
|
129 |
+
"p99": 8.0194111328125,
|
130 |
"values": [
|
131 |
+
8.0194111328125
|
132 |
]
|
133 |
},
|
134 |
"throughput": null,
|
|
|
138 |
"prefill": {
|
139 |
"memory": {
|
140 |
"unit": "MB",
|
141 |
+
"max_ram": 1548.96384,
|
142 |
+
"max_global_vram": 11.149312,
|
143 |
+
"max_process_vram": 0.0,
|
144 |
"max_reserved": 725.614592,
|
145 |
"max_allocated": 513.035264
|
146 |
},
|
147 |
"latency": {
|
148 |
"unit": "s",
|
149 |
+
"count": 67,
|
150 |
+
"total": 0.512071331501007,
|
151 |
+
"mean": 0.007642855694044881,
|
152 |
+
"stdev": 0.0022921971885989387,
|
153 |
+
"p50": 0.0070911779403686525,
|
154 |
+
"p90": 0.007779463005065918,
|
155 |
+
"p95": 0.009555185461044302,
|
156 |
+
"p99": 0.01822380184173584,
|
157 |
"values": [
|
158 |
+
0.007517576217651367,
|
159 |
+
0.00795437479019165,
|
160 |
+
0.0075633349418640135,
|
161 |
+
0.007411816120147705,
|
162 |
+
0.007271337032318115,
|
163 |
+
0.007275016784667969,
|
164 |
+
0.00716845703125,
|
165 |
+
0.007090857982635498,
|
166 |
+
0.007132777214050293,
|
167 |
+
0.007179817199707031,
|
168 |
+
0.0071708569526672365,
|
169 |
+
0.007139018058776855,
|
170 |
+
0.007119816780090332,
|
171 |
+
0.007430376052856446,
|
172 |
+
0.007264457225799561,
|
173 |
+
0.00724109697341919,
|
174 |
+
0.007139657974243164,
|
175 |
+
0.007170056819915772,
|
176 |
+
0.010241247177124024,
|
177 |
+
0.007390536785125732,
|
178 |
+
0.007080616950988769,
|
179 |
+
0.007074377059936523,
|
180 |
+
0.01821466255187988,
|
181 |
+
0.00714173698425293,
|
182 |
+
0.007099496841430664,
|
183 |
+
0.007096776962280274,
|
184 |
+
0.0070911779403686525,
|
185 |
+
0.007082057952880859,
|
186 |
+
0.007079977989196778,
|
187 |
+
0.007033257961273193,
|
188 |
+
0.007276136875152588,
|
189 |
+
0.007177097797393799,
|
190 |
+
0.007079176902770996,
|
191 |
+
0.007305895805358887,
|
192 |
+
0.007322056770324707,
|
193 |
+
0.007364776134490967,
|
194 |
+
0.006898219108581543,
|
195 |
+
0.0175701847076416,
|
196 |
+
0.0069826979637146,
|
197 |
+
0.0069065380096435544,
|
198 |
+
0.006881577968597412,
|
199 |
+
0.006923498153686524,
|
200 |
+
0.006881097793579102,
|
201 |
+
0.0068777379989624025,
|
202 |
+
0.006853737831115723,
|
203 |
+
0.006851018905639649,
|
204 |
+
0.0068943781852722165,
|
205 |
+
0.006857418060302735,
|
206 |
+
0.006847338199615478,
|
207 |
+
0.006840457916259765,
|
208 |
+
0.006844458103179932,
|
209 |
+
0.006827497959136963,
|
210 |
+
0.0068233380317687985,
|
211 |
+
0.006832139015197754,
|
212 |
+
0.01824154281616211,
|
213 |
+
0.006945898056030273,
|
214 |
+
0.00685437822341919,
|
215 |
+
0.006850217819213867,
|
216 |
+
0.006844618797302246,
|
217 |
+
0.006856138229370117,
|
218 |
+
0.006822699069976806,
|
219 |
+
0.006834537982940674,
|
220 |
+
0.006848618030548096,
|
221 |
+
0.006837738037109375,
|
222 |
+
0.007788774967193604,
|
223 |
+
0.007775175094604492,
|
224 |
+
0.007785894870758057
|
225 |
]
|
226 |
},
|
227 |
"throughput": {
|
228 |
"unit": "tokens/s",
|
229 |
+
"value": 261.6822925962542
|
230 |
},
|
231 |
"energy": null,
|
232 |
"efficiency": null
|
|
|
234 |
"decode": {
|
235 |
"memory": {
|
236 |
"unit": "MB",
|
237 |
+
"max_ram": 1548.96384,
|
238 |
+
"max_global_vram": 11.07968,
|
239 |
+
"max_process_vram": 0.0,
|
240 |
"max_reserved": 725.614592,
|
241 |
"max_allocated": 513.259008
|
242 |
},
|
243 |
"latency": {
|
244 |
"unit": "s",
|
245 |
+
"count": 67,
|
246 |
+
"total": 0.492566111087799,
|
247 |
+
"mean": 0.007351733001310433,
|
248 |
+
"stdev": 0.00028246975378923994,
|
249 |
+
"p50": 0.007325736999511718,
|
250 |
+
"p90": 0.007671271228790283,
|
251 |
+
"p95": 0.008046374607086182,
|
252 |
+
"p99": 0.008135612659454346,
|
253 |
"values": [
|
254 |
+
0.007867334842681884,
|
255 |
+
0.008168454170227052,
|
256 |
+
0.007687975883483886,
|
257 |
+
0.0075833358764648435,
|
258 |
+
0.007520616054534912,
|
259 |
+
0.007463016033172607,
|
260 |
+
0.007385096073150635,
|
261 |
+
0.0073785362243652345,
|
262 |
+
0.007481417179107666,
|
263 |
+
0.007660134792327881,
|
264 |
+
0.007466536998748779,
|
265 |
+
0.007410056114196777,
|
266 |
+
0.007386537075042725,
|
267 |
+
0.007610375881195068,
|
268 |
+
0.0074164562225341795,
|
269 |
+
0.007384935855865479,
|
270 |
+
0.007295176029205323,
|
271 |
+
0.007011178016662597,
|
272 |
+
0.007564616203308105,
|
273 |
+
0.007122857093811035,
|
274 |
+
0.007309576988220215,
|
275 |
+
0.00730493688583374,
|
276 |
+
0.007248776912689209,
|
277 |
+
0.007325736999511718,
|
278 |
+
0.007337576866149902,
|
279 |
+
0.007500455856323242,
|
280 |
+
0.007346216201782226,
|
281 |
+
0.007358856201171875,
|
282 |
+
0.007343495845794678,
|
283 |
+
0.007395815849304199,
|
284 |
+
0.007359655857086181,
|
285 |
+
0.007435495853424072,
|
286 |
+
0.007403176784515381,
|
287 |
+
0.007536776065826416,
|
288 |
+
0.00754093599319458,
|
289 |
+
0.0074815769195556645,
|
290 |
+
0.007111017227172852,
|
291 |
+
0.007207976818084717,
|
292 |
+
0.00712749719619751,
|
293 |
+
0.007115336894989013,
|
294 |
+
0.007110538005828858,
|
295 |
+
0.007083498001098633,
|
296 |
+
0.007079657077789307,
|
297 |
+
0.0070526180267333986,
|
298 |
+
0.007078376770019532,
|
299 |
+
0.007086216926574707,
|
300 |
+
0.007102056980133057,
|
301 |
+
0.007105738162994385,
|
302 |
+
0.007202376842498779,
|
303 |
+
0.007066378116607666,
|
304 |
+
0.007065736770629883,
|
305 |
+
0.007104618072509766,
|
306 |
+
0.007075977802276611,
|
307 |
+
0.007124136924743652,
|
308 |
+
0.007209736824035645,
|
309 |
+
0.007090537071228027,
|
310 |
+
0.007094858169555664,
|
311 |
+
0.007276297092437744,
|
312 |
+
0.00709965705871582,
|
313 |
+
0.007110538005828858,
|
314 |
+
0.007069897174835205,
|
315 |
+
0.0072345371246337895,
|
316 |
+
0.0070935778617858885,
|
317 |
+
0.008118694305419921,
|
318 |
+
0.008046854972839355,
|
319 |
+
0.00808221435546875,
|
320 |
+
0.008045253753662109
|
321 |
]
|
322 |
},
|
323 |
"throughput": {
|
324 |
"unit": "tokens/s",
|
325 |
+
"value": 136.02235008014463
|
326 |
},
|
327 |
"energy": null,
|
328 |
"efficiency": null
|
|
|
331 |
"memory": null,
|
332 |
"latency": {
|
333 |
"unit": "s",
|
334 |
+
"count": 67,
|
335 |
+
"total": 0.46112317419052123,
|
336 |
+
"mean": 0.006882435435679421,
|
337 |
+
"stdev": 0.00025521693241703123,
|
338 |
+
"p50": 0.006864459037780762,
|
339 |
+
"p90": 0.007137385654449463,
|
340 |
+
"p95": 0.007554615879058838,
|
341 |
+
"p99": 0.00759681755065918,
|
342 |
"values": [
|
343 |
+
0.007248297214508057,
|
344 |
+
0.007561575889587402,
|
345 |
+
0.007130857944488526,
|
346 |
+
0.007041897773742676,
|
347 |
+
0.007012457847595215,
|
348 |
+
0.006967337131500244,
|
349 |
+
0.006861097812652588,
|
350 |
+
0.006858538150787354,
|
351 |
+
0.006980937957763672,
|
352 |
+
0.007147177219390869,
|
353 |
+
0.006981418132781982,
|
354 |
+
0.006919658184051514,
|
355 |
+
0.00689373779296875,
|
356 |
+
0.0070844578742980955,
|
357 |
+
0.006910697937011719,
|
358 |
+
0.006902537822723389,
|
359 |
+
0.0068801379203796385,
|
360 |
+
0.006618059158325195,
|
361 |
+
0.007096298217773437,
|
362 |
+
0.006668457984924317,
|
363 |
+
0.006858698844909668,
|
364 |
+
0.006864459037780762,
|
365 |
+
0.006783658981323242,
|
366 |
+
0.006880457878112793,
|
367 |
+
0.00689581823348999,
|
368 |
+
0.007051338195800781,
|
369 |
+
0.0069046177864074704,
|
370 |
+
0.006899978160858154,
|
371 |
+
0.006885417938232422,
|
372 |
+
0.006886218070983887,
|
373 |
+
0.006892777919769287,
|
374 |
+
0.006979657173156738,
|
375 |
+
0.0069492578506469725,
|
376 |
+
0.0070618982315063476,
|
377 |
+
0.007097096920013428,
|
378 |
+
0.007035818099975586,
|
379 |
+
0.0066454181671142575,
|
380 |
+
0.006734218120574951,
|
381 |
+
0.006683658123016358,
|
382 |
+
0.006670059204101563,
|
383 |
+
0.0066756591796875,
|
384 |
+
0.006642858982086181,
|
385 |
+
0.0066409392356872555,
|
386 |
+
0.00662493896484375,
|
387 |
+
0.006635659217834473,
|
388 |
+
0.006654858112335205,
|
389 |
+
0.006657098770141602,
|
390 |
+
0.00666365909576416,
|
391 |
+
0.006768137931823731,
|
392 |
+
0.006623178958892822,
|
393 |
+
0.0066223788261413575,
|
394 |
+
0.006648138999938965,
|
395 |
+
0.006630858898162842,
|
396 |
+
0.006676618099212646,
|
397 |
+
0.0067279782295227054,
|
398 |
+
0.006643019199371338,
|
399 |
+
0.006656458854675293,
|
400 |
+
0.006835018157958984,
|
401 |
+
0.006645898818969726,
|
402 |
+
0.0066554989814758304,
|
403 |
+
0.006622698783874512,
|
404 |
+
0.006791819095611573,
|
405 |
+
0.006649899005889893,
|
406 |
+
0.007616775989532471,
|
407 |
+
0.007538375854492188,
|
408 |
+
0.007586535930633545,
|
409 |
+
0.007562055110931397
|
410 |
]
|
411 |
},
|
412 |
"throughput": {
|
413 |
"unit": "tokens/s",
|
414 |
+
"value": 145.29740370913947
|
415 |
},
|
416 |
"energy": null,
|
417 |
"efficiency": null
|