IlyasMoutawwakil HF staff commited on
Commit
9df1b14
·
verified ·
1 Parent(s): 1ce05f8

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",
@@ -85,7 +86,7 @@
85
  "gpu_count": 1,
86
  "gpu_vram_mb": 68702699520,
87
  "optimum_benchmark_version": "0.3.1",
88
- "optimum_benchmark_commit": "c31e63ddb94c29460ba90ff599147e94ff80543a",
89
  "transformers_version": "4.42.4",
90
  "transformers_commit": null,
91
  "accelerate_version": "0.32.1",
@@ -104,89 +105,86 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1186.28352,
108
- "max_global_vram": 1095.950336,
109
- "max_process_vram": 187699.273728,
110
  "max_reserved": 713.03168,
111
  "max_allocated": 500.44672
112
  },
113
  "latency": {
114
  "unit": "s",
115
- "count": 61,
116
- "total": 0.5063812875747681,
117
- "mean": 0.008301332583192919,
118
- "stdev": 0.0004974294426729113,
119
- "p50": 0.008208903312683105,
120
- "p90": 0.008794658660888672,
121
- "p95": 0.00894777774810791,
122
- "p99": 0.010126425170898436,
123
  "values": [
124
- 0.010940403938293456,
125
- 0.009583772659301758,
126
- 0.008963618278503418,
127
- 0.008648900032043457,
128
- 0.008514341354370117,
129
- 0.008650179862976073,
130
- 0.008525541305541992,
131
- 0.008238503456115723,
132
- 0.008306502342224121,
133
- 0.008201223373413086,
134
- 0.008525381088256836,
135
- 0.008457382202148438,
136
- 0.008794658660888672,
137
- 0.00894777774810791,
138
- 0.008509381294250488,
139
- 0.00880777931213379,
140
- 0.008703779220581055,
141
- 0.008468582153320312,
142
- 0.008305062294006347,
143
- 0.008598819732666015,
144
- 0.008514500617980958,
145
- 0.008400422096252441,
146
- 0.008107942581176758,
147
- 0.008238983154296876,
148
- 0.008184423446655273,
149
- 0.008444742202758789,
150
- 0.008080583572387695,
151
- 0.00815898323059082,
152
- 0.008339141845703125,
153
- 0.008269542694091797,
154
- 0.008208903312683105,
155
- 0.007862985134124756,
156
- 0.00788074493408203,
157
- 0.007900425910949707,
158
- 0.007908424854278565,
159
- 0.00830394172668457,
160
- 0.008316902160644532,
161
- 0.008844898223876954,
162
- 0.008775778770446777,
163
- 0.008315463066101075,
164
- 0.007948264122009278,
165
- 0.008011783599853516,
166
- 0.007990024089813232,
167
- 0.00787082576751709,
168
- 0.00788986587524414,
169
- 0.008168422698974609,
170
- 0.007933064937591553,
171
- 0.00789610481262207,
172
- 0.00801402473449707,
173
- 0.008010985374450684,
174
- 0.007842505931854248,
175
- 0.007867146015167236,
176
- 0.007964744091033935,
177
- 0.007964105129241943,
178
- 0.007852906227111817,
179
- 0.007880745887756347,
180
- 0.007910824775695801,
181
- 0.00805466365814209,
182
- 0.007850985050201416,
183
- 0.007838984966278077,
184
- 0.007870985984802245
185
  ]
186
  },
187
  "throughput": {
188
  "unit": "tokens/s",
189
- "value": 240.92517435685554
190
  },
191
  "energy": null,
192
  "efficiency": null
