IlyasMoutawwakil HF staff commited on
Commit
b0b7efc
·
verified ·
1 Parent(s): c117528

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
@@ -6,19 +6,17 @@
6
  "version": "2.3.0+cu121",
7
  "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
  "task": "text-generation",
9
- "model": "openai-community/gpt2",
10
  "library": "transformers",
 
 
11
  "device": "cuda",
12
  "device_ids": "0",
13
  "seed": 42,
14
  "inter_op_num_threads": null,
15
  "intra_op_num_threads": null,
16
- "hub_kwargs": {
17
- "revision": "main",
18
- "force_download": false,
19
- "local_files_only": false,
20
- "trust_remote_code": false
21
- },
22
  "no_weights": true,
23
  "device_map": null,
24
  "torch_dtype": null,
@@ -104,7 +102,7 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1078.059008,
108
  "max_global_vram": 1365.77024,
109
  "max_process_vram": 0.0,
110
  "max_reserved": 725.614592,
@@ -113,91 +111,91 @@
113
  "latency": {
114
  "unit": "s",
115
  "count": 55,
116
- "total": 0.49556258773803713,
117
- "mean": 0.009010228867964312,
118
- "stdev": 0.00033507785541267866,
119
- "p50": 0.009013952255249024,
120
- "p90": 0.009343385887145996,
121
- "p95": 0.009663321208953857,
122
- "p99": 0.009970869235992432,
123
  "values": [
124
- 0.009908736228942871,
125
- 0.009691231727600098,
126
- 0.009651359558105468,
127
- 0.009584511756896973,
128
- 0.009111200332641602,
129
- 0.008970272064208985,
130
- 0.00928649616241455,
131
- 0.009381312370300293,
132
- 0.009027647972106933,
133
- 0.00913980770111084,
134
- 0.00913167953491211,
135
- 0.009203359603881836,
136
- 0.009138431549072266,
137
- 0.008936832427978516,
138
- 0.00899350357055664,
139
- 0.009044672012329101,
140
- 0.009195967674255371,
141
- 0.009172063827514648,
142
- 0.009017567634582519,
143
- 0.009006175994873047,
144
- 0.008882368087768554,
145
- 0.009013952255249024,
146
- 0.009224543571472168,
147
- 0.009019583702087402,
148
- 0.009019359588623047,
149
- 0.008982144355773925,
150
- 0.00919961643218994,
151
- 0.010043807983398437,
152
- 0.009213055610656738,
153
- 0.00918899154663086,
154
- 0.009106687545776367,
155
- 0.008763872146606445,
156
- 0.008922495841979981,
157
- 0.009085536003112793,
158
- 0.00925772762298584,
159
- 0.008981023788452148,
160
- 0.009042688369750976,
161
- 0.00887507152557373,
162
- 0.008783040046691894,
163
- 0.008798656463623046,
164
- 0.008515007972717285,
165
- 0.008529888153076173,
166
- 0.008488832473754883,
167
- 0.00847811222076416,
168
- 0.00850937557220459,
169
- 0.008470047950744629,
170
- 0.008755583763122559,
171
- 0.008723999977111816,
172
- 0.008741151809692383,
173
- 0.008776000022888183,
174
- 0.00870524787902832,
175
- 0.008707103729248046,
176
- 0.008737343788146973,
177
- 0.008716095924377441,
178
- 0.00871174430847168
179
  ]
180
  },
181
  "throughput": {
182
  "unit": "tokens/s",
183
- "value": 221.96994430529506
184
  },
185
  "energy": {
186
  "unit": "kWh",
187
- "cpu": 1.0602001603397113e-07,
188
- "ram": 5.796418177591736e-08,
189
- "gpu": 1.8729429666070338e-07,
190
- "total": 3.512784944705919e-07
191
  },
192
  "efficiency": {
193
  "unit": "tokens/kWh",
194
- "value": 5693488.304811197
195
  }
