IlyasMoutawwakil HF staff commited on
Commit
f5fb220
·
verified ·
1 Parent(s): 2e28ef6

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.4.0+rocm6.1",
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": "0",
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": 1389.211648,
115
- "max_global_vram": 11.145216,
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.762439453125,
124
- "mean": 7.762439453125,
125
  "stdev": 0.0,
126
- "p50": 7.762439453125,
127
- "p90": 7.762439453125,
128
- "p95": 7.762439453125,
129
- "p99": 7.762439453125,
130
  "values": [
131
- 7.762439453125
132
  ]
133
  },
134
  "throughput": null,
@@ -138,87 +138,92 @@
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
- "max_ram": 1548.47232,
142
- "max_global_vram": 11.145216,
143
- "max_process_vram": 0.0,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
- "count": 59,
150
- "total": 0.44968510150909424,
151
- "mean": 0.007621781381510071,
152
- "stdev": 0.0029362607071729903,
153
- "p50": 0.007005897045135498,
154
- "p90": 0.007861925888061524,
155
- "p95": 0.007913350009918212,
156
- "p99": 0.017351896343231237,
157
  "values": [
158
- 0.008235334396362304,
159
- 0.007437895774841308,
160
- 0.007485896110534668,
161
- 0.007273577213287354,
162
- 0.00704285717010498,
163
- 0.007052617073059082,
164
- 0.006972776889801025,
165
- 0.00685933780670166,
166
- 0.0068654179573059086,
167
- 0.006891497135162353,
168
- 0.006963497161865235,
169
- 0.006859978199005127,
170
- 0.006874378204345703,
171
- 0.008351492881774902,
172
- 0.007242216110229492,
173
- 0.006882057189941406,
174
- 0.007796935081481934,
175
- 0.007822535037994384,
176
- 0.007870213985443115,
177
- 0.007816453933715821,
178
- 0.007877573966979981,
179
- 0.007828295230865479,
180
- 0.007808294773101807,
181
- 0.0078140549659729,
182
- 0.0070786972045898434,
183
- 0.006930057048797607,
184
- 0.007134216785430908,
185
- 0.02978102493286133,
186
- 0.006983177185058594,
187
- 0.006981577873229981,
188
- 0.006999176979064941,
189
- 0.0069602980613708496,
190
- 0.006952937126159668,
191
- 0.006987337112426758,
192
- 0.006956937789916992,
193
- 0.007087337017059326,
194
- 0.006952297210693359,
195
- 0.0075988550186157225,
196
- 0.007047817230224609,
197
- 0.006955338001251221,
198
- 0.007001418113708496,
199
- 0.006988936901092529,
200
- 0.007004776954650879,
201
- 0.007005897045135498,
202
- 0.006970057010650635,
203
- 0.0069978971481323244,
204
- 0.006999657154083252,
205
- 0.007000617027282715,
206
- 0.007015657901763916,
207
- 0.0070358171463012695,
208
- 0.007003177165985108,
209
- 0.006962536811828613,
210
- 0.00699757719039917,
211
- 0.006976937770843506,
212
- 0.007859973907470704,
213
- 0.007869733810424804,
214
- 0.007487174987792969,
215
- 0.007349096775054932,
216
- 0.007845893859863281
 
 
 
 
 
217
  ]
218
  },
219
  "throughput": {
220
  "unit": "tokens/s",
221
- "value": 262.4058471228085
222
  },
223
  "energy": null,
224
  "efficiency": null
