IlyasMoutawwakil HF staff commited on
Commit
9267f6f
·
verified ·
1 Parent(s): 2875593

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.6.0.dev20240917+cu124",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
@@ -104,7 +104,7 @@
104
  "load": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 814.227456,
108
  "max_global_vram": 1362.624512,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
@@ -113,31 +113,31 @@
113
  "latency": {
114
  "unit": "s",
115
  "count": 1,
116
- "total": 8.5292421875,
117
- "mean": 8.5292421875,
118
  "stdev": 0.0,
119
- "p50": 8.5292421875,
120
- "p90": 8.5292421875,
121
- "p95": 8.5292421875,
122
- "p99": 8.5292421875,
123
  "values": [
124
- 8.5292421875
125
  ]
126
  },
127
  "throughput": null,
128
  "energy": {
129
  "unit": "kWh",
130
- "cpu": 1.0155982513955072e-06,
131
- "ram": 5.101656763365285e-07,
132
- "gpu": 1.7863903179968221e-06,
133
- "total": 3.3121542457288576e-06
134
  },
135
  "efficiency": null
136
  },
137
  "prefill": {
138
  "memory": {
139
  "unit": "MB",
140
- "max_ram": 1218.23232,
141
  "max_global_vram": 1373.110272,
142
  "max_process_vram": 0.0,
143
  "max_reserved": 725.614592,
@@ -145,106 +145,107 @@
145
  },
146
  "latency": {
147
  "unit": "s",
148
- "count": 69,
149
- "total": 0.48749135828018214,
150
- "mean": 0.007065092148988142,
151
- "stdev": 0.00027237795886031474,
152
- "p50": 0.007092480182647705,
153
- "p90": 0.007384518241882325,
154
- "p95": 0.007469094371795654,
155
- "p99": 0.007568043346405029,
156
  "values": [
157
- 0.007601183891296387,
158
- 0.0074486398696899415,
159
- 0.007470719814300537,
160
- 0.007092480182647705,
161
- 0.007174335956573487,
162
- 0.007268928050994873,
163
- 0.006965919971466065,
164
- 0.007074944019317627,
165
- 0.007242527961730957,
166
- 0.0071758079528808595,
167
- 0.007004735946655273,
168
- 0.007154848098754883,
169
- 0.007185440063476562,
170
- 0.007208255767822266,
171
- 0.00715174388885498,
172
- 0.007391327857971191,
173
- 0.007209375858306884,
174
- 0.007488351821899414,
175
- 0.007173088073730469,
176
- 0.007346240043640137,
177
- 0.007315584182739258,
178
- 0.007053215980529785,
179
- 0.007231488227844239,
180
- 0.00746665620803833,
181
- 0.007255839824676514,
182
- 0.007068031787872314,
183
- 0.007193024158477783,
184
- 0.007123519897460937,
185
- 0.007382815837860108,
186
- 0.007232287883758545,
187
- 0.0073398399353027345,
188
- 0.007119935989379883,
189
- 0.007015679836273193,
190
- 0.006978687763214112,
191
- 0.007057919979095459,
192
- 0.007044032096862793,
193
- 0.007038527965545654,
194
- 0.007272319793701172,
195
- 0.007188608169555664,
196
- 0.0072063679695129395,
197
- 0.00755244779586792,
198
- 0.0069630398750305175,
199
- 0.007026336193084717,
200
- 0.0069918398857116695,
201
- 0.0068552961349487304,
202
- 0.006823359966278076,
203
- 0.006553408145904541,
204
- 0.00671343994140625,
205
- 0.007264927864074707,
206
- 0.007351871967315674,
207
- 0.0073480639457702635,
208
- 0.007057536125183106,
209
- 0.006979167938232422,
210
- 0.007136447906494141,
211
- 0.006886879920959473,
212
- 0.006894720077514648,
213
- 0.006810175895690918,
214
- 0.006833983898162842,
215
- 0.006823616027832031,
216
- 0.0067628159523010255,
217
- 0.00679145622253418,
218
- 0.006794943809509278,
219
- 0.006804255962371826,
220
- 0.006539072036743164,
221
- 0.006486432075500488,
222
- 0.006536287784576416,
223
- 0.006493760108947754,
224
- 0.006485568046569824,
225
- 0.006516928195953369
 
226
  ]
227
  },
228
  "throughput": {
229
  "unit": "tokens/s",
230
- "value": 283.0819411586073
231
  },
232
  "energy": {
233
  "unit": "kWh",
234
- "cpu": 8.100222440953281e-08,
235
- "ram": 4.426608744723135e-08,
236
- "gpu": 1.538738948299378e-07,
237
- "total": 2.7914220668670195e-07
238
  },
239
  "efficiency": {
240
  "unit": "tokens/kWh",
241
- "value": 7164806.869370063
242
  }
243
  },
