Commit
•
b1b63b1
1
Parent(s):
c66f229
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
@@ -65,7 +65,7 @@
|
|
65 |
"name": "process",
|
66 |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
67 |
"device_isolation": false,
|
68 |
-
"device_isolation_action": "
|
69 |
"numactl": false,
|
70 |
"numactl_kwargs": {},
|
71 |
"start_method": "spawn"
|
@@ -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,
|
@@ -140,53 +140,52 @@
|
|
140 |
},
|
141 |
"latency": {
|
142 |
"unit": "s",
|
143 |
-
"count":
|
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 |
-
0.03882085600002938
|
168 |
]
|
169 |
},
|
170 |
"throughput": {
|
171 |
"unit": "tokens/s",
|
172 |
-
"value":
|
173 |
},
|
174 |
"energy": {
|
175 |
"unit": "kWh",
|
176 |
-
"cpu": 1.
|
177 |
-
"ram": 6.
|
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": 974.
|
190 |
"max_global_vram": null,
|
191 |
"max_process_vram": null,
|
192 |
"max_reserved": null,
|
@@ -194,83 +193,81 @@
|
|
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.
|
220 |
-
0.
|
221 |
-
0.023906464999981836
|
222 |
]
|
223 |
},
|
224 |
"throughput": {
|
225 |
"unit": "tokens/s",
|
226 |
-
"value":
|
227 |
},
|
228 |
"energy": {
|
229 |
"unit": "kWh",
|
230 |
-
"cpu": 9.
|
231 |
-
"ram": 3.
|
232 |
"gpu": 0.0,
|
233 |
-
"total": 9.
|
234 |
},
|
235 |
"efficiency": {
|
236 |
"unit": "tokens/kWh",
|
237 |
-
"value":
|
238 |
}
|
239 |
},
|
240 |
"per_token": {
|
241 |
"memory": null,
|
242 |
"latency": {
|
243 |
"unit": "s",
|
244 |
-
"count":
|
245 |
-
"total": 0.
|
246 |
-
"mean": 0.
|
247 |
-
"stdev": 0.
|
248 |
-
"p50": 0.
|
249 |
-
"p90": 0.
|
250 |
-
"p95": 0.
|
251 |
-
"p99": 0.
|
252 |
"values": [
|
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 |
-
0.
|
267 |
-
0.
|
268 |
-
0.023560770000017328
|
269 |
]
|
270 |
},
|
271 |
"throughput": {
|
272 |
"unit": "tokens/s",
|
273 |
-
"value":
|
274 |
},
|
275 |
"energy": null,
|
276 |
"efficiency": null
|
|
|
65 |
"name": "process",
|
66 |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
67 |
"device_isolation": false,
|
68 |
+
"device_isolation_action": "warn",
|
69 |
"numactl": false,
|
70 |
"numactl_kwargs": {},
|
71 |
"start_method": "spawn"
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.4.0",
|
83 |
+
"optimum_benchmark_commit": "4b53fb2a7497cb7cece4f3351e6ebbf219605bed",
|
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.681984,
|
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.814066833999988,
|
112 |
+
"mean": 4.814066833999988,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.814066833999988,
|
115 |
+
"p90": 4.814066833999988,
|
116 |
+
"p95": 4.814066833999988,
|
117 |
+
"p99": 4.814066833999988,
|
118 |
"values": [
|
119 |
+
4.814066833999988
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.754577977777767e-05,
|
126 |
+
"ram": 2.8232361212028025e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.036901589898047e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 974.413824,
|
136 |
"max_global_vram": null,
|
137 |
"max_process_vram": null,
|
138 |
"max_reserved": null,
|
|
|
140 |
},
|
141 |
"latency": {
|
142 |
"unit": "s",
|
143 |
+
"count": 15,
|
144 |
+
"total": 0.6240094599999111,
|
145 |
+
"mean": 0.04160063066666074,
|
146 |
+
"stdev": 0.001987798602231482,
|
147 |
+
"p50": 0.04099312200000327,
|
148 |
+
"p90": 0.0449233361999859,
|
149 |
+
"p95": 0.045716563799987855,
|
150 |
+
"p99": 0.045920715160000326,
|
151 |
"values": [
|
152 |
+
0.04054899499999465,
|
153 |
+
0.04153455200000167,
|
154 |
+
0.04099312200000327,
|
155 |
+
0.04076258799997845,
|
156 |
+
0.0420613949999904,
|
157 |
+
0.04087509900000441,
|
158 |
+
0.04027272399997628,
|
159 |
+
0.04560719699998117,
|
160 |
+
0.045971753000003446,
|
161 |
+
0.04141961600001309,
|
162 |
+
0.04174562000000037,
|
163 |
+
0.04389754499999299,
|
164 |
+
0.03919604499998286,
|
165 |
+
0.0395503940000026,
|
166 |
+
0.03957281499998544
|
|
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 48.07619422949818
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.5567237077777793e-06,
|
176 |
+
"ram": 6.505786791805442e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.6217815756958338e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1233211.6913721194
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 974.938112,
|
189 |
"max_global_vram": null,
|
190 |
"max_process_vram": null,
|
191 |
"max_reserved": null,
|
|
|
193 |
},
|
194 |
"latency": {
|
195 |
"unit": "s",
|
196 |
+
"count": 15,
|
197 |
+
"total": 0.3827621280000528,
|
198 |
+
"mean": 0.025517475200003522,
|
199 |
+
"stdev": 0.0010470475682830907,
|
200 |
+
"p50": 0.025426801000008936,
|
201 |
+
"p90": 0.026198246400014114,
|
202 |
+
"p95": 0.027038847300016752,
|
203 |
+
"p99": 0.028394490260012048,
|
204 |
"values": [
|
205 |
+
0.0251334179999958,
|
206 |
+
0.02602670100000637,
|
207 |
+
0.025159596999998257,
|
208 |
+
0.026312610000019276,
|
209 |
+
0.025190906999995377,
|
210 |
+
0.025981826999981195,
|
211 |
+
0.025559922000013557,
|
212 |
+
0.028733401000010872,
|
213 |
+
0.025426801000008936,
|
214 |
+
0.025721235999981218,
|
215 |
+
0.025630634999998847,
|
216 |
+
0.024734587000011743,
|
217 |
+
0.024529491000009784,
|
218 |
+
0.02446230300000707,
|
219 |
+
0.024158692000014526
|
|
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 39.188830092401226
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.380536807639245e-07,
|
229 |
+
"ram": 3.9204238274963506e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 9.77257919038888e-07
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 1023271.3191861145
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.3773061200000143,
|
244 |
+
"mean": 0.025153741333334288,
|
245 |
+
"stdev": 0.0010326003233919843,
|
246 |
+
"p50": 0.02505859800001531,
|
247 |
+
"p90": 0.025725028600015777,
|
248 |
+
"p95": 0.026544751300011167,
|
249 |
+
"p99": 0.028025257459996167,
|
250 |
"values": [
|
251 |
+
0.024761608000005708,
|
252 |
+
0.025685137000010627,
|
253 |
+
0.02482167099998378,
|
254 |
+
0.025751623000019208,
|
255 |
+
0.024827541999997038,
|
256 |
+
0.025646344999984194,
|
257 |
+
0.02505859800001531,
|
258 |
+
0.02839538399999242,
|
259 |
+
0.025089194999992515,
|
260 |
+
0.025350086999992527,
|
261 |
+
0.025299730999989833,
|
262 |
+
0.024411038000010876,
|
263 |
+
0.024220258000013928,
|
264 |
+
0.02414634800001636,
|
265 |
+
0.023841554999989967
|
|
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 39.75551735020739
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|