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
|
@@ -80,7 +80,7 @@
|
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.15",
|
| 82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
| 83 |
-
"optimum_benchmark_commit": "
|
| 84 |
"transformers_version": "4.46.3",
|
| 85 |
"transformers_commit": null,
|
| 86 |
"accelerate_version": "1.1.1",
|
|
@@ -101,7 +101,7 @@
|
|
| 101 |
"load_model": {
|
| 102 |
"memory": {
|
| 103 |
"unit": "MB",
|
| 104 |
-
"max_ram": 1130.
|
| 105 |
"max_global_vram": null,
|
| 106 |
"max_process_vram": null,
|
| 107 |
"max_reserved": null,
|
|
@@ -110,32 +110,32 @@
|
|
| 110 |
"latency": {
|
| 111 |
"unit": "s",
|
| 112 |
"values": [
|
| 113 |
-
1.
|
| 114 |
],
|
| 115 |
"count": 1,
|
| 116 |
-
"total": 1.
|
| 117 |
-
"mean": 1.
|
| 118 |
-
"p50": 1.
|
| 119 |
-
"p90": 1.
|
| 120 |
-
"p95": 1.
|
| 121 |
-
"p99": 1.
|
| 122 |
"stdev": 0,
|
| 123 |
"stdev_": 0
|
| 124 |
},
|
| 125 |
"throughput": null,
|
| 126 |
"energy": {
|
| 127 |
"unit": "kWh",
|
| 128 |
-
"cpu": 0.
|
| 129 |
-
"ram": 8.
|
| 130 |
"gpu": 0,
|
| 131 |
-
"total": 0.
|
| 132 |
},
|
| 133 |
"efficiency": null
|
| 134 |
},
|
| 135 |
"prefill": {
|
| 136 |
"memory": {
|
| 137 |
"unit": "MB",
|
| 138 |
-
"max_ram":
|
| 139 |
"max_global_vram": null,
|
| 140 |
"max_process_vram": null,
|
| 141 |
"max_reserved": null,
|
|
@@ -144,44 +144,44 @@
|
|
| 144 |
"latency": {
|
| 145 |
"unit": "s",
|
| 146 |
"values": [
|
| 147 |
-
0.
|
| 148 |
-
0.
|
| 149 |
-
0.
|
| 150 |
-
0.
|
| 151 |
-
0.
|
| 152 |
-
0.
|
| 153 |
-
0.
|
| 154 |
],
|
| 155 |
"count": 7,
|
| 156 |
-
"total": 0.
|
| 157 |
-
"mean": 0.
|
| 158 |
-
"p50": 0.
|
| 159 |
-
"p90": 0.
|
| 160 |
-
"p95": 0.
|
| 161 |
-
"p99": 0.
|
| 162 |
-
"stdev": 0.
|
| 163 |
-
"stdev_": 2.
|
| 164 |
},
|
| 165 |
"throughput": {
|
| 166 |
"unit": "samples/s",
|
| 167 |
-
"value": 18.
|
| 168 |
},
|
| 169 |
"energy": {
|
| 170 |
"unit": "kWh",
|
| 171 |
-
"cpu": 4.
|
| 172 |
-
"ram": 1.
|
| 173 |
"gpu": 0.0,
|
| 174 |
-
"total": 4.
|
| 175 |
},
|
| 176 |
"efficiency": {
|
| 177 |
"unit": "samples/kWh",
|
| 178 |
-
"value":
|
| 179 |
}
|
| 180 |
},
|
| 181 |
"decode": {
|
| 182 |
"memory": {
|
| 183 |
"unit": "MB",
|
| 184 |
-
"max_ram":
|
| 185 |
"max_global_vram": null,
|
| 186 |
"max_process_vram": null,
|
| 187 |
"max_reserved": null,
|
|
@@ -190,38 +190,38 @@
|
|
| 190 |
"latency": {
|
| 191 |
"unit": "s",
|
| 192 |
"values": [
|
| 193 |
-
0.
|
| 194 |
-
0.
|
| 195 |
-
0.
|
| 196 |
-
0.
|
| 197 |
-
0.
|
| 198 |
-
0.
|
| 199 |
-
0.
|
| 200 |
],
|
| 201 |
"count": 7,
|
| 202 |
-
"total": 0.
|
| 203 |
-
"mean": 0.
|
| 204 |
-
"p50": 0.
|
| 205 |
-
"p90": 0.
|
| 206 |
-
"p95": 0.
|
| 207 |
-
"p99": 0.
|
| 208 |
-
"stdev": 0.
|
| 209 |
-
"stdev_":
|
| 210 |
},
|
| 211 |
"throughput": {
|
| 212 |
"unit": "tokens/s",
|
| 213 |
-
"value":
|
| 214 |
},
|
| 215 |
"energy": {
|
| 216 |
"unit": "kWh",
|
| 217 |
-
"cpu": 1.
|
| 218 |
-
"ram":
|
| 219 |
"gpu": 0.0,
|
| 220 |
-
"total": 1.
|
| 221 |
},
|
| 222 |
"efficiency": {
|
| 223 |
"unit": "tokens/kWh",
|
| 224 |
-
"value":
|
| 225 |
}
|
| 226 |
},
|
| 227 |
"per_token": {
|
|
@@ -229,23 +229,23 @@
|
|
| 229 |
"latency": {
|
| 230 |
"unit": "s",
|
| 231 |
"values": [
|
| 232 |
-
0.
|
| 233 |
-
0.
|
| 234 |
-
0.
|
| 235 |
-
0.
|
| 236 |
-
0.
|
| 237 |
-
0.
|
| 238 |
-
0.
|
| 239 |
],
|
| 240 |
"count": 7,
|
| 241 |
-
"total": 0.
|
| 242 |
-
"mean": 0.
|
| 243 |
-
"p50": 0.
|
| 244 |
-
"p90": 0.
|
| 245 |
-
"p95": 0.
|
| 246 |
-
"p99": 0.
|
| 247 |
-
"stdev": 0.
|
| 248 |
-
"stdev_":
|
| 249 |
},
|
| 250 |
"throughput": null,
|
| 251 |
"energy": null,
|
|
|
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.15",
|
| 82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
| 83 |
+
"optimum_benchmark_commit": "e4ddf2d59059047da7236658deb605d054b358c8",
|
| 84 |
"transformers_version": "4.46.3",
|
| 85 |
"transformers_commit": null,
|
| 86 |
"accelerate_version": "1.1.1",
|
|
|
|
| 101 |
"load_model": {
|
| 102 |
"memory": {
|
| 103 |
"unit": "MB",
|
| 104 |
+
"max_ram": 1130.422272,
|
| 105 |
"max_global_vram": null,
|
| 106 |
"max_process_vram": null,
|
| 107 |
"max_reserved": null,
|
|
|
|
| 110 |
"latency": {
|
| 111 |
"unit": "s",
|
| 112 |
"values": [
|
| 113 |
+
1.860985062000026
|
| 114 |
],
|
| 115 |
"count": 1,
|
| 116 |
+
"total": 1.860985062000026,
|
| 117 |
+
"mean": 1.860985062000026,
|
| 118 |
+
"p50": 1.860985062000026,
|
| 119 |
+
"p90": 1.860985062000026,
|
| 120 |
+
"p95": 1.860985062000026,
|
| 121 |
+
"p99": 1.860985062000026,
|
| 122 |
"stdev": 0,
|
| 123 |
"stdev_": 0
|
| 124 |
},
|
| 125 |
"throughput": null,
|
| 126 |
"energy": {
|
| 127 |
"unit": "kWh",
|
| 128 |
+
"cpu": 0.0002025193083277769,
|
| 129 |
+
"ram": 8.465430878006412e-06,
|
| 130 |
"gpu": 0,
|
| 131 |
+
"total": 0.0002109847392057833
|
| 132 |
},
|
| 133 |
"efficiency": null
|
| 134 |
},
|
| 135 |
"prefill": {
|
| 136 |
"memory": {
|
| 137 |
"unit": "MB",
|
| 138 |
+
"max_ram": 1021.779968,
|
| 139 |
"max_global_vram": null,
|
| 140 |
"max_process_vram": null,
|
| 141 |
"max_reserved": null,
|
|
|
|
| 144 |
"latency": {
|
| 145 |
"unit": "s",
|
| 146 |
"values": [
|
| 147 |
+
0.11037992299998223,
|
| 148 |
+
0.11114767300000494,
|
| 149 |
+
0.10772986900002479,
|
| 150 |
+
0.10687824400000068,
|
| 151 |
+
0.10834080700001891,
|
| 152 |
+
0.10405187299997465,
|
| 153 |
+
0.10274627199999031
|
| 154 |
],
|
| 155 |
"count": 7,
|
| 156 |
+
"total": 0.7512746609999965,
|
| 157 |
+
"mean": 0.10732495157142807,
|
| 158 |
+
"p50": 0.10772986900002479,
|
| 159 |
+
"p90": 0.11068702299999131,
|
| 160 |
+
"p95": 0.11091734799999813,
|
| 161 |
+
"p99": 0.11110160800000358,
|
| 162 |
+
"stdev": 0.0028540414335950616,
|
| 163 |
+
"stdev_": 2.6592524774591757
|
| 164 |
},
|
| 165 |
"throughput": {
|
| 166 |
"unit": "samples/s",
|
| 167 |
+
"value": 18.634995597169574
|
| 168 |
},
|
| 169 |
"energy": {
|
| 170 |
"unit": "kWh",
|
| 171 |
+
"cpu": 4.3701898895061456e-06,
|
| 172 |
+
"ram": 1.826294155216868e-07,
|
| 173 |
"gpu": 0.0,
|
| 174 |
+
"total": 4.5528193050278325e-06
|
| 175 |
},
|
| 176 |
"efficiency": {
|
| 177 |
"unit": "samples/kWh",
|
| 178 |
+
"value": 439288.24449310615
|
| 179 |
}
|
| 180 |
},
|
| 181 |
"decode": {
|
| 182 |
"memory": {
|
| 183 |
"unit": "MB",
|
| 184 |
+
"max_ram": 1023.16032,
|
| 185 |
"max_global_vram": null,
|
| 186 |
"max_process_vram": null,
|
| 187 |
"max_reserved": null,
|
|
|
|
| 190 |
"latency": {
|
| 191 |
"unit": "s",
|
| 192 |
"values": [
|
| 193 |
+
0.04387857800000461,
|
| 194 |
+
0.043288619999998446,
|
| 195 |
+
0.04344876799999042,
|
| 196 |
+
0.0431682960000046,
|
| 197 |
+
0.043301063999990674,
|
| 198 |
+
0.04196040700000481,
|
| 199 |
+
0.04677500100001453
|
| 200 |
],
|
| 201 |
"count": 7,
|
| 202 |
+
"total": 0.3058207340000081,
|
| 203 |
+
"mean": 0.04368867628571544,
|
| 204 |
+
"p50": 0.043301063999990674,
|
| 205 |
+
"p90": 0.04503714720000858,
|
| 206 |
+
"p95": 0.045906074100011546,
|
| 207 |
+
"p99": 0.04660121562001393,
|
| 208 |
+
"stdev": 0.0013725376690233578,
|
| 209 |
+
"stdev_": 3.1416325366491504
|
| 210 |
},
|
| 211 |
"throughput": {
|
| 212 |
"unit": "tokens/s",
|
| 213 |
+
"value": 45.77845268005808
|
| 214 |
},
|
| 215 |
"energy": {
|
| 216 |
"unit": "kWh",
|
| 217 |
+
"cpu": 1.490604116049365e-06,
|
| 218 |
+
"ram": 6.229694801214808e-08,
|
| 219 |
"gpu": 0.0,
|
| 220 |
+
"total": 1.5529010640615128e-06
|
| 221 |
},
|
| 222 |
"efficiency": {
|
| 223 |
"unit": "tokens/kWh",
|
| 224 |
+
"value": 1287912.0545961433
|
| 225 |
}
|
| 226 |
},
|
| 227 |
"per_token": {
|
|
|
|
| 229 |
"latency": {
|
| 230 |
"unit": "s",
|
| 231 |
"values": [
|
| 232 |
+
0.04305567599999449,
|
| 233 |
+
0.04251950799999804,
|
| 234 |
+
0.042637367999986964,
|
| 235 |
+
0.04230669300000045,
|
| 236 |
+
0.042487829999998894,
|
| 237 |
+
0.04119743700002232,
|
| 238 |
+
0.04600571900002137
|
| 239 |
],
|
| 240 |
"count": 7,
|
| 241 |
+
"total": 0.30021023100002253,
|
| 242 |
+
"mean": 0.042887175857146076,
|
| 243 |
+
"p50": 0.04251950799999804,
|
| 244 |
+
"p90": 0.04423569320000525,
|
| 245 |
+
"p95": 0.04512070610001331,
|
| 246 |
+
"p99": 0.04582871642001976,
|
| 247 |
+
"stdev": 0.0013785573264999689,
|
| 248 |
+
"stdev_": 3.214381219905546
|
| 249 |
},
|
| 250 |
"throughput": null,
|
| 251 |
"energy": null,
|