244
  "decode": {
245
  "memory": {
246
  "unit": "MB",
247
- "max_ram": 1236.578304,
248
  "max_global_vram": 1373.110272,
249
  "max_process_vram": 0.0,
250
  "max_reserved": 725.614592,
@@ -252,189 +253,191 @@
252
  },
253
  "latency": {
254
  "unit": "s",
255
- "count": 69,
256
- "total": 0.5114604806900026,
257
- "mean": 0.007412470734637716,
258
- "stdev": 0.0002981290766092088,
259
- "p50": 0.0074906558990478515,
260
- "p90": 0.007750924682617188,
261
- "p95": 0.007812608051300048,
262
- "p99": 0.007888044738769532,
263
  "values": [
264
- 0.00787401580810547,
265
- 0.007801087856292724,
266
- 0.007781951904296875,
267
- 0.007459936141967774,
268
- 0.0075194878578186035,
269
- 0.0077133760452270505,
270
- 0.007425727844238281,
271
- 0.007533440113067627,
272
- 0.007531487941741943,
273
- 0.0074707517623901366,
274
- 0.00754966402053833,
275
- 0.007587423801422119,
276
- 0.007546720027923584,
277
- 0.007525536060333252,
278
- 0.0076063041687011715,
279
- 0.007704671859741211,
280
- 0.007917856216430664,
281
- 0.007609024047851563,
282
- 0.00770911979675293,
283
- 0.007749184131622315,
284
- 0.00746284818649292,
285
- 0.0074906558990478515,
286
- 0.007750847816467285,
287
- 0.007566720008850098,
288
- 0.007457888126373291,
289
- 0.007412767887115478,
290
- 0.0075112318992614745,
291
- 0.007507936000823974,
292
- 0.007751232147216797,
293
- 0.007689472198486328,
294
- 0.007693727970123291,
295
- 0.007574463844299316,
296
- 0.007324384212493896,
297
- 0.007387968063354492,
298
- 0.00752569580078125,
299
- 0.007403808116912842,
300
- 0.007482272148132324,
301
- 0.007593215942382813,
302
- 0.007568863868713379,
303
- 0.007654528141021729,
304
- 0.00782476806640625,
305
- 0.0074787201881408695,
306
- 0.007166975975036621,
307
- 0.007088704109191895,
308
- 0.007343200206756592,
309
- 0.006879263877868652,
310
- 0.007006847858428955,
311
- 0.007582752227783203,
312
- 0.00766099214553833,
313
- 0.007820288181304931,
314
- 0.007513440132141113,
315
- 0.0072717761993408205,
316
- 0.007263519763946533,
317
- 0.007290143966674805,
318
- 0.007094592094421387,
319
- 0.00711894416809082,
320
- 0.007103968143463135,
321
- 0.007127552032470703,
322
- 0.007191328048706055,
323
- 0.007137375831604004,
324
- 0.007077727794647217,
325
- 0.007124512195587158,
326
- 0.007086143970489502,
327
- 0.006816864013671875,
328
- 0.0068169918060302735,
329
- 0.006809216022491455,
330
- 0.006815743923187256,
331
- 0.00671673583984375,
332
- 0.006804096221923828
 
333
  ]
334
  },
335
  "throughput": {
336
  "unit": "tokens/s",
337
- "value": 134.9077838954699
338
  },
339
  "energy": {
340
  "unit": "kWh",
341
- "cpu": 7.610165854009459e-08,
342
- "ram": 4.158834726651032e-08,
343
- "gpu": 1.4732517653861857e-07,
344
- "total": 2.650151823452235e-07
345
  },
346
  "efficiency": {
347
  "unit": "tokens/kWh",
348
- "value": 3773368.7223147256
349
  }
350
  },
