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": 1120.
|
| 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": 7.
|
| 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.04304248000005373
|
| 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.025510988999997153
|
| 220 |
]
|
| 221 |
},
|
| 222 |
"throughput": {
|
| 223 |
"unit": "tokens/s",
|
| 224 |
-
"value":
|
| 225 |
},
|
| 226 |
"energy": {
|
| 227 |
"unit": "kWh",
|
| 228 |
-
"cpu":
|
| 229 |
-
"ram": 4.
|
| 230 |
"gpu": 0.0,
|
| 231 |
-
"total": 1.
|
| 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.025200426999958836
|
| 266 |
]
|
| 267 |
},
|
| 268 |
"throughput": {
|
| 269 |
"unit": "tokens/s",
|
| 270 |
-
"value":
|
| 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": null,
|
| 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": "32b10f1b300765e407764dfb07b6fe749067c327",
|
| 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": 1120.735232,
|
| 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.837882460000003,
|
| 112 |
+
"mean": 4.837882460000003,
|
| 113 |
"stdev": 0.0,
|
| 114 |
+
"p50": 4.837882460000003,
|
| 115 |
+
"p90": 4.837882460000003,
|
| 116 |
+
"p95": 4.837882460000003,
|
| 117 |
+
"p99": 4.837882460000003,
|
| 118 |
"values": [
|
| 119 |
+
4.837882460000003
|
| 120 |
]
|
| 121 |
},
|
| 122 |
"throughput": null,
|
| 123 |
"energy": {
|
| 124 |
"unit": "kWh",
|
| 125 |
+
"cpu": 6.731132889444401e-05,
|
| 126 |
+
"ram": 2.8134219386396045e-06,
|
| 127 |
"gpu": 0,
|
| 128 |
+
"total": 7.012475083308361e-05
|
| 129 |
},
|
| 130 |
"efficiency": null
|
| 131 |
},
|
| 132 |
"prefill": {
|
| 133 |
"memory": {
|
| 134 |
"unit": "MB",
|
| 135 |
+
"max_ram": 974.35648,
|
| 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.6475484769999298,
|
| 145 |
+
"mean": 0.04625346264285213,
|
| 146 |
+
"stdev": 0.0020591863416355625,
|
| 147 |
+
"p50": 0.04740812299999675,
|
| 148 |
+
"p90": 0.048201641200012094,
|
| 149 |
+
"p95": 0.04832106780000345,
|
| 150 |
+
"p99": 0.04846572555996431,
|
| 151 |
"values": [
|
| 152 |
+
0.047452840999994805,
|
| 153 |
+
0.04787592700000687,
|
| 154 |
+
0.04729253300001801,
|
| 155 |
+
0.04741018200002145,
|
| 156 |
+
0.048150165999970795,
|
| 157 |
+
0.04740606399997205,
|
| 158 |
+
0.04850188999995453,
|
| 159 |
+
0.04822370200002979,
|
| 160 |
+
0.04745040699998526,
|
| 161 |
+
0.043914610999991055,
|
| 162 |
+
0.04316273500000989,
|
| 163 |
+
0.042954719000022124,
|
| 164 |
+
0.04344441799997867,
|
| 165 |
+
0.0443082819999745
|
|
|
|
| 166 |
]
|
| 167 |
},
|
| 168 |
"throughput": {
|
| 169 |
"unit": "tokens/s",
|
| 170 |
+
"value": 43.24000595248568
|
| 171 |
},
|
| 172 |
"energy": {
|
| 173 |
"unit": "kWh",
|
| 174 |
+
"cpu": 1.6925050451691155e-06,
|
| 175 |
+
"ram": 7.073088769479535e-08,
|
| 176 |
"gpu": 0.0,
|
| 177 |
+
"total": 1.7632359328639105e-06
|
| 178 |
},
|
| 179 |
"efficiency": {
|
| 180 |
"unit": "tokens/kWh",
|
| 181 |
+
"value": 1134278.1545697795
|
| 182 |
}
|
| 183 |
},
|
| 184 |
"decode": {
|
| 185 |
"memory": {
|
| 186 |
"unit": "MB",
|
| 187 |
+
"max_ram": 975.01184,
|
| 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.40660500100000263,
|
| 197 |
+
"mean": 0.029043214357143046,
|
| 198 |
+
"stdev": 0.001917755823275476,
|
| 199 |
+
"p50": 0.029609716499976457,
|
| 200 |
+
"p90": 0.030274558299976207,
|
| 201 |
+
"p95": 0.03147463164996225,
|
| 202 |
+
"p99": 0.03319074552998245,
|
| 203 |
"values": [
|
| 204 |
+
0.030003507000003538,
|
| 205 |
+
0.029587956000000304,
|
| 206 |
+
0.02963147699995261,
|
| 207 |
+
0.029759033999994244,
|
| 208 |
+
0.02982840300001044,
|
| 209 |
+
0.029469114999983503,
|
| 210 |
+
0.030169566000040504,
|
| 211 |
+
0.03031955499994865,
|
| 212 |
+
0.0336197739999875,
|
| 213 |
+
0.026864007000028778,
|
| 214 |
+
0.026521230000014384,
|
| 215 |
+
0.026640321999991556,
|
| 216 |
+
0.027483428000039112,
|
| 217 |
+
0.026707627000007506
|
|
|
|
| 218 |
]
|
| 219 |
},
|
| 220 |
"throughput": {
|
| 221 |
"unit": "tokens/s",
|
| 222 |
+
"value": 34.431450586117876
|
| 223 |
},
|
| 224 |
"energy": {
|
| 225 |
"unit": "kWh",
|
| 226 |
+
"cpu": 9.733742729790893e-07,
|
| 227 |
+
"ram": 4.068108875592315e-08,
|
| 228 |
"gpu": 0.0,
|
| 229 |
+
"total": 1.014055361735013e-06
|
| 230 |
},
|
| 231 |
"efficiency": {
|
| 232 |
"unit": "tokens/kWh",
|
| 233 |
+
"value": 986139.4532632176
|
| 234 |
}
|
| 235 |
},
|
| 236 |
"per_token": {
|
| 237 |
"memory": null,
|
| 238 |
"latency": {
|
| 239 |
"unit": "s",
|
| 240 |
+
"count": 14,
|
| 241 |
+
"total": 0.4003273420000255,
|
| 242 |
+
"mean": 0.028594810142858966,
|
| 243 |
+
"stdev": 0.001833549827496756,
|
| 244 |
+
"p50": 0.02905784649999532,
|
| 245 |
+
"p90": 0.02973866029998362,
|
| 246 |
+
"p95": 0.03094214589997932,
|
| 247 |
+
"p99": 0.032668147580010326,
|
| 248 |
"values": [
|
| 249 |
+
0.02950552200002221,
|
| 250 |
+
0.029034388000013678,
|
| 251 |
+
0.029081304999976965,
|
| 252 |
+
0.02924521900001764,
|
| 253 |
+
0.029310200999987046,
|
| 254 |
+
0.028996828000003916,
|
| 255 |
+
0.029641235000042343,
|
| 256 |
+
0.029780413999958455,
|
| 257 |
+
0.03309964800001808,
|
| 258 |
+
0.02656550300002891,
|
| 259 |
+
0.026221042999964084,
|
| 260 |
+
0.026312543000017286,
|
| 261 |
+
0.027135170999997626,
|
| 262 |
+
0.02639832199997727
|
|
|
|
| 263 |
]
|
| 264 |
},
|
| 265 |
"throughput": {
|
| 266 |
"unit": "tokens/s",
|
| 267 |
+
"value": 34.971380995503196
|
| 268 |
},
|
| 269 |
"energy": null,
|
| 270 |
"efficiency": null
|