@@ -226,87 +231,92 @@
226
  "decode": {
227
  "memory": {
228
  "unit": "MB",
229
- "max_ram": 1548.537856,
230
- "max_global_vram": 11.108352,
231
- "max_process_vram": 0.0,
232
  "max_reserved": 725.614592,
233
  "max_allocated": 513.259008
234
  },
235
  "latency": {
236
  "unit": "s",
237
- "count": 59,
238
- "total": 0.5580844469070434,
239
- "mean": 0.009459058422153279,
240
- "stdev": 0.014815164664305682,
241
- "p50": 0.007367656230926513,
242
- "p90": 0.008174757957458496,
243
- "p95": 0.008235236930847167,
244
- "p99": 0.056188595714569294,
245
  "values": [
246
- 0.007835813999176025,
247
- 0.007478856086730957,
248
- 0.007500296115875244,
249
- 0.007191816806793213,
250
- 0.007054057121276856,
251
- 0.007240616798400879,
252
- 0.006996777057647705,
253
- 0.006981257915496826,
254
- 0.007002217769622803,
255
- 0.007219336986541748,
256
- 0.006973897933959961,
257
- 0.006966217041015625,
258
- 0.12225289154052735,
259
- 0.007295015811920166,
260
- 0.007633895874023438,
261
- 0.007740135192871094,
262
- 0.008281892776489257,
263
- 0.008156773567199706,
264
- 0.008174694061279297,
265
- 0.008175013542175293,
266
- 0.008154534339904785,
267
- 0.00812029266357422,
268
- 0.008348933219909668,
269
- 0.007870213985443115,
270
- 0.0072706971168518065,
271
- 0.007316617012023926,
272
- 0.007306856155395508,
273
- 0.007359496116638184,
274
- 0.007361735820770264,
275
- 0.007372615814208984,
276
- 0.007342376232147217,
277
- 0.007397575855255127,
278
- 0.0075754961967468264,
279
- 0.007326537132263183,
280
- 0.0074034957885742185,
281
- 0.007450695991516113,
282
- 0.007555655956268311,
283
- 0.007473415851593017,
284
- 0.007367656230926513,
285
- 0.007591975212097168,
286
- 0.00735149621963501,
287
- 0.007297576904296875,
288
- 0.0073367757797241214,
289
- 0.007299016952514648,
290
- 0.007305097103118896,
291
- 0.0073673357963562015,
292
- 0.007352777004241943,
293
- 0.007312615871429443,
294
- 0.00741869592666626,
295
- 0.007329736232757568,
296
- 0.007294217109680176,
297
- 0.007298536777496338,
298
- 0.0072988557815551755,
299
- 0.0074121360778808595,
300
- 0.008140613555908203,
301
- 0.008230052947998046,
302
- 0.0077270159721374515,
303
- 0.007968133926391601,
304
- 0.008225414276123047
 
 
 
 
 
305
  ]
306
  },
307
  "throughput": {
308
  "unit": "tokens/s",
309
- "value": 105.71876770080864
310
  },
311
  "energy": null,
312
  "efficiency": null
@@ -315,79 +325,84 @@
315
  "memory": null,
316
  "latency": {
317
  "unit": "s",
318
- "count": 59,
319
- "total": 0.5289811754226684,
320
- "mean": 0.008965782634282516,
321
- "stdev": 0.014791657263717176,
322
- "p50": 0.006871178150177002,
323
- "p90": 0.007630792140960694,
324
- "p95": 0.007712262964248658,
325
- "p99": 0.055611679496765334,
326
  "values": [
327
- 0.007334216117858887,
328
- 0.007004938125610352,
329
- 0.007016457080841064,
330
- 0.006774377822875976,
331
- 0.006651817798614502,
332
- 0.006843498229980469,
333
- 0.0066028590202331545,
334
- 0.006593258857727051,
335
- 0.006620779037475586,
336
- 0.006824937820434571,
337
- 0.0065820589065551756,
338
- 0.006576138019561768,
339
- 0.1215863265991211,
340
- 0.006817577838897705,
341
- 0.007107977867126465,
342
- 0.007223657131195068,
343
- 0.007712134838104248,
344
- 0.007606534957885742,
345
- 0.007620454788208008,
346
- 0.007627816200256348,
347
- 0.0076066961288452145,
348
- 0.007590374946594238,
349
- 0.00783693504333496,
350
- 0.007340136051177978,
351
- 0.006799178123474121,
352
- 0.006805737972259521,
353
- 0.0068252568244934085,
354
- 0.006823657989501953,
355
- 0.006857257843017578,
356
- 0.0068705368041992185,
357
- 0.006839017868041992,
358
- 0.006878218173980713,
359
- 0.0070713372230529785,
360
- 0.006840137958526611,
361
- 0.00687517786026001,
362
- 0.006939978122711182,
363
- 0.007066857814788818,
364
- 0.0069866981506347655,
365
- 0.006871178150177002,
366
- 0.007070217132568359,
367
- 0.0068606181144714356,
368
- 0.006817738056182862,
369
- 0.006831498146057129,
370
- 0.006806859016418457,
371
- 0.006818697929382324,
372
- 0.0068820581436157225,
373
- 0.00686045789718628,
374
- 0.006816617965698242,
375
- 0.006928297042846679,
376
- 0.006818858146667481,
377
- 0.006809577941894531,
378
- 0.006809097766876221,
379
- 0.0068135781288146974,
380
- 0.006887496948242188,
381
- 0.007642695903778076,
382
- 0.0077081360816955566,
383
- 0.007203176975250244,
384
- 0.007429895877838134,
385
- 0.00771341609954834
 
 
 
 
 
386
  ]
387
  },
388
  "throughput": {
389
  "unit": "tokens/s",
390
- "value": 111.53515992862621
391
  },
392
  "energy": null,
393
  "efficiency": null
 
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
  "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": 1033.842688,
115
+ "max_global_vram": 1013.08416,
116
+ "max_process_vram": 42421.321728,
117
  "max_reserved": 725.614592,
118
  "max_allocated": 666.338304
119
  },
