IlyasMoutawwakil HF staff commited on
Commit
bbf6c4f
·
verified ·
1 Parent(s): b32c1e7

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.3.1+rocm5.7",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
@@ -111,24 +111,24 @@
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,92 +138,96 @@
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,92 +235,96 @@
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,84 +333,88 @@
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
 
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",
 
111
  "load": {
112
  "memory": {
113
  "unit": "MB",
114
+ "max_ram": 1390.829568,
115
+ "max_global_vram": 11.235328,
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.22094140625,
124
+ "mean": 8.22094140625,
125
  "stdev": 0.0,
126
+ "p50": 8.22094140625,
127
+ "p90": 8.22094140625,
128
+ "p95": 8.22094140625,
129
+ "p99": 8.22094140625,
130
  "values": [
131
+ 8.22094140625
132
  ]
133
  },
134
  "throughput": null,
 
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
+ "max_ram": 1549.688832,
142
+ "max_global_vram": 11.313152,
143
+ "max_process_vram": 0.0,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
+ "count": 68,
150
+ "total": 0.49553706455230706,
151
+ "mean": 0.007287309772828047,
152
+ "stdev": 0.00048251007369055226,
153
+ "p50": 0.007224531412124634,
154
+ "p90": 0.007837137031555176,
155
+ "p95": 0.007865032362937927,
156
+ "p99": 0.008659140043258663,
157
  "values": [
158
+ 0.0076231689453125,
159
+ 0.007722049236297607,
160
+ 0.007752768993377686,
161
+ 0.007567649841308594,
162
+ 0.007392611026763916,
163
+ 0.007398050785064697,
164
+ 0.007232131958007812,
165
+ 0.0072382111549377445,
166
+ 0.007193091869354248,
167
+ 0.007287810802459717,
168
+ 0.007236771106719971,
169
+ 0.007181571960449219,
170
+ 0.007361249923706055,
171
+ 0.010250839233398437,
172
+ 0.007129571914672852,
173
+ 0.006957732200622559,
174
+ 0.006948451995849609,
175
+ 0.00694877290725708,
176
+ 0.0069665322303771975,
177
+ 0.007337410926818847,
178
+ 0.007640610218048096,
179
+ 0.007216930866241455,
180
+ 0.007793889045715332,
181
+ 0.007871808052062989,
182
+ 0.007875168800354004,
183
+ 0.007852448940277099,
184
+ 0.007872929096221924,
185
+ 0.007842848777770996,
186
+ 0.007852287769317626,
187
+ 0.0073569297790527345,
188
+ 0.007340771198272705,
189
+ 0.007376130104064941,
190
+ 0.007303970813751221,
191
+ 0.007365410804748535,
192
+ 0.0073714909553527835,
193
+ 0.006981892108917236,
194
+ 0.006958052158355713,
195
+ 0.006933093070983887,
196
+ 0.006957411766052246,
197
+ 0.006947971820831299,
198
+ 0.006971171855926514,
199
+ 0.0069386930465698245,
200
+ 0.006941252231597901,
201
+ 0.006946372985839844,
202
+ 0.00696749210357666,
203
+ 0.006954372882843018,
204
+ 0.006930212020874024,
205
+ 0.006954691886901856,
206
+ 0.006963811874389649,
207
+ 0.006961091995239258,
208
+ 0.006953571796417236,
209
+ 0.006949572086334228,
210
+ 0.006928932189941406,
211
+ 0.006966052055358887,
212
+ 0.0069438118934631345,
213
+ 0.006944931983947754,
214
+ 0.006950692176818847,
215
+ 0.006937733173370361,
216
+ 0.006912932872772217,
217
+ 0.006937732219696045,
218
+ 0.006968293190002441,
219
+ 0.007394529819488525,
220
+ 0.007792609214782715,
221
+ 0.007834689140319824,
222
+ 0.007292770862579346,
223
+ 0.0073287711143493655,
224
+ 0.007235490798950196,
225
+ 0.007296289920806885
226
  ]
227
  },
228
  "throughput": {
229
  "unit": "tokens/s",
230
+ "value": 274.44970261279883
231
  },
232
  "energy": null,
233
  "efficiency": null
 
