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":
|
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,87 +138,92 @@
|
|
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 |
]
|
218 |
},
|
219 |
"throughput": {
|
220 |
"unit": "tokens/s",
|
221 |
-
"value":
|
222 |
},
|
223 |
"energy": null,
|
224 |
"efficiency": null
|
@@ -226,87 +231,92 @@
|
|
226 |
"decode": {
|
227 |
"memory": {
|
228 |
"unit": "MB",
|
229 |
-
"max_ram":
|
230 |
-
"max_global_vram":
|
231 |
-
"max_process_vram":
|
232 |
"max_reserved": 725.614592,
|
233 |
"max_allocated": 513.259008
|
234 |
},
|
235 |
"latency": {
|
236 |
"unit": "s",
|
237 |
-
"count":
|
238 |
-
"total": 0.
|
239 |
-
"mean": 0.
|
240 |
-
"stdev": 0.
|
241 |
-
"p50": 0.
|
242 |
-
"p90": 0.
|
243 |
-
"p95": 0.
|
244 |
-
"p99": 0.
|
245 |
"values": [
|
246 |
-
0.
|
247 |
-
0.
|
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 |
]
|
306 |
},
|
307 |
"throughput": {
|
308 |
"unit": "tokens/s",
|
309 |
-
"value":
|
310 |
},
|
311 |
"energy": null,
|
312 |
"efficiency": null
|
@@ -315,79 +325,84 @@
|
|
315 |
"memory": null,
|
316 |
"latency": {
|
317 |
"unit": "s",
|
318 |
-
"count":
|
319 |
-
"total": 0.
|
320 |
-
"mean": 0.
|
321 |
-
"stdev": 0.
|
322 |
-
"p50": 0.
|
323 |
-
"p90": 0.
|
324 |
-
"p95": 0.
|
325 |
-
"p99": 0.
|
326 |
"values": [
|
327 |
-
0.
|
328 |
-
0.
|
329 |
-
0.
|
330 |
-
0.
|
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 |
]
|
387 |
},
|
388 |
"throughput": {
|
389 |
"unit": "tokens/s",
|
390 |
-
"value":
|
391 |
},
|
392 |
"energy": null,
|
393 |
"efficiency": null
|
|
|
3 |
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
|
4 |
"backend": {
|
5 |
"name": "pytorch",
|
6 |
+
"version": "2.3.1+rocm5.7",
|
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": 1033.842688,
|
115 |
+
"max_global_vram": 1013.08416,
|
116 |
+
"max_process_vram": 42421.321728,
|
117 |
"max_reserved": 725.614592,
|
118 |
"max_allocated": 666.338304
|
119 |
},
|
120 |
"latency": {
|
121 |
"unit": "s",
|
122 |
"count": 1,
|
123 |
+
"total": 7.435150390625,
|
124 |
+
"mean": 7.435150390625,
|
125 |
"stdev": 0.0,
|
126 |
+
"p50": 7.435150390625,
|
127 |
+
"p90": 7.435150390625,
|
128 |
+
"p95": 7.435150390625,
|
129 |
+
"p99": 7.435150390625,
|
130 |
"values": [
|
131 |
+
7.435150390625
|
132 |
]
|
133 |
},
|
134 |
"throughput": null,
|
|
|
138 |
"prefill": {
|
139 |
"memory": {
|
140 |
"unit": "MB",
|
141 |
+
"max_ram": 1203.478528,
|
142 |
+
"max_global_vram": 1125.101568,
|
143 |
+
"max_process_vram": 285222.907904,
|
144 |
"max_reserved": 725.614592,
|
145 |
"max_allocated": 513.035264
|
146 |
},
|
147 |
"latency": {
|
148 |
"unit": "s",
|
149 |
+
"count": 64,
|
150 |
+
"total": 0.5165020403861998,
|
151 |
+
"mean": 0.008070344381034374,
|
152 |
+
"stdev": 0.0009219661782258188,
|
153 |
+
"p50": 0.00783693504333496,
|
154 |
+
"p90": 0.008640084648132325,
|
155 |
+
"p95": 0.008891763734817504,
|
156 |
+
"p99": 0.011501919288635245,
|
157 |
"values": [
|
158 |
+
0.008549253463745117,
|
159 |
+
0.00877149200439453,
|
160 |
+
0.008455013275146485,
|
161 |
+
0.008201253890991212,
|
162 |
+
0.00803037452697754,
|
163 |
+
0.007951014995574952,
|
164 |
+
0.009859647750854492,
|
165 |
+
0.008894211769104004,
|
166 |
+
0.008679012298583984,
|
167 |
+
0.008043495178222657,
|
168 |
+
0.010228768348693847,
|
169 |
+
0.008537412643432617,
|
170 |
+
0.008473732948303222,
|
171 |
+
0.008877891540527344,
|
172 |
+
0.00850013256072998,
|
173 |
+
0.008450532913208008,
|
174 |
+
0.008486373901367188,
|
175 |
+
0.008442532539367676,
|
176 |
+
0.008460453987121582,
|
177 |
+
0.0076402959823608394,
|
178 |
+
0.007460775852203369,
|
179 |
+
0.007452776908874512,
|
180 |
+
0.008184293746948242,
|
181 |
+
0.007460455894470214,
|
182 |
+
0.007468296051025391,
|
183 |
+
0.007475815773010254,
|
184 |
+
0.007453735828399658,
|
185 |
+
0.007746534824371338,
|
186 |
+
0.007830854892730712,
|
187 |
+
0.007940774917602538,
|
188 |
+
0.007753894805908203,
|
189 |
+
0.007459015846252442,
|
190 |
+
0.007427977085113525,
|
191 |
+
0.007455336093902588,
|
192 |
+
0.007454856872558594,
|
193 |
+
0.007483816146850586,
|
194 |
+
0.007490856170654297,
|
195 |
+
0.007470696926116943,
|
196 |
+
0.007467016220092774,
|
197 |
+
0.007491655826568603,
|
198 |
+
0.007464296817779541,
|
199 |
+
0.0074721360206604,
|
200 |
+
0.007450857162475586,
|
201 |
+
0.0074574160575866695,
|
202 |
+
0.013669716835021972,
|
203 |
+
0.007821895122528077,
|
204 |
+
0.007445736885070801,
|
205 |
+
0.008201253890991212,
|
206 |
+
0.008452452659606934,
|
207 |
+
0.008531972885131836,
|
208 |
+
0.00787901496887207,
|
209 |
+
0.00828797435760498,
|
210 |
+
0.008485253334045411,
|
211 |
+
0.008440133094787597,
|
212 |
+
0.008418374061584473,
|
213 |
+
0.007865735054016113,
|
214 |
+
0.007843015193939208,
|
215 |
+
0.007708295822143555,
|
216 |
+
0.007437736988067627,
|
217 |
+
0.00745197582244873,
|
218 |
+
0.00744157600402832,
|
219 |
+
0.007442376136779785,
|
220 |
+
0.007438216209411621,
|
221 |
+
0.007432295799255371
|
222 |
]
|
223 |
},
|
224 |
"throughput": {
|
225 |
"unit": "tokens/s",
|
226 |
+
"value": 247.82089903128278
|
227 |
},
|
228 |
"energy": null,
|
229 |
"efficiency": null
|
|
|
231 |
"decode": {
|
232 |
"memory": {
|
233 |
"unit": "MB",
|
234 |
+
"max_ram": 1203.478528,
|
235 |
+
"max_global_vram": 1125.163008,
|
236 |
+
"max_process_vram": 278132.81792,
|
237 |
"max_reserved": 725.614592,
|
238 |
"max_allocated": 513.259008
|
239 |
},
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 64,
|
243 |
+
"total": 0.48157910490036027,
|
244 |
+
"mean": 0.007524673514068126,
|
245 |
+
"stdev": 0.0016825367101843706,
|
246 |
+
"p50": 0.00721597695350647,
|
247 |
+
"p90": 0.007910790872573853,
|
248 |
+
"p95": 0.00823348560333252,
|
249 |
+
"p99": 0.013047457981109588,
|
250 |
"values": [
|
251 |
+
0.008155014038085938,
|
252 |
+
0.008247333526611328,
|
253 |
+
0.007870214939117432,
|
254 |
+
0.007712454795837403,
|
255 |
+
0.007670054912567139,
|
256 |
+
0.007560455799102783,
|
257 |
+
0.008776132583618163,
|
258 |
+
0.008261734008789063,
|
259 |
+
0.00765069580078125,
|
260 |
+
0.007981733798980713,
|
261 |
+
0.007890854835510254,
|
262 |
+
0.0077839760780334475,
|
263 |
+
0.007777094841003418,
|
264 |
+
0.00779597520828247,
|
265 |
+
0.0077938947677612305,
|
266 |
+
0.007813735961914063,
|
267 |
+
0.007763014793395996,
|
268 |
+
0.007743014812469483,
|
269 |
+
0.007419015884399414,
|
270 |
+
0.00686525821685791,
|
271 |
+
0.006863018035888672,
|
272 |
+
0.020320255279541014,
|
273 |
+
0.007084938049316406,
|
274 |
+
0.0068849377632141115,
|
275 |
+
0.006914058208465576,
|
276 |
+
0.006893098831176758,
|
277 |
+
0.006879978179931641,
|
278 |
+
0.007036297798156738,
|
279 |
+
0.007256776809692383,
|
280 |
+
0.00727437686920166,
|
281 |
+
0.006881577968597412,
|
282 |
+
0.006892458915710449,
|
283 |
+
0.006892298221588135,
|
284 |
+
0.006888137817382812,
|
285 |
+
0.00686093807220459,
|
286 |
+
0.006979497909545898,
|
287 |
+
0.006880938053131103,
|
288 |
+
0.00688765811920166,
|
289 |
+
0.006863977909088135,
|
290 |
+
0.006911178112030029,
|
291 |
+
0.006852938175201416,
|
292 |
+
0.006850217819213867,
|
293 |
+
0.006871178150177002,
|
294 |
+
0.0068298978805542,
|
295 |
+
0.0068660578727722165,
|
296 |
+
0.00681981897354126,
|
297 |
+
0.006869738101959229,
|
298 |
+
0.00778893518447876,
|
299 |
+
0.007919334888458252,
|
300 |
+
0.007314537048339844,
|
301 |
+
0.007195336818695068,
|
302 |
+
0.007809094905853272,
|
303 |
+
0.0077817349433898925,
|
304 |
+
0.007796935081481934,
|
305 |
+
0.007732934951782226,
|
306 |
+
0.007187817096710205,
|
307 |
+
0.007236617088317871,
|
308 |
+
0.0073838157653808596,
|
309 |
+
0.006835817813873291,
|
310 |
+
0.0068266987800598145,
|
311 |
+
0.006852777957916259,
|
312 |
+
0.00738573694229126,
|
313 |
+
0.00683853816986084,
|
314 |
+
0.006854537963867187
|
315 |
]
|
316 |
},
|
317 |
"throughput": {
|
318 |
"unit": "tokens/s",
|
319 |
+
"value": 132.89613139100328
|
320 |
},
|
321 |
"energy": null,
|
322 |
"efficiency": null
|
|
|
325 |
"memory": null,
|
326 |
"latency": {
|
327 |
"unit": "s",
|
328 |
+
"count": 64,
|
329 |
+
"total": 0.45567071390151986,
|
330 |
+
"mean": 0.007119854904711246,
|
331 |
+
"stdev": 0.0016786218225724103,
|
332 |
+
"p50": 0.006830458402633667,
|
333 |
+
"p90": 0.007461496114730835,
|
334 |
+
"p95": 0.0076045599937438965,
|
335 |
+
"p99": 0.012555800571441619,
|
336 |
"values": [
|
337 |
+
0.007565256118774414,
|
338 |
+
0.0076114959716796875,
|
339 |
+
0.007292296886444092,
|
340 |
+
0.007161577224731445,
|
341 |
+
0.007110537052154541,
|
342 |
+
0.007015498161315918,
|
343 |
+
0.00818093490600586,
|
344 |
+
0.007722536087036133,
|
345 |
+
0.007107498168945313,
|
346 |
+
0.007443016052246094,
|
347 |
+
0.00746941614151001,
|
348 |
+
0.007378696918487549,
|
349 |
+
0.007378376007080078,
|
350 |
+
0.007398375988006592,
|
351 |
+
0.00737421703338623,
|
352 |
+
0.007406056880950928,
|
353 |
+
0.007364295959472657,
|
354 |
+
0.007346857070922852,
|
355 |
+
0.007055656909942627,
|
356 |
+
0.006514059066772461,
|
357 |
+
0.006509259223937989,
|
358 |
+
0.02000489616394043,
|
359 |
+
0.0067100591659545895,
|
360 |
+
0.0065202989578247075,
|
361 |
+
0.006544619083404541,
|
362 |
+
0.006536300182342529,
|
363 |
+
0.006528938770294189,
|
364 |
+
0.0066578989028930665,
|
365 |
+
0.006905258178710938,
|
366 |
+
0.006922858238220215,
|
367 |
+
0.006524138927459717,
|
368 |
+
0.006527979850769043,
|
369 |
+
0.006533099174499512,
|
370 |
+
0.006531980037689209,
|
371 |
+
0.006510058879852295,
|
372 |
+
0.006613899230957032,
|
373 |
+
0.006516619205474854,
|
374 |
+
0.006531659126281738,
|
375 |
+
0.0065086188316345215,
|
376 |
+
0.006549418926239014,
|
377 |
+
0.0065012588500976565,
|
378 |
+
0.006496298789978028,
|
379 |
+
0.006518379211425781,
|
380 |
+
0.006464779853820801,
|
381 |
+
0.006481898784637451,
|
382 |
+
0.006467020034790039,
|
383 |
+
0.006506538867950439,
|
384 |
+
0.007378376960754394,
|
385 |
+
0.007492297172546387,
|
386 |
+
0.006923657894134521,
|
387 |
+
0.006786538124084473,
|
388 |
+
0.00740445613861084,
|
389 |
+
0.007369736194610596,
|
390 |
+
0.007386376857757568,
|
391 |
+
0.00732093620300293,
|
392 |
+
0.006788458824157715,
|
393 |
+
0.006872457981109619,
|
394 |
+
0.007007338047027588,
|
395 |
+
0.006472299098968506,
|
396 |
+
0.006464300155639649,
|
397 |
+
0.00648413896560669,
|
398 |
+
0.007019338130950928,
|
399 |
+
0.006478219985961914,
|
400 |
+
0.006501099109649658
|
401 |
]
|
402 |
},
|
403 |
"throughput": {
|
404 |
"unit": "tokens/s",
|
405 |
+
"value": 140.45230041672545
|
406 |
},
|
407 |
"energy": null,
|
408 |
"efficiency": null
|