IlyasMoutawwakil HF staff commited on
Commit
00c3eef
·
verified ·
1 Parent(s): 61d1910

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.2.2+rocm5.7",
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,
@@ -85,7 +83,7 @@
85
  "gpu_count": 1,
86
  "gpu_vram_mb": 68702699520,
87
  "optimum_benchmark_version": "0.2.0",
88
- "optimum_benchmark_commit": "3e2eebdc0f80ae6deeb2e1faad3e889ed5a4df2d",
89
  "transformers_version": "4.40.2",
90
  "transformers_commit": null,
91
  "accelerate_version": "0.30.1",
@@ -104,81 +102,86 @@
104
  "prefill": {
105
  "memory": {
106
  "unit": "MB",
107
- "max_ram": 1047.945216,
108
- "max_global_vram": 1118.425088,
109
- "max_process_vram": 285219.606528,
110
  "max_reserved": 725.614592,
111
  "max_allocated": 512.832512
112
  },
113
  "latency": {
114
  "unit": "s",
115
- "count": 53,
116
- "total": 0.5036106195449829,
117
- "mean": 0.009502087161226093,
118
- "stdev": 0.00043804482795613357,
119
- "p50": 0.009412053108215333,
120
- "p90": 0.00990225601196289,
121
- "p95": 0.010106701469421386,
122
- "p99": 0.01112758575439453,
123
  "values": [
124
- 0.011241152763366699,
125
- 0.009712530136108398,
126
- 0.0098778076171875,
127
- 0.009704211235046386,
128
- 0.009658611297607422,
129
- 0.009777809143066406,
130
- 0.009412053108215333,
131
- 0.009444533348083496,
132
- 0.009934927940368652,
133
- 0.009561652183532715,
134
- 0.009585811614990234,
135
- 0.009853487968444824,
136
- 0.009697810173034668,
137
- 0.009977486610412598,
138
- 0.009490612983703614,
139
- 0.009404053688049316,
140
- 0.009553972244262696,
141
- 0.009812369346618652,
142
- 0.01030052375793457,
143
- 0.00970436954498291,
144
- 0.009908368110656738,
145
- 0.009751568794250489,
146
- 0.009341014862060546,
147
- 0.009429813385009766,
148
- 0.009327415466308595,
149
- 0.009273015022277831,
150
- 0.00953477191925049,
151
- 0.009663411140441894,
152
- 0.009589971542358399,
153
- 0.011022754669189453,
154
- 0.00939621353149414,
155
- 0.009291093826293945,
156
- 0.009293014526367188,
157
- 0.009100216865539551,
158
- 0.009145016670227052,
159
- 0.009252215385437012,
160
- 0.009222775459289552,
161
- 0.009522932052612305,
162
- 0.009219735145568848,
163
- 0.009156856536865234,
164
- 0.009110297203063965,
165
- 0.009134615898132324,
166
- 0.009165976524353027,
167
- 0.00910789680480957,
168
- 0.009102135658264161,
169
- 0.00928837490081787,
170
- 0.009080698013305664,
171
- 0.009111256599426269,
172
- 0.0090811767578125,
173
- 0.009069018363952637,
174
- 0.009071896553039551,
175
- 0.009090136528015137,
176
- 0.009049178123474121
 
 
 
 
 
177
  ]
178
  },
179
  "throughput": {
180
  "unit": "tokens/s",
181
- "value": 210.48007306869746
182
  },
183
  "energy": null,
184
  "efficiency": null
@@ -186,81 +189,86 @@
186
  "decode": {
187
  "memory": {
188
  "unit": "MB",
189
- "max_ram": 1047.945216,
190
- "max_global_vram": 1118.437376,
191
- "max_process_vram": 297961.41056,
192
  "max_reserved": 725.614592,
193
  "max_allocated": 513.056256
194
  },
195
  "latency": {
196
  "unit": "s",
197
- "count": 53,
198
- "total": 0.5056981067657471,
199
- "mean": 0.009541473712561267,
200
- "stdev": 0.00033700349040542775,
201
- "p50": 0.009443572998046875,
202
- "p90": 0.009963534545898437,
203
- "p95": 0.010009070205688477,
204
- "p99": 0.01028773567199707,
205
  "values": [
206
- 0.009618290901184082,
207
- 0.0100134859085083,
208
- 0.009870448112487794,
209
- 0.009876208305358887,
210
- 0.009913647651672363,
211
- 0.009635411262512206,
212
- 0.009533652305603027,
213
- 0.009903887748718261,
214
- 0.009909646987915039,
215
- 0.009422133445739746,
216
- 0.009950286865234375,
217
- 0.009965646743774413,
218
- 0.009965486526489258,
219
- 0.009852048873901367,
220
- 0.009464853286743164,
221
- 0.009656370162963867,
222
- 0.009588211059570313,
223
- 0.010401802062988281,
224
- 0.010182443618774415,
225
- 0.0099094877243042,
226
- 0.009947406768798827,
227
- 0.009559412002563477,
228
- 0.009443572998046875,
229
- 0.009431254386901856,
230
- 0.009312053680419922,
231
- 0.009399092674255372,
232
- 0.009955726623535156,
233
- 0.009660210609436035,
234
- 0.010006126403808593,
235
- 0.009628371238708496,
236
- 0.009351094245910645,
237
- 0.009353653907775879,
238
- 0.009252055168151856,
239
- 0.009181495666503905,
240
- 0.009159735679626465,
241
- 0.00918021583557129,
242
- 0.009355733871459961,
243
- 0.009416852951049805,
244
- 0.009252535820007323,
245
- 0.009190936088562012,
246
- 0.009895567893981933,
247
- 0.00922757625579834,
248
- 0.009196056365966796,
249
- 0.00919429588317871,
250
- 0.009196696281433105,
251
- 0.009180855751037598,
252
- 0.00917525577545166,
253
- 0.009177495956420898,
254
- 0.009215255737304688,
255
- 0.009157336235046387,
256
- 0.009141176223754884,
257
- 0.009141817092895507,
258
- 0.009127735137939453
 
 
 
 
 
259
  ]
260
  },
261
  "throughput": {
262
  "unit": "tokens/s",
263
- "value": 104.8056128565872
264
  },
265
  "energy": null,
266
  "efficiency": null
@@ -269,72 +277,77 @@
269
  "memory": null,
270
  "latency": {
271
  "unit": "s",
272
- "count": 52,
273
- "total": 0.9908806209564208,
274
- "mean": 0.01905539655685425,
275
- "stdev": 0.0006711370669764621,
276
- "p50": 0.019016024589538574,
277
- "p90": 0.019906879997253418,
278
- "p95": 0.020018814277648924,
279
- "p99": 0.0208063881111145,
280
  "values": [
281
- 0.019712575912475584,
282
- 0.01983353614807129,
283
- 0.01962313652038574,
284
- 0.019625858306884767,
285
- 0.019522979736328126,
286
- 0.019015304565429686,
287
- 0.019295459747314454,
288
- 0.01993097686767578,
289
- 0.019117544174194336,
290
- 0.01947050094604492,
291
- 0.019885856628417967,
292
- 0.01972185516357422,
293
- 0.019909215927124024,
294
- 0.01905962371826172,
295
- 0.01906074333190918,
296
- 0.01921210479736328,
297
- 0.020126171112060547,
298
- 0.020578168869018556,
299
- 0.019679935455322265,
300
- 0.019928415298461913,
301
- 0.019450019836425782,
302
- 0.018831466674804686,
303
- 0.0188997859954834,
304
- 0.01873114776611328,
305
- 0.018707788467407227,
306
- 0.019455299377441407,
307
- 0.019393220901489257,
308
- 0.01938249969482422,
309
- 0.021043922424316405,
310
- 0.018823787689208983,
311
- 0.018671947479248045,
312
- 0.018598989486694337,
313
- 0.018302671432495116,
314
- 0.01835147285461426,
315
- 0.01845979118347168,
316
- 0.018589708328247072,
317
- 0.01901674461364746,
318
- 0.01851083183288574,
319
- 0.018396591186523436,
320
- 0.01903290367126465,
321
- 0.018389551162719727,
322
- 0.018405712127685547,
323
- 0.01833627128601074,
324
- 0.018326032638549806,
325
- 0.01850939178466797,
326
- 0.018281871795654298,
327
- 0.018341712951660157,
328
- 0.01833259201049805,
329
- 0.018268594741821288,
330
- 0.018245872497558595,
331
- 0.01827035140991211,
332
- 0.018212112426757812
 
 
 
 
 
333
  ]
334
  },
335
  "throughput": {
336
  "unit": "tokens/s",
337
- "value": 52.47857198963927
338
  },
339
  "energy": null,
340
  "efficiency": null
 
6
  "version": "2.2.2+rocm5.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",
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,
 
83
  "gpu_count": 1,
84
  "gpu_vram_mb": 68702699520,
85
  "optimum_benchmark_version": "0.2.0",
86
+ "optimum_benchmark_commit": "6fd377459e287bb09e9383ba2516b1b2a271a562",
87
  "transformers_version": "4.40.2",
88
  "transformers_commit": null,
89
  "accelerate_version": "0.30.1",
 
102
  "prefill": {
103
  "memory": {
104
  "unit": "MB",
105
+ "max_ram": 1047.535616,
106
+ "max_global_vram": 1118.416896,
107
+ "max_process_vram": 265612.439552,
108
  "max_reserved": 725.614592,
109
  "max_allocated": 512.832512
110
  },
111
  "latency": {
112
  "unit": "s",
113
+ "count": 58,
114
+ "total": 0.501284252166748,
115
+ "mean": 0.00864283193390945,
116
+ "stdev": 0.0006630042210832898,
117
+ "p50": 0.00841030502319336,
118
+ "p90": 0.009131984901428223,
119
+ "p95": 0.009151904249191283,
120
+ "p99": 0.010536824684143065,
121
  "values": [
122
+ 0.012341577529907227,
123
+ 0.008249106407165528,
124
+ 0.008205586433410645,
125
+ 0.008510065078735352,
126
+ 0.008168306350708008,
127
+ 0.00813870620727539,
128
+ 0.00814478588104248,
129
+ 0.008347504615783692,
130
+ 0.008314226150512695,
131
+ 0.008157585144042969,
132
+ 0.008179025650024414,
133
+ 0.008336146354675293,
134
+ 0.008338226318359374,
135
+ 0.008473105430603027,
136
+ 0.008083986282348634,
137
+ 0.008072465896606444,
138
+ 0.008089105606079101,
139
+ 0.00825390625,
140
+ 0.008062545776367187,
141
+ 0.00826958465576172,
142
+ 0.008206066131591796,
143
+ 0.008076465606689454,
144
+ 0.008078226089477539,
145
+ 0.008128786087036132,
146
+ 0.008085745811462403,
147
+ 0.008067505836486816,
148
+ 0.008081746101379395,
149
+ 0.008112626075744629,
150
+ 0.00806558609008789,
151
+ 0.00809134578704834,
152
+ 0.008074706077575683,
153
+ 0.008296785354614257,
154
+ 0.009116144180297851,
155
+ 0.008836785316467284,
156
+ 0.009108624458312987,
157
+ 0.009090383529663086,
158
+ 0.009123663902282714,
159
+ 0.009126705169677734,
160
+ 0.009103504180908203,
161
+ 0.009106863975524902,
162
+ 0.009076784133911133,
163
+ 0.009124943733215332,
164
+ 0.009096464157104493,
165
+ 0.009117584228515625,
166
+ 0.009083024978637695,
167
+ 0.009175344467163086,
168
+ 0.009098223686218262,
169
+ 0.009106063842773437,
170
+ 0.009147824287414551,
171
+ 0.009149744033813476,
172
+ 0.009144304275512695,
173
+ 0.009124943733215332,
174
+ 0.009107024192810058,
175
+ 0.009164145469665527,
176
+ 0.00878990364074707,
177
+ 0.008793265342712402,
178
+ 0.00851662540435791,
179
+ 0.008754224777221679
180
  ]
181
  },
182
  "throughput": {
183
  "unit": "tokens/s",
184
+ "value": 231.40563362723302
185
  },
186
  "energy": null,
187
  "efficiency": null
 
189
  "decode": {
190
  "memory": {
191
  "unit": "MB",
192
+ "max_ram": 1047.535616,
193
+ "max_global_vram": 1118.408704,
194
+ "max_process_vram": 281294.352384,
195
  "max_reserved": 725.614592,
196
  "max_allocated": 513.056256
197
  },
198
  "latency": {
199
  "unit": "s",
200
+ "count": 58,
201
+ "total": 0.502205677986145,
202
+ "mean": 0.008658718585968018,
203
+ "stdev": 0.0004390677993088848,
204
+ "p50": 0.008537344932556153,
205
+ "p90": 0.00916436767578125,
206
+ "p95": 0.009191783714294435,
207
+ "p99": 0.009239040069580078,
208
  "values": [
209
+ 0.008550225257873535,
210
+ 0.008258384704589844,
211
+ 0.008178385734558105,
212
+ 0.00839118480682373,
213
+ 0.008186705589294433,
214
+ 0.00817614459991455,
215
+ 0.008775505065917968,
216
+ 0.008520625114440917,
217
+ 0.00817486572265625,
218
+ 0.008344945907592773,
219
+ 0.008227825164794922,
220
+ 0.008235344886779785,
221
+ 0.008263344764709473,
222
+ 0.008161106109619141,
223
+ 0.008136305809020996,
224
+ 0.00826958465576172,
225
+ 0.008114066123962402,
226
+ 0.008377264976501465,
227
+ 0.008123826026916504,
228
+ 0.008329265594482422,
229
+ 0.008115345001220704,
230
+ 0.00812398624420166,
231
+ 0.008208786010742188,
232
+ 0.008433904647827149,
233
+ 0.008128625869750977,
234
+ 0.008107665061950684,
235
+ 0.008900625228881836,
236
+ 0.008307825088500977,
237
+ 0.008337586402893067,
238
+ 0.00814478588104248,
239
+ 0.008128786087036132,
240
+ 0.009188783645629884,
241
+ 0.009213583946228027,
242
+ 0.009156304359436035,
243
+ 0.009141743659973145,
244
+ 0.009166383743286132,
245
+ 0.009109265327453613,
246
+ 0.009139663696289062,
247
+ 0.00914078426361084,
248
+ 0.009110063552856444,
249
+ 0.009272784233093261,
250
+ 0.009163503646850585,
251
+ 0.00914254379272461,
252
+ 0.009139823913574218,
253
+ 0.009128144264221191,
254
+ 0.009150223731994629,
255
+ 0.009170063972473145,
256
+ 0.009208784103393555,
257
+ 0.009140144348144532,
258
+ 0.00909102439880371,
259
+ 0.009136783599853515,
260
+ 0.009139823913574218,
261
+ 0.009120784759521484,
262
+ 0.008986543655395508,
263
+ 0.008934544563293458,
264
+ 0.008853424072265624,
265
+ 0.008802864074707031,
266
+ 0.00852446460723877
267
  ]
268
  },
269
  "throughput": {
270
  "unit": "tokens/s",
271
+ "value": 115.49053016003558
272
  },
273
  "energy": null,
274
  "efficiency": null
 
277
  "memory": null,
278
  "latency": {
279
  "unit": "s",
280
+ "count": 57,
281
+ "total": 0.9844515552520751,
282
+ "mean": 0.017271079916703073,
283
+ "stdev": 0.0008708116033835836,
284
+ "p50": 0.016969249725341796,
285
+ "p90": 0.018308320236206054,
286
+ "p95": 0.018355776596069337,
287
+ "p99": 0.018384454040527343,
288
  "values": [
289
+ 0.01654429054260254,
290
+ 0.016426851272583008,
291
+ 0.01693404960632324,
292
+ 0.016387811660766603,
293
+ 0.016362850189208984,
294
+ 0.01688717269897461,
295
+ 0.016969249725341796,
296
+ 0.016526531219482422,
297
+ 0.016527332305908204,
298
+ 0.016434051513671874,
299
+ 0.01661293029785156,
300
+ 0.016646371841430665,
301
+ 0.01666813087463379,
302
+ 0.01623549270629883,
303
+ 0.016393571853637694,
304
+ 0.01622669219970703,
305
+ 0.016660451889038086,
306
+ 0.01622093200683594,
307
+ 0.016595651626586914,
308
+ 0.0163847713470459,
309
+ 0.01622669219970703,
310
+ 0.016274852752685545,
311
+ 0.016635011672973633,
312
+ 0.016248931884765627,
313
+ 0.01619997215270996,
314
+ 0.01701388931274414,
315
+ 0.01645197105407715,
316
+ 0.01641853141784668,
317
+ 0.016273252487182616,
318
+ 0.016240291595458985,
319
+ 0.017449247360229493,
320
+ 0.01837628746032715,
321
+ 0.018030847549438477,
322
+ 0.018278047561645507,
323
+ 0.01829452705383301,
324
+ 0.018260128021240236,
325
+ 0.018302528381347657,
326
+ 0.01828220748901367,
327
+ 0.018242368698120116,
328
+ 0.018394847869873047,
329
+ 0.01831884765625,
330
+ 0.018272127151489258,
331
+ 0.018294687271118163,
332
+ 0.018232128143310548,
333
+ 0.018360128402709962,
334
+ 0.01829212760925293,
335
+ 0.01835468864440918,
336
+ 0.01829372787475586,
337
+ 0.018306848526000976,
338
+ 0.01831052780151367,
339
+ 0.018298847198486328,
340
+ 0.018263647079467774,
341
+ 0.018207647323608397,
342
+ 0.017730047225952148,
343
+ 0.017725568771362304,
344
+ 0.01730828857421875,
345
+ 0.01734204864501953
346
  ]
347
  },
348
  "throughput": {
349
  "unit": "tokens/s",
350
+ "value": 57.90025897760381
351
  },
352
  "energy": null,
353
  "efficiency": null