IlyasMoutawwakil HF staff commited on
Commit
e8c18ca
·
verified ·
1 Parent(s): d5aa0c2

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.0+cu121",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
@@ -73,10 +73,10 @@
73
  "environment": {
74
  "cpu": " AMD EPYC 7R32",
75
  "cpu_count": 16,
76
- "cpu_ram_mb": 66697.29792,
77
  "system": "Linux",
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": [
@@ -86,15 +86,15 @@
86
  "gpu_vram_mb": 24146608128,
87
  "optimum_benchmark_version": "0.2.1",
88
  "optimum_benchmark_commit": null,
89
- "transformers_version": "4.41.1",
90
  "transformers_commit": null,
91
- "accelerate_version": "0.30.1",
92
  "accelerate_commit": null,
93
- "diffusers_version": "0.27.2",
94
  "diffusers_commit": null,
95
  "optimum_version": null,
96
  "optimum_commit": null,
97
- "timm_version": "1.0.3",
98
  "timm_commit": null,
99
  "peft_version": null,
100
  "peft_commit": null
@@ -104,267 +104,300 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1062.52288,
108
  "max_global_vram": 1365.77024,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
111
- "max_allocated": 522.0096
112
  },
113
  "latency": {
114
  "unit": "s",
115
- "count": 57,
116
- "total": 0.4983152017593383,
117
- "mean": 0.008742371960690148,
118
- "stdev": 0.0004222156358587417,
119
- "p50": 0.008882847785949707,
120
- "p90": 0.009197088050842284,
121
- "p95": 0.009360461044311524,
122
- "p99": 0.009670699615478515,
123
  "values": [
124
- 0.009965824127197266,
125
- 0.009438816070556641,
126
- 0.009359840393066407,
127
- 0.0093024320602417,
128
- 0.008792223930358887,
129
- 0.008888544082641602,
130
- 0.008867775917053223,
131
- 0.009094623565673829,
132
- 0.009240960121154785,
133
- 0.008882847785949707,
134
- 0.009085887908935547,
135
- 0.009070976257324219,
136
- 0.009018943786621094,
137
- 0.008963199615478515,
138
- 0.008942912101745606,
139
- 0.008921024322509765,
140
- 0.009003647804260254,
141
- 0.009167840003967285,
142
- 0.008854751586914062,
143
- 0.008989919662475586,
144
- 0.00901625633239746,
145
- 0.008969984054565429,
146
- 0.008952192306518555,
147
- 0.008916192054748535,
148
- 0.008904128074645997,
149
- 0.008988224029541015,
150
- 0.009362943649291992,
151
- 0.008916576385498047,
152
- 0.00898316764831543,
153
- 0.008892095565795899,
154
- 0.008748096466064453,
155
- 0.008530303955078125,
156
- 0.008467424392700195,
157
- 0.008783040046691894,
158
- 0.009136832237243653,
159
- 0.00889129638671875,
160
- 0.008881248474121094,
161
- 0.008704352378845214,
162
- 0.008384639739990235,
163
- 0.008394880294799805,
164
- 0.008116703987121582,
165
- 0.008188672065734863,
166
- 0.008260224342346191,
167
- 0.008084320068359374,
168
- 0.008349696159362792,
169
- 0.008397120475769043,
170
- 0.008442367553710937,
171
- 0.008331263542175293,
172
- 0.008096799850463868,
173
- 0.00808944034576416,
174
- 0.00808454418182373,
175
- 0.00813270378112793,
176
- 0.008184127807617188,
177
- 0.00816476821899414,
178
- 0.008204480171203614,
179
- 0.008236127853393555,
180
- 0.008274975776672364
 
 
 
 
 
 
 
 
 
 
 
181
  ]
182
  },
183
  "throughput": {
184
  "unit": "tokens/s",
185
- "value": 228.7708655034296
186
  },
187
  "energy": {
188
  "unit": "kWh",
189
- "cpu": 1.0115508053262356e-07,
190
- "ram": 5.5303959849833655e-08,
191
- "gpu": 1.8881135632203396e-07,
192
- "total": 3.4527039670449115e-07
193
  },
194
  "efficiency": {
195
  "unit": "tokens/kWh",
196
- "value": 5792561.479609714
197
  }
198
  },
