IlyasMoutawwakil HF staff commited on
Commit
aaf1af4
·
verified ·
1 Parent(s): bd037df

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 ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
4
+ "backend": {
5
+ "name": "pytorch",
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,
25
+ "eval_mode": true,
26
+ "to_bettertransformer": false,
27
+ "low_cpu_mem_usage": null,
28
+ "attn_implementation": null,
29
+ "cache_implementation": null,
30
+ "autocast_enabled": false,
31
+ "autocast_dtype": null,
32
+ "torch_compile": false,
33
+ "torch_compile_target": "forward",
34
+ "torch_compile_config": {},
35
+ "quantization_scheme": null,
36
+ "quantization_config": {},
37
+ "deepspeed_inference": false,
38
+ "deepspeed_inference_config": {},
39
+ "peft_type": null,
40
+ "peft_config": {}
41
+ },
42
+ "scenario": {
43
+ "name": "inference",
44
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
45
+ "iterations": 1,
46
+ "duration": 1,
47
+ "warmup_runs": 1,
48
+ "input_shapes": {
49
+ "batch_size": 1,
50
+ "num_choices": 2,
51
+ "sequence_length": 2
52
+ },
53
+ "new_tokens": null,
54
+ "latency": true,
55
+ "memory": true,
56
+ "energy": false,
57
+ "forward_kwargs": {},
58
+ "generate_kwargs": {
59
+ "max_new_tokens": 2,
60
+ "min_new_tokens": 2
61
+ },
62
+ "call_kwargs": {
63
+ "num_inference_steps": 2
64
+ }
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "error",
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7763 64-Core Processor",
75
+ "cpu_count": 128,
76
+ "cpu_ram_mb": 1082015.236096,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.12",
82
+ "gpu": [
83
+ "Advanced Micro Devices, Inc. [AMD/ATI]"
84
+ ],
85
+ "gpu_count": 1,
86
+ "gpu_vram_mb": 68702699520,
87
+ "optimum_benchmark_version": "0.2.0",
88
+ "optimum_benchmark_commit": null,
89
+ "transformers_version": "4.40.2",
90
+ "transformers_commit": null,
91
+ "accelerate_version": "0.30.1",
92
+ "accelerate_commit": null,
93
+ "diffusers_version": "0.27.2",
94
+ "diffusers_commit": null,
95
+ "optimum_version": null,
96
+ "optimum_commit": null,
97
+ "timm_version": "0.9.16",
98
+ "timm_commit": null,
99
+ "peft_version": null,
100
+ "peft_commit": null
101
+ }
102
+ },
103
+ "report": {
104
+ "prefill": {
105
+ "memory": {
106
+ "unit": "MB",
107
+ "max_ram": 1052.778496,
108
+ "max_global_vram": 1118.404608,
109
+ "max_process_vram": 293054.574592,
110
+ "max_reserved": 725.614592,
111
+ "max_allocated": 512.832512
112
+ },
113
+ "latency": {
114
+ "unit": "s",
115
+ "count": 61,
116
+ "total": 0.5021723852157592,
117
+ "mean": 0.008232334183864905,
118
+ "stdev": 0.0005346202064585218,
119
+ "p50": 0.008077877998352051,
120
+ "p90": 0.008484915733337402,
121
+ "p95": 0.008586833953857422,
122
+ "p99": 0.010325065422058102,
123
+ "values": [
124
+ 0.01202569580078125,
125
+ 0.008134357452392578,
126
+ 0.008083956718444824,
127
+ 0.008094197273254394,
128
+ 0.00806939697265625,
129
+ 0.008062197685241699,
130
+ 0.008082677841186523,
131
+ 0.008074197769165039,
132
+ 0.008093877792358399,
133
+ 0.008096597671508788,
134
+ 0.008098997116088868,
135
+ 0.00811147689819336,
136
+ 0.008107156753540038,
137
+ 0.008217876434326171,
138
+ 0.008059797286987304,
139
+ 0.008046036720275878,
140
+ 0.008058358192443847,
141
+ 0.008040597915649414,
142
+ 0.008058197021484375,
143
+ 0.008036437034606934,
144
+ 0.008029397964477538,
145
+ 0.00805627727508545,
146
+ 0.0080503568649292,
147
+ 0.008060916900634766,
148
+ 0.008062357902526856,
149
+ 0.0082545166015625,
150
+ 0.008324915885925294,
151
+ 0.00837147617340088,
152
+ 0.008293875694274902,
153
+ 0.008099957466125489,
154
+ 0.008077877998352051,
155
+ 0.008073718070983886,
156
+ 0.008057876586914063,
157
+ 0.008057876586914063,
158
+ 0.00805179786682129,
159
+ 0.008062197685241699,
160
+ 0.008068277359008788,
161
+ 0.008114517211914063,
162
+ 0.008092276573181153,
163
+ 0.008052597045898438,
164
+ 0.008061077117919922,
165
+ 0.008085877418518066,
166
+ 0.008055477142333985,
167
+ 0.008071637153625489,
168
+ 0.008046036720275878,
169
+ 0.008117076873779296,
170
+ 0.008044757843017579,
171
+ 0.008863153457641602,
172
+ 0.008484915733337402,
173
+ 0.008506514549255372,
174
+ 0.008215956687927246,
175
+ 0.009191311836242676,
176
+ 0.008478195190429687,
177
+ 0.008478835105895996,
178
+ 0.008068758010864258,
179
+ 0.008062996864318848,
180
+ 0.008053558349609375,
181
+ 0.00810539722442627,
182
+ 0.008073078155517579,
183
+ 0.008586833953857422,
184
+ 0.008555793762207031
185
+ ]
186
+ },
187
+ "throughput": {
188
+ "unit": "tokens/s",
189
+ "value": 242.94446208463353
190
+ },
191
+ "energy": null,
192
+ "efficiency": null
193
+ },
194
+ "decode": {
195
+ "memory": {
196
+ "unit": "MB",
197
+ "max_ram": 1052.778496,
198
+ "max_global_vram": 1118.408704,
199
+ "max_process_vram": 298935.271424,
200
+ "max_reserved": 725.614592,
201
+ "max_allocated": 513.056256
202
+ },
203
+ "latency": {
204
+ "unit": "s",
205
+ "count": 61,
206
+ "total": 0.5061653232574462,
207
+ "mean": 0.0082977921845483,
208
+ "stdev": 0.00026640755868805613,
209
+ "p50": 0.008166996955871583,
210
+ "p90": 0.008602354049682617,
211
+ "p95": 0.008709394454956054,
212
+ "p99": 0.00930974292755127,
213
+ "values": [
214
+ 0.008709394454956054,
215
+ 0.008124917030334473,
216
+ 0.00817259693145752,
217
+ 0.008158516883850098,
218
+ 0.008166996955871583,
219
+ 0.008166356086730957,
220
+ 0.008158037185668945,
221
+ 0.008192915916442872,
222
+ 0.008137877464294434,
223
+ 0.00817003631591797,
224
+ 0.0082194766998291,
225
+ 0.00816651725769043,
226
+ 0.008332595825195313,
227
+ 0.008192597389221191,
228
+ 0.008187156677246094,
229
+ 0.00817531681060791,
230
+ 0.008151796340942383,
231
+ 0.008148117065429688,
232
+ 0.008136116981506347,
233
+ 0.008141237258911133,
234
+ 0.00817083740234375,
235
+ 0.008394355773925782,
236
+ 0.008118837356567384,
237
+ 0.008151956558227539,
238
+ 0.00857115364074707,
239
+ 0.008371315002441405,
240
+ 0.009506349563598632,
241
+ 0.008376275062561035,
242
+ 0.008134837150573731,
243
+ 0.008123637199401856,
244
+ 0.008134037017822266,
245
+ 0.00815131664276123,
246
+ 0.008149396896362305,
247
+ 0.008127636909484863,
248
+ 0.008160757064819337,
249
+ 0.008144597053527831,
250
+ 0.008176116943359376,
251
+ 0.008158197402954101,
252
+ 0.0081332368850708,
253
+ 0.008140276908874512,
254
+ 0.008242197036743164,
255
+ 0.008148756980895996,
256
+ 0.008129397392272949,
257
+ 0.008420915603637695,
258
+ 0.008448275566101074,
259
+ 0.008143157005310058,
260
+ 0.008118037223815919,
261
+ 0.009178671836853027,
262
+ 0.00857163429260254,
263
+ 0.008537714958190917,
264
+ 0.008551633834838868,
265
+ 0.008616594314575196,
266
+ 0.008508114814758301,
267
+ 0.008326835632324218,
268
+ 0.008239476203918458,
269
+ 0.00813115692138672,
270
+ 0.008158995628356933,
271
+ 0.008134838104248046,
272
+ 0.008889232635498047,
273
+ 0.008602354049682617,
274
+ 0.00866363525390625
275
+ ]
276
+ },
277
+ "throughput": {
278
+ "unit": "tokens/s",
279
+ "value": 120.51398465511656
280
+ },
281
+ "energy": null,
282
+ "efficiency": null
283
+ },
284
+ "per_token": {
285
+ "memory": null,
286
+ "latency": {
287
+ "unit": "s",
288
+ "count": 60,
289
+ "total": 0.989397336959839,
290
+ "mean": 0.016489955615997316,
291
+ "stdev": 0.0004276576323493627,
292
+ "p50": 0.016286714553833008,
293
+ "p90": 0.017090789222717284,
294
+ "p95": 0.0172965160369873,
295
+ "p99": 0.017932871894836427,
296
+ "values": [
297
+ 0.016311433792114256,
298
+ 0.01628903388977051,
299
+ 0.016283273696899414,
300
+ 0.016258634567260743,
301
+ 0.016254634857177735,
302
+ 0.016290634155273438,
303
+ 0.01629159355163574,
304
+ 0.01626151466369629,
305
+ 0.016294313430786134,
306
+ 0.016336393356323243,
307
+ 0.016324073791503906,
308
+ 0.016471113204956055,
309
+ 0.01643639373779297,
310
+ 0.016267114639282227,
311
+ 0.0162634334564209,
312
+ 0.016235754013061522,
313
+ 0.016221355438232422,
314
+ 0.016209354400634767,
315
+ 0.016214153289794923,
316
+ 0.016221994400024413,
317
+ 0.016490793228149413,
318
+ 0.01619623374938965,
319
+ 0.016243114471435546,
320
+ 0.01661591339111328,
321
+ 0.01670311164855957,
322
+ 0.017812705993652343,
323
+ 0.016786792755126952,
324
+ 0.016503433227539062,
325
+ 0.016257194519042967,
326
+ 0.016239274978637697,
327
+ 0.016240713119506835,
328
+ 0.016251434326171876,
329
+ 0.016215114593505858,
330
+ 0.016242315292358398,
331
+ 0.016236873626708986,
332
+ 0.016274314880371094,
333
+ 0.0162850341796875,
334
+ 0.01626263427734375,
335
+ 0.016229673385620116,
336
+ 0.01634279441833496,
337
+ 0.01624839401245117,
338
+ 0.01622407341003418,
339
+ 0.016517513275146483,
340
+ 0.016522792816162108,
341
+ 0.016288394927978515,
342
+ 0.01618551445007324,
343
+ 0.01803718376159668,
344
+ 0.01711958885192871,
345
+ 0.017087589263916014,
346
+ 0.016732391357421876,
347
+ 0.01786038398742676,
348
+ 0.017060869216918944,
349
+ 0.016831432342529297,
350
+ 0.01633031463623047,
351
+ 0.016217674255371094,
352
+ 0.016259593963623045,
353
+ 0.016268075942993163,
354
+ 0.016945350646972657,
355
+ 0.01726934814453125,
356
+ 0.017225187301635744
357
+ ]
358
+ },
359
+ "throughput": {
360
+ "unit": "tokens/s",
361
+ "value": 60.64297705142852
362
+ },
363
+ "energy": null,
364
+ "efficiency": null
365
+ }
366
+ }
367
+ }