IlyasMoutawwakil HF staff commited on
Commit
f8dcfd1
·
verified ·
1 Parent(s): 45b1b0f

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
@@ -7,6 +7,7 @@
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",
@@ -73,7 +74,7 @@
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",
@@ -104,7 +105,7 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1052.73344,
108
  "max_global_vram": 1353.187328,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 713.03168,
@@ -113,110 +114,110 @@
113
  "latency": {
114
  "unit": "s",
115
  "count": 74,
116
- "total": 0.48530892944335935,
117
- "mean": 0.006558228776261613,
118
- "stdev": 0.00039501536103898617,
119
- "p50": 0.006498863935470581,
120
- "p90": 0.006667167901992798,
121
- "p95": 0.006954140710830686,
122
- "p99": 0.00823712020874023,
123
  "values": [
124
- 0.007939040184020996,
125
- 0.007188640117645264,
126
- 0.007789472103118897,
127
- 0.006418848037719726,
128
- 0.006293536186218262,
129
- 0.006300960063934326,
130
- 0.0062984957695007325,
131
- 0.006507455825805664,
132
- 0.006827871799468994,
133
- 0.006520480155944824,
134
- 0.009043040275573731,
135
- 0.006708032131195069,
136
- 0.006754879951477051,
137
- 0.006634560108184815,
138
- 0.006657983779907227,
139
- 0.00658735990524292,
140
- 0.0065166401863098146,
141
- 0.00653926420211792,
142
- 0.006330976009368897,
143
- 0.0065326719284057614,
144
- 0.006498847961425781,
145
- 0.006584415912628174,
146
- 0.006548960208892823,
147
- 0.006620319843292236,
148
- 0.0063192319869995114,
149
- 0.0062804799079895016,
150
- 0.006268608093261719,
151
- 0.006330848217010498,
152
- 0.0064967360496521,
153
- 0.0064988799095153805,
154
- 0.0063079681396484375,
155
- 0.006521471977233887,
156
- 0.006559872150421143,
157
- 0.006553376197814941,
158
- 0.0065378880500793456,
159
- 0.006410367965698242,
160
- 0.006469791889190674,
161
- 0.006508895874023438,
162
- 0.0065959677696228024,
163
- 0.006513472080230713,
164
- 0.006539423942565918,
165
- 0.006352416038513184,
166
- 0.006671103954315185,
167
- 0.006610688209533692,
168
- 0.006653791904449463,
169
- 0.006518752098083496,
170
- 0.006518239974975586,
171
- 0.006487584114074707,
172
- 0.0065316162109375,
173
- 0.006298208236694336,
174
- 0.006270304203033448,
175
- 0.006463679790496826,
176
- 0.0064989118576049805,
177
- 0.0065155520439147945,
178
- 0.006476287841796875,
179
- 0.006529151916503906,
180
- 0.00648140811920166,
181
- 0.006470719814300537,
182
- 0.006498496055603028,
183
- 0.00647980785369873,
184
- 0.006485919952392578,
185
- 0.0065272641181945805,
186
- 0.006439104080200196,
187
- 0.006491072177886963,
188
- 0.006272928237915039,
189
- 0.00649571180343628,
190
- 0.006489568233489991,
191
- 0.006424287796020508,
192
- 0.006338496208190918,
193
- 0.0064783039093017575,
194
- 0.006280288219451904,
195
- 0.006294655799865723,
196
- 0.006295167922973633,
197
- 0.0063134078979492185
198
  ]
199
  },
200
  "throughput": {
201
  "unit": "tokens/s",
202
- "value": 304.96038918911574
203
  },
204
  "energy": {
205
  "unit": "kWh",
206
- "cpu": 7.792465192706962e-08,
207
- "ram": 4.260517916632654e-08,
208
- "gpu": 1.5400597115797806e-07,
209
- "total": 2.745358022513742e-07
210
  },
211
  "efficiency": {
212
  "unit": "tokens/kWh",
213
- "value": 7285024.33416219
214
  }
215
  },
