IlyasMoutawwakil HF staff commited on
Commit
d4a57ae
·
verified ·
1 Parent(s): abc8a18

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",
@@ -11,7 +11,7 @@
11
  "model": "openai-community/gpt2",
12
  "processor": "openai-community/gpt2",
13
  "device": "cuda",
14
- "device_ids": "5",
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": 1043.39456,
115
  "max_global_vram": 68702.69952,
116
- "max_process_vram": 48701.579264,
117
  "max_reserved": 725.614592,
118
  "max_allocated": 666.338304
119
  },
120
  "latency": {
121
  "unit": "s",
122
  "count": 1,
123
- "total": 8.6475537109375,
124
- "mean": 8.6475537109375,
125
  "stdev": 0.0,
126
- "p50": 8.6475537109375,
127
- "p90": 8.6475537109375,
128
- "p95": 8.6475537109375,
129
- "p99": 8.6475537109375,
130
  "values": [
131
- 8.6475537109375
132
  ]
133
  },
134
  "throughput": null,
@@ -138,87 +138,90 @@
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
- "max_ram": 1212.57984,
142
  "max_global_vram": 68702.69952,
143
- "max_process_vram": 296290.410496,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
- "count": 59,
150
- "total": 0.5406907691955566,
151
- "mean": 0.009164250325348417,
152
- "stdev": 0.002934427697459677,
153
- "p50": 0.008443174362182617,
154
- "p90": 0.009311394500732421,
155
- "p95": 0.011448620033264103,
156
- "p99": 0.022072854576110842,
157
  "values": [
158
- 0.009304930686950683,
159
- 0.009337249755859376,
160
- 0.009162851333618164,
161
- 0.021191932678222655,
162
- 0.008600293159484863,
163
- 0.008735973358154297,
164
- 0.008374053001403809,
165
- 0.008179014205932617,
166
- 0.00816829490661621,
167
- 0.00890045166015625,
168
- 0.008418374061584473,
169
- 0.008473413467407227,
170
- 0.00848205280303955,
171
- 0.008557092666625977,
172
- 0.008453733444213867,
173
- 0.008418052673339844,
174
- 0.00844221305847168,
175
- 0.008431492805480957,
176
- 0.008441733360290528,
177
- 0.008453252792358399,
178
- 0.00840589427947998,
179
- 0.008420613288879395,
180
- 0.00818541431427002,
181
- 0.007502376079559326,
182
- 0.00843949317932129,
183
- 0.00842413330078125,
184
- 0.008436774253845215,
185
- 0.008455972671508789,
186
- 0.008416613578796387,
187
- 0.00842141342163086,
188
- 0.023289365768432616,
189
- 0.008054213523864746,
190
- 0.008066214561462403,
191
- 0.008128134727478028,
192
- 0.008080134391784668,
193
- 0.007600296020507813,
194
- 0.007619656085968017,
195
- 0.007461095809936523,
196
- 0.007992774963378906,
197
- 0.008530213356018066,
198
- 0.008562052726745605,
199
- 0.008384293556213378,
200
- 0.00842685317993164,
201
- 0.008459173202514648,
202
- 0.008443174362182617,
203
- 0.00870669174194336,
204
- 0.00849293327331543,
205
- 0.008586372375488281,
206
- 0.008472932815551757,
207
- 0.008481892585754394,
208
- 0.020330656051635743,
209
- 0.00861021327972412,
210
- 0.008433733940124512,
211
- 0.008540613174438477,
212
- 0.008414692878723144,
213
- 0.0092364501953125,
214
- 0.010461727142333984,
215
- 0.010024448394775391,
216
- 0.009164610862731933
 
 
 
217
  ]
218
  },
219
  "throughput": {
220
  "unit": "tokens/s",
221
- "value": 218.23934626359758
222
  },
223
  "energy": null,
224
  "efficiency": null
