IlyasMoutawwakil HF staff commited on
Commit
eec873e
·
verified ·
1 Parent(s): 5bd605e

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",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "model": "openai-community/gpt2",
@@ -78,7 +78,7 @@
78
  "machine": "x86_64",
79
  "platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
80
  "processor": "x86_64",
81
- "python_version": "3.10.14",
82
  "gpu": [
83
  "NVIDIA A10G"
84
  ],
@@ -104,7 +104,7 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1058.123776,
108
  "max_global_vram": 1365.77024,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
@@ -112,95 +112,91 @@
112
  },
113
  "latency": {
114
  "unit": "s",
115
- "count": 58,
116
- "total": 0.4957021436691284,
117
- "mean": 0.008546588683950489,
118
- "stdev": 0.000287137221825618,
119
- "p50": 0.008596111774444581,
120
- "p90": 0.008880102252960206,
121
- "p95": 0.008912732553482055,
122
- "p99": 0.009281315336227417,
123
  "values": [
124
- 0.009319071769714355,
125
- 0.008819616317749024,
126
- 0.008879679679870606,
127
- 0.008713055610656738,
128
- 0.008638400077819824,
129
- 0.008571488380432129,
130
- 0.008606368064880372,
131
- 0.00880297565460205,
132
- 0.00872447967529297,
133
- 0.00879036808013916,
134
- 0.008722432136535644,
135
- 0.008612735748291016,
136
- 0.008638431549072265,
137
- 0.008533472061157227,
138
- 0.008909055709838867,
139
- 0.008881088256835937,
140
- 0.008840415954589844,
141
- 0.008757151603698731,
142
- 0.008623200416564942,
143
- 0.008820608139038085,
144
- 0.008888992309570312,
145
- 0.008618335723876953,
146
- 0.00874950408935547,
147
- 0.008594847679138184,
148
- 0.008597375869750977,
149
- 0.008599136352539062,
150
- 0.009252832412719727,
151
- 0.008933568000793457,
152
- 0.00886899185180664,
153
- 0.008680383682250976,
154
- 0.008737631797790527,
155
- 0.008616543769836426,
156
- 0.008280192375183106,
157
- 0.00848681640625,
158
- 0.00855731201171875,
159
- 0.008427935600280762,
160
- 0.00831935977935791,
161
- 0.008583552360534668,
162
- 0.008425503730773927,
163
- 0.008432000160217286,
164
- 0.008176159858703614,
165
- 0.00816038417816162,
166
- 0.008172896385192871,
167
- 0.008202336311340331,
168
- 0.008449567794799804,
169
- 0.008364352226257324,
170
- 0.008139936447143555,
171
- 0.008162176132202149,
172
- 0.008199872016906739,
173
- 0.008278271675109864,
174
- 0.008160256385803222,
175
- 0.008151359558105468,
176
- 0.008135616302490234,
177
- 0.008196319580078125,
178
- 0.008190912246704101,
179
- 0.008408543586730956,
180
- 0.008138272285461426,
181
- 0.008159999847412109
182
  ]
183
  },
184
  "throughput": {
185
  "unit": "tokens/s",
186
- "value": 234.0114955755119
187
  },
188
  "energy": {
189
  "unit": "kWh",
190
- "cpu": 1.0099154379632739e-07,
191
- "ram": 5.521635364980823e-08,
192
- "gpu": 1.762807436610531e-07,
193
- "total": 3.324886411071887e-07
194
  },
195
  "efficiency": {
196
  "unit": "tokens/kWh",
197
- "value": 6015243.087222441
198
  }
199
  },
