Upload cpu_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
Browse files
cpu_inference_transformers_text-generation_openai-community/gpt2/benchmark.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
"name": "process",
|
| 66 |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 67 |
"device_isolation": false,
|
| 68 |
-
"device_isolation_action": "
|
| 69 |
"numactl": false,
|
| 70 |
"numactl_kwargs": {},
|
| 71 |
"start_method": "spawn"
|
|
@@ -80,7 +80,7 @@
|
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.14",
|
| 82 |
"optimum_benchmark_version": "0.4.0",
|
| 83 |
-
"optimum_benchmark_commit": "
|
| 84 |
"transformers_version": "4.44.2",
|
| 85 |
"transformers_commit": null,
|
| 86 |
"accelerate_version": "0.34.0",
|
|
@@ -99,7 +99,7 @@
|
|
| 99 |
"load": {
|
| 100 |
"memory": {
|
| 101 |
"unit": "MB",
|
| 102 |
-
"max_ram":
|
| 103 |
"max_global_vram": null,
|
| 104 |
"max_process_vram": null,
|
| 105 |
"max_reserved": null,
|
|
@@ -108,31 +108,31 @@
|
|
| 108 |
"latency": {
|
| 109 |
"unit": "s",
|
| 110 |
"count": 1,
|
| 111 |
-
"total": 4.
|
| 112 |
-
"mean": 4.
|
| 113 |
"stdev": 0.0,
|
| 114 |
-
"p50": 4.
|
| 115 |
-
"p90": 4.
|
| 116 |
-
"p95": 4.
|
| 117 |
-
"p99": 4.
|
| 118 |
"values": [
|
| 119 |
-
4.
|
| 120 |
]
|
| 121 |
},
|
| 122 |
"throughput": null,
|
| 123 |
"energy": {
|
| 124 |
"unit": "kWh",
|
| 125 |
-
"cpu": 6.
|
| 126 |
-
"ram": 2.
|
| 127 |
"gpu": 0,
|
| 128 |
-
"total":
|
| 129 |
},
|
| 130 |
"efficiency": null
|
| 131 |
},
|
| 132 |
"prefill": {
|
| 133 |
"memory": {
|
| 134 |
"unit": "MB",
|
| 135 |
-
"max_ram":
|
| 136 |
"max_global_vram": null,
|
| 137 |
"max_process_vram": null,
|
| 138 |
"max_reserved": null,
|
|
@@ -140,52 +140,51 @@
|
|
| 140 |
},
|
| 141 |
"latency": {
|
| 142 |
"unit": "s",
|
| 143 |
-
"count":
|
| 144 |
-
"total": 0.
|
| 145 |
-
"mean": 0.
|
| 146 |
-
"stdev": 0.
|
| 147 |
-
"p50": 0.
|
| 148 |
-
"p90": 0.
|
| 149 |
-
"p95": 0.
|
| 150 |
-
"p99": 0.
|
| 151 |
"values": [
|
| 152 |
-
0.
|
| 153 |
-
0.
|
| 154 |
-
0.
|
| 155 |
-
0.
|
| 156 |
-
0.
|
| 157 |
-
0.
|
| 158 |
-
0.
|
| 159 |
-
0.
|
| 160 |
-
0.
|
| 161 |
-
0.
|
| 162 |
-
0.
|
| 163 |
-
0.
|
| 164 |
-
0.
|
| 165 |
-
0.
|
| 166 |
-
0.039608169000018734
|
| 167 |
]
|
| 168 |
},
|
| 169 |
"throughput": {
|
| 170 |
"unit": "tokens/s",
|
| 171 |
-
"value":
|
| 172 |
},
|
| 173 |
"energy": {
|
| 174 |
"unit": "kWh",
|
| 175 |
-
"cpu": 1.
|
| 176 |
-
"ram":
|
| 177 |
"gpu": 0.0,
|
| 178 |
-
"total": 1.
|
| 179 |
},
|
| 180 |
"efficiency": {
|
| 181 |
"unit": "tokens/kWh",
|
| 182 |
-
"value":
|
| 183 |
}
|
| 184 |
},
|
| 185 |
"decode": {
|
| 186 |
"memory": {
|
| 187 |
"unit": "MB",
|
| 188 |
-
"max_ram":
|
| 189 |
"max_global_vram": null,
|
| 190 |
"max_process_vram": null,
|
| 191 |
"max_reserved": null,
|
|
@@ -193,81 +192,79 @@
|
|
| 193 |
},
|
| 194 |
"latency": {
|
| 195 |
"unit": "s",
|
| 196 |
-
"count":
|
| 197 |
-
"total": 0.
|
| 198 |
-
"mean": 0.
|
| 199 |
-
"stdev": 0.
|
| 200 |
-
"p50": 0.
|
| 201 |
-
"p90": 0.
|
| 202 |
-
"p95": 0.
|
| 203 |
-
"p99": 0.
|
| 204 |
"values": [
|
| 205 |
-
0.
|
| 206 |
-
0.
|
| 207 |
-
0.
|
| 208 |
-
0.
|
| 209 |
-
0.
|
| 210 |
-
0.
|
| 211 |
-
0.
|
| 212 |
-
0.
|
| 213 |
-
0.
|
| 214 |
-
0.
|
| 215 |
-
0.
|
| 216 |
-
0.
|
| 217 |
-
0.
|
| 218 |
-
0.
|
| 219 |
-
0.02468557999998211
|
| 220 |
]
|
| 221 |
},
|
| 222 |
"throughput": {
|
| 223 |
"unit": "tokens/s",
|
| 224 |
-
"value":
|
| 225 |
},
|
| 226 |
"energy": {
|
| 227 |
"unit": "kWh",
|
| 228 |
-
"cpu":
|
| 229 |
-
"ram":
|
| 230 |
"gpu": 0.0,
|
| 231 |
-
"total":
|
| 232 |
},
|
| 233 |
"efficiency": {
|
| 234 |
"unit": "tokens/kWh",
|
| 235 |
-
"value":
|
| 236 |
}
|
| 237 |
},
|
| 238 |
"per_token": {
|
| 239 |
"memory": null,
|
| 240 |
"latency": {
|
| 241 |
"unit": "s",
|
| 242 |
-
"count":
|
| 243 |
-
"total": 0.
|
| 244 |
-
"mean": 0.
|
| 245 |
-
"stdev": 0.
|
| 246 |
-
"p50": 0.
|
| 247 |
-
"p90": 0.
|
| 248 |
-
"p95": 0.
|
| 249 |
-
"p99": 0.
|
| 250 |
"values": [
|
| 251 |
-
0.
|
| 252 |
-
0.
|
| 253 |
-
0.
|
| 254 |
-
0.
|
| 255 |
-
0.
|
| 256 |
-
0.
|
| 257 |
-
0.
|
| 258 |
-
0.
|
| 259 |
-
0.
|
| 260 |
-
0.
|
| 261 |
-
0.
|
| 262 |
-
0.
|
| 263 |
-
0.
|
| 264 |
-
0.
|
| 265 |
-
0.024344261999999617
|
| 266 |
]
|
| 267 |
},
|
| 268 |
"throughput": {
|
| 269 |
"unit": "tokens/s",
|
| 270 |
-
"value": 37.
|
| 271 |
},
|
| 272 |
"energy": null,
|
| 273 |
"efficiency": null
|
|
|
|
| 65 |
"name": "process",
|
| 66 |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 67 |
"device_isolation": false,
|
| 68 |
+
"device_isolation_action": "error",
|
| 69 |
"numactl": false,
|
| 70 |
"numactl_kwargs": {},
|
| 71 |
"start_method": "spawn"
|
|
|
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.14",
|
| 82 |
"optimum_benchmark_version": "0.4.0",
|
| 83 |
+
"optimum_benchmark_commit": "d2926dc8aa35620c7c4e47f90f87593f48ecd36c",
|
| 84 |
"transformers_version": "4.44.2",
|
| 85 |
"transformers_commit": null,
|
| 86 |
"accelerate_version": "0.34.0",
|
|
|
|
| 99 |
"load": {
|
| 100 |
"memory": {
|
| 101 |
"unit": "MB",
|
| 102 |
+
"max_ram": 1109.725184,
|
| 103 |
"max_global_vram": null,
|
| 104 |
"max_process_vram": null,
|
| 105 |
"max_reserved": null,
|
|
|
|
| 108 |
"latency": {
|
| 109 |
"unit": "s",
|
| 110 |
"count": 1,
|
| 111 |
+
"total": 4.841675405000018,
|
| 112 |
+
"mean": 4.841675405000018,
|
| 113 |
"stdev": 0.0,
|
| 114 |
+
"p50": 4.841675405000018,
|
| 115 |
+
"p90": 4.841675405000018,
|
| 116 |
+
"p95": 4.841675405000018,
|
| 117 |
+
"p99": 4.841675405000018,
|
| 118 |
"values": [
|
| 119 |
+
4.841675405000018
|
| 120 |
]
|
| 121 |
},
|
| 122 |
"throughput": null,
|
| 123 |
"energy": {
|
| 124 |
"unit": "kWh",
|
| 125 |
+
"cpu": 6.806791320000009e-05,
|
| 126 |
+
"ram": 2.845055985572642e-06,
|
| 127 |
"gpu": 0,
|
| 128 |
+
"total": 7.091296918557273e-05
|
| 129 |
},
|
| 130 |
"efficiency": null
|
| 131 |
},
|
| 132 |
"prefill": {
|
| 133 |
"memory": {
|
| 134 |
"unit": "MB",
|
| 135 |
+
"max_ram": 963.33824,
|
| 136 |
"max_global_vram": null,
|
| 137 |
"max_process_vram": null,
|
| 138 |
"max_reserved": null,
|
|
|
|
| 140 |
},
|
| 141 |
"latency": {
|
| 142 |
"unit": "s",
|
| 143 |
+
"count": 14,
|
| 144 |
+
"total": 0.632009714999981,
|
| 145 |
+
"mean": 0.045143551071427215,
|
| 146 |
+
"stdev": 0.0012141322061847508,
|
| 147 |
+
"p50": 0.04502982300000724,
|
| 148 |
+
"p90": 0.046685247599995705,
|
| 149 |
+
"p95": 0.04704880284999291,
|
| 150 |
+
"p99": 0.04758479336999386,
|
| 151 |
"values": [
|
| 152 |
+
0.04560614599998303,
|
| 153 |
+
0.04480020900001591,
|
| 154 |
+
0.044983411000004025,
|
| 155 |
+
0.04481740200000672,
|
| 156 |
+
0.045076235000010456,
|
| 157 |
+
0.044714077000008956,
|
| 158 |
+
0.04515418099998669,
|
| 159 |
+
0.04520650899999623,
|
| 160 |
+
0.04667873200000372,
|
| 161 |
+
0.044213942999988376,
|
| 162 |
+
0.04668803999999227,
|
| 163 |
+
0.0477187909999941,
|
| 164 |
+
0.043181798999995635,
|
| 165 |
+
0.04317023999999492
|
|
|
|
| 166 |
]
|
| 167 |
},
|
| 168 |
"throughput": {
|
| 169 |
"unit": "tokens/s",
|
| 170 |
+
"value": 44.30311644814011
|
| 171 |
},
|
| 172 |
"energy": {
|
| 173 |
"unit": "kWh",
|
| 174 |
+
"cpu": 1.728545130193267e-06,
|
| 175 |
+
"ram": 7.223829541483007e-08,
|
| 176 |
"gpu": 0.0,
|
| 177 |
+
"total": 1.8007834256080971e-06
|
| 178 |
},
|
| 179 |
"efficiency": {
|
| 180 |
"unit": "tokens/kWh",
|
| 181 |
+
"value": 1110627.7254437916
|
| 182 |
}
|
| 183 |
},
|
| 184 |
"decode": {
|
| 185 |
"memory": {
|
| 186 |
"unit": "MB",
|
| 187 |
+
"max_ram": 963.9936,
|
| 188 |
"max_global_vram": null,
|
| 189 |
"max_process_vram": null,
|
| 190 |
"max_reserved": null,
|
|
|
|
| 192 |
},
|
| 193 |
"latency": {
|
| 194 |
"unit": "s",
|
| 195 |
+
"count": 14,
|
| 196 |
+
"total": 0.38268583400005696,
|
| 197 |
+
"mean": 0.027334702428575497,
|
| 198 |
+
"stdev": 0.0007278307627948566,
|
| 199 |
+
"p50": 0.027353154000010704,
|
| 200 |
+
"p90": 0.028039480700005014,
|
| 201 |
+
"p95": 0.02834374035000593,
|
| 202 |
+
"p99": 0.02875260647001511,
|
| 203 |
"values": [
|
| 204 |
+
0.028068541999999752,
|
| 205 |
+
0.02711509099998466,
|
| 206 |
+
0.02726598099999933,
|
| 207 |
+
0.027504395999983444,
|
| 208 |
+
0.027173508000004176,
|
| 209 |
+
0.026547096999991027,
|
| 210 |
+
0.02744032700002208,
|
| 211 |
+
0.027802884999999833,
|
| 212 |
+
0.02781593000000271,
|
| 213 |
+
0.027971671000017295,
|
| 214 |
+
0.026743723999999247,
|
| 215 |
+
0.028854823000017404,
|
| 216 |
+
0.026137840000018286,
|
| 217 |
+
0.026244019000017715
|
|
|
|
| 218 |
]
|
| 219 |
},
|
| 220 |
"throughput": {
|
| 221 |
"unit": "tokens/s",
|
| 222 |
+
"value": 36.58353342652845
|
| 223 |
},
|
| 224 |
"energy": {
|
| 225 |
"unit": "kWh",
|
| 226 |
+
"cpu": 1.011683917954891e-06,
|
| 227 |
+
"ram": 4.2281285749892914e-08,
|
| 228 |
"gpu": 0.0,
|
| 229 |
+
"total": 1.0539652037047842e-06
|
| 230 |
},
|
| 231 |
"efficiency": {
|
| 232 |
"unit": "tokens/kWh",
|
| 233 |
+
"value": 948797.9266155168
|
| 234 |
}
|
| 235 |
},
|
| 236 |
"per_token": {
|
| 237 |
"memory": null,
|
| 238 |
"latency": {
|
| 239 |
"unit": "s",
|
| 240 |
+
"count": 14,
|
| 241 |
+
"total": 0.3774958080000488,
|
| 242 |
+
"mean": 0.02696398628571777,
|
| 243 |
+
"stdev": 0.0007027141625480858,
|
| 244 |
+
"p50": 0.026973639499999535,
|
| 245 |
+
"p90": 0.027682557700020993,
|
| 246 |
+
"p95": 0.027958901500015544,
|
| 247 |
+
"p99": 0.02829519070000714,
|
| 248 |
"values": [
|
| 249 |
+
0.0277325530000212,
|
| 250 |
+
0.02676926399999502,
|
| 251 |
+
0.026918340999998236,
|
| 252 |
+
0.027134784999987005,
|
| 253 |
+
0.02680248400000096,
|
| 254 |
+
0.0261920929999917,
|
| 255 |
+
0.027028938000000835,
|
| 256 |
+
0.0274470699999938,
|
| 257 |
+
0.027433034000011958,
|
| 258 |
+
0.027565902000020515,
|
| 259 |
+
0.02638381100001652,
|
| 260 |
+
0.02837926300000504,
|
| 261 |
+
0.025789008000003832,
|
| 262 |
+
0.025919262000002163
|
|
|
|
| 263 |
]
|
| 264 |
},
|
| 265 |
"throughput": {
|
| 266 |
"unit": "tokens/s",
|
| 267 |
+
"value": 37.086504547351666
|
| 268 |
},
|
| 269 |
"energy": null,
|
| 270 |
"efficiency": null
|