IlyasMoutawwakil HF staff commited on
Commit
eb26ad8
·
verified ·
1 Parent(s): 8e3c707

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.4.0+rocm6.1",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
@@ -104,24 +104,24 @@
104
  "load": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1386.094592,
108
- "max_global_vram": 0.0,
109
- "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
111
  "max_allocated": 666.338304
112
  },
113
  "latency": {
114
  "unit": "s",
115
  "count": 1,
116
- "total": 7.66913232421875,
117
- "mean": 7.66913232421875,
118
  "stdev": 0.0,
119
- "p50": 7.66913232421875,
120
- "p90": 7.66913232421875,
121
- "p95": 7.66913232421875,
122
- "p99": 7.66913232421875,
123
  "values": [
124
- 7.66913232421875
125
  ]
126
  },
127
  "throughput": null,
@@ -131,95 +131,92 @@
131
  "prefill": {
132
  "memory": {
133
  "unit": "MB",
134
- "max_ram": 1545.27744,
135
- "max_global_vram": 0.0,
136
- "max_process_vram": 0.0,
137
  "max_reserved": 725.614592,
138
  "max_allocated": 513.035264
139
  },
140
  "latency": {
141
  "unit": "s",
142
- "count": 67,
143
- "total": 0.4873918380737304,
144
- "mean": 0.007274505045876575,
145
- "stdev": 0.00039732943301317493,
146
- "p50": 0.007127338886260986,
147
- "p90": 0.007846953105926514,
148
- "p95": 0.007916919803619386,
149
- "p99": 0.008539821949005127,
150
  "values": [
151
- 0.007961736202239991,
152
- 0.00782893705368042,
153
- 0.007831976890563965,
154
- 0.007538057804107666,
155
- 0.007689737796783448,
156
- 0.007553418159484863,
157
- 0.007265738964080811,
158
- 0.007414698123931885,
159
- 0.007299818992614746,
160
- 0.007325418949127197,
161
- 0.007237738132476807,
162
- 0.008395336151123046,
163
- 0.007308137893676758,
164
- 0.007356298923492432,
165
- 0.007361577987670898,
166
- 0.007309578895568848,
167
- 0.0072199788093566895,
168
- 0.008820294380187988,
169
- 0.007361897945404053,
170
- 0.00791053581237793,
171
- 0.007841577053070068,
172
- 0.007246538162231446,
173
- 0.007322858810424804,
174
- 0.007388298034667969,
175
- 0.00788893699645996,
176
- 0.007155338764190674,
177
- 0.006982378959655762,
178
- 0.006983819007873535,
179
- 0.007027178764343262,
180
- 0.007127338886260986,
181
- 0.007771817207336426,
182
- 0.007567818164825439,
183
- 0.006987178802490234,
184
- 0.0073454189300537105,
185
- 0.006975978851318359,
186
- 0.0069942188262939456,
187
- 0.007006858825683594,
188
- 0.006987178802490234,
189
- 0.006964138984680176,
190
- 0.006954219818115235,
191
- 0.006971339225769043,
192
- 0.006983979225158692,
193
- 0.0069590191841125484,
194
- 0.0069825401306152345,
195
- 0.006989899158477783,
196
- 0.006956298828125,
197
- 0.007096619129180908,
198
- 0.006967978954315186,
199
- 0.006947819232940674,
200
- 0.006971020221710205,
201
- 0.006961099147796631,
202
- 0.00695245885848999,
203
- 0.006949900150299072,
204
- 0.00693149995803833,
205
- 0.006957099914550781,
206
- 0.006940938949584961,
207
- 0.006938539028167725,
208
- 0.0069783787727355955,
209
- 0.0069446201324462895,
210
- 0.006941259860992432,
211
- 0.006958378791809082,
212
- 0.00693821907043457,
213
- 0.006932459831237793,
214
- 0.007636776924133301,
215
- 0.007855017185211182,
216
- 0.007919655799865723,
217
- 0.007319017887115479
218
  ]
219
  },
220
  "throughput": {
221
  "unit": "tokens/s",
222
- "value": 274.9327943807895
223
  },
224
  "energy": null,
225
  "efficiency": null
@@ -227,95 +224,92 @@
227
  "decode": {
228
  "memory": {
229
  "unit": "MB",
230
- "max_ram": 1545.465856,
231
- "max_global_vram": 0.0,
232
- "max_process_vram": 0.0,
233
  "max_reserved": 725.614592,
234
  "max_allocated": 513.259008
235
  },
236
  "latency": {
237
  "unit": "s",
238
- "count": 67,
239
- "total": 0.5123525643348693,
240
- "mean": 0.0076470531990279,
241
- "stdev": 0.001036013486139861,
242
- "p50": 0.007416937828063965,
243
- "p90": 0.008121159744262696,
244
- "p95": 0.008202312088012694,
245
- "p99": 0.01076658927917483,
246
  "values": [
247
- 0.00822045612335205,
248
- 0.008128934860229493,
249
- 0.008004936218261718,
250
- 0.00789005708694458,
251
- 0.007877255916595459,
252
- 0.007954376220703125,
253
- 0.007718536853790283,
254
- 0.007453258037567139,
255
- 0.007579337120056153,
256
- 0.007753417015075683,
257
- 0.015672433853149415,
258
- 0.007639017105102539,
259
- 0.007671018123626709,
260
- 0.00761165714263916,
261
- 0.007598378181457519,
262
- 0.0076236572265625,
263
- 0.0074794979095458985,
264
- 0.007757096767425537,
265
- 0.008239336013793945,
266
- 0.008232295989990234,
267
- 0.007480298042297363,
268
- 0.007595657825469971,
269
- 0.0077991771697998044,
270
- 0.008138216018676758,
271
- 0.007724297046661377,
272
- 0.007463498115539551,
273
- 0.007416937828063965,
274
- 0.007260138988494873,
275
- 0.007528297901153565,
276
- 0.007263659000396728,
277
- 0.008159976005554199,
278
- 0.007468297958374024,
279
- 0.0072882981300354,
280
- 0.007272617816925049,
281
- 0.0072481389045715335,
282
- 0.007345898151397705,
283
- 0.0072414188385009765,
284
- 0.007273259162902832,
285
- 0.007263978004455566,
286
- 0.007298858165740967,
287
- 0.00722477912902832,
288
- 0.007261098861694336,
289
- 0.007262378215789795,
290
- 0.007222218036651611,
291
- 0.007245578765869141,
292
- 0.0072598190307617185,
293
- 0.007323338031768799,
294
- 0.007261579036712647,
295
- 0.007351498126983643,
296
- 0.007284778118133545,
297
- 0.0072788591384887694,
298
- 0.007235498905181885,
299
- 0.007213257789611817,
300
- 0.007273258209228516,
301
- 0.007260138034820556,
302
- 0.0072414188385009765,
303
- 0.007278219223022461,
304
- 0.007236938953399658,
305
- 0.007293258190155029,
306
- 0.0072567777633666996,
307
- 0.007281418800354004,
308
- 0.007369738101959228,
309
- 0.007295018196105957,
310
- 0.008102055549621581,
311
- 0.008115976333618165,
312
- 0.007652777194976807,
313
- 0.007635016918182373
314
  ]
315
  },
316
  "throughput": {
317
  "unit": "tokens/s",
318
- "value": 130.76932695160548
319
  },
320
  "energy": null,
321
  "efficiency": null
@@ -324,87 +318,84 @@
324
  "memory": null,
325
  "latency": {
326
  "unit": "s",
327
- "count": 67,
328
- "total": 0.47884129905700656,
329
- "mean": 0.0071468850605523404,
330
- "stdev": 0.0010226926848743909,
331
- "p50": 0.006956139087677002,
332
- "p90": 0.007590441799163818,
333
- "p95": 0.007640793466567993,
334
- "p99": 0.010240539722442652,
335
  "values": [
336
- 0.0075762982368469236,
337
- 0.007511497020721436,
338
- 0.007401577949523926,
339
- 0.007319657802581787,
340
- 0.00730637788772583,
341
- 0.007453258037567139,
342
- 0.007175017833709716,
343
- 0.006958378791809082,
344
- 0.007052779197692871,
345
- 0.007202698230743408,
346
- 0.015112275123596192,
347
- 0.007132137775421142,
348
- 0.007111659049987793,
349
- 0.00706813907623291,
350
- 0.00704413890838623,
351
- 0.0070865387916564946,
352
- 0.006970058917999267,
353
- 0.007263498783111572,
354
- 0.007727818012237549,
355
- 0.007730857849121094,
356
- 0.006996459007263184,
357
- 0.007127179145812988,
358
- 0.007330217838287354,
359
- 0.00761165714263916,
360
- 0.00725757884979248,
361
- 0.006997899055480957,
362
- 0.006956139087677002,
363
- 0.006791339874267578,
364
- 0.00704957914352417,
365
- 0.00679725980758667,
366
- 0.007651017189025879,
367
- 0.006986538887023926,
368
- 0.006780300140380859,
369
- 0.006782060146331787,
370
- 0.0067606201171875,
371
- 0.006871019840240479,
372
- 0.006767819881439209,
373
- 0.006775499820709229,
374
- 0.006781740188598633,
375
- 0.0068154997825622555,
376
- 0.0067654199600219725,
377
- 0.006783500194549561,
378
- 0.0068076601028442384,
379
- 0.006758540153503418,
380
- 0.006782539844512939,
381
- 0.006764619827270508,
382
- 0.006825738906860351,
383
- 0.006768620014190674,
384
- 0.0068913397789001464,
385
- 0.006771978855133057,
386
- 0.0067866997718811035,
387
- 0.0067526202201843265,
388
- 0.006739980220794678,
389
- 0.0067812600135803225,
390
- 0.0067948589324951176,
391
- 0.006756460189819336,
392
- 0.006809579849243164,
393
- 0.006775660037994385,
394
- 0.006798059940338135,
395
- 0.006761419773101807,
396
- 0.006794219970703125,
397
- 0.006888780117034912,
398
- 0.006809420108795166,
399
- 0.00761693811416626,
400
- 0.007615498065948486,
401
- 0.007180298805236816,
402
- 0.0071674990653991695
403
  ]
404
  },
405
  "throughput": {
406
  "unit": "tokens/s",
407
- "value": 139.92109730707156
408
  },
409
  "energy": null,
410
  "efficiency": null
 
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",
 
104
  "load": {
105
  "memory": {
106
  "unit": "MB",
107
+ "max_ram": 905.19552,
108
+ "max_global_vram": 1011.740672,
109
+ "max_process_vram": 44984.045568,
110
  "max_reserved": 725.614592,
111
  "max_allocated": 666.338304
112
  },
113
  "latency": {
114
  "unit": "s",
115
  "count": 1,
116
+ "total": 7.11990087890625,
117
+ "mean": 7.11990087890625,
118
  "stdev": 0.0,
119
+ "p50": 7.11990087890625,
120
+ "p90": 7.11990087890625,
121
+ "p95": 7.11990087890625,
122
+ "p99": 7.11990087890625,
123
  "values": [
124
+ 7.11990087890625
125
  ]
126
  },
127
  "throughput": null,
 
131
  "prefill": {
132
  "memory": {
133
  "unit": "MB",
134
+ "max_ram": 1059.65568,
135
+ "max_global_vram": 1106.128896,
136
+ "max_process_vram": 270356.783104,
137
  "max_reserved": 725.614592,
138
  "max_allocated": 513.035264
139
  },
140
  "latency": {
141
  "unit": "s",
142
+ "count": 64,
143
+ "total": 0.510714337825775,
144
+ "mean": 0.007979911528527738,
145
+ "stdev": 0.0003424328952618756,
146
+ "p50": 0.007769019603729247,
147
+ "p90": 0.00869888916015625,
148
+ "p95": 0.008734864807128906,
149
+ "p99": 0.008822996349334715,
150
  "values": [
151
+ 0.008939017295837402,
152
+ 0.008715017318725586,
153
+ 0.008661256790161134,
154
+ 0.008228617668151856,
155
+ 0.008113578796386718,
156
+ 0.007948459148406983,
157
+ 0.007991339206695557,
158
+ 0.008092939376831055,
159
+ 0.008062058448791504,
160
+ 0.008107019424438476,
161
+ 0.008263818740844727,
162
+ 0.007724299907684327,
163
+ 0.007682219028472901,
164
+ 0.007860619068145752,
165
+ 0.0077171001434326175,
166
+ 0.007674859046936035,
167
+ 0.007903018951416015,
168
+ 0.007733419895172119,
169
+ 0.008015499114990235,
170
+ 0.007745258808135987,
171
+ 0.007945259094238282,
172
+ 0.008720776557922364,
173
+ 0.008730377197265625,
174
+ 0.008754857063293457,
175
+ 0.007755819797515869,
176
+ 0.007722219944000244,
177
+ 0.00795005989074707,
178
+ 0.0077868599891662595,
179
+ 0.007728940010070801,
180
+ 0.0077274999618530274,
181
+ 0.007879979133605957,
182
+ 0.007721418857574463,
183
+ 0.007732139110565185,
184
+ 0.007738379001617432,
185
+ 0.007721259117126465,
186
+ 0.007772139072418213,
187
+ 0.007765900135040283,
188
+ 0.007742700099945069,
189
+ 0.007716619968414306,
190
+ 0.007732618808746338,
191
+ 0.007755498886108398,
192
+ 0.007727340221405029,
193
+ 0.007721259117126465,
194
+ 0.007720939159393311,
195
+ 0.007760458946228027,
196
+ 0.008520936965942383,
197
+ 0.00874525737762451,
198
+ 0.00809709930419922,
199
+ 0.008140138626098633,
200
+ 0.008124299049377441,
201
+ 0.00873565673828125,
202
+ 0.008091178894042969,
203
+ 0.008140938758850098,
204
+ 0.008114858627319336,
205
+ 0.008119338035583496,
206
+ 0.007728139877319336,
207
+ 0.007760940074920654,
208
+ 0.007718699932098389,
209
+ 0.007727980136871338,
210
+ 0.0077623801231384276,
211
+ 0.007744140148162841,
212
+ 0.007749259948730469,
213
+ 0.0077372598648071285,
214
+ 0.007745100021362305
 
 
 
215
  ]
216
  },
217
  "throughput": {
218
  "unit": "tokens/s",
219
+ "value": 250.6293450560337
220
  },
221
  "energy": null,
222
  "efficiency": null
 
224
  "decode": {
225
  "memory": {
226
  "unit": "MB",
227
+ "max_ram": 1059.831808,
228
+ "max_global_vram": 1107.513344,
229
+ "max_process_vram": 277197.029376,
230
  "max_reserved": 725.614592,
231
  "max_allocated": 513.259008
232
  },
233
  "latency": {
234
  "unit": "s",
235
+ "count": 64,
236
+ "total": 0.48986639070510873,
237
+ "mean": 0.007654162354767322,
238
+ "stdev": 0.0005404562343932596,
239
+ "p50": 0.007432940959930421,
240
+ "p90": 0.00826015453338623,
241
+ "p95": 0.008344282245635987,
242
+ "p99": 0.009464477539062493,
243
  "values": [
244
+ 0.008347018241882324,
245
+ 0.008328778266906738,
246
+ 0.007939659118652343,
247
+ 0.007828299045562745,
248
+ 0.0076442999839782715,
249
+ 0.007613900184631347,
250
+ 0.007735659122467041,
251
+ 0.0076442999839782715,
252
+ 0.0076676602363586425,
253
+ 0.011139969825744628,
254
+ 0.007300139904022217,
255
+ 0.007275021076202393,
256
+ 0.007267341136932373,
257
+ 0.00728718090057373,
258
+ 0.007278700828552246,
259
+ 0.007289741039276123,
260
+ 0.007705100059509277,
261
+ 0.007605899810791015,
262
+ 0.007395980834960937,
263
+ 0.007403820991516113,
264
+ 0.008363178253173828,
265
+ 0.00828445816040039,
266
+ 0.00848045825958252,
267
+ 0.0079201397895813,
268
+ 0.0074215798377990725,
269
+ 0.007379981040954589,
270
+ 0.007386859893798828,
271
+ 0.007420139789581299,
272
+ 0.007381899833679199,
273
+ 0.007408299922943115,
274
+ 0.0074252610206604,
275
+ 0.0074103808403015135,
276
+ 0.007399820804595948,
277
+ 0.007440781116485596,
278
+ 0.007378060817718506,
279
+ 0.0075022211074829105,
280
+ 0.007395181179046631,
281
+ 0.007412460803985596,
282
+ 0.007379341125488281,
283
+ 0.0074385409355163575,
284
+ 0.007427340984344483,
285
+ 0.007381260871887207,
286
+ 0.007421260833740235,
287
+ 0.007387500762939453,
288
+ 0.00735982084274292,
289
+ 0.008250859260559082,
290
+ 0.008105897903442382,
291
+ 0.007666699886322022,
292
+ 0.007901258945465088,
293
+ 0.008264138221740722,
294
+ 0.007770858764648438,
295
+ 0.0077858991622924804,
296
+ 0.007740779876708985,
297
+ 0.007730539798736572,
298
+ 0.007605740070343018,
299
+ 0.007376460075378418,
300
+ 0.007401899814605713,
301
+ 0.007391339778900147,
302
+ 0.007446380138397217,
303
+ 0.007444300174713135,
304
+ 0.007348939895629882,
305
+ 0.0075324602127075195,
306
+ 0.007403500080108642,
307
+ 0.007393739223480225
 
 
 
308
  ]
309
  },
310
  "throughput": {
311
  "unit": "tokens/s",
312
+ "value": 130.64786891764317
313
  },
314
  "energy": null,
315
  "efficiency": null
 
318
  "memory": null,
319
  "latency": {
320
  "unit": "s",
321
+ "count": 64,
322
+ "total": 0.45606215763092056,
323
+ "mean": 0.007125971212983131,
324
+ "stdev": 0.0005185841209103034,
325
+ "p50": 0.006906941890716552,
326
+ "p90": 0.007698299503326416,
327
+ "p95": 0.007736947083473206,
328
+ "p99": 0.008853294777870172,
329
  "values": [
330
+ 0.007708299160003662,
331
+ 0.007694378852844238,
332
+ 0.0074003000259399414,
333
+ 0.0072727808952331545,
334
+ 0.007105260848999023,
335
+ 0.007051500797271728,
336
+ 0.007159660816192627,
337
+ 0.007116460800170898,
338
+ 0.007120302200317383,
339
+ 0.010501571655273437,
340
+ 0.006810542106628418,
341
+ 0.006799342155456543,
342
+ 0.006787023067474365,
343
+ 0.006817422866821289,
344
+ 0.006784142017364502,
345
+ 0.006809102058410644,
346
+ 0.007148460865020752,
347
+ 0.0070753412246704105,
348
+ 0.006871821880340576,
349
+ 0.006855981826782227,
350
+ 0.007801098823547363,
351
+ 0.007737739086151123,
352
+ 0.00788525915145874,
353
+ 0.007404460906982422,
354
+ 0.006888621807098388,
355
+ 0.006871662139892578,
356
+ 0.006860782146453857,
357
+ 0.006912940979003906,
358
+ 0.006869901180267334,
359
+ 0.006895341873168945,
360
+ 0.006901902198791504,
361
+ 0.006887182235717774,
362
+ 0.006889902114868164,
363
+ 0.006903501987457275,
364
+ 0.006877101898193359,
365
+ 0.006970382213592529,
366
+ 0.006891982078552246,
367
+ 0.006882862091064453,
368
+ 0.006866382122039795,
369
+ 0.006920621871948242,
370
+ 0.00689182186126709,
371
+ 0.006875502109527588,
372
+ 0.006885101795196533,
373
+ 0.006879181861877442,
374
+ 0.006868462085723877,
375
+ 0.007699979782104492,
376
+ 0.0076346988677978515,
377
+ 0.007193420886993408,
378
+ 0.007348461151123047,
379
+ 0.00773245906829834,
380
+ 0.007258060932159424,
381
+ 0.007261260986328125,
382
+ 0.007245420932769775,
383
+ 0.007242860794067382,
384
+ 0.007061262130737305,
385
+ 0.006858061790466308,
386
+ 0.006855341911315918,
387
+ 0.00685902214050293,
388
+ 0.006920621871948242,
389
+ 0.00691038179397583,
390
+ 0.0068451018333435054,
391
+ 0.006984782218933105,
392
+ 0.00686510181427002,
393
+ 0.006876461982727051
 
 
 
394
  ]
395
  },
396
  "throughput": {
397
  "unit": "tokens/s",
398
+ "value": 140.3317484889715
399
  },
400
  "energy": null,
401
  "efficiency": null