@@ -226,87 +229,90 @@
226
  "decode": {
227
  "memory": {
228
  "unit": "MB",
229
- "max_ram": 1212.78464,
230
  "max_global_vram": 68702.69952,
231
- "max_process_vram": 308695.359488,
232
  "max_reserved": 725.614592,
233
  "max_allocated": 513.259008
234
  },
235
  "latency": {
236
  "unit": "s",
237
- "count": 59,
238
- "total": 0.4678049111366272,
239
- "mean": 0.007928896798925885,
240
- "stdev": 0.0006819635503160039,
241
- "p50": 0.0077529349327087405,
242
- "p90": 0.008774724197387694,
243
- "p95": 0.00901909093856811,
244
- "p99": 0.010436594219207765,
245
  "values": [
246
- 0.008773732185363769,
247
- 0.008790851593017578,
248
- 0.0084913330078125,
249
- 0.00810205364227295,
250
- 0.008343652725219726,
251
- 0.008383973121643067,
252
- 0.007695176124572754,
253
- 0.007631336212158203,
254
- 0.011158204078674317,
255
- 0.007980934143066406,
256
- 0.007815014839172364,
257
- 0.007775495052337647,
258
- 0.007682695865631104,
259
- 0.007751494884490967,
260
- 0.00771997594833374,
261
- 0.007747334957122803,
262
- 0.007765895843505859,
263
- 0.0077865347862243655,
264
- 0.007738056182861328,
265
- 0.007721574783325196,
266
- 0.007739974975585938,
267
- 0.007721896171569824,
268
- 0.007179656982421875,
269
- 0.007754374980926513,
270
- 0.00778541612625122,
271
- 0.0077553348541259766,
272
- 0.0077529349327087405,
273
- 0.007747175216674805,
274
- 0.007692774772644043,
275
- 0.007736616134643555,
276
- 0.007608295917510987,
277
- 0.0074714961051940915,
278
- 0.007597896099090576,
279
- 0.007445256233215332,
280
- 0.0071052579879760745,
281
- 0.00715373706817627,
282
- 0.006855177879333496,
283
- 0.00686093807220459,
284
- 0.0077854151725769045,
285
- 0.0077938947677612305,
286
- 0.007694695949554443,
287
- 0.007744454860687256,
288
- 0.007736135959625244,
289
- 0.007732775211334229,
290
- 0.007737734794616699,
291
- 0.007815336227416992,
292
- 0.007795815944671631,
293
- 0.007786856174468994,
294
- 0.008945731163024903,
295
- 0.007748136043548584,
296
- 0.00779933500289917,
297
- 0.007742374897003174,
298
- 0.0079900541305542,
299
- 0.007817255020141602,
300
- 0.007762055873870849,
301
- 0.00991404914855957,
302
- 0.009679328918457032,
303
- 0.008778692245483399,
304
- 0.008185253143310547
 
 
 
305
  ]
306
  },
307
  "throughput": {
308
  "unit": "tokens/s",
309
- "value": 126.12095041210127
310
  },
311
  "energy": null,
312
  "efficiency": null
@@ -315,79 +321,82 @@
315
  "memory": null,
316
  "latency": {
317
  "unit": "s",
318
- "count": 59,
319
- "total": 0.4411766796112061,
320
- "mean": 0.0074775708408679,
321
- "stdev": 0.0006274766194138568,
322
- "p50": 0.0073439769744873045,
323
- "p90": 0.008182885932922363,
324
- "p95": 0.008583060741424557,
325
- "p99": 0.009796330413818362,
326
  "values": [
327
- 0.008182374000549317,
328
- 0.00818493366241455,
329
- 0.007928454875946045,
330
- 0.007515655994415283,
331
- 0.007701254844665527,
332
- 0.007773574829101563,
333
- 0.0071033377647399904,
334
- 0.007043336868286133,
335
- 0.010594685554504395,
336
- 0.0075687761306762694,
337
- 0.007343976020812988,
338
- 0.007361257076263427,
339
- 0.0072847771644592284,
340
- 0.007352136135101319,
341
- 0.007299497127532959,
342
- 0.007340776920318604,
343
- 0.007367977142333984,
344
- 0.007384136199951172,
345
- 0.007327177047729492,
346
- 0.0073226971626281735,
347
- 0.0073215761184692385,
348
- 0.007314696788787842,
349
- 0.006823977947235107,
350
- 0.00734365701675415,
351
- 0.007390857219696045,
352
- 0.007345256805419922,
353
- 0.007344615936279297,
354
- 0.007345417022705078,
355
- 0.00729261589050293,
356
- 0.0073367772102355955,
357
- 0.007183337211608886,
358
- 0.007048458099365234,
359
- 0.00713405704498291,
360
- 0.007027017116546631,
361
- 0.006718859195709228,
362
- 0.006796298027038575,
363
- 0.006503979206085205,
364
- 0.00647629976272583,
365
- 0.007364776134490967,
366
- 0.007304296970367431,
367
- 0.007293416976928711,
368
- 0.007330057144165039,
369
- 0.00733325719833374,
370
- 0.007325736999511718,
371
- 0.007330056190490723,
372
- 0.007385256767272949,
373
- 0.007377737045288086,
374
- 0.0073842968940734865,
375
- 0.00853549289703369,
376
- 0.0073329367637634275,
377
- 0.007354056835174561,
378
- 0.007345256805419922,
379
- 0.007576776027679443,
380
- 0.007384137153625488,
381
- 0.0073439769744873045,
382
- 0.009218211174011231,
383
- 0.009011171340942382,
384
- 0.008273094177246094,
385
- 0.007644134998321533
 
 
 
386
  ]
387
  },
388
  "throughput": {
389
  "unit": "tokens/s",
390
- "value": 133.73326997246247
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.2.0.dev20231010+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": "6",
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": 957.566976,
115
  "max_global_vram": 68702.69952,
116
+ "max_process_vram": 45745.504256,
117
  "max_reserved": 725.614592,
118
  "max_allocated": 666.338304
119
  },
120
  "latency": {
121
  "unit": "s",
122
  "count": 1,
123
+ "total": 7.9270029296875,
124
+ "mean": 7.9270029296875,
125
  "stdev": 0.0,
126
+ "p50": 7.9270029296875,
127
+ "p90": 7.9270029296875,
128
+ "p95": 7.9270029296875,
129
+ "p99": 7.9270029296875,
130
  "values": [
131
+ 7.9270029296875
132
  ]
133
  },
134
  "throughput": null,
 
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
+ "max_ram": 1132.060672,
142
  "max_global_vram": 68702.69952,
143
+ "max_process_vram": 284108.468224,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
+ "count": 62,
150
+ "total": 0.5171664481163024,
151
+ "mean": 0.008341394324456493,
152
+ "stdev": 0.0005046599076878145,
153
+ "p50": 0.008525774002075194,
154
+ "p90": 0.009025614738464355,
155
+ "p95": 0.009133055019378663,
156
+ "p99": 0.009450681419372558,
157
  "values": [
158
+ 0.009469615936279296,
159
+ 0.009438575744628907,
160
+ 0.009347374916076661,
161
+ 0.009135375022888184,
162
+ 0.009036014556884766,
163
+ 0.009088974952697754,
164
+ 0.008993934631347657,
165
+ 0.009029134750366211,
166
+ 0.008708654403686523,
167
+ 0.00874033546447754,
168
+ 0.008885934829711914,
169
+ 0.008561293601989746,
170
+ 0.008553454399108887,
171
+ 0.008693453788757324,
172
+ 0.008545133590698242,
173
+ 0.008561134338378906,
174
+ 0.008529933929443359,
175
+ 0.00852161407470703,
176
+ 0.008549134254455566,
177
+ 0.008534093856811524,
178
+ 0.008515052795410157,
179
+ 0.008504014015197753,
180
+ 0.008531853675842286,
181
+ 0.00847473430633545,
182
+ 0.008567214012145996,
183
+ 0.007748173236846924,
184
+ 0.007891693115234376,
185
+ 0.0076662530899047855,
186
+ 0.007761773109436035,
187
+ 0.007776971817016602,
188
+ 0.0075934529304504395,
189
+ 0.007875213146209717,
190
+ 0.007539691925048828,
191
+ 0.007784653186798096,
192
+ 0.008069293022155762,
193
+ 0.008115853309631348,
194
+ 0.008634573936462402,
195
+ 0.0082059326171875,
196
+ 0.007567051887512207,
197
+ 0.007874573230743408,
198
+ 0.007732492923736572,
199
+ 0.007713452816009521,
200
+ 0.007867853164672851,
201
+ 0.007545292854309082,
202
+ 0.0077704119682312014,
203
+ 0.007977773189544677,
204
+ 0.007705613136291504,
205
+ 0.008553293228149414,
206
+ 0.008519054412841797,
207
+ 0.008574414253234863,
208
+ 0.008586254119873047,
209
+ 0.008586573600769042,
210
+ 0.00856369400024414,
211
+ 0.00856865406036377,
212
+ 0.008550733566284179,
213
+ 0.008551214218139648,
214
+ 0.008530734062194824,
215
+ 0.008370094299316407,
216
+ 0.007908652782440186,
217
+ 0.007694732189178466,
218
+ 0.007895372867584228,
219
+ 0.007778892993927002
220
  ]
221
  },
