File size: 9,405 Bytes
9a41c6d 7af033b 9a41c6d a358373 24766a7 4d7e0be 9a41c6d 4d7e0be 9a41c6d e8f8713 9a41c6d 8db1502 bc8a3a5 9a41c6d b6dba5c 9a41c6d 28a7835 9a41c6d 28a7835 91c890e 82a1d21 905408a 9a41c6d de8c1df 9a41c6d de8c1df 9a41c6d 905408a 9a41c6d bf31152 9a41c6d fecccd7 82a1d21 9a41c6d e8f8713 82a1d21 e8f8713 8ea21a3 82a1d21 b6dba5c 82a1d21 b6dba5c e8f8713 905408a e8f8713 9a41c6d 82a1d21 9a41c6d 82a1d21 b6dba5c 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 b6dba5c 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 9a41c6d 82a1d21 b6dba5c 82a1d21 9a41c6d 82a1d21 9a41c6d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
{
"config": {
"name": "cpu_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": false,
"device_isolation_action": null,
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.7712,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": "c1918e1b0948d4915a69908fd778b3f53a5aa600",
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1111.355392,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.7624726589999966
],
"count": 1,
"total": 1.7624726589999966,
"mean": 1.7624726589999966,
"p50": 1.7624726589999966,
"p90": 1.7624726589999966,
"p95": 1.7624726589999966,
"p99": 1.7624726589999966,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 966.258688,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.04860224199998697,
0.04664931100001013,
0.047921244999997725,
0.05138281300000358,
0.053567377000007355,
0.04994544899997777,
0.049463955999982545,
0.052148819000024105,
0.05185927599998763,
0.05136400800000729,
0.04580561000000216,
0.046073511999992434,
0.046734641000000465
],
"count": 13,
"total": 0.6415182589999802,
"mean": 0.04934755838461386,
"p50": 0.049463955999982545,
"p90": 0.05209091040001681,
"p95": 0.0527162422000174,
"p99": 0.05339715004000936,
"stdev": 0.002488504775577069,
"stdev_": 5.042812364051963
},
"throughput": {
"unit": "tokens/s",
"value": 40.52885422237187
},
"energy": {
"unit": "kWh",
"cpu": 1.8153598166666394e-06,
"ram": 7.590954199804109e-08,
"gpu": 0.0,
"total": 1.8912693586646805e-06
},
"efficiency": {
"unit": "tokens/kWh",
"value": 1057490.8279654507
}
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 966.258688,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.029461717000003773,
0.027632560000000694,
0.030997956999982534,
0.03177231799998026,
0.031832320999996,
0.0303964100000087,
0.030629537000010032,
0.03191057699999078,
0.033573113000016974,
0.02947401000000127,
0.029424578000003976,
0.029053892999996833,
0.027955034000001433
],
"count": 13,
"total": 0.39411402499999326,
"mean": 0.03031646346153794,
"p50": 0.0303964100000087,
"p90": 0.03189492579999183,
"p95": 0.032575591400001255,
"p99": 0.03337360868001383,
"stdev": 0.0016347827596040088,
"stdev_": 5.392392690123748
},
"throughput": {
"unit": "tokens/s",
"value": 32.985377772334346
},
"energy": {
"unit": "kWh",
"cpu": 1.0796778138889644e-06,
"ram": 4.514298519462213e-08,
"gpu": 0.0,
"total": 1.1248207990835858e-06
},
"efficiency": {
"unit": "tokens/kWh",
"value": 889030.5022939834
}
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.02904594800000382,
0.02722285199999419,
0.030441814999988992,
0.03123379899997758,
0.031243246999991925,
0.029840668000019832,
0.030072313000005124,
0.03133650099999841,
0.033004197000025215,
0.029062189000001126,
0.0290130070000032,
0.028673789999999144,
0.027539806000021372
],
"count": 13,
"total": 0.3877301320000299,
"mean": 0.02982539476923307,
"p50": 0.029840668000019832,
"p90": 0.03131785019999711,
"p95": 0.03200357940000913,
"p99": 0.032804073480022,
"stdev": 0.0015688467470817526,
"stdev_": 5.260103878658883
},
"throughput": {
"unit": "tokens/s",
"value": 33.52847490325822
},
"energy": null,
"efficiency": null
}
}
} |