@@ -194,89 +192,86 @@
194
  "decode": {
195
  "memory": {
196
  "unit": "MB",
197
- "max_ram": 1186.28352,
198
- "max_global_vram": 1095.950336,
199
- "max_process_vram": 168546.295808,
200
  "max_reserved": 713.03168,
201
  "max_allocated": 500.670464
202
  },
203
  "latency": {
204
  "unit": "s",
205
- "count": 61,
206
- "total": 0.49772069835662847,
207
- "mean": 0.0081593557107644,
208
- "stdev": 0.0003415863402576623,
209
- "p50": 0.008071304321289063,
210
- "p90": 0.008463460922241211,
211
- "p95": 0.008606019973754883,
212
- "p99": 0.009322622871398924,
213
  "values": [
214
- 0.009937690734863282,
215
- 0.008912577629089355,
216
- 0.008443620681762696,
217
- 0.008295302391052245,
218
- 0.008238822937011718,
219
- 0.008248742103576661,
220
- 0.008026344299316406,
221
- 0.008103623390197753,
222
- 0.008025224685668946,
223
- 0.00811306381225586,
224
- 0.008325382232666016,
225
- 0.008356101989746094,
226
- 0.008286823272705078,
227
- 0.008458822250366212,
228
- 0.00834090232849121,
229
- 0.008606019973754883,
230
- 0.008454821586608886,
231
- 0.007755465984344482,
232
- 0.008199143409729003,
233
- 0.008335621833801269,
234
- 0.008441221237182618,
235
- 0.007910824775695801,
236
- 0.007849065780639649,
237
- 0.00814106273651123,
238
- 0.008389382362365723,
239
- 0.008472101211547851,
240
- 0.008310821533203125,
241
- 0.008173382759094239,
242
- 0.008243303298950195,
243
- 0.007978663921356202,
244
- 0.008150982856750488,
245
- 0.007907304763793945,
246
- 0.007862346172332764,
247
- 0.007857385158538819,
248
- 0.007876904964447021,
249
- 0.008551301002502442,
250
- 0.008463460922241211,
251
- 0.008637060165405273,
252
- 0.008268742561340333,
253
- 0.008204902648925781,
254
- 0.00784522581100464,
255
- 0.007930825233459473,
256
- 0.008063943862915039,
257
- 0.007999144077301025,
258
- 0.007860424995422364,
259
- 0.007942985057830811,
260
- 0.00803386402130127,
261
- 0.008016903877258301,
262
- 0.007913704872131347,
263
- 0.007856744766235352,
264
- 0.008066503524780274,
265
- 0.008064104080200194,
266
- 0.00789386510848999,
267
- 0.007962504863739013,
268
- 0.008071304321289063,
269
- 0.007830824851989746,
270
- 0.007928424835205079,
271
- 0.007818665981292725,
272
- 0.007937224864959716,
273
- 0.00777162504196167,
274
- 0.007757545948028565
275
  ]
276
  },
277
  "throughput": {
278
  "unit": "tokens/s",
279
- "value": 122.55869647657708
280
  },
281
  "energy": null,
282
  "efficiency": null
@@ -285,81 +280,78 @@
285
  "memory": null,
286
  "latency": {
287
  "unit": "s",
288
- "count": 61,
289
- "total": 0.4524752535820006,
290
- "mean": 0.0074176271079016524,
291
- "stdev": 0.0003652282305234373,
292
- "p50": 0.00733227014541626,
293
- "p90": 0.007731626987457276,
294
- "p95": 0.007904425144195556,
295
- "p99": 0.008648196029663085,
296
  "values": [
297
- 0.009408894538879395,
298
- 0.008141063690185546,
299
- 0.007715146064758301,
300
- 0.007554987907409668,
301
- 0.00758730697631836,
302
- 0.0076426658630371095,
303
- 0.007393387794494629,
304
- 0.007362028121948242,
305
- 0.00733227014541626,
306
- 0.007315629959106445,
307
- 0.0075796270370483395,
308
- 0.0075813870429992675,
309
- 0.0075279479026794435,
310
- 0.007710667133331299,
311
- 0.007565067768096924,
312
- 0.007847624778747559,
313
- 0.007731626987457276,
314
- 0.007103630065917969,
315
- 0.0074306678771972655,
316
- 0.007562828063964844,
317
- 0.007660906791687011,
318
- 0.007208590030670166,
319
- 0.007097711086273193,
320
- 0.007375147819519043,
321
- 0.007611466884613037,
322
- 0.007697065830230713,
323
- 0.007533866882324219,
324
- 0.007372589111328125,
325
- 0.0074668288230896,
326
- 0.007259628772735596,
327
- 0.007409547805786133,
328
- 0.007157229900360108,
329
- 0.0071052308082580565,
330
- 0.007092909812927246,
331
- 0.007136750221252442,
332
- 0.007904425144195556,
333
- 0.007796425819396973,
334
- 0.007970984935760497,
335
- 0.00757338809967041,
336
- 0.007469868183135987,
337
- 0.007134030818939209,
338
- 0.007132270812988281,
339
- 0.00721707010269165,
340
- 0.007217069149017334,
341
- 0.007108270168304443,
342
- 0.007159471035003662,
343
- 0.007249709129333496,
344
- 0.007241069793701172,
345
- 0.007105710029602051,
346
- 0.007080911159515381,
347
- 0.007210669994354248,
348
- 0.007271149158477783,
349
- 0.007072111129760742,
350
- 0.007195469856262207,
351
- 0.007270830154418945,
352
- 0.007073231220245361,
353
- 0.007137550830841065,
354
- 0.007123470783233643,
355
- 0.007282509803771973,
356
- 0.007115950107574463,
357
- 0.007081709861755371
358
  ]
359
  },
360
  "throughput": {
361
  "unit": "tokens/s",
362
- "value": 134.81400257162383
363
  },
364
  "energy": null,
365
  "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",
 
86
  "gpu_count": 1,
87
  "gpu_vram_mb": 68702699520,
88
  "optimum_benchmark_version": "0.3.1",
89
+ "optimum_benchmark_commit": "402644384abc46743e46dac65be6512bc68c9d92",
90
  "transformers_version": "4.42.4",
91
  "transformers_commit": null,
92
  "accelerate_version": "0.32.1",
 
105
  "prefill": {
106
  "memory": {
107
  "unit": "MB",
108
+ "max_ram": 1183.227904,
109
+ "max_global_vram": 1096.019968,
110
+ "max_process_vram": 180052.672512,
111
  "max_reserved": 713.03168,
112
  "max_allocated": 500.44672
113
  },
114
  "latency": {
115
  "unit": "s",
116
+ "count": 58,
117
+ "total": 0.49989761114120473,
118
+ "mean": 0.008618924330020773,
119
+ "stdev": 0.0005745790797132161,
120
+ "p50": 0.0086279034614563,
121
+ "p90": 0.008981390762329101,
122
+ "p95": 0.009029350566864013,
123
+ "p99": 0.010810823411941528,
124
  "values": [
125
+ 0.010960300445556641,
126
+ 0.009007662773132323,
127
+ 0.008847502708435059,
128
+ 0.008541263580322266,
129
+ 0.008546703338623047,
130
+ 0.008602224349975585,
131
+ 0.008479984283447265,
132
+ 0.008517904281616211,
133
+ 0.008653582572937012,
134
+ 0.008415023803710937,
135
+ 0.008483023643493652,
136
+ 0.007959024906158447,
137
+ 0.008043185234069824,
138
+ 0.008052305221557617,
139
+ 0.009096941947937011,
140
+ 0.008244625091552734,
141
+ 0.008857583045959473,
142
+ 0.010698060035705566,
143
+ 0.008942063331604005,
144
+ 0.008893102645874023,
145
+ 0.008891022682189942,
146
+ 0.008881583213806152,
147
+ 0.008191023826599121,
148
+ 0.007906545162200927,
149
+ 0.007899664878845214,
150
+ 0.0079179048538208,
151
+ 0.00790478515625,
152
+ 0.007914225101470947,
153
+ 0.007875824928283691,
154
+ 0.007871825218200684,
155
+ 0.007950544834136963,
156
+ 0.007895184993743896,
157
+ 0.008905583381652833,
158
+ 0.008545104026794434,
159
+ 0.008474224090576172,
160
+ 0.008446224212646484,
161
+ 0.00848526382446289,
162
+ 0.008498064041137695,
163
+ 0.008332943916320801,
164
+ 0.007948305130004883,
165
+ 0.008038864135742188,
166
+ 0.00897678279876709,
167
+ 0.008992142677307129,
168
+ 0.008879022598266601,
169
+ 0.008901423454284667,
170
+ 0.009017422676086425,
171
+ 0.008872303009033203,
172
+ 0.0088515043258667,
173
+ 0.008825263023376466,
174
+ 0.00886958408355713,
175
+ 0.008920303344726562,
176
+ 0.008879343032836913,
177
+ 0.008844623565673828,
178
+ 0.008883182525634765,
179
+ 0.008888142585754395,
180
+ 0.008913103103637696,
181
+ 0.008871982574462891,
182
+ 0.008894702911376954
 
 
 
183
  ]
184
  },
185
  "throughput": {
186
  "unit": "tokens/s",
187
+ "value": 232.04751816114154
188
  },
189
  "energy": null,
190
  "efficiency": null
 
192
  "decode": {
193
  "memory": {
194
  "unit": "MB",
195
+ "max_ram": 1183.227904,
196
+ "max_global_vram": 1096.015872,
197
+ "max_process_vram": 182925.856768,
198
  "max_reserved": 713.03168,
199
  "max_allocated": 500.670464
200
  },
201
  "latency": {
202
  "unit": "s",
203
+ "count": 58,
204
+ "total": 0.5014396800994873,
205
+ "mean": 0.00864551172585323,
206
+ "stdev": 0.0005577496866400949,
207
+ "p50": 0.008701183319091798,
208
+ "p90": 0.008974270725250243,
209
+ "p95": 0.009060862922668457,
210
+ "p99": 0.010761453256607056,
211
  "values": [
212
+ 0.00871518325805664,
213
+ 0.008748943328857423,
214
+ 0.008562383651733398,
215
+ 0.00839838409423828,
216
+ 0.008546064376831055,
217
+ 0.00850990390777588,
218
+ 0.008526063919067383,
219
+ 0.008775663375854493,
220
+ 0.008584943771362305,
221
+ 0.011668618202209474,
222
+ 0.008026864051818848,
223
+ 0.007947824954986572,
224
+ 0.008121264457702638,
225
+ 0.01007710075378418,
226
+ 0.008383824348449706,
227
+ 0.008898862838745117,
228
+ 0.008696943283081056,
229
+ 0.009181901931762696,
230
+ 0.008935982704162598,
231
+ 0.008976622581481934,
232
+ 0.00887358283996582,
233
+ 0.008633423805236816,
234
+ 0.0080708646774292,
235
+ 0.007883985042572022,
236
+ 0.008031345367431641,
237
+ 0.008280783653259278,
238
+ 0.008075345039367675,
239
+ 0.008098223686218261,
240
+ 0.008121424674987793,
241
+ 0.008043503761291504,
242
+ 0.00807294464111328,
243
+ 0.008186384201049805,
244
+ 0.008401583671569825,
245
+ 0.008735182762145997,
246
+ 0.008415504455566407,
247
+ 0.00839678382873535,
248
+ 0.008539982795715332,
249
+ 0.00860542392730713,
250
+ 0.008207023620605469,
251
+ 0.008084304809570312,
252
+ 0.00892606258392334,
253
+ 0.00897774314880371,
254
+ 0.008761102676391602,
255
+ 0.008728143692016601,
256
+ 0.008760943412780761,
257
+ 0.008806222915649415,
258
+ 0.008761584281921387,
259
+ 0.00870542335510254,
260
+ 0.008735664367675781,
261
+ 0.00889166259765625,
262
+ 0.008973262786865234,
263
+ 0.00903950309753418,
264
+ 0.008864462852478027,
265
+ 0.008931662559509277,
266
+ 0.008800301551818848,
267
+ 0.008846543312072753,
268
+ 0.008915983200073242,
269
+ 0.008972462654113769
 
 
 
270
  ]
271
  },
272
  "throughput": {
273
  "unit": "tokens/s",
274
+ "value": 115.66695317868064
275
  },
276
  "energy": null,
277
  "efficiency": null
 
280
  "memory": null,
281
  "latency": {
282
  "unit": "s",
283
+ "count": 58,
284
+ "total": 0.45365817785263063,
285
+ "mean": 0.00782169272159708,
286
+ "stdev": 0.0005454293718873966,
287
+ "p50": 0.007903344869613648,
288
+ "p90": 0.008109168910980225,
289
+ "p95": 0.008207168102264404,
290
+ "p99": 0.009748138122558593,
291
  "values": [
292
+ 0.007982223987579347,
293
+ 0.00796494483947754,
294
+ 0.007734385967254639,
295
+ 0.007623344898223877,
296
+ 0.007698066234588623,
297
+ 0.007633745193481445,
298
+ 0.007622546195983887,
299
+ 0.007779504776000977,
300
+ 0.007646066188812256,
301
+ 0.010895978927612305,
302
+ 0.007256946086883545,
303
+ 0.007170385837554931,
304
+ 0.007299026012420654,
305
+ 0.00888222312927246,
306
+ 0.007517265796661377,
307
+ 0.008169584274291992,
308
+ 0.007933424949645997,
309
+ 0.008229743957519532,
310
+ 0.008092465400695801,
311
+ 0.008089585304260254,
312
+ 0.008078865051269531,
313
+ 0.0078732647895813,
314
+ 0.007214546203613281,
315
+ 0.007232306003570557,
316
+ 0.007227827072143555,
317
+ 0.007376465797424316,
318
+ 0.007200786113739014,
319
+ 0.007240945816040039,
320
+ 0.007267665863037109,
321
+ 0.00718846607208252,
322
+ 0.007224145889282226,
323
+ 0.007433105945587158,
324
+ 0.007625586032867432,
325
+ 0.008001745223999024,
326
+ 0.0077081451416015625,
327
+ 0.00759182596206665,
328
+ 0.007653425216674805,
329
+ 0.007741105079650879,
330
+ 0.00740622615814209,
331
+ 0.007270386219024658,
332
+ 0.00800190544128418,
333
+ 0.008102544784545898,
334
+ 0.008055344581604004,
335
+ 0.008029584884643554,
336
+ 0.008023824691772461,
337
+ 0.008009425163269043,
338
+ 0.007990065097808838,
339
+ 0.007965583801269532,
340
+ 0.007968625068664551,
341
+ 0.00805726432800293,
342
+ 0.00809006404876709,
343
+ 0.008203184127807617,
344
+ 0.008047823905944823,
345
+ 0.008066225051879882,
346
+ 0.008026384353637695,
347
+ 0.008054224967956543,
348
+ 0.008063184738159179,
349
+ 0.008124625205993653
 
 
 
350
  ]
351
  },
352
  "throughput": {
353
  "unit": "tokens/s",
354
+ "value": 127.84956346326706
355
  },
356
  "energy": null,
357
  "efficiency": null