196
  },
197
  "decode": {
198
  "memory": {
199
  "unit": "MB",
200
- "max_ram": 1078.059008,
201
  "max_global_vram": 1365.77024,
202
  "max_process_vram": 0.0,
203
  "max_reserved": 725.614592,
@@ -206,85 +204,85 @@
206
  "latency": {
207
  "unit": "s",
208
  "count": 55,
209
- "total": 0.5126871309280394,
210
- "mean": 0.009321584198691628,
211
- "stdev": 0.0003043009398044304,
212
- "p50": 0.009374688148498535,
213
- "p90": 0.00966974048614502,
214
- "p95": 0.00979739532470703,
215
- "p99": 0.010045547485351563,
216
  "values": [
217
- 0.010007776260375977,
218
- 0.010089887619018554,
219
- 0.009968128204345703,
220
- 0.00958841609954834,
221
- 0.009395648002624511,
222
- 0.009321375846862793,
223
- 0.009721823692321777,
224
- 0.009635775566101075,
225
- 0.009423583984375,
226
- 0.009432543754577636,
227
- 0.009443424224853515,
228
- 0.009440799713134766,
229
- 0.009431424140930176,
230
- 0.009342783927917481,
231
- 0.009325663566589355,
232
- 0.009389087677001954,
233
- 0.009529888153076172,
234
- 0.009379615783691406,
235
- 0.009443615913391113,
236
- 0.00941596794128418,
237
- 0.009332799911499023,
238
- 0.009374688148498535,
239
- 0.009580415725708008,
240
- 0.009363679885864258,
241
- 0.009364543914794922,
242
- 0.009484607696533203,
243
- 0.009625408172607422,
244
- 0.009692383766174316,
245
- 0.009724224090576172,
246
- 0.00943398380279541,
247
- 0.009551712036132812,
248
- 0.008835359573364258,
249
- 0.009400192260742188,
250
- 0.009467679977416993,
251
- 0.009410528182983399,
252
- 0.009238240242004394,
253
- 0.009288064002990723,
254
- 0.009091744422912598,
255
- 0.009089247703552246,
256
- 0.008910495758056641,
257
- 0.008887231826782227,
258
- 0.008777471542358398,
259
- 0.008780735969543457,
260
- 0.008784255981445312,
261
- 0.00876915168762207,
262
- 0.009145119667053222,
263
- 0.00905519962310791,
264
- 0.009029343605041503,
265
- 0.009055551528930663,
266
- 0.009058464050292968,
267
- 0.009081631660461427,
268
- 0.009011296272277832,
269
- 0.009036864280700684,
270
- 0.009061471939086914,
271
- 0.009166111946105957
272
  ]
273
  },
274
  "throughput": {
275
  "unit": "tokens/s",
276
- "value": 107.27790241280654
277
  },
278
  "energy": {
279
  "unit": "kWh",
280
- "cpu": 1.1105243291324177e-07,
281
- "ram": 6.071712103481071e-08,
282
- "gpu": 1.879837813393138e-07,
283
- "total": 3.597533352873662e-07
284
  },
285
  "efficiency": {
286
  "unit": "tokens/kWh",
287
- "value": 2779682.359862524
288
  }
289
  },
290
  "per_token": {
@@ -292,73 +290,73 @@
292
  "latency": {
293
  "unit": "s",
294
  "count": 54,
295
- "total": 0.9902325763702392,
296
- "mean": 0.018337640303152575,
297
- "stdev": 0.0005973989233382165,
298
- "p50": 0.018404351234436032,
299
- "p90": 0.01900451889038086,
300
- "p95": 0.019419791984558104,
301
- "p99": 0.019791974678039552,
302
  "values": [
303
- 0.019808256149291992,
304
- 0.01973865509033203,
305
- 0.019248096466064454,
306
- 0.018545663833618165,
307
- 0.018322431564331054,
308
- 0.019017728805541992,
309
- 0.019072000503540038,
310
- 0.01843916893005371,
311
- 0.01863270378112793,
312
- 0.0186296329498291,
313
- 0.01863680076599121,
314
- 0.01865216064453125,
315
- 0.018307071685791015,
316
- 0.018351104736328124,
317
- 0.0184453125,
318
- 0.018766847610473633,
319
- 0.01859174346923828,
320
- 0.018505727767944336,
321
- 0.018408447265625,
322
- 0.018278432846069337,
323
- 0.018415584564208984,
324
- 0.01887027168273926,
325
- 0.01840025520324707,
326
- 0.01842278480529785,
327
- 0.018473983764648438,
328
- 0.01886412811279297,
329
- 0.019777536392211914,
330
- 0.018973695755004884,
331
- 0.018710527420043945,
332
- 0.0186562557220459,
333
- 0.017718271255493166,
334
- 0.018265119552612306,
335
- 0.018587615966796874,
336
- 0.018753599166870118,
337
- 0.018248640060424804,
338
- 0.018335744857788085,
339
- 0.018067455291748045,
340
- 0.017878015518188475,
341
- 0.017772544860839845,
342
- 0.01742950439453125,
343
- 0.017332223892211913,
344
- 0.017298431396484376,
345
- 0.017286207199096678,
346
- 0.017284032821655273,
347
- 0.01764659118652344,
348
- 0.017836032867431642,
349
- 0.01778483200073242,
350
- 0.017829887390136717,
351
- 0.01785856056213379,
352
- 0.017811456680297853,
353
- 0.017743871688842772,
354
- 0.01778892707824707,
355
- 0.017811456680297853,
356
- 0.017900543212890627
357
  ]
358
  },
359
  "throughput": {
360
  "unit": "tokens/s",
361
- "value": 54.53264343003182
362
  },
363
  "energy": null,
364
  "efficiency": null
 
6
  "version": "2.3.0+cu121",
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",
13
  "device_ids": "0",
14
  "seed": 42,
15
  "inter_op_num_threads": null,
16
  "intra_op_num_threads": null,
17
+ "model_kwargs": {},
18
+ "processor_kwargs": {},
19
+ "hub_kwargs": {},
 
 
 
20
  "no_weights": true,
21
  "device_map": null,
22
  "torch_dtype": null,
 
102
  "prefill": {
103
  "memory": {
104
  "unit": "MB",
105
+ "max_ram": 1077.436416,
106
  "max_global_vram": 1365.77024,
107
  "max_process_vram": 0.0,
108
  "max_reserved": 725.614592,
 
111
  "latency": {
112
  "unit": "s",
113
  "count": 55,
114
+ "total": 0.49330476665496836,
115
+ "mean": 0.00896917757554488,
116
+ "stdev": 0.0004105828956469848,
117
+ "p50": 0.008976608276367188,
118
+ "p90": 0.009429792022705077,
119
+ "p95": 0.009601888179779052,
120
+ "p99": 0.009917103176116944,
121
  "values": [
122
+ 0.010005887985229492,
123
+ 0.009841471672058106,
124
+ 0.009280799865722656,
125
+ 0.009130559921264648,
126
+ 0.008982303619384766,
127
+ 0.008853407859802246,
128
+ 0.008908160209655762,
129
+ 0.009051775932312012,
130
+ 0.008976608276367188,
131
+ 0.0095250883102417,
132
+ 0.009080384254455566,
133
+ 0.00951734447479248,
134
+ 0.009781087875366211,
135
+ 0.00932953643798828,
136
+ 0.009357343673706055,
137
+ 0.00936563205718994,
138
+ 0.009151935577392578,
139
+ 0.009124287605285645,
140
+ 0.009298208236694337,
141
+ 0.009375871658325196,
142
+ 0.009251839637756347,
143
+ 0.009305248260498047,
144
+ 0.00944540786743164,
145
+ 0.008890848159790039,
146
+ 0.00889907169342041,
147
+ 0.008924896240234376,
148
+ 0.009104351997375488,
149
+ 0.009051199913024902,
150
+ 0.009303744316101075,
151
+ 0.008866527557373046,
152
+ 0.008780223846435547,
153
+ 0.008695903778076173,
154
+ 0.00855187225341797,
155
+ 0.009326784133911133,
156
+ 0.009406368255615234,
157
+ 0.009277695655822754,
158
+ 0.008907679557800294,
159
+ 0.00902889633178711,
160
+ 0.008455167770385743,
161
+ 0.008473504066467285,
162
+ 0.008467071533203125,
163
+ 0.008476127624511718,
164
+ 0.008464320182800293,
165
+ 0.008440447807312011,
166
+ 0.008528127670288085,
167
+ 0.008445568084716797,
168
+ 0.00855561637878418,
169
+ 0.008486271858215332,
170
+ 0.00854371166229248,
171
+ 0.008534912109375,
172
+ 0.008393952369689942,
173
+ 0.008437888145446777,
174
+ 0.008448287963867188,
175
+ 0.008522144317626953,
176
+ 0.008675392150878907
177
  ]
178
  },
179
  "throughput": {
180
  "unit": "tokens/s",
181
+ "value": 222.98588506633504
182
  },
183
  "energy": {
184
  "unit": "kWh",
185
+ "cpu": 1.0483324850086148e-07,
186
+ "ram": 5.7314553453426796e-08,
187
+ "gpu": 1.8762797704424724e-07,
188
+ "total": 3.4977577899853547e-07
189
  },
190
  "efficiency": {
191
  "unit": "tokens/kWh",
192
+ "value": 5717948.812025586
193
  }
194
  },
195
  "decode": {
196
  "memory": {
197
  "unit": "MB",
198
+ "max_ram": 1077.436416,
199
  "max_global_vram": 1365.77024,
200
  "max_process_vram": 0.0,
201
  "max_reserved": 725.614592,
 
204
  "latency": {
205
  "unit": "s",
206
  "count": 55,
207
+ "total": 0.5112034559249878,
208
+ "mean": 0.009294608289545231,
209
+ "stdev": 0.00046507313092237075,
210
+ "p50": 0.009285856246948242,
211
+ "p90": 0.009907603645324708,
212
+ "p95": 0.00999760341644287,
213
+ "p99": 0.010189241123199463,
214
  "values": [
215
+ 0.010117152214050292,
216
+ 0.010147392272949219,
217
+ 0.00956326389312744,
218
+ 0.009324671745300293,
219
+ 0.009355135917663574,
220
+ 0.00923798370361328,
221
+ 0.009342528343200684,
222
+ 0.009354111671447753,
223
+ 0.00958790397644043,
224
+ 0.009824095726013183,
225
+ 0.009318079948425293,
226
+ 0.009921248435974122,
227
+ 0.010238368034362793,
228
+ 0.009784704208374023,
229
+ 0.009773440361022949,
230
+ 0.009797087669372559,
231
+ 0.009392800331115723,
232
+ 0.009285856246948242,
233
+ 0.009946368217468261,
234
+ 0.009804384231567383,
235
+ 0.009717951774597168,
236
+ 0.009934207916259766,
237
+ 0.009707136154174805,
238
+ 0.00928435230255127,
239
+ 0.00925715160369873,
240
+ 0.009495583534240723,
241
+ 0.009555839538574218,
242
+ 0.00943286418914795,
243
+ 0.009887136459350587,
244
+ 0.00906332778930664,
245
+ 0.009262944221496582,
246
+ 0.008764703750610352,
247
+ 0.009199392318725587,
248
+ 0.009690367698669433,
249
+ 0.009734016418457031,
250
+ 0.009258720397949219,
251
+ 0.009194463729858398,
252
+ 0.009180895805358887,
253
+ 0.008727295875549317,
254
+ 0.008701536178588867,
255
+ 0.008803872108459473,
256
+ 0.008721216201782227,
257
+ 0.00871116828918457,
258
+ 0.008700799942016602,
259
+ 0.0087042875289917,
260
+ 0.00871110439300537,
261
+ 0.008715359687805176,
262
+ 0.00873423957824707,
263
+ 0.008706239700317383,
264
+ 0.008713215827941894,
265
+ 0.008793055534362793,
266
+ 0.00872428798675537,
267
+ 0.00873852825164795,
268
+ 0.008717472076416016,
269
+ 0.008842144012451172
270
  ]
271
  },
272
  "throughput": {
273
  "unit": "tokens/s",
274
+ "value": 107.58925700234413
275
  },
276
  "energy": {
277
  "unit": "kWh",
278
+ "cpu": 1.0249066361635484e-07,
279
+ "ram": 5.5831596856129535e-08,
280
+ "gpu": 2.191970610592011e-07,
281
+ "total": 3.7751932153168547e-07
282
  },
283
  "efficiency": {
284
  "unit": "tokens/kWh",
285
+ "value": 2648871.045706383
286
  }
287
  },
288
  "per_token": {
 
290
  "latency": {
291
  "unit": "s",
292
  "count": 54,
293
+ "total": 0.9863301143646239,
294
+ "mean": 0.018265372488233775,
295
+ "stdev": 0.0008394046828926431,
296
+ "p50": 0.018305024147033694,
297
+ "p90": 0.019244748687744142,
298
+ "p95": 0.01942108144760132,
299
+ "p99": 0.02005508577346802,
300
  "values": [
301
+ 0.020031488418579102,
302
+ 0.018955263137817382,
303
+ 0.018531328201293946,
304
+ 0.018338815689086914,
305
+ 0.018153472900390624,
306
+ 0.01827123260498047,
307
+ 0.01845145606994629,
308
+ 0.018534400939941405,
309
+ 0.01941606330871582,
310
+ 0.018469888687133788,
311
+ 0.019430400848388672,
312
+ 0.020081695556640626,
313
+ 0.01914467239379883,
314
+ 0.019135488510131835,
315
+ 0.019182592391967773,
316
+ 0.01862144088745117,
317
+ 0.018456607818603515,
318
+ 0.01926243209838867,
319
+ 0.019195903778076173,
320
+ 0.01902592086791992,
321
+ 0.01925119972229004,
322
+ 0.019200000762939453,
323
+ 0.0182476806640625,
324
+ 0.018183168411254884,
325
+ 0.01839206314086914,
326
+ 0.0187423038482666,
327
+ 0.01849852752685547,
328
+ 0.01922969627380371,
329
+ 0.018052095413208007,
330
+ 0.018034719467163087,
331
+ 0.017571807861328125,
332
+ 0.017649663925170898,
333
+ 0.019070016860961915,
334
+ 0.019194816589355467,
335
+ 0.01864499282836914,
336
+ 0.018149375915527344,
337
+ 0.018226175308227538,
338
+ 0.017238016128540038,
339
+ 0.01720319938659668,
340
+ 0.017289215087890625,
341
+ 0.01722777557373047,
342
+ 0.0172042236328125,
343
+ 0.017168384552001953,
344
+ 0.01725951957702637,
345
+ 0.017176576614379883,
346
+ 0.017275903701782228,
347
+ 0.017266687393188478,
348
+ 0.017285120010375975,
349
+ 0.01724723243713379,
350
+ 0.01723391914367676,
351
+ 0.017188863754272463,
352
+ 0.01722163200378418,
353
+ 0.017242111206054688,
354
+ 0.017572864532470703
355
  ]
356
  },
357
  "throughput": {
358
  "unit": "tokens/s",
359
+ "value": 54.74840442723969
360
  },
361
  "energy": null,
362
  "efficiency": null