199
  "decode": {
200
  "memory": {
201
  "unit": "MB",
202
- "max_ram": 1062.52288,
203
  "max_global_vram": 1365.77024,
204
  "max_process_vram": 0.0,
205
  "max_reserved": 725.614592,
206
- "max_allocated": 522.46016
207
  },
208
  "latency": {
209
  "unit": "s",
210
- "count": 57,
211
- "total": 0.5100413417816163,
212
- "mean": 0.00894809371546695,
213
- "stdev": 0.0004090606588458568,
214
- "p50": 0.009119135856628418,
215
- "p90": 0.009317683219909669,
216
- "p95": 0.009487904357910157,
217
- "p99": 0.009697022323608398,
218
  "values": [
219
- 0.009783647537231445,
220
- 0.009628959655761719,
221
- 0.009589920043945313,
222
- 0.009151007652282715,
223
- 0.00928268814086914,
224
- 0.00912390422821045,
225
- 0.009194463729858398,
226
- 0.00926915168762207,
227
- 0.009199456214904785,
228
- 0.009235456466674804,
229
- 0.00931158447265625,
230
- 0.009315072059631347,
231
- 0.009132287979125976,
232
- 0.00904854393005371,
233
- 0.00913539218902588,
234
- 0.009230655670166016,
235
- 0.009377887725830078,
236
- 0.009273856163024903,
237
- 0.00925881576538086,
238
- 0.009074175834655761,
239
- 0.00932159996032715,
240
- 0.009180800437927246,
241
- 0.009077343940734863,
242
- 0.00914080047607422,
243
- 0.009304479598999023,
244
- 0.009302080154418945,
245
- 0.0092325439453125,
246
- 0.009272255897521973,
247
- 0.009201888084411622,
248
- 0.00879535961151123,
249
- 0.009007488250732422,
250
- 0.008488927841186523,
251
- 0.008744895935058594,
252
- 0.008985856056213378,
253
- 0.009462400436401367,
254
- 0.009263232231140136,
255
- 0.008924575805664062,
256
- 0.00869379234313965,
257
- 0.008495903968811036,
258
- 0.008454015731811523,
259
- 0.008355551719665528,
260
- 0.008474783897399902,
261
- 0.008245311737060546,
262
- 0.009119135856628418,
263
- 0.008650624275207519,
264
- 0.008602815628051758,
265
- 0.008648703575134278,
266
- 0.00825654411315918,
267
- 0.008229951858520507,
268
- 0.008270624160766602,
269
- 0.008840383529663086,
270
- 0.008441120147705079,
271
- 0.008228639602661132,
272
- 0.008371711730957031,
273
- 0.00836348819732666,
274
- 0.008482687950134278,
275
- 0.008492095947265625
 
 
 
 
 
 
 
 
 
 
 
276
  ]
277
  },
278
  "throughput": {
279
  "unit": "tokens/s",
280
- "value": 111.75564671070454
281
  },
282
  "energy": {
283
  "unit": "kWh",
284
- "cpu": 9.499782324481336e-08,
285
- "ram": 5.193595891701306e-08,
286
- "gpu": 1.7821534895665087e-07,
287
- "total": 3.2514913111847746e-07
288
  },
289
  "efficiency": {
290
  "unit": "tokens/kWh",
291
- "value": 3075511.832247896
292
  }
293
  },
