IlyasMoutawwakil HF staff commited on
Commit
1b3516d
·
verified ·
1 Parent(s): 2f08ebc

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,17 +6,19 @@
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,
@@ -86,7 +88,7 @@
86
  "optimum_benchmark_commit": null,
87
  "transformers_version": "4.40.2",
88
  "transformers_commit": null,
89
- "accelerate_version": "0.30.0",
90
  "accelerate_commit": null,
91
  "diffusers_version": "0.27.2",
92
  "diffusers_commit": null,
@@ -102,7 +104,7 @@
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,95 +112,94 @@
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,166 +207,164 @@
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
 
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,
 
88
  "optimum_benchmark_commit": null,
89
  "transformers_version": "4.40.2",
90
  "transformers_commit": null,
91
+ "accelerate_version": "0.30.1",
92
  "accelerate_commit": null,
93
  "diffusers_version": "0.27.2",
94
  "diffusers_commit": null,
 
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
+ "max_ram": 1069.273088,
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": 57,
116
+ "total": 0.49157283115386957,
117
+ "mean": 0.008624084757085431,
118
+ "stdev": 0.0003375152750899406,
119
+ "p50": 0.00865328025817871,
120
+ "p90": 0.008998815727233886,
121
+ "p95": 0.00912330207824707,
122
+ "p99": 0.009618567924499511,
123
  "values": [
124
+ 0.00964358425140381,
125
+ 0.009081695556640625,
126
+ 0.00905628776550293,
127
+ 0.008862784385681152,
128
+ 0.008775168418884278,
129
+ 0.00865392017364502,
130
+ 0.008656928062438965,
131
+ 0.008803999900817872,
132
+ 0.008756223678588868,
133
+ 0.008602848052978515,
134
+ 0.008818304061889649,
135
+ 0.008754816055297852,
136
+ 0.008781791687011719,
137
+ 0.00885427188873291,
138
+ 0.008681504249572754,
139
+ 0.00865328025817871,
140
+ 0.008768608093261718,
141
+ 0.008804448127746582,
142
+ 0.008760064125061036,
143
+ 0.008770015716552735,
144
+ 0.00866857624053955,
145
+ 0.00856761646270752,
146
+ 0.008581279754638672,
147
+ 0.008792287826538086,
148
+ 0.008590271949768066,
149
+ 0.008723103523254394,
150
+ 0.008983519554138184,
151
+ 0.009289728164672852,
152
+ 0.008813471794128417,
153
+ 0.008627648353576661,
154
+ 0.008639616012573242,
155
+ 0.008489248275756835,
156
+ 0.008511679649353027,
157
+ 0.00830179214477539,
158
+ 0.008459551811218262,
159
+ 0.009021759986877442,
160
+ 0.009598912239074707,
161
+ 0.008949248313903809,
162
+ 0.008672224044799805,
163
+ 0.008572511672973633,
164
+ 0.008481216430664063,
165
+ 0.008511232376098634,
166
+ 0.008438176155090332,
167
+ 0.008183263778686523,
168
+ 0.008295647621154785,
169
+ 0.008133055686950684,
170
+ 0.008166399955749512,
171
+ 0.008188863754272462,
172
+ 0.00816528034210205,
173
+ 0.008211775779724121,
174
+ 0.008139103889465331,
175
+ 0.008186528205871582,
176
+ 0.008203007698059083,
177
+ 0.008247200012207032,
178
+ 0.008255711555480957,
179
+ 0.008141759872436524,
180
+ 0.008230015754699707
 
181
  ]
182
  },
183
  "throughput": {
184
  "unit": "tokens/s",
185
+ "value": 231.9086669871637
186
  },
187
  "energy": {
188
  "unit": "kWh",
189
+ "cpu": 1.0326213306850858e-07,
190
+ "ram": 5.646524587380395e-08,
191
+ "gpu": 1.983238301565238e-07,
192
+ "total": 3.580512090988363e-07
193
  },
194
  "efficiency": {
195
  "unit": "tokens/kWh",
196
+ "value": 5585793.174763225
197
  }
198
  },
