IlyasMoutawwakil HF staff commited on
Commit
3a15552
·
verified ·
1 Parent(s): 048c829

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
@@ -6,19 +6,17 @@
6
  "version": "2.2.2",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
- "model": "openai-community/gpt2",
10
  "library": "transformers",
 
 
11
  "device": "cuda",
12
  "device_ids": "0",
13
  "seed": 42,
14
  "inter_op_num_threads": null,
15
  "intra_op_num_threads": null,
16
- "hub_kwargs": {
17
- "revision": "main",
18
- "force_download": false,
19
- "local_files_only": false,
20
- "trust_remote_code": false
21
- },
22
  "no_weights": true,
23
  "device_map": null,
24
  "torch_dtype": null,
@@ -104,7 +102,7 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1056.256,
108
  "max_global_vram": 1365.77024,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
@@ -112,93 +110,95 @@
112
  },
113
  "latency": {
114
  "unit": "s",
115
- "count": 56,
116
- "total": 0.4905064668655395,
117
- "mean": 0.00875904405117035,
118
- "stdev": 0.0006498056077037847,
119
- "p50": 0.008667392253875732,
120
- "p90": 0.009025647640228271,
121
- "p95": 0.009791008234024049,
122
- "p99": 0.011332766389846809,
123
  "values": [
124
- 0.012414303779602051,
125
- 0.009398271560668945,
126
- 0.009042207717895507,
127
- 0.008915583610534667,
128
- 0.008702719688415527,
129
- 0.008596672058105468,
130
- 0.008683456420898437,
131
- 0.00885148811340332,
132
- 0.00873363208770752,
133
- 0.008635552406311035,
134
- 0.008763263702392578,
135
- 0.008834815979003907,
136
- 0.008715392112731934,
137
- 0.008706336021423339,
138
- 0.008650208473205566,
139
- 0.00865283203125,
140
- 0.008673215866088867,
141
- 0.008845024108886719,
142
- 0.008875967979431153,
143
- 0.008653471946716309,
144
- 0.008764575958251954,
145
- 0.008607616424560547,
146
- 0.008851008415222168,
147
- 0.009009087562561035,
148
- 0.008662816047668456,
149
- 0.008684320449829102,
150
- 0.008671968460083009,
151
- 0.008895711898803711,
152
- 0.008887743949890137,
153
- 0.009651552200317383,
154
- 0.008937984466552735,
155
- 0.0088090238571167,
156
- 0.008833472251892089,
157
- 0.008460160255432128,
158
- 0.010447872161865235,
159
- 0.010209376335144044,
160
- 0.008460415840148925,
161
- 0.008332736015319824,
162
- 0.008272000312805176,
163
- 0.008198975563049316,
164
- 0.00827939224243164,
165
- 0.008385184288024903,
166
- 0.008310336112976074,
167
- 0.00839900779724121,
168
- 0.008403103828430175,
169
- 0.008360544204711913,
170
- 0.008378560066223145,
171
- 0.008244383811950683,
172
- 0.008345888137817383,
173
- 0.008397695541381835,
174
- 0.008390368461608887,
175
- 0.008356639862060547,
176
- 0.00831100845336914,
177
- 0.008335840225219727,
178
- 0.00833737564086914,
179
- 0.008278304100036622
 
 
180
  ]
181
  },
182
  "throughput": {
183
  "unit": "tokens/s",
184
- "value": 228.33541974626417
185
  },
186
  "energy": {
187
  "unit": "kWh",
188
- "cpu": 1.022633108028507e-07,
189
- "ram": 5.590844393736915e-08,
190
- "gpu": 1.8248817281003812e-07,
191
- "total": 3.4065992755025794e-07
192
  },
193
  "efficiency": {
194
  "unit": "tokens/kWh",
195
- "value": 5870957.627397891
196
  }
197
  },