294
  "per_token": {
295
  "memory": null,
296
  "latency": {
297
  "unit": "s",
298
- "count": 56,
299
- "total": 0.9905848293304443,
300
- "mean": 0.017689014809472218,
301
- "stdev": 0.0007720959012951471,
302
- "p50": 0.01807360076904297,
303
- "p90": 0.018507776260375978,
304
- "p95": 0.018618112087249755,
305
- "p99": 0.019045069408416746,
306
  "values": [
307
- 0.019127296447753905,
308
- 0.018977792739868164,
309
- 0.018549760818481444,
310
- 0.018060287475585936,
311
- 0.018084863662719726,
312
- 0.018099199295043944,
313
- 0.018381824493408205,
314
- 0.018515968322753908,
315
- 0.018127872467041017,
316
- 0.018440191268920898,
317
- 0.01843507194519043,
318
- 0.01818726348876953,
319
- 0.018066432952880858,
320
- 0.018099199295043944,
321
- 0.018145280838012694,
322
- 0.01841766357421875,
323
- 0.018499584197998048,
324
- 0.01808076858520508,
325
- 0.018176000595092775,
326
- 0.018361343383789062,
327
- 0.018177087783813477,
328
- 0.018085823059082032,
329
- 0.018095104217529297,
330
- 0.018249727249145507,
331
- 0.018300928115844727,
332
- 0.01863884735107422,
333
- 0.018198528289794923,
334
- 0.018268159866333008,
335
- 0.017737728118896484,
336
- 0.017789951324462892,
337
- 0.017146879196166993,
338
- 0.017146879196166993,
339
- 0.01782067108154297,
340
- 0.018611200332641603,
341
- 0.01822105598449707,
342
- 0.017869823455810546,
343
- 0.017473535537719728,
344
- 0.016912384033203123,
345
- 0.01685606384277344,
346
- 0.016521215438842773,
347
- 0.016675840377807616,
348
- 0.016545791625976563,
349
- 0.01722265625,
350
- 0.016974847793579103,
351
- 0.017062911987304686,
352
- 0.017137664794921875,
353
- 0.01662259292602539,
354
- 0.01635430335998535,
355
- 0.0163768310546875,
356
- 0.016542720794677734,
357
- 0.016995328903198242,
358
- 0.016458751678466797,
359
- 0.01655705642700195,
360
- 0.016587776184082033,
361
- 0.016738304138183592,
362
- 0.016776191711425782
 
 
 
 
 
 
 
 
 
 
 
363
  ]
364
  },
365
  "throughput": {
366
  "unit": "tokens/s",
367
- "value": 56.532260884564025
368
  },
369
  "energy": null,
370
  "efficiency": null
 
3
  "name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
4
  "backend": {
5
  "name": "pytorch",
6
+ "version": "2.3.1+cu121",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
 
73
  "environment": {
74
  "cpu": " AMD EPYC 7R32",
75
  "cpu_count": 16,
76
+ "cpu_ram_mb": 66697.293824,
77
  "system": "Linux",
78
  "machine": "x86_64",
79
+ "platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
80
  "processor": "x86_64",
81
  "python_version": "3.10.12",
82
  "gpu": [
 
86
  "gpu_vram_mb": 24146608128,
87
  "optimum_benchmark_version": "0.2.1",
88
  "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.42.3",
90
  "transformers_commit": null,
91
+ "accelerate_version": "0.31.0",
92
  "accelerate_commit": null,
93
+ "diffusers_version": "0.29.2",
94
  "diffusers_commit": null,
95
  "optimum_version": null,
96
  "optimum_commit": null,
97
+ "timm_version": "1.0.7",
98
  "timm_commit": null,
99
  "peft_version": null,
100
  "peft_commit": null
 
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
+ "max_ram": 1039.458304,
108
  "max_global_vram": 1365.77024,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
111
+ "max_allocated": 522.210816
112
  },
113
  "latency": {
114
  "unit": "s",
115
+ "count": 68,
116
+ "total": 0.48493798398971555,
117
+ "mean": 0.007131440941025228,
118
+ "stdev": 0.00029395819693826206,
119
+ "p50": 0.007174463987350464,
120
+ "p90": 0.007287292861938476,
121
+ "p95": 0.007684726333618164,
122
+ "p99": 0.008294362554550171,
123
  "values": [
124
+ 0.008447615623474122,
125
+ 0.008218879699707032,
126
+ 0.007844511985778808,
127
+ 0.007542912006378174,
128
+ 0.006943967819213867,
129
+ 0.006996640205383301,
130
+ 0.00689299201965332,
131
+ 0.007204192161560059,
132
+ 0.007282464027404785,
133
+ 0.007198719978332519,
134
+ 0.0072436161041259765,
135
+ 0.007202464103698731,
136
+ 0.007231328010559082,
137
+ 0.007192831993103027,
138
+ 0.007230688095092774,
139
+ 0.007177919864654541,
140
+ 0.00716435194015503,
141
+ 0.0068875842094421385,
142
+ 0.006888000011444092,
143
+ 0.006874656200408936,
144
+ 0.0068873920440673825,
145
+ 0.006909408092498779,
146
+ 0.0069064640998840335,
147
+ 0.006939519882202148,
148
+ 0.00688972806930542,
149
+ 0.00689683198928833,
150
+ 0.006887551784515381,
151
+ 0.006920383930206299,
152
+ 0.006892320156097412,
153
+ 0.006917407989501953,
154
+ 0.006912831783294678,
155
+ 0.006889120101928711,
156
+ 0.006960512161254883,
157
+ 0.0068839359283447265,
158
+ 0.006902976036071777,
159
+ 0.006928160190582276,
160
+ 0.006895552158355713,
161
+ 0.006924191951751709,
162
+ 0.00729856014251709,
163
+ 0.007239840030670166,
164
+ 0.0072295360565185545,
165
+ 0.0072212800979614255,
166
+ 0.007197663784027099,
167
+ 0.007215807914733887,
168
+ 0.007207263946533203,
169
+ 0.007018752098083496,
170
+ 0.007181087970733643,
171
+ 0.007221471786499023,
172
+ 0.0071881599426269534,
173
+ 0.007199071884155274,
174
+ 0.0071840319633483885,
175
+ 0.007204544067382812,
176
+ 0.007246240139007569,
177
+ 0.007189119815826416,
178
+ 0.0077610878944396975,
179
+ 0.007249599933624268,
180
+ 0.00718668794631958,
181
+ 0.007405824184417724,
182
+ 0.0072178559303283695,
183
+ 0.0071653761863708495,
184
+ 0.0071710081100463865,
185
+ 0.007217055797576905,
186
+ 0.0068576960563659665,
187
+ 0.006898303985595703,
188
+ 0.006881951808929443,
189
+ 0.006929408073425293,
190
+ 0.006899007797241211,
191
+ 0.006844064235687256
192
  ]
193
  },
194
  "throughput": {
195
  "unit": "tokens/s",
196
+ "value": 280.44823150599865
197
  },
198
  "energy": {
199
  "unit": "kWh",
200
+ "cpu": 8.627876591375293e-08,
201
+ "ram": 4.717262999567957e-08,
202
+ "gpu": 1.644163956231878e-07,
203
+ "total": 2.9786779153262034e-07
204
  },
205
  "efficiency": {
206
  "unit": "tokens/kWh",
207
+ "value": 6714388.2516112
208
  }
209
  },
210
  "decode": {
211
  "memory": {
212
  "unit": "MB",
213
+ "max_ram": 1039.458304,
214
  "max_global_vram": 1365.77024,
215
  "max_process_vram": 0.0,
216
  "max_reserved": 725.614592,
217
+ "max_allocated": 522.43456
218
  },
219
  "latency": {
220
  "unit": "s",
221
+ "count": 68,
222
+ "total": 0.5171193952560422,
223
+ "mean": 0.007604696989059447,
224
+ "stdev": 0.00040966541479903483,
225
+ "p50": 0.00763976001739502,
226
+ "p90": 0.007730006551742554,
227
+ "p95": 0.008339572620391845,
228
+ "p99": 0.009120347270965574,
229
  "values": [
230
+ 0.008683744430541993,
231
+ 0.00871014404296875,
232
+ 0.008645119667053223,
233
+ 0.007395328044891358,
234
+ 0.0073640642166137695,
235
+ 0.007326879978179932,
236
+ 0.007357696056365967,
237
+ 0.00768726396560669,
238
+ 0.007669151782989502,
239
+ 0.007637887954711914,
240
+ 0.007674176216125489,
241
+ 0.007772128105163575,
242
+ 0.0076900157928466795,
243
+ 0.007660863876342773,
244
+ 0.0076845440864562985,
245
+ 0.007711071968078614,
246
+ 0.007665599822998047,
247
+ 0.007329728126525879,
248
+ 0.007329792022705078,
249
+ 0.007325151920318604,
250
+ 0.007320543766021728,
251
+ 0.0072847681045532225,
252
+ 0.007570208072662354,
253
+ 0.007285952091217041,
254
+ 0.0074327998161315915,
255
+ 0.007322624206542969,
256
+ 0.0073311362266540525,
257
+ 0.007313888072967529,
258
+ 0.007309792041778565,
259
+ 0.007319104194641113,
260
+ 0.007310688018798828,
261
+ 0.007327104091644287,
262
+ 0.007347775936126709,
263
+ 0.007312895774841309,
264
+ 0.0073368000984191896,
265
+ 0.007304992198944092,
266
+ 0.007336160182952881,
267
+ 0.007406400203704834,
268
+ 0.0077044801712036134,
269
+ 0.007722432136535644,
270
+ 0.007652448177337646,
271
+ 0.007683551788330078,
272
+ 0.007673600196838379,
273
+ 0.00769916820526123,
274
+ 0.007692543983459472,
275
+ 0.0076436161994934086,
276
+ 0.0077491202354431155,
277
+ 0.007641632080078125,
278
+ 0.007651264190673828,
279
+ 0.007664576053619385,
280
+ 0.007747680187225342,
281
+ 0.00766864013671875,
282
+ 0.007615871906280517,
283
+ 0.0076921281814575195,
284
+ 0.007714848041534424,
285
+ 0.007693920135498047,
286
+ 0.009953184127807617,
287
+ 0.0077181758880615235,
288
+ 0.00762390422821045,
289
+ 0.007653920173645019,
290
+ 0.0076488637924194336,
291
+ 0.007650335788726806,
292
+ 0.007351871967315674,
293
+ 0.007425024032592774,
294
+ 0.0073173117637634275,
295
+ 0.007330687999725341,
296
+ 0.007307040214538574,
297
+ 0.007333568096160889
298
  ]
299
  },
300
  "throughput": {
301
  "unit": "tokens/s",
302
+ "value": 131.49767853192012
303
  },
304
  "energy": {
305
  "unit": "kWh",
306
+ "cpu": 8.338956890337655e-08,
307
+ "ram": 4.55946940306796e-08,
308
+ "gpu": 1.5554020954824434e-07,
309
+ "total": 2.845244724823004e-07
310
  },
311
  "efficiency": {
312
  "unit": "tokens/kWh",
313
+ "value": 3514636.1621396476
314
  }
315
  },
316
  "per_token": {
317
  "memory": null,
318
  "latency": {
319
  "unit": "s",
320
+ "count": 67,
321
+ "total": 0.9870233640670779,
322
+ "mean": 0.014731692001001159,
323
+ "stdev": 0.0005640544464333131,
324
+ "p50": 0.014849023818969726,
325
+ "p90": 0.015012249374389648,
326
+ "p95": 0.015458406448364256,
327
+ "p99": 0.016954757080078126,
328
  "values": [
329
+ 0.016934911727905275,
330
+ 0.016328704833984374,
331
+ 0.015370240211486816,
332
+ 0.014358528137207031,
333
+ 0.014344191551208496,
334
+ 0.0142807035446167,
335
+ 0.01490227222442627,
336
+ 0.01496985626220703,
337
+ 0.014883839607238769,
338
+ 0.014938112258911132,
339
+ 0.014999551773071289,
340
+ 0.014952447891235352,
341
+ 0.014889984130859376,
342
+ 0.014928895950317383,
343
+ 0.014919679641723632,
344
+ 0.014833663940429688,
345
+ 0.014295040130615234,
346
+ 0.014236672401428223,
347
+ 0.014229503631591797,
348
+ 0.014239744186401367,
349
+ 0.014221311569213867,
350
+ 0.014482432365417481,
351
+ 0.014253055572509766,
352
+ 0.014369791984558105,
353
+ 0.014236672401428223,
354
+ 0.014252032279968262,
355
+ 0.014264320373535156,
356
+ 0.014228480339050293,
357
+ 0.014262271881103515,
358
+ 0.014232576370239258,
359
+ 0.014261247634887696,
360
+ 0.014336000442504883,
361
+ 0.01422646427154541,
362
+ 0.014259167671203613,
363
+ 0.014264320373535156,
364
+ 0.014255104064941406,
365
+ 0.014360575675964356,
366
+ 0.015031295776367188,
367
+ 0.014996479988098145,
368
+ 0.014898176193237305,
369
+ 0.014942208290100097,
370
+ 0.014905344009399414,
371
+ 0.014940159797668457,
372
+ 0.014922752380371093,
373
+ 0.01470464038848877,
374
+ 0.014958592414855957,
375
+ 0.014888959884643555,
376
+ 0.014838784217834473,
377
+ 0.01491763210296631,
378
+ 0.014964735984802247,
379
+ 0.014892031669616699,
380
+ 0.014897151947021485,
381
+ 0.01490124797821045,
382
+ 0.01549619197845459,
383
+ 0.014972928047180176,
384
+ 0.0169932804107666,
385
+ 0.015349760055541992,
386
+ 0.014850048065185547,
387
+ 0.01486847972869873,
388
+ 0.014849023818969726,
389
+ 0.01488486385345459,
390
+ 0.014264320373535156,
391
+ 0.014336000442504883,
392
+ 0.014228480339050293,
393
+ 0.014295040130615234,
394
+ 0.014208000183105468,
395
+ 0.014224384307861328
396
  ]
397
  },
398
  "throughput": {
399
  "unit": "tokens/s",
400
+ "value": 67.88086527549181
401
  },
402
  "energy": null,
403
  "efficiency": null