199
  "decode": {
200
  "memory": {
201
  "unit": "MB",
202
+ "max_ram": 1069.273088,
203
  "max_global_vram": 1365.77024,
204
  "max_process_vram": 0.0,
205
  "max_reserved": 725.614592,
 
207
  },
208
  "latency": {
209
  "unit": "s",
210
+ "count": 57,
211
+ "total": 0.508916735649109,
212
+ "mean": 0.0089283637833177,
213
+ "stdev": 0.0004057523577826843,
214
+ "p50": 0.00897923183441162,
215
+ "p90": 0.009393363380432129,
216
+ "p95": 0.009483589935302733,
217
+ "p99": 0.010120482368469236,
218
  "values": [
219
+ 0.009407360076904297,
220
+ 0.00948265552520752,
221
+ 0.009384032249450683,
222
+ 0.009137248039245606,
223
+ 0.009055808067321777,
224
+ 0.008952287673950196,
225
+ 0.009096320152282716,
226
+ 0.009125375747680664,
227
+ 0.008943391799926757,
228
+ 0.009133440017700195,
229
+ 0.009037664413452148,
230
+ 0.009168224334716797,
231
+ 0.009150527954101562,
232
+ 0.008984319686889649,
233
+ 0.00902847957611084,
234
+ 0.009029248237609862,
235
+ 0.009211135864257812,
236
+ 0.009231072425842285,
237
+ 0.008944064140319825,
238
+ 0.009009759902954101,
239
+ 0.009054559707641602,
240
+ 0.009095552444458008,
241
+ 0.00912332820892334,
242
+ 0.008867584228515624,
243
+ 0.008986880302429199,
244
+ 0.009701151847839356,
245
+ 0.009469759941101075,
246
+ 0.009487327575683593,
247
+ 0.00904528045654297,
248
+ 0.008968352317810058,
249
+ 0.00897923183441162,
250
+ 0.008908767700195313,
251
+ 0.008463616371154786,
252
+ 0.008658816337585449,
253
+ 0.00873862361907959,
254
+ 0.009096063613891602,
255
+ 0.010654175758361816,
256
+ 0.009062463760375977,
257
+ 0.00880784034729004,
258
+ 0.008868927955627442,
259
+ 0.008813055992126465,
260
+ 0.00866057586669922,
261
+ 0.008646207809448242,
262
+ 0.008410400390625,
263
+ 0.008482943534851075,
264
+ 0.00837564754486084,
265
+ 0.008495391845703125,
266
+ 0.008363136291503906,
267
+ 0.00848476791381836,
268
+ 0.008407872200012207,
269
+ 0.00841494369506836,
270
+ 0.008370112419128418,
271
+ 0.008496800422668456,
272
+ 0.008593695640563965,
273
+ 0.00846611213684082,
274
+ 0.008420991897583007,
275
+ 0.008463359832763672
 
276
  ]
277
  },
278
  "throughput": {
279
  "unit": "tokens/s",
280
+ "value": 112.00260476263982
281
  },
282
  "energy": {
283
  "unit": "kWh",
284
+ "cpu": 9.806957453657684e-08,
285
+ "ram": 5.361060441403907e-08,
286
+ "gpu": 1.5741091770788105e-07,
287
+ "total": 3.09091096658497e-07
288
  },
289
  "efficiency": {
290
  "unit": "tokens/kWh",
291
+ "value": 3235292.154354294
292
  }
293
  },
294
  "per_token": {
295
  "memory": null,
296
  "latency": {
297
  "unit": "s",
298
+ "count": 56,
299
+ "total": 0.9832488880157471,
300
+ "mean": 0.017558015857424055,
301
+ "stdev": 0.0006980360924181416,
302
+ "p50": 0.01769161605834961,
303
+ "p90": 0.01831987190246582,
304
+ "p95": 0.018539775848388673,
305
+ "p99": 0.0194480640411377,
306
  "values": [
307
+ 0.018546688079833985,
308
+ 0.018537471771240235,
309
+ 0.01803878402709961,
310
+ 0.017862655639648437,
311
+ 0.017625087738037108,
312
+ 0.01777663993835449,
313
+ 0.017935359954833984,
314
+ 0.017785856246948242,
315
+ 0.017732608795166017,
316
+ 0.017908735275268553,
317
+ 0.017942527770996093,
318
+ 0.017970239639282227,
319
+ 0.017875904083251952,
320
+ 0.01774284744262695,
321
+ 0.017718271255493166,
322
+ 0.017992704391479493,
 
 
 
 
 
 
 
 
 
323
  0.018067455291748045,
324
+ 0.017753087997436523,
325
+ 0.0178155517578125,
326
+ 0.01772857666015625,
327
+ 0.017660863876342775,
328
+ 0.017750015258789064,
329
+ 0.017738752365112305,
330
+ 0.0175994873046875,
331
+ 0.01842790412902832,
332
+ 0.01846681594848633,
333
+ 0.01881907272338867,
334
+ 0.017908735275268553,
335
+ 0.017638463973999024,
336
+ 0.017664960861206055,
337
+ 0.01741619110107422,
338
+ 0.017111040115356444,
339
+ 0.016927743911743166,
340
+ 0.017183744430541992,
341
+ 0.01821183967590332,
342
+ 0.02021683120727539,
343
+ 0.018121728897094725,
344
+ 0.017535999298095704,
345
+ 0.017481760025024416,
346
+ 0.017346527099609373,
347
+ 0.0172042236328125,
348
+ 0.017099775314331055,
349
+ 0.016623615264892578,
350
+ 0.01682431983947754,
351
+ 0.016533504486083983,
352
+ 0.016679935455322266,
353
+ 0.01657344055175781,
354
+ 0.016665599822998048,
355
+ 0.01663283157348633,
356
+ 0.01660006332397461,
357
+ 0.016575551986694335,
358
+ 0.01672492790222168,
359
+ 0.016875520706176757,
360
+ 0.016742399215698242,
361
+ 0.01656934356689453,
362
+ 0.016738304138183592
363
  ]
364
  },
365
  "throughput": {
366
  "unit": "tokens/s",
367
+ "value": 56.95404356165734
368
  },
369
  "energy": null,
370
  "efficiency": null