198
  "decode": {
199
  "memory": {
200
  "unit": "MB",
201
- "max_ram": 1056.256,
202
  "max_global_vram": 1365.77024,
203
  "max_process_vram": 0.0,
204
  "max_reserved": 725.614592,
@@ -206,162 +206,166 @@
206
  },
207
  "latency": {
208
  "unit": "s",
209
- "count": 56,
210
- "total": 0.5088112640380859,
211
- "mean": 0.009085915429251535,
212
- "stdev": 0.0005851218924527333,
213
- "p50": 0.009076448440551759,
214
- "p90": 0.009467487812042236,
215
- "p95": 0.010211672067642213,
216
- "p99": 0.011301918077468873,
217
  "values": [
218
- 0.011725567817687988,
219
- 0.009559647560119629,
220
- 0.00934995174407959,
221
- 0.009023712158203126,
222
- 0.009114784240722656,
223
- 0.008970720291137695,
224
- 0.009081151962280274,
225
- 0.009142144203186035,
226
- 0.009055520057678223,
227
- 0.009125280380249023,
228
- 0.009098591804504395,
229
- 0.009165599822998046,
230
- 0.009139360427856446,
231
- 0.008937151908874511,
232
- 0.009041728019714356,
233
- 0.00908892822265625,
234
- 0.009102399826049806,
235
- 0.00925068759918213,
236
- 0.009014816284179687,
237
- 0.009227775573730468,
238
- 0.009102144241333009,
239
- 0.009312064170837402,
240
- 0.00902451229095459,
241
- 0.009077343940734863,
242
- 0.009077312469482422,
243
- 0.009138591766357422,
244
- 0.009075584411621094,
245
- 0.009282815933227538,
246
- 0.009259903907775879,
247
- 0.010623680114746094,
248
- 0.009375328063964844,
249
- 0.009085184097290038,
250
- 0.009137408256530762,
251
- 0.00962883186340332,
252
- 0.01095529556274414,
253
- 0.010074336051940918,
254
- 0.008596447944641114,
255
- 0.008589856147766113,
256
- 0.008501631736755371,
257
- 0.008610527992248535,
258
- 0.00870035171508789,
259
- 0.008619104385375977,
260
- 0.008651647567749023,
261
- 0.00867142391204834,
262
- 0.008664128303527831,
263
- 0.008540127754211426,
264
- 0.008615296363830566,
265
- 0.008599103927612305,
266
- 0.008623680114746094,
267
- 0.008642047882080077,
268
- 0.008611040115356445,
269
- 0.008668895721435546,
270
- 0.008635775566101074,
271
- 0.00876806354522705,
272
- 0.008583104133605957,
273
- 0.008473152160644532
 
 
274
  ]
275
  },
276
  "throughput": {
277
  "unit": "tokens/s",
278
- "value": 110.06045651498832
279
  },
280
  "energy": {
281
  "unit": "kWh",
282
- "cpu": 9.719844788579345e-08,
283
- "ram": 5.315081752087282e-08,
284
- "gpu": 1.7097970255727377e-07,
285
- "total": 3.213289679639399e-07
286
  },
287
  "efficiency": {
288
  "unit": "tokens/kWh",
289
- "value": 3112075.4731089845
290
  }
291
  },