351
  "per_token": {
352
  "memory": null,
353
  "latency": {
354
  "unit": "s",
355
- "count": 69,
356
- "total": 0.4771615991592408,
357
- "mean": 0.00691538549506146,
358
- "stdev": 0.0002445475072012491,
359
- "p50": 0.006966271877288818,
360
- "p90": 0.007197081661224365,
361
- "p95": 0.0072609984397888185,
362
- "p99": 0.007309762516021728,
363
  "values": [
364
- 0.00733900785446167,
365
- 0.007266335964202881,
366
- 0.007236608028411865,
367
- 0.00693452787399292,
368
- 0.006986720085144043,
 
 
 
 
 
 
 
369
  0.007177216053009033,
370
- 0.006900735855102539,
371
- 0.007004159927368164,
372
- 0.006970367908477783,
373
- 0.006966271877288818,
374
- 0.007016448020935059,
375
- 0.007021567821502686,
376
- 0.007016448020935059,
377
- 0.007002111911773682,
378
  0.00703385591506958,
379
- 0.007180319786071777,
380
- 0.007278592109680176,
381
- 0.0070984640121459965,
382
- 0.007171072006225586,
383
- 0.007186431884765625,
384
- 0.006948863983154297,
 
 
 
 
 
 
 
 
 
 
 
 
385
  0.0069621758460998535,
386
- 0.007187456130981445,
387
- 0.007015423774719238,
388
- 0.006940671920776367,
389
- 0.006890495777130127,
390
- 0.006966271877288818,
391
- 0.006986783981323242,
392
- 0.007235583782196045,
393
- 0.007130112171173096,
394
- 0.007159808158874512,
395
- 0.0070563840866088865,
396
- 0.006816768169403077,
397
- 0.00687718391418457,
398
- 0.007018496036529541,
399
- 0.006866943836212158,
400
- 0.006936575889587402,
401
- 0.007066624164581299,
402
- 0.007002111911773682,
403
- 0.007107583999633789,
404
- 0.007296000003814697,
405
- 0.006949888229370117,
406
- 0.006688767910003662,
407
- 0.006654975891113281,
408
- 0.006838367938995361,
409
- 0.006473760128021241,
410
- 0.006586368083953857,
411
- 0.007085055828094483,
412
- 0.007094272136688232,
413
- 0.007252992153167725,
414
- 0.007020544052124023,
415
  0.006821887969970703,
416
- 0.006833151817321777,
417
- 0.006853631973266602,
418
- 0.0066856322288513185,
419
- 0.0067123198509216305,
420
- 0.006673408031463623,
421
- 0.006723584175109864,
422
- 0.006780928134918213,
423
- 0.0067358717918396,
424
- 0.006662144184112549,
425
- 0.006712384223937988,
426
- 0.006667263984680176,
427
- 0.006425600051879882,
428
- 0.006421504020690918,
429
- 0.006406144142150879,
430
- 0.00642252779006958,
431
- 0.006323040008544922,
432
- 0.006400000095367431
 
 
 
 
 
 
 
 
 
 
 
433
  ]
434
  },
435
  "throughput": {
436
  "unit": "tokens/s",
437
- "value": 144.60509840183718
438
  },
439
  "energy": null,
440
  "efficiency": null
 
3
  "name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
4
  "backend": {
5
  "name": "pytorch",
6
+ "version": "2.4.1+cu124",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
  "library": "transformers",
 
104
  "load": {
105
  "memory": {
106
  "unit": "MB",
107
+ "max_ram": 800.538624,
108
  "max_global_vram": 1362.624512,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
 
113
  "latency": {
114
  "unit": "s",
115
  "count": 1,
116
+ "total": 8.03367919921875,
117
+ "mean": 8.03367919921875,
118
  "stdev": 0.0,
119
+ "p50": 8.03367919921875,
120
+ "p90": 8.03367919921875,
121
+ "p95": 8.03367919921875,
122
+ "p99": 8.03367919921875,
123
  "values": [
124
+ 8.03367919921875
125
  ]
126
  },
127
  "throughput": null,
128
  "energy": {
129
  "unit": "kWh",
130
+ "cpu": 2.425487018055053e-06,
131
+ "ram": 1.3033702649819924e-06,
132
+ "gpu": 3.607225108000038e-06,
133
+ "total": 7.336082391037083e-06
134
  },
135
  "efficiency": null
136
  },
137
  "prefill": {
138
  "memory": {
139
  "unit": "MB",
140
+ "max_ram": 1223.528448,
141
  "max_global_vram": 1373.110272,
142
  "max_process_vram": 0.0,
143
  "max_reserved": 725.614592,
 
145
  },
146
  "latency": {
147
  "unit": "s",
148
+ "count": 70,
149
+ "total": 0.4924952654838561,
150
+ "mean": 0.007035646649769374,
151
+ "stdev": 0.0006850280368682469,
152
+ "p50": 0.006962224006652832,
153
+ "p90": 0.007512435054779053,
154
+ "p95": 0.008253797101974486,
155
+ "p99": 0.009450046920776372,
156
  "values": [
157
+ 0.0077404799461364745,
158
+ 0.007565311908721924,
159
+ 0.007506559848785401,
160
+ 0.007431104183197022,
161
+ 0.00702239990234375,
162
+ 0.006958687782287597,
163
+ 0.007045152187347412,
164
+ 0.007202144145965576,
165
+ 0.0073149437904357914,
166
+ 0.007505536079406738,
167
+ 0.0071413440704345705,
168
+ 0.0074031357765197755,
169
+ 0.007392320156097412,
170
+ 0.0073968319892883305,
171
+ 0.0072758722305297854,
172
+ 0.007267199993133545,
173
+ 0.007176544189453125,
174
+ 0.007101151943206787,
175
+ 0.007139264106750488,
176
+ 0.007299967765808105,
177
+ 0.006989280223846436,
178
+ 0.007139200210571289,
179
+ 0.00713369607925415,
180
+ 0.007305856227874756,
181
+ 0.008903871536254883,
182
+ 0.010665727615356444,
183
+ 0.007378943920135498,
184
+ 0.0068354239463806156,
185
+ 0.007010784149169922,
186
+ 0.007124959945678711,
187
+ 0.006931776046752929,
188
+ 0.0069060797691345216,
189
+ 0.006910624027252198,
190
+ 0.006934271812438965,
191
+ 0.007119359970092773,
192
+ 0.007073984146118164,
193
+ 0.007135807991027832,
194
+ 0.006965760231018066,
195
+ 0.00682860803604126,
196
+ 0.00685971212387085,
197
+ 0.006884064197540283,
198
+ 0.006795104026794434,
199
+ 0.0066488637924194335,
200
+ 0.006625823974609375,
201
+ 0.008361120223999024,
202
+ 0.008458559989929199,
203
+ 0.008122624397277832,
204
+ 0.00681660795211792,
205
+ 0.0066888961791992186,
206
+ 0.006624063968658447,
207
+ 0.006678688049316406,
208
+ 0.00640499210357666,
209
+ 0.006925183773040772,
210
+ 0.006614016056060791,
211
+ 0.006347551822662354,
212
+ 0.006387680053710937,
213
+ 0.006361248016357422,
214
+ 0.006355296134948731,
215
+ 0.006329792022705078,
216
+ 0.006363071918487549,
217
+ 0.006378176212310791,
218
+ 0.006350304126739502,
219
+ 0.006346464157104492,
220
+ 0.006361152172088623,
221
+ 0.006378528118133545,
222
+ 0.006355296134948731,
223
+ 0.00637500810623169,
224
+ 0.006384704113006592,
225
+ 0.006392191886901855,
226
+ 0.0063405117988586425
227
  ]
228
  },
229
  "throughput": {
230
  "unit": "tokens/s",
231
+ "value": 284.2666921121684
232
  },
233
  "energy": {
234
  "unit": "kWh",
235
+ "cpu": 7.908501488425631e-08,
236
+ "ram": 4.3218978013290553e-08,
237
+ "gpu": 1.581242005733342e-07,
238
+ "total": 2.8042819347088106e-07
239
  },
240
  "efficiency": {
241
  "unit": "tokens/kWh",
242
+ "value": 7131950.519118096
243
  }
244
  },
245
  "decode": {
246
  "memory": {
247
  "unit": "MB",
248
+ "max_ram": 1242.144768,
249
  "max_global_vram": 1373.110272,
250
  "max_process_vram": 0.0,
251
  "max_reserved": 725.614592,
 
253
  },
254
  "latency": {
255
  "unit": "s",
256
+ "count": 70,
257
+ "total": 0.5128705291748046,
258
+ "mean": 0.007326721845354353,
259
+ "stdev": 0.0005809771774269779,
260
+ "p50": 0.0073110079765319825,
261
+ "p90": 0.00784452486038208,
262
+ "p95": 0.008326358413696288,
263
+ "p99": 0.009139335765838624,
264
  "values": [
265
+ 0.007887551784515381,
266
+ 0.007824607849121094,
267
+ 0.007839744091033935,
268
+ 0.00729641580581665,
269
+ 0.007372479915618896,
270
+ 0.0073846402168273925,
271
+ 0.007560800075531006,
272
+ 0.007666687965393066,
273
+ 0.007749216079711914,
274
+ 0.007645631790161133,
275
+ 0.007609856128692627,
276
+ 0.007836575984954835,
277
+ 0.007697279930114746,
278
+ 0.0075898561477661134,
279
+ 0.007642464160919189,
280
+ 0.0077025599479675294,
281
+ 0.007455872058868408,
282
+ 0.007471839904785157,
283
+ 0.007542111873626709,
284
+ 0.007592544078826904,
285
+ 0.007321631908416748,
286
+ 0.00747814416885376,
287
+ 0.007735936164855957,
288
+ 0.008014944076538086,
289
+ 0.009621408462524414,
290
+ 0.007943903923034668,
291
+ 0.007646336078643799,
292
+ 0.007239200115203857,
293
+ 0.007280191898345947,
294
+ 0.007167520046234131,
295
+ 0.007267295837402344,
296
+ 0.007226016044616699,
297
+ 0.00731331205368042,
298
+ 0.007416063785552978,
299
+ 0.0074234561920166016,
300
+ 0.007411839962005615,
301
+ 0.007289408206939697,
302
+ 0.007462592124938965,
303
+ 0.007258975982666015,
304
+ 0.007131743907928467,
305
+ 0.00696566390991211,
306
+ 0.007308703899383545,
307
+ 0.006690303802490235,
308
+ 0.008581151962280273,
309
+ 0.00879139232635498,
310
+ 0.008922752380371093,
311
+ 0.007320223808288574,
312
+ 0.006937119960784912,
313
+ 0.006959136009216309,
314
+ 0.006984384059906006,
315
+ 0.007028287887573243,
316
+ 0.007094079971313476,
317
+ 0.006748672008514404,
318
+ 0.006681151866912842,
319
+ 0.006683360099792481,
320
+ 0.006659647941589355,
321
+ 0.0066787519454956056,
322
+ 0.006704832077026367,
323
+ 0.006676224231719971,
324
+ 0.006651455879211426,
325
+ 0.006662176132202148,
326
+ 0.0066730880737304685,
327
+ 0.006665823936462402,
328
+ 0.0067450242042541506,
329
+ 0.006684351921081543,
330
+ 0.006670976161956787,
331
+ 0.006666016101837158,
332
+ 0.00664463996887207,
333
+ 0.006681407928466797,
334
+ 0.0066910719871520995
335
  ]
336
  },
337
  "throughput": {
338
  "unit": "tokens/s",
339
+ "value": 136.48668819522186
340
  },
341
  "energy": {
342
  "unit": "kWh",
343
+ "cpu": 7.459486115740838e-08,
344
+ "ram": 4.076541062383557e-08,
345
+ "gpu": 1.494579543241038e-07,
346
+ "total": 2.6481822610534785e-07
347
  },
348
  "efficiency": {
349
  "unit": "tokens/kWh",
350
+ "value": 3776175.132304481
351
  }
352
  },
353
  "per_token": {
354
  "memory": null,
355
  "latency": {
356
  "unit": "s",
357
+ "count": 70,
358
+ "total": 0.47912438392639156,
359
+ "mean": 0.006844634056091309,
360
+ "stdev": 0.0005141970351832693,
361
+ "p50": 0.006810624122619629,
362
+ "p90": 0.007313276958465576,
363
+ "p95": 0.007745177602767943,
364
+ "p99": 0.00849988645553589,
365
  "values": [
366
+ 0.0073400321006774905,
367
+ 0.007271423816680909,
368
+ 0.007291903972625732,
369
+ 0.0067983360290527345,
370
+ 0.006864895820617676,
371
+ 0.006860832214355469,
372
+ 0.007047167778015137,
373
+ 0.007147520065307617,
374
+ 0.007211008071899414,
375
+ 0.00709119987487793,
376
+ 0.0070860800743103025,
377
+ 0.007310304164886474,
378
  0.007177216053009033,
379
+ 0.007031807899475098,
380
+ 0.007122943878173828,
381
+ 0.007184383869171143,
382
+ 0.00695091199874878,
383
+ 0.006964223861694336,
 
 
 
384
  0.00703385591506958,
385
+ 0.007067647933959961,
386
+ 0.006802432060241699,
387
+ 0.006967296123504638,
388
+ 0.007185408115386963,
389
+ 0.007428095817565918,
390
+ 0.008893440246582032,
391
+ 0.007420928001403809,
392
+ 0.007124991893768311,
393
+ 0.0067420158386230465,
394
+ 0.006759424209594727,
395
+ 0.0066938881874084475,
396
+ 0.006766592025756836,
397
+ 0.006729728221893311,
398
+ 0.006818816184997558,
399
+ 0.006879231929779053,
400
+ 0.006914048194885254,
401
+ 0.006896639823913574,
402
+ 0.006752255916595459,
403
  0.0069621758460998535,
404
+ 0.006740992069244385,
405
+ 0.006663167953491211,
406
+ 0.006529024124145508,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  0.006821887969970703,
408
+ 0.006278143882751465,
409
+ 0.008004608154296875,
410
+ 0.008161279678344726,
411
+ 0.00832307243347168,
412
+ 0.006884352207183838,
413
+ 0.006540287971496582,
414
+ 0.006563839912414551,
415
+ 0.006589439868927002,
416
+ 0.0066109437942504885,
417
+ 0.006632448196411133,
418
+ 0.006344704151153564,
419
+ 0.006275072097778321,
420
+ 0.0062975997924804685,
421
+ 0.006268928050994873,
422
+ 0.0062638077735900875,
423
+ 0.006312960147857666,
424
+ 0.006284287929534912,
425
+ 0.006254559993743897,
426
+ 0.006248447895050049,
427
+ 0.006289408206939697,
428
+ 0.00628223991394043,
429
+ 0.006359039783477783,
430
+ 0.006289408206939697,
431
+ 0.0062873601913452145,
432
+ 0.00628326416015625,
433
+ 0.0062638077735900875,
434
+ 0.006287295818328858,
435
+ 0.0062975997924804685
436
  ]
437
  },
438
  "throughput": {
439
  "unit": "tokens/s",
440
+ "value": 146.0998486997359
441
  },
442
  "energy": null,
443
  "efficiency": null