IlyasMoutawwakil HF staff commited on
Commit
9a56b7d
·
verified ·
1 Parent(s): c8e1485

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.1+rocm5.7",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
@@ -11,7 +11,7 @@
11
  "model": "openai-community/gpt2",
12
  "processor": "openai-community/gpt2",
13
  "device": "cuda",
14
- "device_ids": "5",
15
  "seed": 42,
16
  "inter_op_num_threads": null,
17
  "intra_op_num_threads": null,
@@ -111,24 +111,24 @@
111
  "load": {
112
  "memory": {
113
  "unit": "MB",
114
- "max_ram": 1033.981952,
115
  "max_global_vram": 68702.69952,
116
- "max_process_vram": 43302.690816,
117
  "max_reserved": 725.614592,
118
  "max_allocated": 666.338304
119
  },
120
  "latency": {
121
  "unit": "s",
122
  "count": 1,
123
- "total": 7.77878857421875,
124
- "mean": 7.77878857421875,
125
  "stdev": 0.0,
126
- "p50": 7.77878857421875,
127
- "p90": 7.77878857421875,
128
- "p95": 7.77878857421875,
129
- "p99": 7.77878857421875,
130
  "values": [
131
- 7.77878857421875
132
  ]
133
  },
134
  "throughput": null,
@@ -138,89 +138,90 @@
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
- "max_ram": 1203.318784,
142
  "max_global_vram": 68702.69952,
143
- "max_process_vram": 276316.766208,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
- "count": 61,
150
- "total": 0.5093033270835876,
151
- "mean": 0.00834923487022275,
152
- "stdev": 0.0008606738249587263,
153
- "p50": 0.008091334342956544,
154
- "p90": 0.008932291030883789,
155
- "p95": 0.009389089584350587,
156
- "p99": 0.011532347297668452,
157
  "values": [
158
- 0.01036108684539795,
159
- 0.009389089584350587,
160
- 0.009053570747375488,
161
- 0.008934370994567871,
162
- 0.008883171081542969,
163
- 0.008932291030883789,
164
- 0.00888829231262207,
165
- 0.008811652183532715,
166
- 0.00881949234008789,
167
- 0.008884931564331055,
168
- 0.010098848342895508,
169
- 0.008873731613159179,
170
- 0.007903814792633057,
171
- 0.007907013893127441,
172
- 0.007741734981536865,
173
- 0.007708614826202393,
174
- 0.007729414939880371,
175
- 0.0079550142288208,
176
- 0.008091334342956544,
177
- 0.007713574886322022,
178
- 0.007740294933319092,
179
- 0.007713894844055175,
180
- 0.007718056201934814,
181
- 0.0077486162185668945,
182
- 0.007730374813079834,
183
- 0.00770957612991333,
184
- 0.007713894844055175,
185
- 0.0077407751083374025,
186
- 0.007727334976196289,
187
- 0.00817949390411377,
188
- 0.008023174285888671,
189
- 0.008222053527832032,
190
- 0.008023493766784668,
191
- 0.008029894828796387,
192
- 0.008062213897705077,
193
- 0.008051013946533203,
194
- 0.007956614971160889,
195
- 0.007721254825592041,
196
- 0.00793933391571045,
197
- 0.007938694953918458,
198
- 0.007772934913635254,
199
- 0.007729575157165527,
200
- 0.007966214179992676,
201
- 0.007736616134643555,
202
- 0.007715815067291259,
203
- 0.008590052604675293,
204
- 0.008708452224731445,
205
- 0.008730212211608886,
206
- 0.00816173267364502,
207
- 0.008747331619262695,
208
- 0.008725091934204102,
209
- 0.008704451560974122,
210
- 0.008739972114562988,
211
- 0.008219014167785645,
212
- 0.0082990140914917,
213
- 0.00824557399749756,
214
- 0.008422853469848633,
215
- 0.008207972526550294,
216
- 0.013289237976074219,
217
- 0.008126693725585938,
218
- 0.008093414306640625
 
219
  ]
220
  },
221
  "throughput": {
222
  "unit": "tokens/s",
223
- "value": 239.54290795350948
224
  },
225
  "energy": null,