200
  "decode": {
201
  "memory": {
202
  "unit": "MB",
203
- "max_ram": 1058.123776,
204
  "max_global_vram": 1365.77024,
205
  "max_process_vram": 0.0,
206
  "max_reserved": 725.614592,
@@ -208,166 +204,158 @@
208
  },
209
  "latency": {
210
  "unit": "s",
211
- "count": 58,
212
- "total": 0.5149062719345093,
213
- "mean": 0.008877694343698435,
214
- "stdev": 0.00030454188383811985,
215
- "p50": 0.008946063995361329,
216
- "p90": 0.009254518604278564,
217
- "p95": 0.009315148448944092,
218
- "p99": 0.00944474871635437,
219
  "values": [
220
- 0.009094304084777832,
221
- 0.009119199752807618,
222
- 0.00912185573577881,
223
- 0.009247232437133789,
224
- 0.00899942398071289,
225
- 0.008929984092712402,
226
- 0.00904035186767578,
227
- 0.009104191780090332,
228
- 0.008981216430664062,
229
- 0.009295807838439942,
230
- 0.009078304290771484,
231
- 0.009124320030212402,
232
- 0.0090830078125,
233
- 0.008959712028503418,
234
- 0.00934876823425293,
235
- 0.009228960037231445,
236
- 0.009198080062866211,
237
- 0.009082112312316894,
238
- 0.009092639923095704,
239
- 0.009211487770080566,
240
- 0.009109312057495118,
241
- 0.008954591751098633,
242
- 0.008913727760314941,
243
- 0.00900879955291748,
244
- 0.00900879955291748,
245
- 0.009423104286193848,
246
- 0.009271519660949707,
247
- 0.009125056266784668,
248
- 0.009015872001647949,
249
- 0.008937536239624023,
250
- 0.008859840393066407,
251
- 0.008762080192565918,
252
- 0.008668864250183105,
253
- 0.00878377628326416,
254
- 0.009309215545654297,
255
- 0.00855843162536621,
256
- 0.008662176132202149,
257
- 0.008710687637329101,
258
- 0.008701184272766112,
259
- 0.008831040382385254,
260
- 0.008566047668457031,
261
- 0.008441856384277344,
262
- 0.008515999794006348,
263
- 0.009473440170288085,
264
- 0.008684512138366698,
265
- 0.008449536323547363,
266
- 0.00843939208984375,
267
- 0.00844809627532959,
268
- 0.008473535537719727,
269
- 0.008671039581298829,
270
- 0.00842473602294922,
271
- 0.008481568336486816,
272
- 0.008430527687072755,
273
- 0.008542943954467773,
274
- 0.00857260799407959,
275
- 0.008452032089233398,
276
- 0.008440735816955567,
277
- 0.00844108772277832
278
  ]
279
  },
280
  "throughput": {
281
  "unit": "tokens/s",
282
- "value": 112.64185961863173
283
  },
284
  "energy": {
285
  "unit": "kWh",
286
- "cpu": 9.454757870872165e-08,
287
- "ram": 5.1691457932129477e-08,
288
- "gpu": 1.6773137125687736e-07,
289
- "total": 3.139704078977285e-07
290
  },
291
  "efficiency": {
292
  "unit": "tokens/kWh",
293
- "value": 3185013.539001217
294
  }
295
  },
