Commit
•
fbbdbb2
1
Parent(s):
a199a2b
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.47.0",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.2.0",
|
@@ -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": 19.
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
-
"cpu": 4.
|
172 |
-
"ram": 1.
|
173 |
"gpu": 0.0,
|
174 |
-
"total": 4.
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
-
"value":
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
-
"max_ram":
|
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": 1.
|
218 |
-
"ram":
|
219 |
"gpu": 0.0,
|
220 |
-
"total": 1.
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
-
"value":
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
@@ -229,65 +229,65 @@
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
-
0.
|
233 |
-
0.
|
234 |
-
0.
|
235 |
-
0.
|
236 |
-
0.
|
237 |
-
0.
|
238 |
-
0.
|
239 |
-
0.
|
240 |
-
0.
|
241 |
-
0.
|
242 |
-
0.
|
243 |
-
0.
|
244 |
-
0.
|
245 |
-
0.
|
246 |
-
0.
|
247 |
-
0.
|
248 |
-
0.
|
249 |
-
0.
|
250 |
-
0.
|
251 |
-
0.
|
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.
|
266 |
-
0.
|
267 |
-
0.
|
268 |
-
0.
|
269 |
-
0.
|
270 |
-
0.
|
271 |
-
0.
|
272 |
-
0.
|
273 |
-
0.
|
274 |
-
0.
|
275 |
-
0.
|
276 |
-
0.
|
277 |
-
0.
|
278 |
-
0.
|
279 |
-
0.
|
280 |
-
0.
|
281 |
],
|
282 |
"count": 49,
|
283 |
-
"total": 3.
|
284 |
-
"mean": 0.
|
285 |
-
"p50": 0.
|
286 |
-
"p90": 0.
|
287 |
-
"p95": 0.
|
288 |
-
"p99": 0.
|
289 |
-
"stdev": 0.
|
290 |
-
"stdev_":
|
291 |
},
|
292 |
"throughput": null,
|
293 |
"energy": null,
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "70f6b4dead3d8aa6a032126c9fcf37c802af9db4",
|
84 |
"transformers_version": "4.47.0",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.2.0",
|
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1127.886848,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7268132440000272
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7268132440000272,
|
117 |
+
"mean": 1.7268132440000272,
|
118 |
+
"p50": 1.7268132440000272,
|
119 |
+
"p90": 1.7268132440000272,
|
120 |
+
"p95": 1.7268132440000272,
|
121 |
+
"p99": 1.7268132440000272,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00019374549012777766,
|
129 |
+
"ram": 8.103220384743473e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00020184871051252113
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1014.136832,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.1049164620000056,
|
148 |
+
0.10837024499994641,
|
149 |
+
0.10605028399999128,
|
150 |
+
0.10717551999999841,
|
151 |
+
0.10757043500001373,
|
152 |
+
0.10120337600000084,
|
153 |
+
0.10045641599998589
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.7357427379999422,
|
157 |
+
"mean": 0.10510610542856316,
|
158 |
+
"p50": 0.10605028399999128,
|
159 |
+
"p90": 0.10789035899998681,
|
160 |
+
"p95": 0.10813030199996661,
|
161 |
+
"p99": 0.10832225639995045,
|
162 |
+
"stdev": 0.002897988233886027,
|
163 |
+
"stdev_": 2.75720256408481
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 19.028390328469815
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.08732398277768e-06,
|
172 |
+
"ram": 1.7091615687391412e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.2582401396515955e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 469677.5978828751
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1014.136832,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.04877988999999161,
|
194 |
+
0.048366701000020385,
|
195 |
+
0.04971756700001606,
|
196 |
+
0.048209857999950145,
|
197 |
+
0.04902058699997269,
|
198 |
+
0.0415895489999798,
|
199 |
+
0.042087214999980915
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.3277713669999116,
|
203 |
+
"mean": 0.04682448099998737,
|
204 |
+
"p50": 0.048366701000020385,
|
205 |
+
"p90": 0.04929937899999004,
|
206 |
+
"p95": 0.04950847300000305,
|
207 |
+
"p99": 0.049675748200013456,
|
208 |
+
"stdev": 0.0031883799442905454,
|
209 |
+
"stdev_": 6.809215769612919
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 42.712699794804756
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.4060360387502055e-06,
|
218 |
+
"ram": 5.879931345840644e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.4648353522086169e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1365341.1606870932
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.048297722999961934,
|
233 |
+
0.048297722999961934,
|
234 |
+
0.10887628699998686,
|
235 |
+
0.04795000400002891,
|
236 |
+
0.048297722999961934,
|
237 |
+
0.10887628699998686,
|
238 |
+
0.04795000400002891,
|
239 |
+
0.10648974299999736,
|
240 |
+
0.04924963500002377,
|
241 |
+
0.048297722999961934,
|
242 |
+
0.10887628699998686,
|
243 |
+
0.04795000400002891,
|
244 |
+
0.10648974299999736,
|
245 |
+
0.04924963500002377,
|
246 |
+
0.10766665500000272,
|
247 |
+
0.047716769999965436,
|
248 |
+
0.048297722999961934,
|
249 |
+
0.10887628699998686,
|
250 |
+
0.04795000400002891,
|
251 |
+
0.10648974299999736,
|
252 |
+
0.04924963500002377,
|
253 |
+
0.10766665500000272,
|
254 |
+
0.047716769999965436,
|
255 |
+
0.10808741800002508,
|
256 |
+
0.048560950999956276,
|
257 |
+
0.048297722999961934,
|
258 |
+
0.10887628699998686,
|
259 |
+
0.04795000400002891,
|
260 |
+
0.10648974299999736,
|
261 |
+
0.04924963500002377,
|
262 |
+
0.10766665500000272,
|
263 |
+
0.047716769999965436,
|
264 |
+
0.10808741800002508,
|
265 |
+
0.048560950999956276,
|
266 |
+
0.10168528400004107,
|
267 |
+
0.04124788299998272,
|
268 |
+
0.048297722999961934,
|
269 |
+
0.10887628699998686,
|
270 |
+
0.04795000400002891,
|
271 |
+
0.10648974299999736,
|
272 |
+
0.04924963500002377,
|
273 |
+
0.10766665500000272,
|
274 |
+
0.047716769999965436,
|
275 |
+
0.10808741800002508,
|
276 |
+
0.048560950999956276,
|
277 |
+
0.10168528400004107,
|
278 |
+
0.04124788299998272,
|
279 |
+
0.10081719800001565,
|
280 |
+
0.04171658499996056
|
281 |
],
|
282 |
"count": 49,
|
283 |
+
"total": 3.5776176209997743,
|
284 |
+
"mean": 0.07301260451019947,
|
285 |
+
"p50": 0.04924963500002377,
|
286 |
+
"p90": 0.10887628699998686,
|
287 |
+
"p95": 0.10887628699998686,
|
288 |
+
"p99": 0.10887628699998686,
|
289 |
+
"stdev": 0.02943379812723238,
|
290 |
+
"stdev_": 40.31331072858884
|
291 |
},
|
292 |
"throughput": null,
|
293 |
"energy": null,
|