IlyasMoutawwakil HF staff commited on
Commit
6ff6c84
·
verified ·
1 Parent(s): beb9257

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.2.2+rocm5.7",
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": "6",
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.1",
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": 907.464704,
115
- "max_global_vram": 1011.75296,
116
- "max_process_vram": 43659.227136,
117
  "max_reserved": 725.614592,
118
  "max_allocated": 666.338304
119
  },
120
  "latency": {
121
  "unit": "s",
122
  "count": 1,
123
- "total": 7.20912890625,
124
- "mean": 7.20912890625,
125
  "stdev": 0.0,
126
- "p50": 7.20912890625,
127
- "p90": 7.20912890625,
128
- "p95": 7.20912890625,
129
- "p99": 7.20912890625,
130
  "values": [
131
- 7.20912890625
132
  ]
133
  },
134
  "throughput": null,
@@ -138,92 +138,95 @@
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
- "max_ram": 1062.825984,
142
- "max_global_vram": 1107.49696,
143
- "max_process_vram": 277389.615104,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
- "count": 64,
150
- "total": 0.5123312149047851,
151
- "mean": 0.008005175232887268,
152
- "stdev": 0.0003251578291028621,
153
- "p50": 0.007869614839553833,
154
- "p90": 0.008294208240509034,
155
- "p95": 0.00874251298904419,
156
- "p99": 0.00913956467628479,
157
  "values": [
158
- 0.00809521484375,
159
- 0.00828065586090088,
160
- 0.00802465534210205,
161
- 0.00799361515045166,
162
- 0.007948174953460693,
163
- 0.00791505479812622,
164
- 0.008015854835510254,
165
- 0.007974255084991454,
166
- 0.007958415031433106,
167
- 0.007976174831390381,
168
- 0.00811649513244629,
169
- 0.00807121467590332,
170
- 0.007964654922485352,
171
- 0.00942593765258789,
172
- 0.007894094944000243,
173
- 0.007867694854736328,
174
- 0.008116015434265137,
175
- 0.007912495136260987,
176
- 0.007793775081634521,
177
- 0.007794575214385986,
178
- 0.007758894920349121,
179
- 0.007822733879089355,
180
- 0.008107215881347656,
181
- 0.007939215183258058,
182
- 0.007768654823303222,
183
- 0.007818574905395509,
184
- 0.007803695201873779,
185
- 0.007774895191192627,
186
- 0.007817134857177735,
187
- 0.0077912149429321285,
188
- 0.007817615032196044,
189
- 0.0078028950691223144,
190
- 0.007803373813629151,
191
- 0.007811854839324952,
192
- 0.00781729507446289,
193
- 0.007823054790496825,
194
- 0.007803854942321778,
195
- 0.007790734767913818,
196
- 0.00797649621963501,
197
- 0.0077710552215576175,
198
- 0.008206576347351073,
199
- 0.008587057113647462,
200
- 0.007871534824371338,
201
- 0.007827535152435302,
202
- 0.00782497501373291,
203
- 0.0089713773727417,
204
- 0.008745777130126952,
205
- 0.008724016189575195,
206
- 0.008847216606140136,
207
- 0.00822673511505127,
208
- 0.008240655899047851,
209
- 0.008300016403198242,
210
- 0.00793857479095459,
211
- 0.00780257511138916,
212
- 0.007853774070739747,
213
- 0.007856335163116455,
214
- 0.00781297492980957,
215
- 0.0077979350090026855,
216
- 0.0078046550750732425,
217
- 0.007789615154266357,
218
- 0.007782575130462647,
219
- 0.007799055099487305,
220
- 0.007840973854064941,
221
- 0.00811921501159668
 
 
 
222
  ]
223
  },
224
  "throughput": {
225
  "unit": "tokens/s",
226
- "value": 249.8383785258689
227
  },
228
  "energy": null,
229
  "efficiency": null
