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
|
@@ -6,19 +6,17 @@
|
|
| 6 |
"version": "2.3.0+cpu",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
"task": "text-generation",
|
| 9 |
-
"model": "openai-community/gpt2",
|
| 10 |
"library": "transformers",
|
|
|
|
|
|
|
| 11 |
"device": "cpu",
|
| 12 |
"device_ids": null,
|
| 13 |
"seed": 42,
|
| 14 |
"inter_op_num_threads": null,
|
| 15 |
"intra_op_num_threads": null,
|
| 16 |
-
"
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"local_files_only": false,
|
| 20 |
-
"trust_remote_code": false
|
| 21 |
-
},
|
| 22 |
"no_weights": true,
|
| 23 |
"device_map": null,
|
| 24 |
"torch_dtype": null,
|
|
@@ -73,14 +71,14 @@
|
|
| 73 |
"environment": {
|
| 74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
| 75 |
"cpu_count": 4,
|
| 76 |
-
"cpu_ram_mb": 16757.
|
| 77 |
"system": "Linux",
|
| 78 |
"machine": "x86_64",
|
| 79 |
-
"platform": "Linux-6.5.0-
|
| 80 |
"processor": "x86_64",
|
| 81 |
"python_version": "3.10.14",
|
| 82 |
"optimum_benchmark_version": "0.2.0",
|
| 83 |
-
"optimum_benchmark_commit": "
|
| 84 |
"transformers_version": "4.40.2",
|
| 85 |
"transformers_commit": null,
|
| 86 |
"accelerate_version": "0.30.1",
|
|
@@ -99,7 +97,7 @@
|
|
| 99 |
"prefill": {
|
| 100 |
"memory": {
|
| 101 |
"unit": "MB",
|
| 102 |
-
"max_ram":
|
| 103 |
"max_global_vram": null,
|
| 104 |
"max_process_vram": null,
|
| 105 |
"max_reserved": null,
|
|
@@ -107,51 +105,52 @@
|
|
| 107 |
},
|
| 108 |
"latency": {
|
| 109 |
"unit": "s",
|
| 110 |
-
"count":
|
| 111 |
-
"total": 0.
|
| 112 |
-
"mean": 0.
|
| 113 |
-
"stdev": 0.
|
| 114 |
-
"p50": 0.
|
| 115 |
-
"p90": 0.
|
| 116 |
-
"p95": 0.
|
| 117 |
-
"p99": 0.
|
| 118 |
"values": [
|
| 119 |
-
0.
|
| 120 |
-
0.
|
| 121 |
-
0.
|
| 122 |
-
0.
|
| 123 |
-
0.
|
| 124 |
-
0.
|
| 125 |
-
0.
|
| 126 |
-
0.
|
| 127 |
-
0.
|
| 128 |
-
0.
|
| 129 |
-
0.
|
| 130 |
-
0.
|
| 131 |
-
0.
|
| 132 |
-
0.
|
|
|
|
| 133 |
]
|
| 134 |
},
|
| 135 |
"throughput": {
|
| 136 |
"unit": "tokens/s",
|
| 137 |
-
"value":
|
| 138 |
},
|
| 139 |
"energy": {
|
| 140 |
"unit": "kWh",
|
| 141 |
-
"cpu": 1.
|
| 142 |
-
"ram": 7.
|
| 143 |
"gpu": 0.0,
|
| 144 |
-
"total": 1.
|
| 145 |
},
|
| 146 |
"efficiency": {
|
| 147 |
"unit": "tokens/kWh",
|
| 148 |
-
"value":
|
| 149 |
}
|
| 150 |
},
|
| 151 |
"decode": {
|
| 152 |
"memory": {
|
| 153 |
"unit": "MB",
|
| 154 |
-
"max_ram":
|
| 155 |
"max_global_vram": null,
|
| 156 |
"max_process_vram": null,
|
| 157 |
"max_reserved": null,
|
|
@@ -159,78 +158,80 @@
|
|
| 159 |
},
|
| 160 |
"latency": {
|
| 161 |
"unit": "s",
|
| 162 |
-
"count":
|
| 163 |
-
"total": 0.
|
| 164 |
-
"mean": 0.
|
| 165 |
-
"stdev": 0.
|
| 166 |
-
"p50": 0.
|
| 167 |
-
"p90": 0.
|
| 168 |
-
"p95": 0.
|
| 169 |
-
"p99": 0.
|
| 170 |
"values": [
|
| 171 |
-
0.
|
| 172 |
-
0.
|
| 173 |
-
0.
|
| 174 |
-
0.
|
| 175 |
-
0.
|
| 176 |
-
0.
|
| 177 |
-
0.
|
| 178 |
-
0.
|
| 179 |
-
0.
|
| 180 |
-
0.
|
| 181 |
-
0.
|
| 182 |
-
0.
|
| 183 |
-
0.
|
| 184 |
-
0.
|
|
|
|
| 185 |
]
|
| 186 |
},
|
| 187 |
"throughput": {
|
| 188 |
"unit": "tokens/s",
|
| 189 |
-
"value":
|
| 190 |
},
|
| 191 |
"energy": {
|
| 192 |
"unit": "kWh",
|
| 193 |
-
"cpu": 1.
|
| 194 |
-
"ram": 4.
|
| 195 |
"gpu": 0.0,
|
| 196 |
-
"total": 1.
|
| 197 |
},
|
| 198 |
"efficiency": {
|
| 199 |
"unit": "tokens/kWh",
|
| 200 |
-
"value":
|
| 201 |
}
|
| 202 |
},
|
| 203 |
"per_token": {
|
| 204 |
"memory": null,
|
| 205 |
"latency": {
|
| 206 |
"unit": "s",
|
| 207 |
-
"count":
|
| 208 |
-
"total": 0.
|
| 209 |
-
"mean": 0.
|
| 210 |
-
"stdev": 0.
|
| 211 |
-
"p50": 0.
|
| 212 |
-
"p90": 0.
|
| 213 |
-
"p95": 0.
|
| 214 |
-
"p99": 0.
|
| 215 |
"values": [
|
| 216 |
-
0.
|
| 217 |
-
0.
|
| 218 |
-
0.
|
| 219 |
-
0.
|
| 220 |
-
0.
|
| 221 |
-
0.
|
| 222 |
-
0.
|
| 223 |
-
0.
|
| 224 |
-
0.
|
| 225 |
-
0.
|
| 226 |
-
0.
|
| 227 |
-
0.
|
| 228 |
-
0.
|
|
|
|
| 229 |
]
|
| 230 |
},
|
| 231 |
"throughput": {
|
| 232 |
"unit": "tokens/s",
|
| 233 |
-
"value":
|
| 234 |
},
|
| 235 |
"energy": null,
|
| 236 |
"efficiency": null
|
|
|
|
| 6 |
"version": "2.3.0+cpu",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
"task": "text-generation",
|
|
|
|
| 9 |
"library": "transformers",
|
| 10 |
+
"model": "openai-community/gpt2",
|
| 11 |
+
"processor": "openai-community/gpt2",
|
| 12 |
"device": "cpu",
|
| 13 |
"device_ids": null,
|
| 14 |
"seed": 42,
|
| 15 |
"inter_op_num_threads": null,
|
| 16 |
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_kwargs": {},
|
|
|
|
|
|
|
|
|
|
| 20 |
"no_weights": true,
|
| 21 |
"device_map": null,
|
| 22 |
"torch_dtype": null,
|
|
|
|
| 71 |
"environment": {
|
| 72 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
| 73 |
"cpu_count": 4,
|
| 74 |
+
"cpu_ram_mb": 16757.354496,
|
| 75 |
"system": "Linux",
|
| 76 |
"machine": "x86_64",
|
| 77 |
+
"platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35",
|
| 78 |
"processor": "x86_64",
|
| 79 |
"python_version": "3.10.14",
|
| 80 |
"optimum_benchmark_version": "0.2.0",
|
| 81 |
+
"optimum_benchmark_commit": "6fd377459e287bb09e9383ba2516b1b2a271a562",
|
| 82 |
"transformers_version": "4.40.2",
|
| 83 |
"transformers_commit": null,
|
| 84 |
"accelerate_version": "0.30.1",
|
|
|
|
| 97 |
"prefill": {
|
| 98 |
"memory": {
|
| 99 |
"unit": "MB",
|
| 100 |
+
"max_ram": 948.24448,
|
| 101 |
"max_global_vram": null,
|
| 102 |
"max_process_vram": null,
|
| 103 |
"max_reserved": null,
|
|
|
|
| 105 |
},
|
| 106 |
"latency": {
|
| 107 |
"unit": "s",
|
| 108 |
+
"count": 15,
|
| 109 |
+
"total": 0.6625425460000542,
|
| 110 |
+
"mean": 0.044169503066670286,
|
| 111 |
+
"stdev": 0.0009472706701762553,
|
| 112 |
+
"p50": 0.04394076400001268,
|
| 113 |
+
"p90": 0.045213300800003256,
|
| 114 |
+
"p95": 0.04587641910000002,
|
| 115 |
+
"p99": 0.046457753419995244,
|
| 116 |
"values": [
|
| 117 |
+
0.04556499000000258,
|
| 118 |
+
0.043650205000005826,
|
| 119 |
+
0.04660308699999405,
|
| 120 |
+
0.04447290200002385,
|
| 121 |
+
0.04424561099997959,
|
| 122 |
+
0.04468576700000426,
|
| 123 |
+
0.04394076400001268,
|
| 124 |
+
0.04347251500001903,
|
| 125 |
+
0.044680306999993036,
|
| 126 |
+
0.04356178099999397,
|
| 127 |
+
0.043785547000027236,
|
| 128 |
+
0.04382420799998954,
|
| 129 |
+
0.04419610900001203,
|
| 130 |
+
0.04340082199999529,
|
| 131 |
+
0.04245793100000128
|
| 132 |
]
|
| 133 |
},
|
| 134 |
"throughput": {
|
| 135 |
"unit": "tokens/s",
|
| 136 |
+
"value": 45.280110962108
|
| 137 |
},
|
| 138 |
"energy": {
|
| 139 |
"unit": "kWh",
|
| 140 |
+
"cpu": 1.685131037676776e-06,
|
| 141 |
+
"ram": 7.042427836042955e-08,
|
| 142 |
"gpu": 0.0,
|
| 143 |
+
"total": 1.7555553160372056e-06
|
| 144 |
},
|
| 145 |
"efficiency": {
|
| 146 |
"unit": "tokens/kWh",
|
| 147 |
+
"value": 1139240.6617608475
|
| 148 |
}
|
| 149 |
},
|
| 150 |
"decode": {
|
| 151 |
"memory": {
|
| 152 |
"unit": "MB",
|
| 153 |
+
"max_ram": 948.24448,
|
| 154 |
"max_global_vram": null,
|
| 155 |
"max_process_vram": null,
|
| 156 |
"max_reserved": null,
|
|
|
|
| 158 |
},
|
| 159 |
"latency": {
|
| 160 |
"unit": "s",
|
| 161 |
+
"count": 15,
|
| 162 |
+
"total": 0.4013152069999535,
|
| 163 |
+
"mean": 0.026754347133330234,
|
| 164 |
+
"stdev": 0.00046463600228426256,
|
| 165 |
+
"p50": 0.026856557999991537,
|
| 166 |
+
"p90": 0.027272766799995907,
|
| 167 |
+
"p95": 0.02735589909999021,
|
| 168 |
+
"p99": 0.027469443019996334,
|
| 169 |
"values": [
|
| 170 |
+
0.026856557999991537,
|
| 171 |
+
0.026271821999984013,
|
| 172 |
+
0.02723930900000937,
|
| 173 |
+
0.02729507199998693,
|
| 174 |
+
0.026379181999999446,
|
| 175 |
+
0.02653050300000359,
|
| 176 |
+
0.026603848999997126,
|
| 177 |
+
0.027058142999976553,
|
| 178 |
+
0.02700592600001528,
|
| 179 |
+
0.026911350000005996,
|
| 180 |
+
0.026138985999978104,
|
| 181 |
+
0.027204554000007874,
|
| 182 |
+
0.027497828999997864,
|
| 183 |
+
0.026504294000005757,
|
| 184 |
+
0.025817829999994046
|
| 185 |
]
|
| 186 |
},
|
| 187 |
"throughput": {
|
| 188 |
"unit": "tokens/s",
|
| 189 |
+
"value": 37.37710342982776
|
| 190 |
},
|
| 191 |
"energy": {
|
| 192 |
"unit": "kWh",
|
| 193 |
+
"cpu": 1.0025930404663087e-06,
|
| 194 |
+
"ram": 4.19014193139778e-08,
|
| 195 |
"gpu": 0.0,
|
| 196 |
+
"total": 1.0444944597802864e-06
|
| 197 |
},
|
| 198 |
"efficiency": {
|
| 199 |
"unit": "tokens/kWh",
|
| 200 |
+
"value": 957400.9614281286
|
| 201 |
}
|
| 202 |
},
|
| 203 |
"per_token": {
|
| 204 |
"memory": null,
|
| 205 |
"latency": {
|
| 206 |
"unit": "s",
|
| 207 |
+
"count": 14,
|
| 208 |
+
"total": 0.9916712409999775,
|
| 209 |
+
"mean": 0.07083366007142697,
|
| 210 |
+
"stdev": 0.0012201529007763755,
|
| 211 |
+
"p50": 0.07062559400000623,
|
| 212 |
+
"p90": 0.07175336229998663,
|
| 213 |
+
"p95": 0.07250598824998775,
|
| 214 |
+
"p99": 0.07358856324999608,
|
| 215 |
"values": [
|
| 216 |
+
0.06992857000000186,
|
| 217 |
+
0.07385920699999815,
|
| 218 |
+
0.07177733199998215,
|
| 219 |
+
0.07064844600000697,
|
| 220 |
+
0.0712027149999983,
|
| 221 |
+
0.07060274200000549,
|
| 222 |
+
0.07053561699999022,
|
| 223 |
+
0.07169743299999709,
|
| 224 |
+
0.07049989000000778,
|
| 225 |
+
0.06994229599999358,
|
| 226 |
+
0.07104756700002213,
|
| 227 |
+
0.07166975299998057,
|
| 228 |
+
0.0699853050000172,
|
| 229 |
+
0.068274367999976
|
| 230 |
]
|
| 231 |
},
|
| 232 |
"throughput": {
|
| 233 |
"unit": "tokens/s",
|
| 234 |
+
"value": 14.11758193762152
|
| 235 |
},
|
| 236 |
"energy": null,
|
| 237 |
"efficiency": null
|