226
  "efficiency": null
@@ -228,89 +229,90 @@
228
  "decode": {
229
  "memory": {
230
  "unit": "MB",
231
- "max_ram": 1203.556352,
232
  "max_global_vram": 68702.69952,
233
- "max_process_vram": 248533.868544,
234
  "max_reserved": 725.614592,
235
  "max_allocated": 513.259008
236
  },
237
  "latency": {
238
  "unit": "s",
239
- "count": 61,
240
- "total": 0.4893865957260131,
241
- "mean": 0.008022731077475627,
242
- "stdev": 0.0014471247906509572,
243
- "p50": 0.007768455028533935,
244
- "p90": 0.008472132682800292,
245
- "p95": 0.008583171844482422,
246
- "p99": 0.012960598564147935,
247
  "values": [
248
- 0.009098851203918457,
249
- 0.0085657320022583,
250
- 0.008472132682800292,
251
- 0.008399494171142578,
252
- 0.00843949317932129,
253
- 0.008506373405456543,
254
- 0.008338852882385254,
255
- 0.008374853134155274,
256
- 0.008291172981262206,
257
- 0.00868973159790039,
258
- 0.008583171844482422,
259
- 0.008220293045043946,
260
- 0.0076138958930969235,
261
- 0.007435017108917237,
262
- 0.007488935947418213,
263
- 0.007476136207580566,
264
- 0.007412617206573486,
265
- 0.0076702160835266115,
266
- 0.007469255924224854,
267
- 0.007475175857543945,
268
- 0.007370057106018066,
269
- 0.00742301607131958,
270
- 0.007561575889587402,
271
- 0.007398215770721436,
272
- 0.007432616233825683,
273
- 0.007423175811767578,
274
- 0.007404616832733154,
275
- 0.007423495769500733,
276
- 0.00743869686126709,
277
- 0.007626376152038574,
278
- 0.018753219604492187,
279
- 0.007809414863586426,
280
- 0.007787815093994141,
281
- 0.007768455028533935,
282
- 0.007774055004119873,
283
- 0.008018375396728516,
284
- 0.007477896213531494,
285
- 0.007419336795806885,
286
- 0.007428135871887207,
287
- 0.007504936218261719,
288
- 0.007467175960540771,
289
- 0.00742669677734375,
290
- 0.007470376014709472,
291
- 0.007669575214385986,
292
- 0.007462535858154297,
293
- 0.008307172775268554,
294
- 0.00828749370574951,
295
- 0.007916295051574707,
296
- 0.00799741506576538,
297
- 0.00819245433807373,
298
- 0.008283493041992187,
299
- 0.008324773788452148,
300
- 0.007971014022827148,
301
- 0.007914854049682616,
302
- 0.007692295074462891,
303
- 0.007884134769439697,
304
- 0.007811174869537353,
305
- 0.007899494171142578,
306
- 0.007627335071563721,
307
- 0.007737895011901855,
308
- 0.007778056144714355
 
309
  ]
310
  },
311
  "throughput": {
312
  "unit": "tokens/s",
313
- "value": 124.64583323845532
314
  },
315
  "energy": null,
316
  "efficiency": null
@@ -319,81 +321,82 @@
319
  "memory": null,
320
  "latency": {
321
  "unit": "s",
322
- "count": 61,
323
- "total": 0.45583742046356196,
324
- "mean": 0.007472744597763311,
325
- "stdev": 0.001455279920310665,
326
- "p50": 0.007212616920471191,
327
- "p90": 0.007920615196228028,
328
- "p95": 0.008002373695373535,
329
- "p99": 0.012368600654602036,
330
  "values": [
331
- 0.008422053337097168,
332
- 0.00798893404006958,
333
- 0.007923335075378417,
334
- 0.007854855060577393,
335
- 0.007840614795684814,
336
- 0.007920615196228028,
337
- 0.007829094886779785,
338
- 0.007807175159454346,
339
- 0.007758534908294677,
340
- 0.00811725425720215,
341
- 0.008002373695373535,
342
- 0.007667174816131592,
343
- 0.007060297012329101,
344
- 0.006888937950134277,
345
- 0.006885578155517578,
346
- 0.0068972578048706054,
347
- 0.006879017829895019,
348
- 0.007141897201538086,
349
- 0.006916937828063965,
350
- 0.006887817859649658,
351
- 0.006828938961029053,
352
- 0.006891337871551514,
353
- 0.007017096996307373,
354
- 0.006877577781677246,
355
- 0.0068943781852722165,
356
- 0.00689373779296875,
357
- 0.006885578155517578,
358
- 0.006888457775115967,
359
- 0.006885898113250732,
360
- 0.007050057888031006,
361
- 0.018288421630859374,
362
- 0.007239336967468262,
363
- 0.007236617088317871,
364
- 0.00722381591796875,
365
- 0.007230697154998779,
366
- 0.007512616157531738,
367
- 0.006880777835845947,
368
- 0.006882537841796875,
369
- 0.006905258178710938,
370
- 0.006969738006591797,
371
- 0.006916937828063965,
372
- 0.006892938137054444,
373
- 0.006916138172149658,
374
- 0.00712205696105957,
375
- 0.006918377876281738,
376
- 0.007780455112457276,
377
- 0.007738855838775635,
378
- 0.00740669584274292,
379
- 0.007480136871337891,
380
- 0.00769181489944458,
381
- 0.0077524552345275876,
382
- 0.007792934894561767,
383
- 0.007387815952301025,
384
- 0.007354055881500244,
385
- 0.007125417232513428,
386
- 0.007298216819763183,
387
- 0.007241735935211182,
388
- 0.007321416854858398,
389
- 0.007116137027740478,
390
- 0.007197576999664307,
391
- 0.007212616920471191
 
392
  ]
393
  },
394
  "throughput": {
395
  "unit": "tokens/s",
396
- "value": 133.81964108599576
397
  },
398
  "energy": null,
399
  "efficiency": null
 
3
  "name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
4
  "backend": {
5
  "name": "pytorch",
6
+ "version": "2.4.1+rocm6.1",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
 
11
  "model": "openai-community/gpt2",
12
  "processor": "openai-community/gpt2",
13
  "device": "cuda",
14
+ "device_ids": "4",
15
  "seed": 42,
16
  "inter_op_num_threads": null,
17
  "intra_op_num_threads": null,
 
111
  "load": {
112
  "memory": {
113
  "unit": "MB",
114
+ "max_ram": 1389.944832,
115
  "max_global_vram": 68702.69952,
116
+ "max_process_vram": 0.0,
117
  "max_reserved": 725.614592,
118
  "max_allocated": 666.338304
119
  },
120
  "latency": {
121
  "unit": "s",
122
  "count": 1,
123
+ "total": 7.91659228515625,
124
+ "mean": 7.91659228515625,
125
  "stdev": 0.0,
126
+ "p50": 7.91659228515625,
127
+ "p90": 7.91659228515625,
128
+ "p95": 7.91659228515625,
129
+ "p99": 7.91659228515625,
130
  "values": [
131
+ 7.91659228515625
132
  ]
133
  },
134
  "throughput": null,
 
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
+ "max_ram": 1548.877824,
142
  "max_global_vram": 68702.69952,
143
+ "max_process_vram": 0.0,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
+ "count": 62,
150
+ "total": 0.5266619615554811,
151
+ "mean": 0.008494547767023887,
152
+ "stdev": 0.007469384380191624,
153
+ "p50": 0.007280853986740112,
154
+ "p90": 0.007828739833831788,
155
+ "p95": 0.007862747812271118,
156
+ "p99": 0.037788903064727805,
157
  "values": [
158
+ 0.007774851799011231,
159
+ 0.007747491836547851,
160
+ 0.007591813087463379,
161
+ 0.007542212963104248,
162
+ 0.007355173110961914,
163
+ 0.007299493789672851,
164
+ 0.007155173778533935,
165
+ 0.007170373916625976,
166
+ 0.007239813804626465,
167
+ 0.007499173164367676,
168
+ 0.007183333873748779,
169
+ 0.007153254985809326,
170
+ 0.007183333873748779,
171
+ 0.007265573978424073,
172
+ 0.0073042941093444825,
173
+ 0.007379814147949219,
174
+ 0.00728589391708374,
175
+ 0.007195974826812744,
176
+ 0.009574525833129883,
177
+ 0.007212775230407715,
178
+ 0.007593253135681152,
179
+ 0.007738371849060058,
180
+ 0.007851652145385742,
181
+ 0.007811172008514404,
182
+ 0.007863331794738769,
183
+ 0.007830691814422608,
184
+ 0.06536392974853515,
185
+ 0.007005575180053711,
186
+ 0.007832771778106689,
187
+ 0.007275814056396484,
188
+ 0.00726301383972168,
189
+ 0.007183973789215088,
190
+ 0.007456293106079101,
191
+ 0.007303493976593018,
192
+ 0.007368293762207032,
193
+ 0.0074498929977417,
194
+ 0.007257413864135742,
195
+ 0.007371173858642578,
196
+ 0.0077473330497741695,
197
+ 0.007480292797088623,
198
+ 0.0072258939743041995,
199
+ 0.00717565393447876,
200
+ 0.007031974792480469,
201
+ 0.006923655033111572,
202
+ 0.006960935115814209,
203
+ 0.0069306960105896,
204
+ 0.006914694786071777,
205
+ 0.0069074959754943845,
206
+ 0.006897735118865967,
207
+ 0.006931495189666748,
208
+ 0.006942375183105469,
209
+ 0.006950056076049805,
210
+ 0.006892614841461182,
211
+ 0.006895014762878418,
212
+ 0.020158967971801757,
213
+ 0.007062854766845703,
214
+ 0.006919334888458252,
215
+ 0.006922056198120117,
216
+ 0.007804932117462159,
217
+ 0.0077894129753112796,
218
+ 0.007767813205718994,
219
+ 0.007494214057922363
220
  ]
221
  },
222
  "throughput": {
223
  "unit": "tokens/s",
224
+ "value": 235.44514138399052
225
  },
226
  "energy": null,
227
  "efficiency": null
 
229
  "decode": {
230
  "memory": {
231
  "unit": "MB",
232
+ "max_ram": 1548.877824,
233
  "max_global_vram": 68702.69952,
234
+ "max_process_vram": 0.0,
235
  "max_reserved": 725.614592,
236
  "max_allocated": 513.259008
237
  },
238
  "latency": {
239
  "unit": "s",
240
+ "count": 62,
241
+ "total": 0.47598197507858286,
242
+ "mean": 0.007677128630299723,
243
+ "stdev": 0.0006788733601986296,
244
+ "p50": 0.007562933206558228,
245
+ "p90": 0.008114608860015868,
246
+ "p95": 0.008192163228988648,
247
+ "p99": 0.009887631635665896,
248
  "values": [
249
+ 0.00805997085571289,
250
+ 0.00797085189819336,
251
+ 0.007796291828155518,
252
+ 0.007656612873077393,
253
+ 0.0075881328582763675,
254
+ 0.007560293197631836,
255
+ 0.0074412541389465335,
256
+ 0.007450532913208008,
257
+ 0.0075508527755737305,
258
+ 0.007680932998657227,
259
+ 0.007409412860870362,
260
+ 0.0074342131614685055,
261
+ 0.007465573787689209,
262
+ 0.007592291831970215,
263
+ 0.007514692783355713,
264
+ 0.00753229284286499,
265
+ 0.007565732955932617,
266
+ 0.00785677194595337,
267
+ 0.007416933059692383,
268
+ 0.007681571960449219,
269
+ 0.00807469081878662,
270
+ 0.008060450553894044,
271
+ 0.008263490676879882,
272
+ 0.008189730644226074,
273
+ 0.008192291259765625,
274
+ 0.008197091102600097,
275
+ 0.0074161338806152345,
276
+ 0.007466372966766358,
277
+ 0.007951651096343994,
278
+ 0.007636292934417725,
279
+ 0.007517093181610107,
280
+ 0.007565573215484619,
281
+ 0.007621413230895996,
282
+ 0.007605253219604492,
283
+ 0.007887971878051759,
284
+ 0.007668773174285889,
285
+ 0.007620932102203369,
286
+ 0.01242795467376709,
287
+ 0.007663331985473633,
288
+ 0.007437094211578369,
289
+ 0.007423812866210937,
290
+ 0.007610373020172119,
291
+ 0.0072119741439819335,
292
+ 0.007222693920135498,
293
+ 0.007262854099273681,
294
+ 0.007353572845458984,
295
+ 0.007214694976806641,
296
+ 0.0071978940963745115,
297
+ 0.00732413387298584,
298
+ 0.007200613975524902,
299
+ 0.007252455234527588,
300
+ 0.007239014148712158,
301
+ 0.007208293914794922,
302
+ 0.007221254825592041,
303
+ 0.007487654209136963,
304
+ 0.007267973899841309,
305
+ 0.007209734916687012,
306
+ 0.007328773021697998,
307
+ 0.008090851783752441,
308
+ 0.008133410453796387,
309
+ 0.00811724853515625,
310
+ 0.007713891983032226
311
  ]
312
  },
313
  "throughput": {
314
  "unit": "tokens/s",
315
+ "value": 130.2570333461977
316
  },
317
  "energy": null,
318
  "efficiency": null
 
321
  "memory": null,
322
  "latency": {
323
  "unit": "s",
324
+ "count": 62,
325
+ "total": 0.44409649229049675,
326
+ "mean": 0.007162846649846724,
327
+ "stdev": 0.0006866867699017258,
328
+ "p50": 0.007029974937438965,
329
+ "p90": 0.007590644073486328,
330
+ "p95": 0.007630949115753173,
331
+ "p99": 0.009421662082672122,
332
  "values": [
333
+ 0.007421573162078857,
334
+ 0.007345094203948975,
335
+ 0.007221574783325195,
336
+ 0.007091334819793701,
337
+ 0.007028295040130615,
338
+ 0.007031654834747315,
339
+ 0.0069356560707092285,
340
+ 0.006925734996795654,
341
+ 0.007040295124053955,
342
+ 0.0071622152328491215,
343
+ 0.006907175064086914,
344
+ 0.006926855087280273,
345
+ 0.006971495151519775,
346
+ 0.007032614231109619,
347
+ 0.00695981502532959,
348
+ 0.007006694793701172,
349
+ 0.007035014152526856,
350
+ 0.006925095081329346,
351
+ 0.007023815155029297,
352
+ 0.007173093795776367,
353
+ 0.007552612781524659,
354
+ 0.007539652824401856,
355
+ 0.007740612030029297,
356
+ 0.007646533012390136,
357
+ 0.0076266927719116214,
358
+ 0.0076311731338500974,
359
+ 0.00686621618270874,
360
+ 0.006940935134887695,
361
+ 0.007461092948913574,
362
+ 0.007159335136413574,
363
+ 0.007011334896087646,
364
+ 0.0070801348686218265,
365
+ 0.007163654804229736,
366
+ 0.0071262140274047855,
367
+ 0.007391014099121094,
368
+ 0.007151975154876709,
369
+ 0.007156454086303711,
370
+ 0.012050996780395508,
371
+ 0.007199493885040284,
372
+ 0.006980134963989258,
373
+ 0.006965095043182373,
374
+ 0.007090054988861084,
375
+ 0.006726215839385987,
376
+ 0.006741896152496338,
377
+ 0.00677677583694458,
378
+ 0.006868134975433349,
379
+ 0.006734055995941162,
380
+ 0.00672653579711914,
381
+ 0.006849575996398926,
382
+ 0.006723495960235595,
383
+ 0.006756455898284912,
384
+ 0.006752295017242432,
385
+ 0.0067300558090209964,
386
+ 0.006736135959625244,
387
+ 0.006950376033782959,
388
+ 0.006771495819091797,
389
+ 0.006736616134643555,
390
+ 0.006789734840393066,
391
+ 0.007568613052368164,
392
+ 0.007619492053985596,
393
+ 0.00759309196472168,
394
+ 0.007248933792114258
395
  ]
396
  },
397
  "throughput": {
398
  "unit": "tokens/s",
399
+ "value": 139.60929905171133
400
  },
401
  "energy": null,
402
  "efficiency": null