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
|
@@ -17,7 +17,6 @@
|
|
| 17 |
"intra_op_num_threads": null,
|
| 18 |
"model_kwargs": {},
|
| 19 |
"processor_kwargs": {},
|
| 20 |
-
"hub_kwargs": {},
|
| 21 |
"no_weights": true,
|
| 22 |
"device_map": null,
|
| 23 |
"torch_dtype": null,
|
|
@@ -74,14 +73,14 @@
|
|
| 74 |
"environment": {
|
| 75 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
| 76 |
"cpu_count": 4,
|
| 77 |
-
"cpu_ram_mb": 16757.
|
| 78 |
"system": "Linux",
|
| 79 |
"machine": "x86_64",
|
| 80 |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
| 81 |
"processor": "x86_64",
|
| 82 |
"python_version": "3.10.14",
|
| 83 |
"optimum_benchmark_version": "0.3.1",
|
| 84 |
-
"optimum_benchmark_commit": "
|
| 85 |
"transformers_version": "4.42.4",
|
| 86 |
"transformers_commit": null,
|
| 87 |
"accelerate_version": "0.32.1",
|
|
@@ -100,7 +99,7 @@
|
|
| 100 |
"load": {
|
| 101 |
"memory": {
|
| 102 |
"unit": "MB",
|
| 103 |
-
"max_ram":
|
| 104 |
"max_global_vram": null,
|
| 105 |
"max_process_vram": null,
|
| 106 |
"max_reserved": null,
|
|
@@ -109,31 +108,31 @@
|
|
| 109 |
"latency": {
|
| 110 |
"unit": "s",
|
| 111 |
"count": 1,
|
| 112 |
-
"total": 4.
|
| 113 |
-
"mean": 4.
|
| 114 |
"stdev": 0.0,
|
| 115 |
-
"p50": 4.
|
| 116 |
-
"p90": 4.
|
| 117 |
-
"p95": 4.
|
| 118 |
-
"p99": 4.
|
| 119 |
"values": [
|
| 120 |
-
4.
|
| 121 |
]
|
| 122 |
},
|
| 123 |
"throughput": null,
|
| 124 |
"energy": {
|
| 125 |
"unit": "kWh",
|
| 126 |
-
"cpu": 6.
|
| 127 |
-
"ram": 2.
|
| 128 |
"gpu": 0,
|
| 129 |
-
"total":
|
| 130 |
},
|
| 131 |
"efficiency": null
|
| 132 |
},
|
| 133 |
"prefill": {
|
| 134 |
"memory": {
|
| 135 |
"unit": "MB",
|
| 136 |
-
"max_ram":
|
| 137 |
"max_global_vram": null,
|
| 138 |
"max_process_vram": null,
|
| 139 |
"max_reserved": null,
|
|
@@ -141,52 +140,50 @@
|
|
| 141 |
},
|
| 142 |
"latency": {
|
| 143 |
"unit": "s",
|
| 144 |
-
"count":
|
| 145 |
-
"total": 0.
|
| 146 |
-
"mean": 0.
|
| 147 |
-
"stdev": 0.
|
| 148 |
-
"p50": 0.
|
| 149 |
-
"p90": 0.
|
| 150 |
-
"p95": 0.
|
| 151 |
-
"p99": 0.
|
| 152 |
"values": [
|
| 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.03977409800000942,
|
| 167 |
-
0.04008273200003032
|
| 168 |
]
|
| 169 |
},
|
| 170 |
"throughput": {
|
| 171 |
"unit": "tokens/s",
|
| 172 |
-
"value":
|
| 173 |
},
|
| 174 |
"energy": {
|
| 175 |
"unit": "kWh",
|
| 176 |
-
"cpu": 1.
|
| 177 |
-
"ram":
|
| 178 |
"gpu": 0.0,
|
| 179 |
-
"total": 1.
|
| 180 |
},
|
| 181 |
"efficiency": {
|
| 182 |
"unit": "tokens/kWh",
|
| 183 |
-
"value":
|
| 184 |
}
|
| 185 |
},
|
| 186 |
"decode": {
|
| 187 |
"memory": {
|
| 188 |
"unit": "MB",
|
| 189 |
-
"max_ram":
|
| 190 |
"max_global_vram": null,
|
| 191 |
"max_process_vram": null,
|
| 192 |
"max_reserved": null,
|
|
@@ -194,81 +191,77 @@
|
|
| 194 |
},
|
| 195 |
"latency": {
|
| 196 |
"unit": "s",
|
| 197 |
-
"count":
|
| 198 |
-
"total": 0.
|
| 199 |
-
"mean": 0.
|
| 200 |
-
"stdev": 0.
|
| 201 |
-
"p50": 0.
|
| 202 |
-
"p90": 0.
|
| 203 |
-
"p95": 0.
|
| 204 |
-
"p99": 0.
|
| 205 |
"values": [
|
| 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.024014410000006592,
|
| 220 |
-
0.023906279000016184
|
| 221 |
]
|
| 222 |
},
|
| 223 |
"throughput": {
|
| 224 |
"unit": "tokens/s",
|
| 225 |
-
"value":
|
| 226 |
},
|
| 227 |
"energy": {
|
| 228 |
"unit": "kWh",
|
| 229 |
-
"cpu":
|
| 230 |
-
"ram":
|
| 231 |
"gpu": 0.0,
|
| 232 |
-
"total":
|
| 233 |
},
|
| 234 |
"efficiency": {
|
| 235 |
"unit": "tokens/kWh",
|
| 236 |
-
"value":
|
| 237 |
}
|
| 238 |
},
|
| 239 |
"per_token": {
|
| 240 |
"memory": null,
|
| 241 |
"latency": {
|
| 242 |
"unit": "s",
|
| 243 |
-
"count":
|
| 244 |
-
"total": 0.
|
| 245 |
-
"mean": 0.
|
| 246 |
-
"stdev": 0.
|
| 247 |
-
"p50": 0.
|
| 248 |
-
"p90": 0.
|
| 249 |
-
"p95": 0.
|
| 250 |
-
"p99": 0.
|
| 251 |
"values": [
|
| 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.023702579999962836,
|
| 266 |
-
0.02360125100000232
|
| 267 |
]
|
| 268 |
},
|
| 269 |
"throughput": {
|
| 270 |
"unit": "tokens/s",
|
| 271 |
-
"value":
|
| 272 |
},
|
| 273 |
"energy": null,
|
| 274 |
"efficiency": null
|
|
|
|
| 17 |
"intra_op_num_threads": null,
|
| 18 |
"model_kwargs": {},
|
| 19 |
"processor_kwargs": {},
|
|
|
|
| 20 |
"no_weights": true,
|
| 21 |
"device_map": null,
|
| 22 |
"torch_dtype": null,
|
|
|
|
| 73 |
"environment": {
|
| 74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
| 75 |
"cpu_count": 4,
|
| 76 |
+
"cpu_ram_mb": 16757.342208,
|
| 77 |
"system": "Linux",
|
| 78 |
"machine": "x86_64",
|
| 79 |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.14",
|
| 82 |
"optimum_benchmark_version": "0.3.1",
|
| 83 |
+
"optimum_benchmark_commit": "dcd8d39eb1efde5484c10fe67e911bfe5a0711c9",
|
| 84 |
"transformers_version": "4.42.4",
|
| 85 |
"transformers_commit": null,
|
| 86 |
"accelerate_version": "0.32.1",
|
|
|
|
| 99 |
"load": {
|
| 100 |
"memory": {
|
| 101 |
"unit": "MB",
|
| 102 |
+
"max_ram": 1115.537408,
|
| 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.870410304000018,
|
| 112 |
+
"mean": 4.870410304000018,
|
| 113 |
"stdev": 0.0,
|
| 114 |
+
"p50": 4.870410304000018,
|
| 115 |
+
"p90": 4.870410304000018,
|
| 116 |
+
"p95": 4.870410304000018,
|
| 117 |
+
"p99": 4.870410304000018,
|
| 118 |
"values": [
|
| 119 |
+
4.870410304000018
|
| 120 |
]
|
| 121 |
},
|
| 122 |
"throughput": null,
|
| 123 |
"energy": {
|
| 124 |
"unit": "kWh",
|
| 125 |
+
"cpu": 6.811945703294543e-05,
|
| 126 |
+
"ram": 2.847185952618929e-06,
|
| 127 |
"gpu": 0,
|
| 128 |
+
"total": 7.096664298556435e-05
|
| 129 |
},
|
| 130 |
"efficiency": null
|
| 131 |
},
|
| 132 |
"prefill": {
|
| 133 |
"memory": {
|
| 134 |
"unit": "MB",
|
| 135 |
+
"max_ram": 968.757248,
|
| 136 |
"max_global_vram": null,
|
| 137 |
"max_process_vram": null,
|
| 138 |
"max_reserved": null,
|
|
|
|
| 140 |
},
|
| 141 |
"latency": {
|
| 142 |
"unit": "s",
|
| 143 |
+
"count": 13,
|
| 144 |
+
"total": 0.6142862530000457,
|
| 145 |
+
"mean": 0.047252788692311205,
|
| 146 |
+
"stdev": 0.003457836970294832,
|
| 147 |
+
"p50": 0.04559629400000631,
|
| 148 |
+
"p90": 0.053477929200010973,
|
| 149 |
+
"p95": 0.053623665800000705,
|
| 150 |
+
"p99": 0.05362837315998604,
|
| 151 |
"values": [
|
| 152 |
+
0.05361974300001293,
|
| 153 |
+
0.044221708999998555,
|
| 154 |
+
0.04599297600000796,
|
| 155 |
+
0.04517365199998835,
|
| 156 |
+
0.044678645000004735,
|
| 157 |
+
0.04516062800001919,
|
| 158 |
+
0.04499997600001393,
|
| 159 |
+
0.0458856760000117,
|
| 160 |
+
0.04475012899999342,
|
| 161 |
+
0.04559629400000631,
|
| 162 |
+
0.052910674000003155,
|
| 163 |
+
0.05362954999998237,
|
| 164 |
+
0.047666601000003084
|
|
|
|
|
|
|
| 165 |
]
|
| 166 |
},
|
| 167 |
"throughput": {
|
| 168 |
"unit": "tokens/s",
|
| 169 |
+
"value": 42.32554427682768
|
| 170 |
},
|
| 171 |
"energy": {
|
| 172 |
"unit": "kWh",
|
| 173 |
+
"cpu": 1.7992574759203982e-06,
|
| 174 |
+
"ram": 7.519218524981336e-08,
|
| 175 |
"gpu": 0.0,
|
| 176 |
+
"total": 1.8744496611702115e-06
|
| 177 |
},
|
| 178 |
"efficiency": {
|
| 179 |
"unit": "tokens/kWh",
|
| 180 |
+
"value": 1066979.8402328969
|
| 181 |
}
|
| 182 |
},
|
| 183 |
"decode": {
|
| 184 |
"memory": {
|
| 185 |
"unit": "MB",
|
| 186 |
+
"max_ram": 969.674752,
|
| 187 |
"max_global_vram": null,
|
| 188 |
"max_process_vram": null,
|
| 189 |
"max_reserved": null,
|
|
|
|
| 191 |
},
|
| 192 |
"latency": {
|
| 193 |
"unit": "s",
|
| 194 |
+
"count": 13,
|
| 195 |
+
"total": 0.3884140939999554,
|
| 196 |
+
"mean": 0.0298780072307658,
|
| 197 |
+
"stdev": 0.0032606189493407612,
|
| 198 |
+
"p50": 0.028425833999989436,
|
| 199 |
+
"p90": 0.03412760639999988,
|
| 200 |
+
"p95": 0.036210293199991375,
|
| 201 |
+
"p99": 0.03817164663997914,
|
| 202 |
"values": [
|
| 203 |
+
0.03233470399999305,
|
| 204 |
+
0.02809270999998148,
|
| 205 |
+
0.028425833999989436,
|
| 206 |
+
0.02730401100001245,
|
| 207 |
+
0.02859280600000602,
|
| 208 |
+
0.027012421999984326,
|
| 209 |
+
0.028106774999997697,
|
| 210 |
+
0.027972062999992886,
|
| 211 |
+
0.02861115999999697,
|
| 212 |
+
0.028299897000010787,
|
| 213 |
+
0.03457583200000158,
|
| 214 |
+
0.030423895000012635,
|
| 215 |
+
0.038661984999976085
|
|
|
|
|
|
|
| 216 |
]
|
| 217 |
},
|
| 218 |
"throughput": {
|
| 219 |
"unit": "tokens/s",
|
| 220 |
+
"value": 33.4694342991619
|
| 221 |
},
|
| 222 |
"energy": {
|
| 223 |
"unit": "kWh",
|
| 224 |
+
"cpu": 1.2747961417037386e-06,
|
| 225 |
+
"ram": 5.3276087085509e-08,
|
| 226 |
"gpu": 0.0,
|
| 227 |
+
"total": 1.3280722287892476e-06
|
| 228 |
},
|
| 229 |
"efficiency": {
|
| 230 |
"unit": "tokens/kWh",
|
| 231 |
+
"value": 752971.0947360608
|
| 232 |
}
|
| 233 |
},
|
| 234 |
"per_token": {
|
| 235 |
"memory": null,
|
| 236 |
"latency": {
|
| 237 |
"unit": "s",
|
| 238 |
+
"count": 13,
|
| 239 |
+
"total": 0.38363933099995506,
|
| 240 |
+
"mean": 0.029510717769227313,
|
| 241 |
+
"stdev": 0.003256628907675256,
|
| 242 |
+
"p50": 0.028075546999986045,
|
| 243 |
+
"p90": 0.03375785639998981,
|
| 244 |
+
"p95": 0.03583392119999189,
|
| 245 |
+
"p99": 0.037786176239992524,
|
| 246 |
"values": [
|
| 247 |
+
0.03196111399998358,
|
| 248 |
+
0.027754986999980247,
|
| 249 |
+
0.028075546999986045,
|
| 250 |
+
0.026947003000003633,
|
| 251 |
+
0.028220919000006006,
|
| 252 |
+
0.026655513999997993,
|
| 253 |
+
0.027750948999994307,
|
| 254 |
+
0.027624100999986467,
|
| 255 |
+
0.02826973000000521,
|
| 256 |
+
0.0277966440000057,
|
| 257 |
+
0.03420704199999136,
|
| 258 |
+
0.030101541000021825,
|
| 259 |
+
0.03827423999999269
|
|
|
|
|
|
|
| 260 |
]
|
| 261 |
},
|
| 262 |
"throughput": {
|
| 263 |
"unit": "tokens/s",
|
| 264 |
+
"value": 33.88599382163328
|
| 265 |
},
|
| 266 |
"energy": null,
|
| 267 |
"efficiency": null
|