216
  "decode": {
217
  "memory": {
218
  "unit": "MB",
219
- "max_ram": 1052.73344,
220
  "max_global_vram": 1353.187328,
221
  "max_process_vram": 0.0,
222
  "max_reserved": 713.03168,
@@ -225,104 +226,104 @@
225
  "latency": {
226
  "unit": "s",
227
  "count": 74,
228
- "total": 0.5128893122673034,
229
- "mean": 0.006930936652260858,
230
- "stdev": 0.00025371031846764823,
231
- "p50": 0.006895663976669311,
232
- "p90": 0.007093855905532837,
233
- "p95": 0.007456403303146361,
234
- "p99": 0.007920516605377197,
235
  "values": [
236
- 0.008005663871765137,
237
- 0.007889023780822754,
238
- 0.006927487850189209,
239
- 0.006660863876342773,
240
- 0.006660799980163574,
241
- 0.006614336013793945,
242
- 0.006725632190704346,
243
- 0.00763478422164917,
244
- 0.006979680061340332,
245
- 0.007360352039337158,
246
- 0.007066304206848144,
247
- 0.0077573761940002445,
248
- 0.007027455806732178,
249
- 0.006948863983154297,
250
- 0.006966495990753174,
251
- 0.006980959892272949,
252
- 0.006921152114868164,
253
- 0.0069064321517944335,
254
- 0.006798943996429443,
255
- 0.006922592163085937,
256
- 0.006889472007751465,
257
- 0.006976704120635987,
258
- 0.006897600173950196,
259
- 0.006913504123687744,
260
- 0.006796224117279053,
261
- 0.006623712062835694,
262
- 0.006603392124176025,
263
- 0.006922016143798828,
264
- 0.006891744136810303,
265
- 0.006906367778778076,
266
- 0.006838687896728516,
267
- 0.007141024112701416,
268
- 0.006945919990539551,
269
- 0.006930719852447509,
270
- 0.006856768131256103,
271
- 0.006796512126922607,
272
- 0.006883679866790771,
273
- 0.007029183864593506,
274
- 0.0068906240463256834,
275
- 0.006905439853668213,
276
- 0.006885312080383301,
277
- 0.006660287857055664,
278
- 0.0071402559280395505,
279
- 0.007026559829711914,
280
- 0.006938784122467041,
281
- 0.006957727909088135,
282
- 0.006874911785125733,
283
- 0.0069506878852844236,
284
- 0.006868800163269043,
285
- 0.00659065580368042,
286
- 0.006902719974517822,
287
- 0.006914112091064453,
288
- 0.0069307518005371094,
289
- 0.006891744136810303,
290
- 0.006872159957885742,
291
- 0.006893727779388428,
292
- 0.006953184127807617,
293
- 0.006884511947631836,
294
- 0.006876992225646973,
295
- 0.006890111923217773,
296
- 0.006947679996490479,
297
- 0.006879199981689453,
298
- 0.006887551784515381,
299
- 0.007105663776397705,
300
- 0.0067866559028625486,
301
- 0.006918816089630127,
302
- 0.006856480121612549,
303
- 0.006847328186035157,
304
- 0.0067415680885314945,
305
- 0.006874783992767334,
306
- 0.006624608039855957,
307
- 0.006620319843292236,
308
- 0.006611328125,
309
- 0.006888832092285156
310
  ]
311
  },
312
  "throughput": {
313
  "unit": "tokens/s",
314
- "value": 144.28064346451674
315
  },
316
  "energy": {
317
  "unit": "kWh",
318
- "cpu": 7.419248087386678e-08,
319
- "ram": 4.035060047446274e-08,
320
- "gpu": 1.4856193471402474e-07,
321
- "total": 2.631050160623543e-07
322
  },
323
  "efficiency": {
324
  "unit": "tokens/kWh",
325
- "value": 3800763.721521015
326
  }
327
  },
328
  "per_token": {
@@ -330,93 +331,93 @@
330
  "latency": {
331
  "unit": "s",
332
  "count": 74,
333
- "total": 0.48240847873687753,
334
- "mean": 0.006519033496444291,
335
- "stdev": 0.00022660205551182738,
336
- "p50": 0.006495743989944458,
337
- "p90": 0.0066807807922363285,
338
- "p95": 0.006917478418350218,
339
- "p99": 0.007362156085968017,
340
  "values": [
341
- 0.0074414401054382325,
342
- 0.007331840038299561,
343
- 0.006498303890228272,
344
- 0.0062740478515625,
345
- 0.006275072097778321,
346
- 0.00621779203414917,
347
- 0.006300672054290772,
348
- 0.007131135940551757,
349
- 0.006553599834442139,
350
- 0.006802432060241699,
351
- 0.006647808074951172,
352
- 0.007332831859588623,
353
- 0.006616064071655273,
354
- 0.0065064959526062015,
355
- 0.006554624080657959,
356
- 0.006575104236602783,
357
- 0.006524928092956543,
358
- 0.006512639999389648,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  0.006401023864746094,
360
- 0.006523903846740723,
361
- 0.006494207859039307,
362
- 0.006582272052764892,
363
- 0.006500351905822754,
364
- 0.006500351905822754,
365
- 0.006388735771179199,
366
- 0.006238207817077636,
367
- 0.006218751907348633,
368
- 0.00652185583114624,
369
- 0.006497280120849609,
370
- 0.006503424167633057,
371
- 0.006441984176635742,
372
- 0.00673689603805542,
373
- 0.006551551818847656,
374
- 0.00653004789352417,
375
- 0.006463488101959228,
376
- 0.006405119895935059,
377
- 0.006467584133148193,
378
- 0.006636544227600098,
379
- 0.0064839677810668945,
380
- 0.006502399921417237,
381
- 0.0064767999649047855,
382
- 0.006251520156860352,
383
- 0.006694911956787109,
384
- 0.006612991809844971,
385
- 0.006502399921417237,
386
- 0.006551551818847656,
387
- 0.006459392070770263,
388
- 0.006545375823974609,
389
- 0.0064737281799316405,
390
- 0.006196256160736084,
391
- 0.006478847980499268,
392
- 0.0065075201988220215,
393
- 0.006511583805084229,
394
- 0.006490111827850342,
395
- 0.0064737281799316405,
396
- 0.006490111827850342,
397
- 0.0065474557876586915,
398
- 0.006490111827850342,
399
- 0.006471680164337158,
400
- 0.006479872226715088,
401
- 0.006542335987091064,
402
- 0.006469632148742676,
403
- 0.006486015796661377,
404
- 0.006694911956787109,
405
- 0.0063907837867736815,
406
- 0.006524928092956543,
407
- 0.0064542717933654785,
408
- 0.006455296039581298,
409
- 0.006344704151153564,
410
- 0.00648089599609375,
411
- 0.006239232063293457,
412
  0.006211584091186524,
413
- 0.0062269439697265625,
414
- 0.006494207859039307
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  ]
416
  },
417
  "throughput": {
418
  "unit": "tokens/s",
419
- "value": 153.39697219617526
420
  },
421
  "energy": null,
422
  "efficiency": null
 
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
10
+ "model_type": "gpt2",
11
  "model": "openai-community/gpt2",
12
  "processor": "openai-community/gpt2",
13
  "device": "cuda",
 
74
  "environment": {
75
  "cpu": " AMD EPYC 7R32",
76
  "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.285632,
78
  "system": "Linux",
79
  "machine": "x86_64",
80
  "platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
 
105
  "prefill": {
106
  "memory": {
107
  "unit": "MB",
108
+ "max_ram": 1049.616384,
109
  "max_global_vram": 1353.187328,
110
  "max_process_vram": 0.0,
111
  "max_reserved": 713.03168,
 
114
  "latency": {
115
  "unit": "s",
116
  "count": 74,
117
+ "total": 0.48662233734130855,
118
+ "mean": 0.006575977531639305,
119
+ "stdev": 0.0004507876889339963,
120
+ "p50": 0.006299728155136108,
121
+ "p90": 0.00721824312210083,
122
+ "p95": 0.007310179328918457,
123
+ "p99": 0.007550204114913939,
124
  "values": [
125
+ 0.007724095821380615,
126
+ 0.007085792064666748,
127
+ 0.0072737598419189455,
128
+ 0.007263423919677735,
129
+ 0.007199808120727539,
130
+ 0.007177824020385742,
131
+ 0.0074858880043029786,
132
+ 0.007117055892944336,
133
+ 0.007350240230560303,
134
+ 0.006868512153625488,
135
+ 0.006938784122467041,
136
+ 0.007047520160675049,
137
+ 0.006873472213745117,
138
+ 0.00695030403137207,
139
+ 0.006850560188293457,
140
+ 0.007131135940551757,
141
+ 0.007056992053985595,
142
+ 0.006959392070770264,
143
+ 0.007288608074188232,
144
+ 0.007370016098022461,
145
+ 0.007022240161895752,
146
+ 0.007137343883514404,
147
+ 0.00705625581741333,
148
+ 0.007024384021759033,
149
+ 0.0066979842185974124,
150
+ 0.006334144115447998,
151
+ 0.00632803201675415,
152
+ 0.006872992038726807,
153
+ 0.006910751819610596,
154
+ 0.007226143836975098,
155
+ 0.007080575942993164,
156
+ 0.006599040031433106,
157
+ 0.006464096069335937,
158
+ 0.006499328136444092,
159
+ 0.006342112064361572,
160
+ 0.006292704105377197,
161
+ 0.0063376321792602535,
162
+ 0.006172383785247803,
163
+ 0.006135200023651123,
164
+ 0.006134719848632813,
165
+ 0.006122655868530273,
166
+ 0.006218048095703125,
167
+ 0.006244703769683838,
168
+ 0.0062252159118652345,
169
+ 0.006208320140838623,
170
+ 0.006225535869598389,
171
+ 0.006196896076202393,
172
+ 0.006240384101867676,
173
+ 0.006211008071899414,
174
+ 0.006215295791625977,
175
+ 0.00630675220489502,
176
+ 0.006231904029846191,
177
+ 0.0062171840667724606,
178
+ 0.006192160129547119,
179
+ 0.006175104141235351,
180
+ 0.006200384140014648,
181
+ 0.006225855827331543,
182
+ 0.006210783958435059,
183
+ 0.006166592121124268,
184
+ 0.006174592018127442,
185
+ 0.006181983947753906,
186
+ 0.006200191974639893,
187
+ 0.0062029118537902835,
188
+ 0.006194079875946045,
189
+ 0.006158527851104737,
190
+ 0.0062073922157287595,
191
+ 0.0061950721740722655,
192
+ 0.006228544235229492,
193
+ 0.006177792072296143,
194
+ 0.006213247776031494,
195
+ 0.006230432033538819,
196
+ 0.0062391037940979005,
197
+ 0.006140096187591553,
198
+ 0.006162335872650146
199
  ]
200
  },
201
  "throughput": {
202
  "unit": "tokens/s",
203
+ "value": 304.13729219379286
204
  },
205
  "energy": {
206
  "unit": "kWh",
207
+ "cpu": 7.71779894914806e-08,
208
+ "ram": 4.2192845333411034e-08,
209
+ "gpu": 1.5542220225973828e-07,
210
+ "total": 2.747930370846299e-07
211
  },
212
  "efficiency": {
213
  "unit": "tokens/kWh",
214
+ "value": 7278204.79448337
215
  }
216
  },
217
  "decode": {
218
  "memory": {
219
  "unit": "MB",
220
+ "max_ram": 1049.616384,
221
  "max_global_vram": 1353.187328,
222
  "max_process_vram": 0.0,
223
  "max_reserved": 713.03168,
 
226
  "latency": {
227
  "unit": "s",
228
  "count": 74,
229
+ "total": 0.5139310083389282,
230
+ "mean": 0.006945013626201733,
231
+ "stdev": 0.0004395336843904851,
232
+ "p50": 0.006672399997711182,
233
+ "p90": 0.007557283067703247,
234
+ "p95": 0.007673992133140564,
235
+ "p99": 0.007833182640075683,
236
  "values": [
237
+ 0.007463615894317627,
238
+ 0.007811935901641845,
239
+ 0.007668672084808349,
240
+ 0.00768387222290039,
241
+ 0.007473887920379639,
242
+ 0.007621024131774902,
243
+ 0.007553631782531738,
244
+ 0.007836639881134033,
245
+ 0.007493855953216552,
246
+ 0.007323040008544922,
247
+ 0.007411007881164551,
248
+ 0.007558847904205322,
249
+ 0.007368192195892334,
250
+ 0.007235104084014892,
251
+ 0.007280352115631103,
252
+ 0.007397408008575439,
253
+ 0.007268447875976563,
254
+ 0.007437695980072021,
255
+ 0.007559936046600341,
256
+ 0.00783190393447876,
257
+ 0.00739299201965332,
258
+ 0.007432096004486084,
259
+ 0.007342527866363526,
260
+ 0.0073935680389404295,
261
+ 0.007378367900848388,
262
+ 0.006698080062866211,
263
+ 0.007102015972137451,
264
+ 0.007311391830444336,
265
+ 0.007416031837463379,
266
+ 0.007160672187805176,
267
+ 0.00737391996383667,
268
+ 0.006882880210876465,
269
+ 0.006798495769500732,
270
+ 0.006808383941650391,
271
+ 0.0067067198753356936,
272
+ 0.006719808101654053,
273
+ 0.006489120006561279,
274
+ 0.006579808235168457,
275
+ 0.006506752014160156,
276
+ 0.0065008320808410645,
277
+ 0.006496767997741699,
278
+ 0.006581600189208984,
279
+ 0.006558752059936524,
280
+ 0.006570464134216309,
281
+ 0.006598144054412842,
282
+ 0.006596320152282715,
283
+ 0.006570847988128662,
284
+ 0.0065598077774047855,
285
+ 0.006596096038818359,
286
+ 0.006585472106933594,
287
+ 0.006684127807617187,
288
+ 0.006561439990997314,
289
+ 0.006584479808807373,
290
+ 0.006646368026733398,
291
+ 0.0065933442115783695,
292
+ 0.006563968181610107,
293
+ 0.006544735908508301,
294
+ 0.00663318395614624,
295
+ 0.006600192070007324,
296
+ 0.0065780158042907716,
297
+ 0.006558176040649414,
298
+ 0.006536096096038818,
299
+ 0.0065576000213623045,
300
+ 0.006660672187805175,
301
+ 0.006572000026702881,
302
+ 0.006560448169708252,
303
+ 0.006607967853546143,
304
+ 0.006562304019927978,
305
+ 0.006631040096282959,
306
+ 0.006599167823791504,
307
+ 0.006554880142211914,
308
+ 0.006549791812896728,
309
+ 0.006527840137481689,
310
+ 0.006475359916687012
311
  ]
312
  },
313
  "throughput": {
314
  "unit": "tokens/s",
315
+ "value": 143.98819841436446
316
  },
317
  "energy": {
318
  "unit": "kWh",
319
+ "cpu": 7.305081965990397e-08,
320
+ "ram": 3.958120297018232e-08,
321
+ "gpu": 1.7985584374026344e-07,
322
+ "total": 2.9248786637034973e-07
323
  },
324
  "efficiency": {
325
  "unit": "tokens/kWh",
326
+ "value": 3418945.245180853
327
  }
328
  },
329
  "per_token": {
 
331
  "latency": {
332
  "unit": "s",
333
  "count": 74,
334
+ "total": 0.4805845131874085,
335
+ "mean": 0.0064943853133433566,
336
+ "stdev": 0.0003748631868526816,
337
+ "p50": 0.006271487951278687,
338
+ "p90": 0.007012044858932495,
339
+ "p95": 0.00713600013256073,
340
+ "p99": 0.007274291386604309,
341
  "values": [
342
+ 0.006936575889587402,
343
+ 0.007189504146575928,
344
+ 0.007134208202362061,
345
+ 0.007139328002929687,
346
+ 0.0069212160110473635,
347
+ 0.007087103843688965,
348
+ 0.0070348801612854,
349
+ 0.007304192066192627,
350
+ 0.006941696166992187,
351
+ 0.006808576107025147,
352
+ 0.006889472007751465,
353
+ 0.007024640083312988,
354
+ 0.006819839954376221,
355
+ 0.006686719894409179,
356
+ 0.006761472225189209,
357
+ 0.0068618240356445315,
358
+ 0.006749184131622315,
359
+ 0.006904831886291504,
360
+ 0.006982656002044678,
361
+ 0.007263232231140137,
362
+ 0.006886367797851563,
363
+ 0.006788095951080322,
364
+ 0.006833151817321777,
365
+ 0.006889408111572266,
366
+ 0.006947840213775635,
367
+ 0.0062791681289672855,
368
+ 0.006604800224304199,
369
+ 0.006796288013458252,
370
+ 0.006894591808319092,
371
+ 0.00672870397567749,
372
+ 0.006910975933074951,
373
+ 0.006483903884887695,
374
  0.006401023864746094,
375
+ 0.00637440013885498,
376
+ 0.006316031932830811,
377
+ 0.006325247764587402,
378
+ 0.006100992202758789,
379
+ 0.006177792072296143,
380
+ 0.006112256050109863,
381
+ 0.006115327835083008,
382
+ 0.006113279819488526,
383
+ 0.006196224212646485,
384
+ 0.006171648025512695,
385
+ 0.0061849279403686525,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  0.006211584091186524,
387
+ 0.0061931519508361815,
388
+ 0.00617574405670166,
389
+ 0.006161407947540283,
390
+ 0.00619212818145752,
391
+ 0.006199295997619629,
392
+ 0.006283199787139893,
393
+ 0.006168575763702393,
394
+ 0.006166528224945069,
395
+ 0.0062494721412658695,
396
+ 0.006194176197052002,
397
+ 0.006178815841674804,
398
+ 0.006145023822784424,
399
+ 0.006208479881286621,
400
+ 0.006203392028808594,
401
+ 0.006182911872863769,
402
+ 0.006162432193756104,
403
+ 0.006147071838378906,
404
+ 0.006146111965179443,
405
+ 0.0062638077735900875,
406
+ 0.00617574405670166,
407
+ 0.0061645121574401855,
408
+ 0.006220799922943115,
409
+ 0.006139904022216797,
410
+ 0.006236192226409912,
411
+ 0.006213600158691406,
412
+ 0.006169600009918213,
413
+ 0.006162432193756104,
414
+ 0.006112256050109863,
415
+ 0.006082560062408447
416
  ]
417
  },
418
  "throughput": {
419
  "unit": "tokens/s",
420
+ "value": 153.9791607290995
421
  },
422
  "energy": null,
423
  "efficiency": null