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,
|
@@ -111,24 +111,24 @@
|
|
111 |
"load": {
|
112 |
"memory": {
|
113 |
"unit": "MB",
|
114 |
-
"max_ram":
|
115 |
"max_global_vram": 68702.69952,
|
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": 7.
|
124 |
-
"mean": 7.
|
125 |
"stdev": 0.0,
|
126 |
-
"p50": 7.
|
127 |
-
"p90": 7.
|
128 |
-
"p95": 7.
|
129 |
-
"p99": 7.
|
130 |
"values": [
|
131 |
-
7.
|
132 |
]
|
133 |
},
|
134 |
"throughput": null,
|
@@ -138,89 +138,90 @@
|
|
138 |
"prefill": {
|
139 |
"memory": {
|
140 |
"unit": "MB",
|
141 |
-
"max_ram":
|
142 |
"max_global_vram": 68702.69952,
|
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 |
]
|
220 |
},
|
221 |
"throughput": {
|
222 |
"unit": "tokens/s",
|
223 |
-
"value":
|
224 |
},
|
225 |
"energy": null,
|
226 |
"efficiency": null
|
@@ -228,89 +229,90 @@
|
|
228 |
"decode": {
|
229 |
"memory": {
|
230 |
"unit": "MB",
|
231 |
-
"max_ram":
|
232 |
"max_global_vram": 68702.69952,
|
233 |
-
"max_process_vram":
|
234 |
"max_reserved": 725.614592,
|
235 |
"max_allocated": 513.259008
|
236 |
},
|
237 |
"latency": {
|
238 |
"unit": "s",
|
239 |
-
"count":
|
240 |
-
"total": 0.
|
241 |
-
"mean": 0.
|
242 |
-
"stdev": 0.
|
243 |
-
"p50": 0.
|
244 |
-
"p90": 0.
|
245 |
-
"p95": 0.
|
246 |
-
"p99": 0.
|
247 |
"values": [
|
248 |
-
0.
|
249 |
-
0.
|
250 |
-
0.
|
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 |
]
|
310 |
},
|
311 |
"throughput": {
|
312 |
"unit": "tokens/s",
|
313 |
-
"value":
|
314 |
},
|
315 |
"energy": null,
|
316 |
"efficiency": null
|
@@ -319,81 +321,82 @@
|
|
319 |
"memory": null,
|
320 |
"latency": {
|
321 |
"unit": "s",
|
322 |
-
"count":
|
323 |
-
"total": 0.
|
324 |
-
"mean": 0.
|
325 |
-
"stdev": 0.
|
326 |
-
"p50": 0.
|
327 |
-
"p90": 0.
|
328 |
-
"p95": 0.
|
329 |
-
"p99": 0.
|
330 |
"values": [
|
331 |
-
0.
|
332 |
-
0.
|
333 |
-
0.
|
334 |
-
0.
|
335 |
-
0.
|
336 |
-
0.
|
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 |
]
|
393 |
},
|
394 |
"throughput": {
|
395 |
"unit": "tokens/s",
|
396 |
-
"value":
|
397 |
},
|
398 |
"energy": null,
|
399 |
"efficiency": null
|
|
|
3 |
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
|
4 |
"backend": {
|
5 |
"name": "pytorch",
|
6 |
+
"version": "2.4.1+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": "4",
|
15 |
"seed": 42,
|
16 |
"inter_op_num_threads": null,
|
17 |
"intra_op_num_threads": null,
|
|
|
111 |
"load": {
|
112 |
"memory": {
|
113 |
"unit": "MB",
|
114 |
+
"max_ram": 1389.944832,
|
115 |
"max_global_vram": 68702.69952,
|
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": 7.91659228515625,
|
124 |
+
"mean": 7.91659228515625,
|
125 |
"stdev": 0.0,
|
126 |
+
"p50": 7.91659228515625,
|
127 |
+
"p90": 7.91659228515625,
|
128 |
+
"p95": 7.91659228515625,
|
129 |
+
"p99": 7.91659228515625,
|
130 |
"values": [
|
131 |
+
7.91659228515625
|
132 |
]
|
133 |
},
|
134 |
"throughput": null,
|
|
|
138 |
"prefill": {
|
139 |
"memory": {
|
140 |
"unit": "MB",
|
141 |
+
"max_ram": 1548.877824,
|
142 |
"max_global_vram": 68702.69952,
|
143 |
+
"max_process_vram": 0.0,
|
144 |
"max_reserved": 725.614592,
|
145 |
"max_allocated": 513.035264
|
146 |
},
|
147 |
"latency": {
|
148 |
"unit": "s",
|
149 |
+
"count": 62,
|
150 |
+
"total": 0.5266619615554811,
|
151 |
+
"mean": 0.008494547767023887,
|
152 |
+
"stdev": 0.007469384380191624,
|
153 |
+
"p50": 0.007280853986740112,
|
154 |
+
"p90": 0.007828739833831788,
|
155 |
+
"p95": 0.007862747812271118,
|
156 |
+
"p99": 0.037788903064727805,
|
157 |
"values": [
|
158 |
+
0.007774851799011231,
|
159 |
+
0.007747491836547851,
|
160 |
+
0.007591813087463379,
|
161 |
+
0.007542212963104248,
|
162 |
+
0.007355173110961914,
|
163 |
+
0.007299493789672851,
|
164 |
+
0.007155173778533935,
|
165 |
+
0.007170373916625976,
|
166 |
+
0.007239813804626465,
|
167 |
+
0.007499173164367676,
|
168 |
+
0.007183333873748779,
|
169 |
+
0.007153254985809326,
|
170 |
+
0.007183333873748779,
|
171 |
+
0.007265573978424073,
|
172 |
+
0.0073042941093444825,
|
173 |
+
0.007379814147949219,
|
174 |
+
0.00728589391708374,
|
175 |
+
0.007195974826812744,
|
176 |
+
0.009574525833129883,
|
177 |
+
0.007212775230407715,
|
178 |
+
0.007593253135681152,
|
179 |
+
0.007738371849060058,
|
180 |
+
0.007851652145385742,
|
181 |
+
0.007811172008514404,
|
182 |
+
0.007863331794738769,
|
183 |
+
0.007830691814422608,
|
184 |
+
0.06536392974853515,
|
185 |
+
0.007005575180053711,
|
186 |
+
0.007832771778106689,
|
187 |
+
0.007275814056396484,
|
188 |
+
0.00726301383972168,
|
189 |
+
0.007183973789215088,
|
190 |
+
0.007456293106079101,
|
191 |
+
0.007303493976593018,
|
192 |
+
0.007368293762207032,
|
193 |
+
0.0074498929977417,
|
194 |
+
0.007257413864135742,
|
195 |
+
0.007371173858642578,
|
196 |
+
0.0077473330497741695,
|
197 |
+
0.007480292797088623,
|
198 |
+
0.0072258939743041995,
|
199 |
+
0.00717565393447876,
|
200 |
+
0.007031974792480469,
|
201 |
+
0.006923655033111572,
|
202 |
+
0.006960935115814209,
|
203 |
+
0.0069306960105896,
|
204 |
+
0.006914694786071777,
|
205 |
+
0.0069074959754943845,
|
206 |
+
0.006897735118865967,
|
207 |
+
0.006931495189666748,
|
208 |
+
0.006942375183105469,
|
209 |
+
0.006950056076049805,
|
210 |
+
0.006892614841461182,
|
211 |
+
0.006895014762878418,
|
212 |
+
0.020158967971801757,
|
213 |
+
0.007062854766845703,
|
214 |
+
0.006919334888458252,
|
215 |
+
0.006922056198120117,
|
216 |
+
0.007804932117462159,
|
217 |
+
0.0077894129753112796,
|
218 |
+
0.007767813205718994,
|
219 |
+
0.007494214057922363
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 235.44514138399052
|
225 |
},
|
226 |
"energy": null,
|
227 |
"efficiency": null
|
|
|
229 |
"decode": {
|
230 |
"memory": {
|
231 |
"unit": "MB",
|
232 |
+
"max_ram": 1548.877824,
|
233 |
"max_global_vram": 68702.69952,
|
234 |
+
"max_process_vram": 0.0,
|
235 |
"max_reserved": 725.614592,
|
236 |
"max_allocated": 513.259008
|
237 |
},
|
238 |
"latency": {
|
239 |
"unit": "s",
|
240 |
+
"count": 62,
|
241 |
+
"total": 0.47598197507858286,
|
242 |
+
"mean": 0.007677128630299723,
|
243 |
+
"stdev": 0.0006788733601986296,
|
244 |
+
"p50": 0.007562933206558228,
|
245 |
+
"p90": 0.008114608860015868,
|
246 |
+
"p95": 0.008192163228988648,
|
247 |
+
"p99": 0.009887631635665896,
|
248 |
"values": [
|
249 |
+
0.00805997085571289,
|
250 |
+
0.00797085189819336,
|
251 |
+
0.007796291828155518,
|
252 |
+
0.007656612873077393,
|
253 |
+
0.0075881328582763675,
|
254 |
+
0.007560293197631836,
|
255 |
+
0.0074412541389465335,
|
256 |
+
0.007450532913208008,
|
257 |
+
0.0075508527755737305,
|
258 |
+
0.007680932998657227,
|
259 |
+
0.007409412860870362,
|
260 |
+
0.0074342131614685055,
|
261 |
+
0.007465573787689209,
|
262 |
+
0.007592291831970215,
|
263 |
+
0.007514692783355713,
|
264 |
+
0.00753229284286499,
|
265 |
+
0.007565732955932617,
|
266 |
+
0.00785677194595337,
|
267 |
+
0.007416933059692383,
|
268 |
+
0.007681571960449219,
|
269 |
+
0.00807469081878662,
|
270 |
+
0.008060450553894044,
|
271 |
+
0.008263490676879882,
|
272 |
+
0.008189730644226074,
|
273 |
+
0.008192291259765625,
|
274 |
+
0.008197091102600097,
|
275 |
+
0.0074161338806152345,
|
276 |
+
0.007466372966766358,
|
277 |
+
0.007951651096343994,
|
278 |
+
0.007636292934417725,
|
279 |
+
0.007517093181610107,
|
280 |
+
0.007565573215484619,
|
281 |
+
0.007621413230895996,
|
282 |
+
0.007605253219604492,
|
283 |
+
0.007887971878051759,
|
284 |
+
0.007668773174285889,
|
285 |
+
0.007620932102203369,
|
286 |
+
0.01242795467376709,
|
287 |
+
0.007663331985473633,
|
288 |
+
0.007437094211578369,
|
289 |
+
0.007423812866210937,
|
290 |
+
0.007610373020172119,
|
291 |
+
0.0072119741439819335,
|
292 |
+
0.007222693920135498,
|
293 |
+
0.007262854099273681,
|
294 |
+
0.007353572845458984,
|
295 |
+
0.007214694976806641,
|
296 |
+
0.0071978940963745115,
|
297 |
+
0.00732413387298584,
|
298 |
+
0.007200613975524902,
|
299 |
+
0.007252455234527588,
|
300 |
+
0.007239014148712158,
|
301 |
+
0.007208293914794922,
|
302 |
+
0.007221254825592041,
|
303 |
+
0.007487654209136963,
|
304 |
+
0.007267973899841309,
|
305 |
+
0.007209734916687012,
|
306 |
+
0.007328773021697998,
|
307 |
+
0.008090851783752441,
|
308 |
+
0.008133410453796387,
|
309 |
+
0.00811724853515625,
|
310 |
+
0.007713891983032226
|
311 |
]
|
312 |
},
|
313 |
"throughput": {
|
314 |
"unit": "tokens/s",
|
315 |
+
"value": 130.2570333461977
|
316 |
},
|
317 |
"energy": null,
|
318 |
"efficiency": null
|
|
|
321 |
"memory": null,
|
322 |
"latency": {
|
323 |
"unit": "s",
|
324 |
+
"count": 62,
|
325 |
+
"total": 0.44409649229049675,
|
326 |
+
"mean": 0.007162846649846724,
|
327 |
+
"stdev": 0.0006866867699017258,
|
328 |
+
"p50": 0.007029974937438965,
|
329 |
+
"p90": 0.007590644073486328,
|
330 |
+
"p95": 0.007630949115753173,
|
331 |
+
"p99": 0.009421662082672122,
|
332 |
"values": [
|
333 |
+
0.007421573162078857,
|
334 |
+
0.007345094203948975,
|
335 |
+
0.007221574783325195,
|
336 |
+
0.007091334819793701,
|
337 |
+
0.007028295040130615,
|
338 |
+
0.007031654834747315,
|
339 |
+
0.0069356560707092285,
|
340 |
+
0.006925734996795654,
|
341 |
+
0.007040295124053955,
|
342 |
+
0.0071622152328491215,
|
343 |
+
0.006907175064086914,
|
344 |
+
0.006926855087280273,
|
345 |
+
0.006971495151519775,
|
346 |
+
0.007032614231109619,
|
347 |
+
0.00695981502532959,
|
348 |
+
0.007006694793701172,
|
349 |
+
0.007035014152526856,
|
350 |
+
0.006925095081329346,
|
351 |
+
0.007023815155029297,
|
352 |
+
0.007173093795776367,
|
353 |
+
0.007552612781524659,
|
354 |
+
0.007539652824401856,
|
355 |
+
0.007740612030029297,
|
356 |
+
0.007646533012390136,
|
357 |
+
0.0076266927719116214,
|
358 |
+
0.0076311731338500974,
|
359 |
+
0.00686621618270874,
|
360 |
+
0.006940935134887695,
|
361 |
+
0.007461092948913574,
|
362 |
+
0.007159335136413574,
|
363 |
+
0.007011334896087646,
|
364 |
+
0.0070801348686218265,
|
365 |
+
0.007163654804229736,
|
366 |
+
0.0071262140274047855,
|
367 |
+
0.007391014099121094,
|
368 |
+
0.007151975154876709,
|
369 |
+
0.007156454086303711,
|
370 |
+
0.012050996780395508,
|
371 |
+
0.007199493885040284,
|
372 |
+
0.006980134963989258,
|
373 |
+
0.006965095043182373,
|
374 |
+
0.007090054988861084,
|
375 |
+
0.006726215839385987,
|
376 |
+
0.006741896152496338,
|
377 |
+
0.00677677583694458,
|
378 |
+
0.006868134975433349,
|
379 |
+
0.006734055995941162,
|
380 |
+
0.00672653579711914,
|
381 |
+
0.006849575996398926,
|
382 |
+
0.006723495960235595,
|
383 |
+
0.006756455898284912,
|
384 |
+
0.006752295017242432,
|
385 |
+
0.0067300558090209964,
|
386 |
+
0.006736135959625244,
|
387 |
+
0.006950376033782959,
|
388 |
+
0.006771495819091797,
|
389 |
+
0.006736616134643555,
|
390 |
+
0.006789734840393066,
|
391 |
+
0.007568613052368164,
|
392 |
+
0.007619492053985596,
|
393 |
+
0.00759309196472168,
|
394 |
+
0.007248933792114258
|
395 |
]
|
396 |
},
|
397 |
"throughput": {
|
398 |
"unit": "tokens/s",
|
399 |
+
"value": 139.60929905171133
|
400 |
},
|
401 |
"energy": null,
|
402 |
"efficiency": null
|