292
  "per_token": {
293
  "memory": null,
294
  "latency": {
295
  "unit": "s",
296
- "count": 55,
297
- "total": 0.9769625549316405,
298
- "mean": 0.017762955544211645,
299
- "stdev": 0.0008756054954022426,
300
- "p50": 0.017787904739379884,
301
- "p90": 0.018300927734375,
302
- "p95": 0.01939292182922363,
303
- "p99": 0.02083975166320801,
304
  "values": [
305
- 0.019006464004516603,
306
- 0.018428928375244142,
307
- 0.01799577522277832,
308
- 0.01783500862121582,
309
- 0.017622016906738282,
310
- 0.017768447875976562,
311
- 0.01804902458190918,
312
- 0.01781657600402832,
313
- 0.01778483200073242,
314
- 0.017893375396728514,
315
- 0.018041856765747072,
316
- 0.017886207580566405,
317
- 0.017674240112304687,
318
- 0.017738752365112305,
319
- 0.01774284744262695,
320
- 0.017794111251831054,
321
- 0.01810527992248535,
322
- 0.01799782371520996,
 
 
 
 
 
 
 
 
323
  0.01784320068359375,
324
- 0.01795689582824707,
325
- 0.017713119506835937,
326
- 0.018125823974609375,
327
- 0.018100223541259765,
328
- 0.01781350326538086,
329
- 0.01782476806640625,
330
- 0.017787904739379884,
331
- 0.018189311981201172,
332
- 0.01822412872314453,
333
- 0.02029465675354004,
334
- 0.01835212707519531,
335
- 0.017954816818237306,
336
- 0.01800499153137207,
337
- 0.018036735534667968,
338
- 0.021360639572143555,
339
- 0.020396032333374024,
340
- 0.017245183944702147,
341
- 0.01695644760131836,
342
- 0.016799711227416993,
343
- 0.01680793571472168,
344
- 0.017035263061523438,
345
- 0.01703628730773926,
346
- 0.0169881591796875,
347
- 0.017067007064819336,
348
- 0.017119232177734374,
349
- 0.016906240463256835,
350
- 0.017037343978881837,
351
- 0.01684886360168457,
352
- 0.01701478385925293,
353
- 0.017068031311035157,
354
- 0.01702911949157715,
355
- 0.01701375961303711,
356
- 0.016995328903198242,
357
- 0.017125375747680666,
358
- 0.01696051216125488,
359
- 0.016747520446777343
360
  ]
361
  },
362
  "throughput": {
363
  "unit": "tokens/s",
364
- "value": 56.29693760765317
365
  },
366
  "energy": null,
367
  "efficiency": null
 
6
  "version": "2.2.2",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
 
9
  "library": "transformers",
10
+ "model": "openai-community/gpt2",
11
+ "processor": "openai-community/gpt2",
12
  "device": "cuda",
13
  "device_ids": "0",
14
  "seed": 42,
15
  "inter_op_num_threads": null,
16
  "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
 
 
 
20
  "no_weights": true,
21
  "device_map": null,
22
  "torch_dtype": null,
 
102
  "prefill": {
103
  "memory": {
104
  "unit": "MB",
105
+ "max_ram": 1067.462656,
106
  "max_global_vram": 1365.77024,
107
  "max_process_vram": 0.0,
108
  "max_reserved": 725.614592,
 
110
  },
111
  "latency": {
112
  "unit": "s",
113
+ "count": 58,
114
+ "total": 0.4982219495773314,
115
+ "mean": 0.008590033613402269,
116
+ "stdev": 0.00036074888742507015,
117
+ "p50": 0.008627887725830077,
118
+ "p90": 0.00902956771850586,
119
+ "p95": 0.009131192207336427,
120
+ "p99": 0.009389777860641478,
121
  "values": [
122
+ 0.009162336349487306,
123
+ 0.009356767654418945,
124
+ 0.009072799682617188,
125
+ 0.00896406364440918,
126
+ 0.008959808349609376,
127
+ 0.008865504264831544,
128
+ 0.00863871955871582,
129
+ 0.00878774356842041,
130
+ 0.008672127723693848,
131
+ 0.008888704299926758,
132
+ 0.00872111988067627,
133
+ 0.008648608207702637,
134
+ 0.0094335355758667,
135
+ 0.008930015563964843,
136
+ 0.008905695915222169,
137
+ 0.008956416130065918,
138
+ 0.009101119995117188,
139
+ 0.009125696182250977,
140
+ 0.008896384239196777,
141
+ 0.00874342441558838,
142
+ 0.008697888374328614,
143
+ 0.008688384056091309,
144
+ 0.008784319877624512,
145
+ 0.008581151962280273,
146
+ 0.008617055892944337,
147
+ 0.008749823570251464,
148
+ 0.008958527565002442,
149
+ 0.008810272216796875,
150
+ 0.00896332836151123,
151
+ 0.009011039733886719,
152
+ 0.008438847541809081,
153
+ 0.008534079551696777,
154
+ 0.008382911682128907,
155
+ 0.008613375663757325,
156
+ 0.008726207733154297,
157
+ 0.008314592361450195,
158
+ 0.008165375709533691,
159
+ 0.008174528121948242,
160
+ 0.008139871597290039,
161
+ 0.008257887840270995,
162
+ 0.008204095840454102,
163
+ 0.00815827178955078,
164
+ 0.008353759765625,
165
+ 0.008132479667663573,
166
+ 0.00815436840057373,
167
+ 0.008176959991455079,
168
+ 0.008157952308654785,
169
+ 0.00816153621673584,
170
+ 0.008131232261657715,
171
+ 0.008130559921264649,
172
+ 0.008115008354187011,
173
+ 0.008261728286743163,
174
+ 0.00832153606414795,
175
+ 0.008188480377197266,
176
+ 0.008366111755371095,
177
+ 0.008422847747802734,
178
+ 0.008166272163391114,
179
+ 0.008178688049316407
180
  ]
181
  },
182
  "throughput": {
183
  "unit": "tokens/s",
184
+ "value": 232.82795970432258
185
  },
186
  "energy": {
187
  "unit": "kWh",
188
+ "cpu": 1.0055252780573069e-07,
189
+ "ram": 5.4978231081943286e-08,
190
+ "gpu": 1.7544976371185984e-07,
191
+ "total": 3.309805225995338e-07
192
  },
193
  "efficiency": {
194
  "unit": "tokens/kWh",
195
+ "value": 6042651.646966785
196
  }
197
  },
198
  "decode": {
199
  "memory": {
200
  "unit": "MB",
201
+ "max_ram": 1067.462656,
202
  "max_global_vram": 1365.77024,
203
  "max_process_vram": 0.0,
204
  "max_reserved": 725.614592,
 
206
  },
207
  "latency": {
208
  "unit": "s",
209
+ "count": 58,
210
+ "total": 0.5157262048721315,
211
+ "mean": 0.008891831118485021,
212
+ "stdev": 0.00037493405667215807,
213
+ "p50": 0.008913375854492187,
214
+ "p90": 0.009345990180969238,
215
+ "p95": 0.009534793901443482,
216
+ "p99": 0.009789575119018555,
217
  "values": [
218
+ 0.009534848213195802,
219
+ 0.009611328125,
220
+ 0.009534784317016601,
221
+ 0.009280703544616698,
222
+ 0.009312255859375,
223
+ 0.009239487648010254,
224
+ 0.009054335594177246,
225
+ 0.009090656280517579,
226
+ 0.009059967994689942,
227
+ 0.009043871879577637,
228
+ 0.009112223625183106,
229
+ 0.00910755157470703,
230
+ 0.010025856018066406,
231
+ 0.009277440071105958,
232
+ 0.009249247550964356,
233
+ 0.009301535606384278,
234
+ 0.009424703598022461,
235
+ 0.009479904174804687,
236
+ 0.00904428768157959,
237
+ 0.008971839904785157,
238
+ 0.008914527893066406,
239
+ 0.008971263885498047,
240
+ 0.00892422389984131,
241
+ 0.008952320098876953,
242
+ 0.008913536071777344,
243
+ 0.009116064071655274,
244
+ 0.009067968368530273,
245
+ 0.008985952377319336,
246
+ 0.00920518398284912,
247
+ 0.00891321563720703,
248
+ 0.008845631599426269,
249
+ 0.00860547161102295,
250
+ 0.008792320251464843,
251
+ 0.008901568412780761,
252
+ 0.008855423927307128,
253
+ 0.008468671798706055,
254
+ 0.008435615539550781,
255
+ 0.008477120399475098,
256
+ 0.008429216384887696,
257
+ 0.008543456077575683,
258
+ 0.00843616008758545,
259
+ 0.0084334077835083,
260
+ 0.008642335891723633,
261
+ 0.008410783767700195,
262
+ 0.008441184043884277,
263
+ 0.00842243194580078,
264
+ 0.00867523193359375,
265
+ 0.008422975540161132,
266
+ 0.008405632019042968,
267
+ 0.008415167808532714,
268
+ 0.00867948818206787,
269
+ 0.008481823921203613,
270
+ 0.008654080390930175,
271
+ 0.008534079551696777,
272
+ 0.008687552452087402,
273
+ 0.008705856323242188,
274
+ 0.00842966365814209,
275
+ 0.008772768020629883
276
  ]
277
  },
278
  "throughput": {
279
  "unit": "tokens/s",
280
+ "value": 112.46277472826976
281
  },
282
  "energy": {
283
  "unit": "kWh",
284
+ "cpu": 9.65251083788575e-08,
285
+ "ram": 5.269758468757563e-08,
286
+ "gpu": 2.0219625789471545e-07,
287
+ "total": 3.5141895096114857e-07
288
  },
289
  "efficiency": {
290
  "unit": "tokens/kWh",
291
+ "value": 2845606.3546514767
292
  }
293
  },
294
  "per_token": {
295
  "memory": null,
296
  "latency": {
297
  "unit": "s",
298
+ "count": 57,
299
+ "total": 0.997058557510376,
300
+ "mean": 0.017492255394918877,
301
+ "stdev": 0.0007172593294122536,
302
+ "p50": 0.017563648223876953,
303
+ "p90": 0.018314649963378907,
304
+ "p95": 0.01862737998962402,
305
+ "p99": 0.01923031005859375,
306
  "values": [
307
+ 0.01902079963684082,
308
+ 0.01862144088745117,
309
+ 0.018333696365356447,
310
+ 0.018301952362060548,
311
+ 0.018142208099365235,
312
+ 0.017717248916625978,
313
+ 0.017920000076293945,
314
+ 0.017703935623168944,
315
+ 0.018020351409912108,
316
+ 0.01782681655883789,
317
+ 0.01780838394165039,
318
+ 0.0194969596862793,
319
+ 0.01823641586303711,
320
+ 0.018158592224121094,
321
+ 0.01827737617492676,
322
+ 0.018580480575561522,
323
+ 0.018651136398315428,
324
+ 0.01797324752807617,
325
+ 0.017733631134033204,
326
+ 0.017670143127441407,
327
+ 0.017645631790161133,
328
+ 0.01778374481201172,
329
+ 0.017563648223876953,
330
+ 0.017559551239013673,
331
+ 0.01786675262451172,
332
+ 0.018067455291748045,
333
  0.01784320068359375,
334
+ 0.018176000595092775,
335
+ 0.01798041534423828,
336
+ 0.017314815521240236,
337
+ 0.01726361656188965,
338
+ 0.017131519317626954,
339
+ 0.017508352279663086,
340
+ 0.017671167373657228,
341
+ 0.016881664276123046,
342
+ 0.016627775192260743,
343
+ 0.01664102363586426,
344
+ 0.016627647399902343,
345
+ 0.016827392578125,
346
+ 0.016662527084350585,
347
+ 0.01661849594116211,
348
+ 0.01700864028930664,
349
+ 0.01659699249267578,
350
+ 0.01661644744873047,
351
+ 0.01662873649597168,
352
+ 0.016845823287963867,
353
+ 0.01661952018737793,
354
+ 0.016562175750732423,
355
+ 0.016545791625976563,
356
+ 0.01682329559326172,
357
+ 0.01676288032531738,
358
+ 0.01701888084411621,
359
+ 0.016754751205444337,
360
+ 0.017067968368530275,
361
+ 0.017128448486328125,
362
+ 0.016656383514404297,
363
+ 0.01696460723876953
 
 
 
 
 
 
364
  ]
365
  },
366
  "throughput": {
367
  "unit": "tokens/s",
368
+ "value": 57.168156845599135
369
  },
370
  "energy": null,
371
  "efficiency": null