296
  "per_token": {
297
  "memory": null,
298
  "latency": {
299
  "unit": "s",
300
- "count": 57,
301
- "total": 0.9940080699920656,
302
- "mean": 0.017438738070036236,
303
- "stdev": 0.0005475800710235602,
304
- "p50": 0.017617919921875,
305
- "p90": 0.018079539108276366,
306
- "p95": 0.018116607666015624,
307
- "p99": 0.018420817947387695,
308
  "values": [
309
- 0.017977344512939454,
310
- 0.01803264045715332,
311
- 0.01799580764770508,
312
- 0.01767318344116211,
313
- 0.017526784896850587,
314
- 0.017666048049926757,
315
- 0.017954816818237306,
316
- 0.017732608795166017,
317
- 0.018108415603637695,
318
- 0.017838079452514647,
319
- 0.017754112243652344,
320
- 0.017779712677001954,
321
- 0.017510400772094727,
322
- 0.018282495498657226,
323
- 0.018149375915527344,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
  0.018068479537963866,
325
- 0.017884159088134767,
326
- 0.017679359436035155,
327
- 0.018096128463745118,
328
- 0.01804083251953125,
329
- 0.01763020706176758,
330
- 0.017711103439331053,
331
- 0.017617919921875,
332
- 0.01762713623046875,
333
- 0.01801420783996582,
334
- 0.01859686470031738,
335
- 0.018104320526123048,
336
- 0.017937408447265626,
337
- 0.017648639678955077,
338
- 0.017613824844360353,
339
- 0.017480703353881837,
340
- 0.01696051216125488,
341
- 0.017297407150268555,
342
- 0.017846271514892577,
343
- 0.017118207931518553,
344
- 0.01697689628601074,
345
- 0.017367071151733398,
346
- 0.017157119750976564,
347
- 0.01728713607788086,
348
- 0.016730112075805666,
349
- 0.016677888870239257,
350
- 0.016709632873535156,
351
- 0.017672191619873046,
352
- 0.017184768676757813,
353
- 0.016827392578125,
354
- 0.01662668800354004,
355
- 0.01663692855834961,
356
- 0.016691200256347655,
357
- 0.016954368591308593,
358
- 0.01663795280456543,
359
- 0.0166297607421875,
360
- 0.01661440086364746,
361
- 0.01677110481262207,
362
- 0.016776159286499025,
363
- 0.016900096893310547,
364
- 0.01658367919921875,
365
- 0.016639999389648438
366
  ]
367
  },
368
  "throughput": {
369
  "unit": "tokens/s",
370
- "value": 57.34359883059601
371
  },
372
  "energy": null,
373
  "efficiency": null
 
3
  "name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
4
  "backend": {
5
  "name": "pytorch",
6
+ "version": "2.3.0+cu121",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "model": "openai-community/gpt2",
 
78
  "machine": "x86_64",
79
  "platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
80
  "processor": "x86_64",
81
+ "python_version": "3.10.12",
82
  "gpu": [
83
  "NVIDIA A10G"
84
  ],
 
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
+ "max_ram": 1079.390208,
108
  "max_global_vram": 1365.77024,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
 
112
  },
113
  "latency": {
114
  "unit": "s",
115
+ "count": 54,
116
+ "total": 0.49286595249176035,
117
+ "mean": 0.00912714726836593,
118
+ "stdev": 0.0006015273528726767,
119
+ "p50": 0.009033023834228516,
120
+ "p90": 0.009301107597351074,
121
+ "p95": 0.00944636788368225,
122
+ "p99": 0.01142035133361816,
123
  "values": [
124
+ 0.013201727867126464,
125
+ 0.009840640068054199,
126
+ 0.009297792434692382,
127
+ 0.009168255805969238,
128
+ 0.009199392318725587,
129
+ 0.008966815948486329,
130
+ 0.009047904014587403,
131
+ 0.009312640190124512,
132
+ 0.008997568130493164,
133
+ 0.00923193645477295,
134
+ 0.00958364772796631,
135
+ 0.00907852840423584,
136
+ 0.009145919799804687,
137
+ 0.008987648010253906,
138
+ 0.009217727661132812,
139
+ 0.00903763198852539,
140
+ 0.009252448081970215,
141
+ 0.009272288322448731,
142
+ 0.008991616249084473,
143
+ 0.009245984077453613,
144
+ 0.00902841567993164,
145
+ 0.009101823806762695,
146
+ 0.00923078441619873,
147
+ 0.008957535743713378,
148
+ 0.008965184211730957,
149
+ 0.009214143753051757,
150
+ 0.0092193603515625,
151
+ 0.009231743812561035,
152
+ 0.00909011173248291,
153
+ 0.009117759704589844,
154
+ 0.008813247680664063,
155
+ 0.008951968193054199,
156
+ 0.00862495994567871,
157
+ 0.009302528381347656,
158
+ 0.009372447967529297,
159
+ 0.009139552116394042,
160
+ 0.009045120239257812,
161
+ 0.008985055923461913,
162
+ 0.008911520004272462,
163
+ 0.008908576011657714,
164
+ 0.008861056327819824,
165
+ 0.008837632179260254,
166
+ 0.008905823707580567,
167
+ 0.008808927536010742,
168
+ 0.008792192459106445,
169
+ 0.008814111709594726,
170
+ 0.008844287872314453,
171
+ 0.00883033561706543,
172
+ 0.008850943565368653,
173
+ 0.008819199562072754,
174
+ 0.00873788833618164,
175
+ 0.008788543701171875,
176
+ 0.008862784385681152,
177
+ 0.008822272300720215
 
 
 
 
178
  ]
179
  },
180
  "throughput": {
181
  "unit": "tokens/s",
182
+ "value": 219.12651797915692
183
  },
184
  "energy": {
185
  "unit": "kWh",
186
+ "cpu": 1.0515080733754058e-07,
187
+ "ram": 5.749073353133976e-08,
188
+ "gpu": 1.8079660481415965e-07,
189
+ "total": 3.4343814568304e-07
190
  },
191
  "efficiency": {
192
  "unit": "tokens/kWh",
193
+ "value": 5823464.938707785
194
  }
195
  },