235
  "decode": {
236
  "memory": {
237
  "unit": "MB",
238
+ "max_ram": 1549.688832,
239
+ "max_global_vram": 11.227136,
240
+ "max_process_vram": 0.0,
241
  "max_reserved": 725.614592,
242
  "max_allocated": 513.259008
243
  },
244
  "latency": {
245
  "unit": "s",
246
+ "count": 68,
247
+ "total": 0.5122058053016664,
248
+ "mean": 0.007532438313259798,
249
+ "stdev": 0.0003473079547560935,
250
+ "p50": 0.007487650394439697,
251
+ "p90": 0.008147343635559082,
252
+ "p95": 0.008212639999389648,
253
+ "p99": 0.008298906126022338,
254
  "values": [
255
+ 0.00809596824645996,
256
+ 0.008278367042541503,
257
+ 0.008006208419799805,
258
+ 0.007732288837432861,
259
+ 0.007648128986358643,
260
+ 0.0075842890739440914,
261
+ 0.0075646090507507325,
262
+ 0.00749613094329834,
263
+ 0.007502689838409424,
264
+ 0.007727488994598388,
265
+ 0.007467329978942871,
266
+ 0.007516930103302002,
267
+ 0.007495329856872558,
268
+ 0.00751629114151001,
269
+ 0.007296771049499512,
270
+ 0.007294691085815429,
271
+ 0.007274850845336914,
272
+ 0.007248451232910156,
273
+ 0.007265251159667968,
274
+ 0.007572128772735596,
275
+ 0.007794848918914795,
276
+ 0.0077759690284729,
277
+ 0.008340606689453125,
278
+ 0.008205568313598633,
279
+ 0.008234046936035156,
280
+ 0.008169406890869141,
281
+ 0.008112128257751466,
282
+ 0.008176128387451171,
283
+ 0.007915809154510497,
284
+ 0.007535170078277588,
285
+ 0.007638050079345703,
286
+ 0.007687650203704834,
287
+ 0.007542530059814453,
288
+ 0.007606369972229004,
289
+ 0.00725917100906372,
290
+ 0.007354850769042969,
291
+ 0.007227490901947022,
292
+ 0.00723405122756958,
293
+ 0.007401250839233399,
294
+ 0.007235331058502197,
295
+ 0.007228930950164795,
296
+ 0.0072134108543396,
297
+ 0.007187972068786621,
298
+ 0.007204131126403808,
299
+ 0.007209092140197754,
300
+ 0.007204131126403808,
301
+ 0.007189251899719238,
302
+ 0.007225251197814942,
303
+ 0.00745357084274292,
304
+ 0.0072007708549499515,
305
+ 0.0072018918991088865,
306
+ 0.007234210968017578,
307
+ 0.007234531879425049,
308
+ 0.007212770938873291,
309
+ 0.007209412097930908,
310
+ 0.007274051189422607,
311
+ 0.007171492099761963,
312
+ 0.007165891170501709,
313
+ 0.007184290885925293,
314
+ 0.007243010997772217,
315
+ 0.007211650848388672,
316
+ 0.008216447830200195,
317
+ 0.008050368309020997,
318
+ 0.008137887954711914,
319
+ 0.007529890060424805,
320
+ 0.007504128932952881,
321
+ 0.007479970932006836,
322
+ 0.0075967698097229005
323
  ]
324
  },
325
  "throughput": {
326
  "unit": "tokens/s",
327
+ "value": 132.75913567584624
328
  },
329
  "energy": null,
330
  "efficiency": null
 
333
  "memory": null,
334
  "latency": {
335
  "unit": "s",
336
+ "count": 68,
337
+ "total": 0.4787848172187804,
338
+ "mean": 0.007040953194393831,
339
+ "stdev": 0.0003247866010366141,
340
+ "p50": 0.006992612600326538,
341
+ "p90": 0.007652097845077515,
342
+ "p95": 0.007683826065063477,
343
+ "p99": 0.007762156023979187,
344
  "values": [
345
+ 0.007439011096954345,
346
+ 0.007649409770965576,
347
+ 0.0073734111785888675,
348
+ 0.007169732093811035,
349
+ 0.007111170768737793,
350
+ 0.0070662121772766115,
351
+ 0.0070092520713806155,
352
+ 0.006997413158416748,
353
+ 0.006979971885681152,
354
+ 0.007191330909729004,
355
+ 0.006954691886901856,
356
+ 0.006995011806488037,
357
+ 0.0069927721023559574,
358
+ 0.007020771980285645,
359
+ 0.0067937331199646,
360
+ 0.006825413227081299,
361
+ 0.0068158130645751954,
362
+ 0.006778532981872558,
363
+ 0.006754212856292725,
364
+ 0.007110051155090332,
365
+ 0.007302530765533447,
366
+ 0.007271650791168213,
367
+ 0.007826368808746337,
368
+ 0.00768572998046875,
369
+ 0.007730528831481933,
370
+ 0.007663488864898682,
371
+ 0.007609889984130859,
372
+ 0.007680290222167969,
373
+ 0.00741149091720581,
374
+ 0.007059971809387207,
375
+ 0.00718061113357544,
376
+ 0.0071946921348571774,
377
+ 0.007033411979675293,
378
+ 0.007137890815734863,
379
+ 0.006783332824707031,
380
+ 0.006882692813873291,
381
+ 0.006770853042602539,
382
+ 0.006765253067016601,
383
+ 0.0069271731376647945,
384
+ 0.006764772891998291,
385
+ 0.006754693031311035,
386
+ 0.006749732971191406,
387
+ 0.006719653129577637,
388
+ 0.0067398128509521486,
389
+ 0.006743173122406006,
390
+ 0.0067398128509521486,
391
+ 0.0067121338844299315,
392
+ 0.006766852855682373,
393
+ 0.006992453098297119,
394
+ 0.00672877311706543,
395
+ 0.006732773780822754,
396
+ 0.006767813205718994,
397
+ 0.0067665338516235355,
398
+ 0.006741252899169922,
399
+ 0.006743012905120849,
400
+ 0.006811812877655029,
401
+ 0.006718052864074707,
402
+ 0.006714373111724853,
403
+ 0.006727812767028808,
404
+ 0.00677629280090332,
405
+ 0.0067466931343078615,
406
+ 0.00772668981552124,
407
+ 0.007546689987182617,
408
+ 0.007658370018005371,
409
+ 0.007097731113433838,
410
+ 0.007014852046966552,
411
+ 0.007000452995300293,
412
+ 0.007135972023010254
413
  ]
414
  },
415
  "throughput": {
416
  "unit": "tokens/s",
417
+ "value": 142.02622463052631
418
  },
419
  "energy": null,
420
  "efficiency": null