Commit
•
4499cd7
1
Parent(s):
db59399
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.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.03863040100000603
|
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.024079691999986608
|
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.023794818999988365
|
269 |
]
|
270 |
},
|
271 |
"throughput": {
|
272 |
"unit": "tokens/s",
|
273 |
-
"value": 39.
|
274 |
},
|
275 |
"energy": null,
|
276 |
"efficiency": null
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.4.0",
|
83 |
+
"optimum_benchmark_commit": "fa9ef035a540e4a60f1b37660f7a300a32d1f25b",
|
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.206848,
|
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.7478773900000135,
|
112 |
+
"mean": 4.7478773900000135,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.7478773900000135,
|
115 |
+
"p90": 4.7478773900000135,
|
116 |
+
"p95": 4.7478773900000135,
|
117 |
+
"p99": 4.7478773900000135,
|
118 |
"values": [
|
119 |
+
4.7478773900000135
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.751245005555626e-05,
|
126 |
+
"ram": 2.8218088376886615e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.033425889324492e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 974.196736,
|
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.6209666320000622,
|
145 |
+
"mean": 0.04139777546667081,
|
146 |
+
"stdev": 0.0010520661893481326,
|
147 |
+
"p50": 0.041264073000007784,
|
148 |
+
"p90": 0.04247736260001034,
|
149 |
+
"p95": 0.04326883450000594,
|
150 |
+
"p99": 0.04408923729999003,
|
151 |
"values": [
|
152 |
+
0.04075792199998318,
|
153 |
+
0.04136241599999835,
|
154 |
+
0.04194940700000416,
|
155 |
+
0.04070953100000452,
|
156 |
+
0.04162386200002288,
|
157 |
+
0.04193399900000827,
|
158 |
+
0.04107107400000132,
|
159 |
+
0.04133530500001825,
|
160 |
+
0.04066492900000185,
|
161 |
+
0.04108507000000827,
|
162 |
+
0.041264073000007784,
|
163 |
+
0.044294337999986055,
|
164 |
+
0.040358940000004395,
|
165 |
+
0.04282933300001446,
|
166 |
+
0.03972643299999845
|
|
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 48.311774665529846
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.576634240222196e-06,
|
176 |
+
"ram": 6.589038454534822e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.642524624767544e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1217637.757049181
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 974.589952,
|
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.380805387999942,
|
198 |
+
"mean": 0.0253870258666628,
|
199 |
+
"stdev": 0.0005815968941563091,
|
200 |
+
"p50": 0.025308211999998775,
|
201 |
+
"p90": 0.026043292800005703,
|
202 |
+
"p95": 0.026227958200018973,
|
203 |
+
"p99": 0.026509276440013992,
|
204 |
"values": [
|
205 |
+
0.026077252000021645,
|
206 |
+
0.026579606000012745,
|
207 |
+
0.025826034999994363,
|
208 |
+
0.025387019000021382,
|
209 |
+
0.024942961999983027,
|
210 |
+
0.02520841699998755,
|
211 |
+
0.025574757999976327,
|
212 |
+
0.025113439999984166,
|
213 |
+
0.024918247000016436,
|
214 |
+
0.025151239999985364,
|
215 |
+
0.025992353999981788,
|
216 |
+
0.024731158999998115,
|
217 |
+
0.02579150999997637,
|
218 |
+
0.025308211999998775,
|
219 |
+
0.02420317700000396
|
|
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 39.39019896431267
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.353463750556079e-07,
|
229 |
+
"ram": 3.9090920473866034e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 9.744372955294735e-07
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 1026233.2985280871
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.37583798299993987,
|
244 |
+
"mean": 0.025055865533329325,
|
245 |
+
"stdev": 0.0005757059360526408,
|
246 |
+
"p50": 0.024994508999981235,
|
247 |
+
"p90": 0.02569819720001192,
|
248 |
+
"p95": 0.02588156610001988,
|
249 |
+
"p99": 0.02616655402001015,
|
250 |
"values": [
|
251 |
+
0.025728894000025093,
|
252 |
+
0.02623780100000772,
|
253 |
+
0.025494398000006413,
|
254 |
+
0.02506804600000123,
|
255 |
+
0.024608560999979545,
|
256 |
+
0.024844038999987106,
|
257 |
+
0.025248781999977155,
|
258 |
+
0.024781231999980946,
|
259 |
+
0.02458499700000516,
|
260 |
+
0.024818731999999954,
|
261 |
+
0.025652151999992157,
|
262 |
+
0.02441047300001742,
|
263 |
+
0.02546984199997837,
|
264 |
+
0.024994508999981235,
|
265 |
+
0.02389552500000036
|
|
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 39.910814442622204
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|