120
  "latency": {
121
  "unit": "s",
122
  "count": 1,
123
+ "total": 7.435150390625,
124
+ "mean": 7.435150390625,
125
  "stdev": 0.0,
126
+ "p50": 7.435150390625,
127
+ "p90": 7.435150390625,
128
+ "p95": 7.435150390625,
129
+ "p99": 7.435150390625,
130
  "values": [
131
+ 7.435150390625
132
  ]
133
  },
134
  "throughput": null,
 
138
  "prefill": {
139
  "memory": {
140
  "unit": "MB",
141
+ "max_ram": 1203.478528,
142
+ "max_global_vram": 1125.101568,
143
+ "max_process_vram": 285222.907904,
144
  "max_reserved": 725.614592,
145
  "max_allocated": 513.035264
146
  },
147
  "latency": {
148
  "unit": "s",
149
+ "count": 64,
150
+ "total": 0.5165020403861998,
151
+ "mean": 0.008070344381034374,
152
+ "stdev": 0.0009219661782258188,
153
+ "p50": 0.00783693504333496,
154
+ "p90": 0.008640084648132325,
155
+ "p95": 0.008891763734817504,
156
+ "p99": 0.011501919288635245,
157
  "values": [
158
+ 0.008549253463745117,
159
+ 0.00877149200439453,
160
+ 0.008455013275146485,
161
+ 0.008201253890991212,
162
+ 0.00803037452697754,
163
+ 0.007951014995574952,
164
+ 0.009859647750854492,
165
+ 0.008894211769104004,
166
+ 0.008679012298583984,
167
+ 0.008043495178222657,
168
+ 0.010228768348693847,
169
+ 0.008537412643432617,
170
+ 0.008473732948303222,
171
+ 0.008877891540527344,
172
+ 0.00850013256072998,
173
+ 0.008450532913208008,
174
+ 0.008486373901367188,
175
+ 0.008442532539367676,
176
+ 0.008460453987121582,
177
+ 0.0076402959823608394,
178
+ 0.007460775852203369,
179
+ 0.007452776908874512,
180
+ 0.008184293746948242,
181
+ 0.007460455894470214,
182
+ 0.007468296051025391,
183
+ 0.007475815773010254,
184
+ 0.007453735828399658,
185
+ 0.007746534824371338,
186
+ 0.007830854892730712,
187
+ 0.007940774917602538,
188
+ 0.007753894805908203,
189
+ 0.007459015846252442,
190
+ 0.007427977085113525,
191
+ 0.007455336093902588,
192
+ 0.007454856872558594,
193
+ 0.007483816146850586,
194
+ 0.007490856170654297,
195
+ 0.007470696926116943,
196
+ 0.007467016220092774,
197
+ 0.007491655826568603,
198
+ 0.007464296817779541,
199
+ 0.0074721360206604,
200
+ 0.007450857162475586,
201
+ 0.0074574160575866695,
202
+ 0.013669716835021972,
203
+ 0.007821895122528077,
204
+ 0.007445736885070801,
205
+ 0.008201253890991212,
206
+ 0.008452452659606934,
207
+ 0.008531972885131836,
208
+ 0.00787901496887207,
209
+ 0.00828797435760498,
210
+ 0.008485253334045411,
211
+ 0.008440133094787597,
212
+ 0.008418374061584473,
213
+ 0.007865735054016113,
214
+ 0.007843015193939208,
215
+ 0.007708295822143555,
216
+ 0.007437736988067627,
217
+ 0.00745197582244873,
218
+ 0.00744157600402832,
219
+ 0.007442376136779785,
220
+ 0.007438216209411621,
221
+ 0.007432295799255371
222
  ]
223
  },
224
  "throughput": {
225
  "unit": "tokens/s",
226
+ "value": 247.82089903128278
227
  },
228
  "energy": null,
229
  "efficiency": null
 
231
  "decode": {
232
  "memory": {
233
  "unit": "MB",
234
+ "max_ram": 1203.478528,
235
+ "max_global_vram": 1125.163008,
236
+ "max_process_vram": 278132.81792,
237
  "max_reserved": 725.614592,
238
  "max_allocated": 513.259008
239
  },
240
  "latency": {
241
  "unit": "s",
242
+ "count": 64,
243
+ "total": 0.48157910490036027,
244
+ "mean": 0.007524673514068126,
245
+ "stdev": 0.0016825367101843706,
246
+ "p50": 0.00721597695350647,
247
+ "p90": 0.007910790872573853,
248
+ "p95": 0.00823348560333252,
249
+ "p99": 0.013047457981109588,
250
  "values": [
251
+ 0.008155014038085938,
252
+ 0.008247333526611328,
253
+ 0.007870214939117432,
254
+ 0.007712454795837403,
255
+ 0.007670054912567139,
256
+ 0.007560455799102783,
257
+ 0.008776132583618163,
258
+ 0.008261734008789063,
259
+ 0.00765069580078125,
260
+ 0.007981733798980713,
261
+ 0.007890854835510254,
262
+ 0.0077839760780334475,
263
+ 0.007777094841003418,
264
+ 0.00779597520828247,
265
+ 0.0077938947677612305,
266
+ 0.007813735961914063,
267
+ 0.007763014793395996,
268
+ 0.007743014812469483,
269
+ 0.007419015884399414,
270
+ 0.00686525821685791,
271
+ 0.006863018035888672,
272
+ 0.020320255279541014,
273
+ 0.007084938049316406,
274
+ 0.0068849377632141115,
275
+ 0.006914058208465576,
276
+ 0.006893098831176758,
277
+ 0.006879978179931641,
278
+ 0.007036297798156738,
279
+ 0.007256776809692383,
280
+ 0.00727437686920166,
281
+ 0.006881577968597412,
282
+ 0.006892458915710449,
283
+ 0.006892298221588135,
284
+ 0.006888137817382812,
285
+ 0.00686093807220459,
286
+ 0.006979497909545898,
287
+ 0.006880938053131103,
288
+ 0.00688765811920166,
289
+ 0.006863977909088135,
290
+ 0.006911178112030029,
291
+ 0.006852938175201416,
292
+ 0.006850217819213867,
293
+ 0.006871178150177002,
294
+ 0.0068298978805542,
295
+ 0.0068660578727722165,
296
+ 0.00681981897354126,
297
+ 0.006869738101959229,
298
+ 0.00778893518447876,
299
+ 0.007919334888458252,
300
+ 0.007314537048339844,
301
+ 0.007195336818695068,
302
+ 0.007809094905853272,
303
+ 0.0077817349433898925,
304
+ 0.007796935081481934,
305
+ 0.007732934951782226,
306
+ 0.007187817096710205,
307
+ 0.007236617088317871,
308
+ 0.0073838157653808596,
309
+ 0.006835817813873291,
310
+ 0.0068266987800598145,
311
+ 0.006852777957916259,
312
+ 0.00738573694229126,
313
+ 0.00683853816986084,
314
+ 0.006854537963867187
315
  ]
316
  },
317
  "throughput": {
318
  "unit": "tokens/s",
319
+ "value": 132.89613139100328
320
  },
321
  "energy": null,
322
  "efficiency": null
 
325
  "memory": null,
326
  "latency": {
327
  "unit": "s",
328
+ "count": 64,
329
+ "total": 0.45567071390151986,
330
+ "mean": 0.007119854904711246,
331
+ "stdev": 0.0016786218225724103,
332
+ "p50": 0.006830458402633667,
333
+ "p90": 0.007461496114730835,
334
+ "p95": 0.0076045599937438965,
335
+ "p99": 0.012555800571441619,
336
  "values": [
337
+ 0.007565256118774414,
338
+ 0.0076114959716796875,
339
+ 0.007292296886444092,
340
+ 0.007161577224731445,
341
+ 0.007110537052154541,
342
+ 0.007015498161315918,
343
+ 0.00818093490600586,
344
+ 0.007722536087036133,
345
+ 0.007107498168945313,
346
+ 0.007443016052246094,
347
+ 0.00746941614151001,
348
+ 0.007378696918487549,
349
+ 0.007378376007080078,
350
+ 0.007398375988006592,
351
+ 0.00737421703338623,
352
+ 0.007406056880950928,
353
+ 0.007364295959472657,
354
+ 0.007346857070922852,
355
+ 0.007055656909942627,
356
+ 0.006514059066772461,
357
+ 0.006509259223937989,
358
+ 0.02000489616394043,
359
+ 0.0067100591659545895,
360
+ 0.0065202989578247075,
361
+ 0.006544619083404541,
362
+ 0.006536300182342529,
363
+ 0.006528938770294189,
364
+ 0.0066578989028930665,
365
+ 0.006905258178710938,
366
+ 0.006922858238220215,
367
+ 0.006524138927459717,
368
+ 0.006527979850769043,
369
+ 0.006533099174499512,
370
+ 0.006531980037689209,
371
+ 0.006510058879852295,
372
+ 0.006613899230957032,
373
+ 0.006516619205474854,
374
+ 0.006531659126281738,
375
+ 0.0065086188316345215,
376
+ 0.006549418926239014,
377
+ 0.0065012588500976565,
378
+ 0.006496298789978028,
379
+ 0.006518379211425781,
380
+ 0.006464779853820801,
381
+ 0.006481898784637451,
382
+ 0.006467020034790039,
383
+ 0.006506538867950439,
384
+ 0.007378376960754394,
385
+ 0.007492297172546387,
386
+ 0.006923657894134521,
387
+ 0.006786538124084473,
388
+ 0.00740445613861084,
389
+ 0.007369736194610596,
390
+ 0.007386376857757568,
391
+ 0.00732093620300293,
392
+ 0.006788458824157715,
393
+ 0.006872457981109619,
394
+ 0.007007338047027588,
395
+ 0.006472299098968506,
396
+ 0.006464300155639649,
397
+ 0.00648413896560669,
398
+ 0.007019338130950928,
399
+ 0.006478219985961914,
400
+ 0.006501099109649658
401
  ]
402
  },
403
  "throughput": {
404
  "unit": "tokens/s",
405
+ "value": 140.45230041672545
406
  },
407
  "energy": null,
408
  "efficiency": null