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":
|
| 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_":
|
| 164 |
},
|
| 165 |
"throughput": {
|
| 166 |
"unit": "samples/s",
|
| 167 |
-
"value": 18.
|
| 168 |
},
|
| 169 |
"energy": {
|
| 170 |
"unit": "kWh",
|
| 171 |
-
"cpu":
|
| 172 |
-
"ram":
|
| 173 |
"gpu": 0.0,
|
| 174 |
-
"total":
|
| 175 |
},
|
| 176 |
"efficiency": {
|
| 177 |
"unit": "samples/kWh",
|
| 178 |
-
"value":
|
| 179 |
}
|
| 180 |
},
|
| 181 |
"decode": {
|
| 182 |
"memory": {
|
| 183 |
"unit": "MB",
|
| 184 |
-
"max_ram": 1023.
|
| 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":
|
| 218 |
-
"ram":
|
| 219 |
"gpu": 0.0,
|
| 220 |
-
"total":
|
| 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": "22a6f3b2a99a5a143a8dca22ee7b35a1943f94ee",
|
| 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": 1131.835392,
|
| 105 |
"max_global_vram": null,
|
| 106 |
"max_process_vram": null,
|
| 107 |
"max_reserved": null,
|
|
|
|
| 110 |
"latency": {
|
| 111 |
"unit": "s",
|
| 112 |
"values": [
|
| 113 |
+
1.8840917169999898
|
| 114 |
],
|
| 115 |
"count": 1,
|
| 116 |
+
"total": 1.8840917169999898,
|
| 117 |
+
"mean": 1.8840917169999898,
|
| 118 |
+
"p50": 1.8840917169999898,
|
| 119 |
+
"p90": 1.8840917169999898,
|
| 120 |
+
"p95": 1.8840917169999898,
|
| 121 |
+
"p99": 1.8840917169999898,
|
| 122 |
"stdev": 0,
|
| 123 |
"stdev_": 0
|
| 124 |
},
|
| 125 |
"throughput": null,
|
| 126 |
"energy": {
|
| 127 |
"unit": "kWh",
|
| 128 |
+
"cpu": 0.0002017557724388894,
|
| 129 |
+
"ram": 8.433477306050846e-06,
|
| 130 |
"gpu": 0,
|
| 131 |
+
"total": 0.00021018924974494025
|
| 132 |
},
|
| 133 |
"efficiency": null
|
| 134 |
},
|
| 135 |
"prefill": {
|
| 136 |
"memory": {
|
| 137 |
"unit": "MB",
|
| 138 |
+
"max_ram": 1014.21056,
|
| 139 |
"max_global_vram": null,
|
| 140 |
"max_process_vram": null,
|
| 141 |
"max_reserved": null,
|
|
|
|
| 144 |
"latency": {
|
| 145 |
"unit": "s",
|
| 146 |
"values": [
|
| 147 |
+
0.1126072079999858,
|
| 148 |
+
0.11016039800000499,
|
| 149 |
+
0.11430931600000349,
|
| 150 |
+
0.11227174600000467,
|
| 151 |
+
0.11181485800000246,
|
| 152 |
+
0.10404508199999896,
|
| 153 |
+
0.10586791399998674
|
| 154 |
],
|
| 155 |
"count": 7,
|
| 156 |
+
"total": 0.7710765219999871,
|
| 157 |
+
"mean": 0.11015378885714101,
|
| 158 |
+
"p50": 0.11181485800000246,
|
| 159 |
+
"p90": 0.11328805119999288,
|
| 160 |
+
"p95": 0.11379868359999819,
|
| 161 |
+
"p99": 0.11420718952000243,
|
| 162 |
+
"stdev": 0.0035095305123613784,
|
| 163 |
+
"stdev_": 3.1860279603390724
|
| 164 |
},
|
| 165 |
"throughput": {
|
| 166 |
"unit": "samples/s",
|
| 167 |
+
"value": 18.156434025104755
|
| 168 |
},
|
| 169 |
"energy": {
|
| 170 |
"unit": "kWh",
|
| 171 |
+
"cpu": 5.219046466666715e-06,
|
| 172 |
+
"ram": 2.181179693160957e-07,
|
| 173 |
"gpu": 0.0,
|
| 174 |
+
"total": 5.437164435982807e-06
|
| 175 |
},
|
| 176 |
"efficiency": {
|
| 177 |
"unit": "samples/kWh",
|
| 178 |
+
"value": 367838.7923609828
|
| 179 |
}
|
| 180 |
},
|
| 181 |
"decode": {
|
| 182 |
"memory": {
|
| 183 |
"unit": "MB",
|
| 184 |
+
"max_ram": 1023.143936,
|
| 185 |
"max_global_vram": null,
|
| 186 |
"max_process_vram": null,
|
| 187 |
"max_reserved": null,
|
|
|
|
| 190 |
"latency": {
|
| 191 |
"unit": "s",
|
| 192 |
"values": [
|
| 193 |
+
0.04995592099999158,
|
| 194 |
+
0.04796003800001358,
|
| 195 |
+
0.05059438600000021,
|
| 196 |
+
0.05005529499999284,
|
| 197 |
+
0.04850659199999541,
|
| 198 |
+
0.04318630000000212,
|
| 199 |
+
0.04278779099999497
|
| 200 |
],
|
| 201 |
"count": 7,
|
| 202 |
+
"total": 0.3330463229999907,
|
| 203 |
+
"mean": 0.047578046142855816,
|
| 204 |
+
"p50": 0.04850659199999541,
|
| 205 |
+
"p90": 0.05027093139999579,
|
| 206 |
+
"p95": 0.050432658699998,
|
| 207 |
+
"p99": 0.05056204053999977,
|
| 208 |
+
"stdev": 0.003026819419194819,
|
| 209 |
+
"stdev_": 6.361798486021515
|
| 210 |
},
|
| 211 |
"throughput": {
|
| 212 |
"unit": "tokens/s",
|
| 213 |
+
"value": 42.036194466558904
|
| 214 |
},
|
| 215 |
"energy": {
|
| 216 |
"unit": "kWh",
|
| 217 |
+
"cpu": 4.4725443333327964e-07,
|
| 218 |
+
"ram": 1.8674589722154554e-08,
|
| 219 |
"gpu": 0.0,
|
| 220 |
+
"total": 4.6592902305544084e-07
|
| 221 |
},
|
| 222 |
"efficiency": {
|
| 223 |
"unit": "tokens/kWh",
|
| 224 |
+
"value": 4292499.288592332
|
| 225 |
}
|
| 226 |
},
|
| 227 |
"per_token": {
|
|
|
|
| 229 |
"latency": {
|
| 230 |
"unit": "s",
|
| 231 |
"values": [
|
| 232 |
+
0.04888273000000254,
|
| 233 |
+
0.046777353999999605,
|
| 234 |
+
0.04936157900002058,
|
| 235 |
+
0.048706202000005305,
|
| 236 |
+
0.04762423500000068,
|
| 237 |
+
0.04217543400000068,
|
| 238 |
+
0.04178799600001071
|
| 239 |
],
|
| 240 |
"count": 7,
|
| 241 |
+
"total": 0.3253155300000401,
|
| 242 |
+
"mean": 0.046473647142862874,
|
| 243 |
+
"p50": 0.04762423500000068,
|
| 244 |
+
"p90": 0.049074269600009754,
|
| 245 |
+
"p95": 0.04921792430001517,
|
| 246 |
+
"p99": 0.0493328480600195,
|
| 247 |
+
"stdev": 0.002951372197575485,
|
| 248 |
+
"stdev_": 6.350636068012445
|
| 249 |
},
|
| 250 |
"throughput": null,
|
| 251 |
"energy": null,
|