196
  "decode": {
197
  "memory": {
198
  "unit": "MB",
199
+ "max_ram": 1079.390208,
200
  "max_global_vram": 1365.77024,
201
  "max_process_vram": 0.0,
202
  "max_reserved": 725.614592,
 
204
  },
205
  "latency": {
206
  "unit": "s",
207
+ "count": 54,
208
+ "total": 0.5101862115859984,
209
+ "mean": 0.00944789280714812,
210
+ "stdev": 0.0005220306238033638,
211
+ "p50": 0.009341728210449218,
212
+ "p90": 0.009729126644134521,
213
+ "p95": 0.010042864084243772,
214
+ "p99": 0.011501900682449339,
215
  "values": [
216
+ 0.01265891170501709,
217
+ 0.01032595157623291,
218
+ 0.009644991874694824,
219
+ 0.009429727554321289,
220
+ 0.009316479682922364,
221
+ 0.009385472297668456,
222
+ 0.009485919952392579,
223
+ 0.009380000114440918,
224
+ 0.009471232414245606,
225
+ 0.010475872039794921,
226
+ 0.009840096473693848,
227
+ 0.009505696296691894,
228
+ 0.009506784439086913,
229
+ 0.009345600128173828,
230
+ 0.009327808380126952,
231
+ 0.009493663787841796,
232
+ 0.009540384292602538,
233
+ 0.00945628833770752,
234
+ 0.009613280296325683,
235
+ 0.009408384323120118,
236
+ 0.009337856292724609,
237
+ 0.00944262409210205,
238
+ 0.009280447959899902,
239
+ 0.009326208114624023,
240
+ 0.009562656402587891,
241
+ 0.009474399566650391,
242
+ 0.009583744049072265,
243
+ 0.009424480438232422,
244
+ 0.009467328071594238,
245
+ 0.009265439987182617,
246
+ 0.009378047943115234,
247
+ 0.008957759857177734,
248
+ 0.009286335945129395,
249
+ 0.00976518440246582,
250
+ 0.009890432357788087,
251
+ 0.009199328422546386,
252
+ 0.009249024391174317,
253
+ 0.009217535972595215,
254
+ 0.00928435230255127,
255
+ 0.00912179183959961,
256
+ 0.009238271713256837,
257
+ 0.009181887626647948,
258
+ 0.009087295532226562,
259
+ 0.009103039741516113,
260
+ 0.00907968044281006,
261
+ 0.009146207809448243,
262
+ 0.009113727569580078,
263
+ 0.009167327880859374,
264
+ 0.009116928100585937,
265
+ 0.00913379192352295,
266
+ 0.00927667236328125,
267
+ 0.009132096290588379,
268
+ 0.009107135772705078,
269
+ 0.009174624443054199
 
 
 
 
270
  ]
271
  },
272
  "throughput": {
273
  "unit": "tokens/s",
274
+ "value": 105.84370720669232
275
  },
276
  "energy": {
277
  "unit": "kWh",
278
+ "cpu": 1.0526471666277234e-07,
279
+ "ram": 5.712961880030109e-08,
280
+ "gpu": 1.7325338602794467e-07,
281
+ "total": 3.3564772149101813e-07
282
  },
283
  "efficiency": {
284
  "unit": "tokens/kWh",
285
+ "value": 2979314.1319648726
286
  }
287
  },
288
  "per_token": {
289
  "memory": null,
290
  "latency": {
291
  "unit": "s",
292
+ "count": 53,
293
+ "total": 0.9790126323699954,
294
+ "mean": 0.01847193645981123,
295
+ "stdev": 0.00047458169299913655,
296
+ "p50": 0.018456575393676757,
297
+ "p90": 0.018977996063232423,
298
+ "p95": 0.019396160507202147,
299
+ "p99": 0.01995485153198242,
300
  "values": [
301
+ 0.02021683120727539,
302
+ 0.01900339126586914,
303
+ 0.01864089584350586,
304
+ 0.018566272735595704,
305
+ 0.018380672454833984,
306
+ 0.018551807403564453,
307
+ 0.018745344161987306,
308
+ 0.01843404769897461,
309
+ 0.019713024139404296,
310
+ 0.019530752182006835,
311
+ 0.018619392395019533,
312
+ 0.018704383850097657,
313
+ 0.018363391876220703,
314
+ 0.018573312759399413,
315
+ 0.018496511459350586,
316
+ 0.018876415252685547,
317
+ 0.018786304473876952,
318
+ 0.0186060791015625,
319
+ 0.018694143295288086,
320
+ 0.01841766357421875,
321
+ 0.018524160385131837,
322
+ 0.01860915184020996,
323
+ 0.018304000854492186,
324
+ 0.018559999465942383,
325
+ 0.018709503173828124,
326
+ 0.018830368041992188,
327
+ 0.018699392318725586,
328
+ 0.018561887741088866,
329
+ 0.018472959518432617,
330
+ 0.01821286392211914,
331
+ 0.018045087814331055,
332
+ 0.0178768310546875,
333
+ 0.019051584243774414,
334
+ 0.019306432723999022,
335
+ 0.018456575393676757,
336
+ 0.01834297561645508,
337
+ 0.018193344116210937,
338
+ 0.01826304054260254,
339
  0.018068479537963866,
340
+ 0.018118656158447266,
341
+ 0.018051071166992186,
342
+ 0.018018304824829103,
343
+ 0.017932287216186525,
344
+ 0.017913856506347657,
345
+ 0.017979391098022462,
346
+ 0.01798860740661621,
347
+ 0.018019327163696287,
348
+ 0.017993728637695314,
349
+ 0.01797324752807617,
350
+ 0.01803878402709961,
351
+ 0.017949695587158202,
352
+ 0.018013248443603514,
353
+ 0.01801315116882324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
354
  ]
355
  },
356
  "throughput": {
357
  "unit": "tokens/s",
358
+ "value": 54.136175824103034
359
  },
360
  "energy": null,
361
  "efficiency": null