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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "2024-09-30-20-07-10/pytorch",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.4.1",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "feature-extraction",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "gpt2",
|
| 11 |
+
"model": "openai-community/gpt2",
|
| 12 |
+
"processor": "openai-community/gpt2",
|
| 13 |
+
"device": "cpu",
|
| 14 |
+
"device_ids": null,
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": false,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {},
|
| 33 |
+
"quantization_scheme": null,
|
| 34 |
+
"quantization_config": {},
|
| 35 |
+
"deepspeed_inference": false,
|
| 36 |
+
"deepspeed_inference_config": {},
|
| 37 |
+
"peft_type": null,
|
| 38 |
+
"peft_config": {}
|
| 39 |
+
},
|
| 40 |
+
"scenario": {
|
| 41 |
+
"name": "inference",
|
| 42 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 43 |
+
"iterations": 10,
|
| 44 |
+
"duration": 10,
|
| 45 |
+
"warmup_runs": 10,
|
| 46 |
+
"input_shapes": {
|
| 47 |
+
"batch_size": 2,
|
| 48 |
+
"num_choices": 2,
|
| 49 |
+
"sequence_length": 16
|
| 50 |
+
},
|
| 51 |
+
"new_tokens": null,
|
| 52 |
+
"memory": true,
|
| 53 |
+
"latency": true,
|
| 54 |
+
"energy": false,
|
| 55 |
+
"forward_kwargs": {},
|
| 56 |
+
"generate_kwargs": {
|
| 57 |
+
"max_new_tokens": 32,
|
| 58 |
+
"min_new_tokens": 32
|
| 59 |
+
},
|
| 60 |
+
"call_kwargs": {}
|
| 61 |
+
},
|
| 62 |
+
"launcher": {
|
| 63 |
+
"name": "process",
|
| 64 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 65 |
+
"device_isolation": false,
|
| 66 |
+
"device_isolation_action": null,
|
| 67 |
+
"numactl": true,
|
| 68 |
+
"numactl_kwargs": {
|
| 69 |
+
"cpunodebind": 0,
|
| 70 |
+
"membind": 0
|
| 71 |
+
},
|
| 72 |
+
"start_method": "spawn"
|
| 73 |
+
},
|
| 74 |
+
"environment": {
|
| 75 |
+
"cpu": " AMD EPYC 7R13 Processor",
|
| 76 |
+
"cpu_count": 64,
|
| 77 |
+
"cpu_ram_mb": 529717.026816,
|
| 78 |
+
"system": "Linux",
|
| 79 |
+
"machine": "x86_64",
|
| 80 |
+
"platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
|
| 81 |
+
"processor": "",
|
| 82 |
+
"python_version": "3.10.15",
|
| 83 |
+
"optimum_benchmark_version": "0.5.0",
|
| 84 |
+
"optimum_benchmark_commit": null,
|
| 85 |
+
"transformers_version": "4.44.2",
|
| 86 |
+
"transformers_commit": null,
|
| 87 |
+
"accelerate_version": "0.34.2",
|
| 88 |
+
"accelerate_commit": null,
|
| 89 |
+
"diffusers_version": null,
|
| 90 |
+
"diffusers_commit": null,
|
| 91 |
+
"optimum_version": "1.22.0",
|
| 92 |
+
"optimum_commit": null,
|
| 93 |
+
"timm_version": null,
|
| 94 |
+
"timm_commit": null,
|
| 95 |
+
"peft_version": null,
|
| 96 |
+
"peft_commit": null
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
"report": {
|
| 100 |
+
"load": {
|
| 101 |
+
"memory": {
|
| 102 |
+
"unit": "MB",
|
| 103 |
+
"max_ram": 681.046016,
|
| 104 |
+
"max_global_vram": null,
|
| 105 |
+
"max_process_vram": null,
|
| 106 |
+
"max_reserved": null,
|
| 107 |
+
"max_allocated": null
|
| 108 |
+
},
|
| 109 |
+
"latency": {
|
| 110 |
+
"unit": "s",
|
| 111 |
+
"values": [
|
| 112 |
+
3.966448713093996
|
| 113 |
+
],
|
| 114 |
+
"count": 1,
|
| 115 |
+
"total": 3.966448713093996,
|
| 116 |
+
"mean": 3.966448713093996,
|
| 117 |
+
"p50": 3.966448713093996,
|
| 118 |
+
"p90": 3.966448713093996,
|
| 119 |
+
"p95": 3.966448713093996,
|
| 120 |
+
"p99": 3.966448713093996,
|
| 121 |
+
"stdev": 0,
|
| 122 |
+
"stdev_": 0
|
| 123 |
+
},
|
| 124 |
+
"throughput": null,
|
| 125 |
+
"energy": null,
|
| 126 |
+
"efficiency": null
|
| 127 |
+
},
|
| 128 |
+
"forward": {
|
| 129 |
+
"memory": {
|
| 130 |
+
"unit": "MB",
|
| 131 |
+
"max_ram": 1118.568448,
|
| 132 |
+
"max_global_vram": null,
|
| 133 |
+
"max_process_vram": null,
|
| 134 |
+
"max_reserved": null,
|
| 135 |
+
"max_allocated": null
|
| 136 |
+
},
|
| 137 |
+
"latency": {
|
| 138 |
+
"unit": "s",
|
| 139 |
+
"values": [
|
| 140 |
+
0.031664811074733734,
|
| 141 |
+
0.09032496809959412,
|
| 142 |
+
0.08789736032485962,
|
| 143 |
+
0.08879967033863068,
|
| 144 |
+
0.03201989829540253,
|
| 145 |
+
0.08423884212970734,
|
| 146 |
+
0.09121345728635788,
|
| 147 |
+
0.08818551898002625,
|
| 148 |
+
0.10675350204110146,
|
| 149 |
+
0.19785945490002632,
|
| 150 |
+
0.0942402333021164,
|
| 151 |
+
0.04522080719470978,
|
| 152 |
+
0.08535459265112877,
|
| 153 |
+
0.08885210379958153,
|
| 154 |
+
0.0986480675637722,
|
| 155 |
+
0.09995739534497261,
|
| 156 |
+
0.09575177729129791,
|
| 157 |
+
0.09239067509770393,
|
| 158 |
+
0.03208519145846367,
|
| 159 |
+
0.09070052206516266,
|
| 160 |
+
0.10381597653031349,
|
| 161 |
+
0.09207630902528763,
|
| 162 |
+
0.10417983680963516,
|
| 163 |
+
0.0865817703306675,
|
| 164 |
+
0.09156954288482666,
|
| 165 |
+
0.040636464953422546,
|
| 166 |
+
0.08521194010972977,
|
| 167 |
+
0.08829500526189804,
|
| 168 |
+
0.08948914706707001,
|
| 169 |
+
0.1023632176220417,
|
| 170 |
+
0.03461951017379761,
|
| 171 |
+
0.0840756930410862,
|
| 172 |
+
0.0945257768034935,
|
| 173 |
+
0.08783899620175362,
|
| 174 |
+
0.09395387768745422,
|
| 175 |
+
0.034185975790023804,
|
| 176 |
+
0.09510071203112602,
|
| 177 |
+
0.0886068120598793,
|
| 178 |
+
0.08157702162861824,
|
| 179 |
+
0.09246017038822174,
|
| 180 |
+
0.031726278364658356,
|
| 181 |
+
0.08865620940923691,
|
| 182 |
+
0.08059243112802505,
|
| 183 |
+
0.032624177634716034,
|
| 184 |
+
0.09196900576353073,
|
| 185 |
+
0.0810699611902237,
|
| 186 |
+
0.032106757164001465,
|
| 187 |
+
0.08851849660277367,
|
| 188 |
+
0.08451725915074348,
|
| 189 |
+
0.08841004222631454,
|
| 190 |
+
0.03747054189443588,
|
| 191 |
+
0.0800025649368763,
|
| 192 |
+
0.08907618746161461,
|
| 193 |
+
0.031612418591976166,
|
| 194 |
+
0.0850784033536911,
|
| 195 |
+
0.08847757801413536,
|
| 196 |
+
0.03188742697238922,
|
| 197 |
+
0.08446324989199638,
|
| 198 |
+
0.08871014416217804,
|
| 199 |
+
0.08404295146465302,
|
| 200 |
+
0.031542208045721054,
|
| 201 |
+
0.0881211906671524,
|
| 202 |
+
0.08473438397049904,
|
| 203 |
+
0.032881759107112885,
|
| 204 |
+
0.08916052803397179,
|
| 205 |
+
0.08412286266684532,
|
| 206 |
+
0.09036565572023392,
|
| 207 |
+
0.03156974911689758,
|
| 208 |
+
0.08749698475003242,
|
| 209 |
+
0.09203888103365898,
|
| 210 |
+
0.10392692685127258,
|
| 211 |
+
0.09789970889687538,
|
| 212 |
+
0.08869035914540291,
|
| 213 |
+
0.03473401442170143,
|
| 214 |
+
0.09474534913897514,
|
| 215 |
+
0.09939325973391533,
|
| 216 |
+
0.09798290580511093,
|
| 217 |
+
0.0987880527973175,
|
| 218 |
+
0.0935584120452404,
|
| 219 |
+
0.0831904374063015,
|
| 220 |
+
0.10094492882490158,
|
| 221 |
+
0.031647149473428726,
|
| 222 |
+
0.08074774593114853,
|
| 223 |
+
0.08792132139205933,
|
| 224 |
+
0.03603678196668625,
|
| 225 |
+
0.09554637596011162,
|
| 226 |
+
0.08905418589711189,
|
| 227 |
+
0.0875939279794693,
|
| 228 |
+
0.09969789162278175,
|
| 229 |
+
0.09206515178084373,
|
| 230 |
+
0.10020159929990768,
|
| 231 |
+
0.03647914156317711,
|
| 232 |
+
0.15708202123641968,
|
| 233 |
+
0.039025597274303436,
|
| 234 |
+
0.0864202082157135,
|
| 235 |
+
0.08877819776535034,
|
| 236 |
+
0.0871780626475811,
|
| 237 |
+
0.0955420508980751,
|
| 238 |
+
0.033497247844934464,
|
| 239 |
+
0.08007903769612312,
|
| 240 |
+
0.08830239623785019,
|
| 241 |
+
0.03901897743344307,
|
| 242 |
+
0.09567869827151299,
|
| 243 |
+
0.09157699719071388,
|
| 244 |
+
0.09119665995240211,
|
| 245 |
+
0.09682190045714378,
|
| 246 |
+
0.033938050270080566,
|
| 247 |
+
0.08098247274756432,
|
| 248 |
+
0.08844276517629623,
|
| 249 |
+
0.09172916784882545,
|
| 250 |
+
0.08812952414155006,
|
| 251 |
+
0.032098960131406784,
|
| 252 |
+
0.08067170158028603,
|
| 253 |
+
0.09230662509799004,
|
| 254 |
+
0.04153048247098923,
|
| 255 |
+
0.08251176029443741,
|
| 256 |
+
0.09716947749257088,
|
| 257 |
+
0.08605539053678513,
|
| 258 |
+
0.09076864272356033,
|
| 259 |
+
0.04387693107128143,
|
| 260 |
+
0.0814075917005539,
|
| 261 |
+
0.08873757347464561,
|
| 262 |
+
0.09102284908294678,
|
| 263 |
+
0.09644880890846252,
|
| 264 |
+
0.09592880681157112,
|
| 265 |
+
0.10283755138516426
|
| 266 |
+
],
|
| 267 |
+
"count": 126,
|
| 268 |
+
"total": 10.094007708132267,
|
| 269 |
+
"mean": 0.08011117228676402,
|
| 270 |
+
"p50": 0.08842640370130539,
|
| 271 |
+
"p90": 0.09909065626561642,
|
| 272 |
+
"p95": 0.10271896794438362,
|
| 273 |
+
"p99": 0.14449989143759012,
|
| 274 |
+
"stdev": 0.026657956278453555,
|
| 275 |
+
"stdev_": 33.276202953352595
|
| 276 |
+
},
|
| 277 |
+
"throughput": {
|
| 278 |
+
"unit": "samples/s",
|
| 279 |
+
"value": 24.965306871816182
|
| 280 |
+
},
|
| 281 |
+
"energy": null,
|
| 282 |
+
"efficiency": null
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
+
}
|