222
  "throughput": {
223
  "unit": "tokens/s",
224
+ "value": 239.76806780805384
225
  },
226
  "energy": null,
227
  "efficiency": null
 
229
  "decode": {
230
  "memory": {
231
  "unit": "MB",
232
+ "max_ram": 1132.105728,
233
  "max_global_vram": 68702.69952,
234
+ "max_process_vram": 294351.273984,
235
  "max_reserved": 725.614592,
236
  "max_allocated": 513.259008
237
  },
238
  "latency": {
239
  "unit": "s",
240
+ "count": 62,
241
+ "total": 0.4941591973304748,
242
+ "mean": 0.007970309634362497,
243
+ "stdev": 0.0020645139167727936,
244
+ "p50": 0.00785001254081726,
245
+ "p90": 0.008480909824371339,
246
+ "p95": 0.008833542156219482,
247
+ "p99": 0.01591673385620118,
248
  "values": [
249
+ 0.008977133750915528,
250
+ 0.008849614143371582,
251
+ 0.00852817440032959,
252
+ 0.008496013641357422,
253
+ 0.008425613403320313,
254
+ 0.008487053871154785,
255
+ 0.023211076736450197,
256
+ 0.008300973892211913,
257
+ 0.008344013214111328,
258
+ 0.011253137588500977,
259
+ 0.00793697214126587,
260
+ 0.007852333068847656,
261
+ 0.007884172916412354,
262
+ 0.007894093036651612,
263
+ 0.007909772872924804,
264
+ 0.007887853145599364,
265
+ 0.007857932090759277,
266
+ 0.007849133014678955,
267
+ 0.007896492958068848,
268
+ 0.007887372970581055,
269
+ 0.007857933044433593,
270
+ 0.007869132995605469,
271
+ 0.007984492778778076,
272
+ 0.007844811916351318,
273
+ 0.007726892948150634,
274
+ 0.007152650833129883,
275
+ 0.006946890830993652,
276
+ 0.00696721076965332,
277
+ 0.007135692119598388,
278
+ 0.0073740921020507815,
279
+ 0.007090731143951416,
280
+ 0.007184971809387207,
281
+ 0.007341772079467773,
282
+ 0.006967851161956787,
283
+ 0.007197931766510009,
284
+ 0.007985612869262696,
285
+ 0.00781825304031372,
286
+ 0.007168652057647705,
287
+ 0.0073153719902038575,
288
+ 0.006956010818481445,
289
+ 0.007337451934814453,
290
+ 0.006992331027984619,
291
+ 0.007158891201019287,
292
+ 0.007386092185974121,
293
+ 0.007001612186431885,
294
+ 0.007161130905151367,
295
+ 0.007057610988616943,
296
+ 0.007862573146820068,
297
+ 0.00801041316986084,
298
+ 0.007870092868804931,
299
+ 0.007849613189697265,
300
+ 0.007908812999725342,
301
+ 0.007841931819915772,
302
+ 0.007874252796173096,
303
+ 0.007855213165283204,
304
+ 0.007862253189086914,
305
+ 0.007850411891937257,
306
+ 0.007506412029266357,
307
+ 0.007247211933135986,
308
+ 0.006925931930541992,
309
+ 0.006936009883880615,
310
+ 0.0070470509529113766
311
  ]
312
  },
313
  "throughput": {
314
  "unit": "tokens/s",
315
+ "value": 125.46564009115623
316
  },
317
  "energy": null,
318
  "efficiency": null
 
321
  "memory": null,
322
  "latency": {
323
  "unit": "s",
324
+ "count": 62,
325
+ "total": 0.46783195734024047,
326
+ "mean": 0.007545676731294201,
327
+ "stdev": 0.0020184016051937007,
328
+ "p50": 0.007447132349014282,
329
+ "p90": 0.007907117080688477,
330
+ "p95": 0.008168116664886474,
331
+ "p99": 0.015317643909454351,
332
  "values": [
333
+ 0.008309773445129395,
334
+ 0.00817857265472412,
335
+ 0.00796945285797119,
336
+ 0.007941772937774658,
337
+ 0.007871692180633544,
338
+ 0.00791105318069458,
339
+ 0.022540836334228515,
340
+ 0.0077640128135681155,
341
+ 0.00782545280456543,
342
+ 0.01069953727722168,
343
+ 0.007495532035827637,
344
+ 0.007446252822875977,
345
+ 0.007463372230529785,
346
+ 0.007476972103118896,
347
+ 0.007485772132873535,
348
+ 0.007470571994781494,
349
+ 0.00744353199005127,
350
+ 0.007448011875152588,
351
+ 0.007483851909637451,
352
+ 0.007472492218017578,
353
+ 0.0074582529067993165,
354
+ 0.007456171989440918,
355
+ 0.007572651863098145,
356
+ 0.007425131797790527,
357
+ 0.0073104119300842286,
358
+ 0.00679745101928711,
359
+ 0.006575531005859375,
360
+ 0.006609930992126465,
361
+ 0.006712971210479736,
362
+ 0.007015851974487305,
363
+ 0.006723371028900147,
364
+ 0.006784971237182617,
365
+ 0.006981610774993896,
366
+ 0.006592010021209717,
367
+ 0.006812010765075684,
368
+ 0.007576012134552002,
369
+ 0.007463531970977783,
370
+ 0.00681217098236084,
371
+ 0.0069080119132995605,
372
+ 0.006599050998687744,
373
+ 0.00698305082321167,
374
+ 0.006633769989013672,
375
+ 0.0068004908561706545,
376
+ 0.00701793098449707,
377
+ 0.0065889711380004885,
378
+ 0.006802250862121582,
379
+ 0.006621291160583496,
380
+ 0.007458093166351318,
381
+ 0.007610572814941406,
382
+ 0.007463692188262939,
383
+ 0.0074553718566894535,
384
+ 0.007486732006072998,
385
+ 0.007439531803131103,
386
+ 0.007470571994781494,
387
+ 0.007453611850738525,
388
+ 0.007464332103729248,
389
+ 0.0074456119537353515,
390
+ 0.007085291862487793,
391
+ 0.006834250926971435,
392
+ 0.006567370891571045,
393
+ 0.006578889846801758,
394
+ 0.00668464994430542
395
  ]
396
  },
397
  "throughput": {
398
  "unit": "tokens/s",
399
+ "value": 132.52621807301895
400
  },
401
  "energy": null,
402
  "efficiency": null