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
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"name": "cpu_inference_transformers_text-generation_openai-community/gpt2",
|
| 4 |
"backend": {
|
| 5 |
"name": "pytorch",
|
| 6 |
-
"version": "2.4.
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
"task": "text-generation",
|
| 9 |
"library": "transformers",
|
|
@@ -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": 974.
|
| 136 |
"max_global_vram": null,
|
| 137 |
"max_process_vram": null,
|
| 138 |
"max_reserved": null,
|
|
@@ -141,51 +141,51 @@
|
|
| 141 |
"latency": {
|
| 142 |
"unit": "s",
|
| 143 |
"count": 15,
|
| 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.
|
| 167 |
]
|
| 168 |
},
|
| 169 |
"throughput": {
|
| 170 |
"unit": "tokens/s",
|
| 171 |
-
"value":
|
| 172 |
},
|
| 173 |
"energy": {
|
| 174 |
"unit": "kWh",
|
| 175 |
-
"cpu": 1.
|
| 176 |
-
"ram": 6.
|
| 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,
|
|
@@ -194,45 +194,45 @@
|
|
| 194 |
"latency": {
|
| 195 |
"unit": "s",
|
| 196 |
"count": 15,
|
| 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.
|
| 220 |
]
|
| 221 |
},
|
| 222 |
"throughput": {
|
| 223 |
"unit": "tokens/s",
|
| 224 |
-
"value":
|
| 225 |
},
|
| 226 |
"energy": {
|
| 227 |
"unit": "kWh",
|
| 228 |
-
"cpu": 9.
|
| 229 |
-
"ram": 4.
|
| 230 |
"gpu": 0.0,
|
| 231 |
-
"total": 1.
|
| 232 |
},
|
| 233 |
"efficiency": {
|
| 234 |
"unit": "tokens/kWh",
|
| 235 |
-
"value":
|
| 236 |
}
|
| 237 |
},
|
| 238 |
"per_token": {
|
|
@@ -240,34 +240,34 @@
|
|
| 240 |
"latency": {
|
| 241 |
"unit": "s",
|
| 242 |
"count": 15,
|
| 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.
|
| 266 |
]
|
| 267 |
},
|
| 268 |
"throughput": {
|
| 269 |
"unit": "tokens/s",
|
| 270 |
-
"value": 38.
|
| 271 |
},
|
| 272 |
"energy": null,
|
| 273 |
"efficiency": null
|
|
|
|
| 3 |
"name": "cpu_inference_transformers_text-generation_openai-community/gpt2",
|
| 4 |
"backend": {
|
| 5 |
"name": "pytorch",
|
| 6 |
+
"version": "2.4.1+cpu",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
"task": "text-generation",
|
| 9 |
"library": "transformers",
|
|
|
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.14",
|
| 82 |
"optimum_benchmark_version": "0.4.0",
|
| 83 |
+
"optimum_benchmark_commit": "ea76e356b5c355783ee27d2d429a010ded791f8b",
|
| 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.366592,
|
| 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.918687814999998,
|
| 112 |
+
"mean": 4.918687814999998,
|
| 113 |
"stdev": 0.0,
|
| 114 |
+
"p50": 4.918687814999998,
|
| 115 |
+
"p90": 4.918687814999998,
|
| 116 |
+
"p95": 4.918687814999998,
|
| 117 |
+
"p99": 4.918687814999998,
|
| 118 |
"values": [
|
| 119 |
+
4.918687814999998
|
| 120 |
]
|
| 121 |
},
|
| 122 |
"throughput": null,
|
| 123 |
"energy": {
|
| 124 |
"unit": "kWh",
|
| 125 |
+
"cpu": 6.851395802222209e-05,
|
| 126 |
+
"ram": 2.8637100374601876e-06,
|
| 127 |
"gpu": 0,
|
| 128 |
+
"total": 7.137766805968227e-05
|
| 129 |
},
|
| 130 |
"efficiency": null
|
| 131 |
},
|
| 132 |
"prefill": {
|
| 133 |
"memory": {
|
| 134 |
"unit": "MB",
|
| 135 |
+
"max_ram": 974.381056,
|
| 136 |
"max_global_vram": null,
|
| 137 |
"max_process_vram": null,
|
| 138 |
"max_reserved": null,
|
|
|
|
| 141 |
"latency": {
|
| 142 |
"unit": "s",
|
| 143 |
"count": 15,
|
| 144 |
+
"total": 0.6524460319998866,
|
| 145 |
+
"mean": 0.04349640213332577,
|
| 146 |
+
"stdev": 0.0008420335523800986,
|
| 147 |
+
"p50": 0.043470724000030714,
|
| 148 |
+
"p90": 0.04431366519997937,
|
| 149 |
+
"p95": 0.044482252299962964,
|
| 150 |
+
"p99": 0.044766217659976064,
|
| 151 |
"values": [
|
| 152 |
+
0.04369766999997182,
|
| 153 |
+
0.043470724000030714,
|
| 154 |
+
0.044266618999984075,
|
| 155 |
+
0.043419276999998146,
|
| 156 |
+
0.04433012799995595,
|
| 157 |
+
0.04330064499998798,
|
| 158 |
+
0.04483720899997934,
|
| 159 |
+
0.04321312100000796,
|
| 160 |
+
0.043963650000023335,
|
| 161 |
+
0.0431257770000002,
|
| 162 |
+
0.0442889710000145,
|
| 163 |
+
0.04284532099995886,
|
| 164 |
+
0.04404234800000495,
|
| 165 |
+
0.041632043999982216,
|
| 166 |
+
0.04201252799998656
|
| 167 |
]
|
| 168 |
},
|
| 169 |
"throughput": {
|
| 170 |
"unit": "tokens/s",
|
| 171 |
+
"value": 45.98081454805325
|
| 172 |
},
|
| 173 |
"energy": {
|
| 174 |
"unit": "kWh",
|
| 175 |
+
"cpu": 1.6407745002315539e-06,
|
| 176 |
+
"ram": 6.85707082273642e-08,
|
| 177 |
"gpu": 0.0,
|
| 178 |
+
"total": 1.709345208458918e-06
|
| 179 |
},
|
| 180 |
"efficiency": {
|
| 181 |
"unit": "tokens/kWh",
|
| 182 |
+
"value": 1170038.6733485658
|
| 183 |
}
|
| 184 |
},
|
| 185 |
"decode": {
|
| 186 |
"memory": {
|
| 187 |
"unit": "MB",
|
| 188 |
+
"max_ram": 974.381056,
|
| 189 |
"max_global_vram": null,
|
| 190 |
"max_process_vram": null,
|
| 191 |
"max_reserved": null,
|
|
|
|
| 194 |
"latency": {
|
| 195 |
"unit": "s",
|
| 196 |
"count": 15,
|
| 197 |
+
"total": 0.39831485600007,
|
| 198 |
+
"mean": 0.026554323733338,
|
| 199 |
+
"stdev": 0.0006085477518003957,
|
| 200 |
+
"p50": 0.026404254999988552,
|
| 201 |
+
"p90": 0.027247266800009128,
|
| 202 |
+
"p95": 0.02754670319999377,
|
| 203 |
+
"p99": 0.028037500640000417,
|
| 204 |
"values": [
|
| 205 |
+
0.026663681999991695,
|
| 206 |
+
0.026277726999978768,
|
| 207 |
+
0.026314916999979232,
|
| 208 |
+
0.026237342000001718,
|
| 209 |
+
0.027192503000037505,
|
| 210 |
+
0.027283775999990212,
|
| 211 |
+
0.026454509000018334,
|
| 212 |
+
0.026404254999988552,
|
| 213 |
+
0.026972782000029838,
|
| 214 |
+
0.02643056400000887,
|
| 215 |
+
0.026195232000020496,
|
| 216 |
+
0.028160200000002078,
|
| 217 |
+
0.026207855999984986,
|
| 218 |
+
0.02592695900000308,
|
| 219 |
+
0.02559255200003463
|
| 220 |
]
|
| 221 |
},
|
| 222 |
"throughput": {
|
| 223 |
"unit": "tokens/s",
|
| 224 |
+
"value": 37.65865062285642
|
| 225 |
},
|
| 226 |
"energy": {
|
| 227 |
"unit": "kWh",
|
| 228 |
+
"cpu": 9.79518341990726e-07,
|
| 229 |
+
"ram": 4.093627066724052e-08,
|
| 230 |
"gpu": 0.0,
|
| 231 |
+
"total": 1.0204546126579664e-06
|
| 232 |
},
|
| 233 |
"efficiency": {
|
| 234 |
"unit": "tokens/kWh",
|
| 235 |
+
"value": 979955.3920338617
|
| 236 |
}
|
| 237 |
},
|
| 238 |
"per_token": {
|
|
|
|
| 240 |
"latency": {
|
| 241 |
"unit": "s",
|
| 242 |
"count": 15,
|
| 243 |
+
"total": 0.3926160600001367,
|
| 244 |
+
"mean": 0.026174404000009113,
|
| 245 |
+
"stdev": 0.0005707680242470367,
|
| 246 |
+
"p50": 0.0260541279999984,
|
| 247 |
+
"p90": 0.026847772800033455,
|
| 248 |
+
"p95": 0.027104114400037814,
|
| 249 |
+
"p99": 0.027536192480040425,
|
| 250 |
"values": [
|
| 251 |
+
0.026269812999998976,
|
| 252 |
+
0.0259137639999949,
|
| 253 |
+
0.02594395099998792,
|
| 254 |
+
0.02585419299998648,
|
| 255 |
+
0.02681046600002901,
|
| 256 |
+
0.026872644000036416,
|
| 257 |
+
0.026088843000025008,
|
| 258 |
+
0.0260541279999984,
|
| 259 |
+
0.026571117999992566,
|
| 260 |
+
0.026072902999999314,
|
| 261 |
+
0.025813575000029232,
|
| 262 |
+
0.02764421200004108,
|
| 263 |
+
0.025855784999976095,
|
| 264 |
+
0.025595787000042947,
|
| 265 |
+
0.02525487799999837
|
| 266 |
]
|
| 267 |
},
|
| 268 |
"throughput": {
|
| 269 |
"unit": "tokens/s",
|
| 270 |
+
"value": 38.205263432155014
|
| 271 |
},
|
| 272 |
"energy": null,
|
| 273 |
"efficiency": null
|