@@ -231,92 +234,95 @@
231
  "decode": {
232
  "memory": {
233
  "unit": "MB",
234
- "max_ram": 1063.051264,
235
- "max_global_vram": 1107.607552,
236
- "max_process_vram": 257818.095616,
237
  "max_reserved": 725.614592,
238
  "max_allocated": 513.259008
239
  },
240
  "latency": {
241
  "unit": "s",
242
- "count": 64,
243
- "total": 0.4989713501930237,
244
- "mean": 0.007796427346765995,
245
- "stdev": 0.0014158997659376436,
246
- "p50": 0.007548974514007568,
247
- "p90": 0.007840639114379882,
248
- "p95": 0.008116703844070433,
249
- "p99": 0.012265636425018284,
250
  "values": [
251
- 0.007877455234527589,
252
- 0.0077404952049255375,
253
- 0.007587854862213135,
254
- 0.007541614055633545,
255
- 0.007768495082855225,
256
- 0.007557134151458741,
257
- 0.007595375061035157,
258
- 0.007680494785308838,
259
- 0.007561453819274902,
260
- 0.007841935157775879,
261
- 0.007650895118713379,
262
- 0.007598094940185547,
263
- 0.007614093780517578,
264
- 0.007694893836975097,
265
- 0.007486094951629638,
266
- 0.007463374137878418,
267
- 0.007723215103149414,
268
- 0.007692975044250488,
269
- 0.007457454204559327,
270
- 0.0075451340675354,
271
- 0.007501773834228516,
272
- 0.007700494766235352,
273
- 0.007606733798980713,
274
- 0.007561934947967529,
275
- 0.007463374137878418,
276
- 0.007481773853302002,
277
- 0.007501934051513672,
278
- 0.007527054786682129,
279
- 0.007528654098510742,
280
- 0.007493934154510498,
281
- 0.007458893775939941,
282
- 0.007510254859924317,
283
- 0.007537455081939697,
284
- 0.007490414142608643,
285
- 0.007471054077148437,
286
- 0.007575534820556641,
287
- 0.007533133983612061,
288
- 0.007527694225311279,
289
- 0.007536014080047607,
290
- 0.007680334091186523,
291
- 0.01893699645996094,
292
- 0.007899374961853027,
293
- 0.0075451340675354,
294
- 0.007512814044952393,
295
- 0.007668175220489502,
296
- 0.008318575859069824,
297
- 0.007837615013122558,
298
- 0.008347536087036133,
299
- 0.00815505599975586,
300
- 0.007805134773254395,
301
- 0.007775694847106934,
302
- 0.007795855045318604,
303
- 0.007506254196166992,
304
- 0.00752225399017334,
305
- 0.007518895149230957,
306
- 0.0074702539443969726,
307
- 0.0074824137687683106,
308
- 0.007468654155731201,
309
- 0.007552814960479736,
310
- 0.0074891338348388676,
311
- 0.00749441385269165,
312
- 0.007591693878173828,
313
- 0.007451213836669922,
314
- 0.007458414077758789
 
 
 
315
  ]
316
  },
317
  "throughput": {
318
  "unit": "tokens/s",
319
- "value": 128.26387722509926
320
  },
321
  "energy": null,
322
  "efficiency": null
@@ -325,84 +331,87 @@
325
  "memory": null,
326
  "latency": {
327
  "unit": "s",
328
- "count": 64,
329
- "total": 0.4634877648353574,
330
- "mean": 0.007241996325552464,
331
- "stdev": 0.0014267364016928195,
332
- "p50": 0.006989372968673706,
333
- "p90": 0.007288750171661377,
334
- "p95": 0.007573078846931456,
335
- "p99": 0.011754413313865633,
336
  "values": [
337
- 0.00727489423751831,
338
- 0.007230733871459961,
339
- 0.007040013790130615,
340
- 0.007018572807312011,
341
- 0.00722385311126709,
342
- 0.0070337729454040526,
343
- 0.0070652937889099125,
344
- 0.007049613952636718,
345
- 0.007003053188323975,
346
- 0.007289614200592041,
347
- 0.0070867338180541995,
348
- 0.0070201740264892575,
349
- 0.0070246529579162595,
350
- 0.007087852954864502,
351
- 0.006917932987213135,
352
- 0.006898413181304932,
353
- 0.007193453788757324,
354
- 0.007134734153747558,
355
- 0.006911693096160888,
356
- 0.006949613094329834,
357
- 0.006922092914581299,
358
- 0.007139694213867187,
359
- 0.007039692878723145,
360
- 0.006960974216461181,
361
- 0.006934253215789795,
362
- 0.006944653034210205,
363
- 0.0069360132217407226,
364
- 0.006924172878265381,
365
- 0.00697169303894043,
366
- 0.006965932846069336,
367
- 0.006933932781219483,
368
- 0.006936333179473877,
369
- 0.006963054180145264,
370
- 0.006943212985992432,
371
- 0.006916492938995361,
372
- 0.0070244941711425785,
373
- 0.00695153284072876,
374
- 0.0069224128723144535,
375
- 0.0069438529014587405,
376
- 0.007120013236999512,
377
- 0.018463876724243163,
378
- 0.007373293876647949,
379
- 0.006997292995452881,
380
- 0.006981452941894531,
381
- 0.007084013938903809,
382
- 0.007769615173339844,
383
- 0.007324974060058594,
384
- 0.007813934803009032,
385
- 0.007608335018157959,
386
- 0.007286734104156494,
387
- 0.007247213840484619,
388
- 0.007265294075012207,
389
- 0.0069200129508972166,
390
- 0.006961452960968018,
391
- 0.006956334114074707,
392
- 0.006941772937774658,
393
- 0.006913773059844971,
394
- 0.006947052955627441,
395
- 0.006972814083099365,
396
- 0.006954092979431153,
397
- 0.006953292846679687,
398
- 0.007068812847137451,
399
- 0.006907693862915039,
400
- 0.006925453186035156
 
 
 
401
  ]
402
  },
403
  "throughput": {
404
  "unit": "tokens/s",
405
- "value": 138.0834724358568
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