Commit
•
b1a55eb
1
Parent(s):
b7f711f
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":
|
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_": 1.
|
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": "451d42c2ff0ea0958ea32cb36b406534bd229306",
|
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.366656,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7332602030000146
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7332602030000146,
|
117 |
+
"mean": 1.7332602030000146,
|
118 |
+
"p50": 1.7332602030000146,
|
119 |
+
"p90": 1.7332602030000146,
|
120 |
+
"p95": 1.7332602030000146,
|
121 |
+
"p99": 1.7332602030000146,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00020060657959999987,
|
129 |
+
"ram": 8.39015755165672e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00020899673715165659
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1012.383744,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.10583420999998339,
|
148 |
+
0.10649114200001009,
|
149 |
+
0.10595915199999695,
|
150 |
+
0.10651969500000291,
|
151 |
+
0.10938424599999053,
|
152 |
+
0.10323576400000434,
|
153 |
+
0.10092776799999115
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.7383519769999793,
|
157 |
+
"mean": 0.10547885385713991,
|
158 |
+
"p50": 0.10595915199999695,
|
159 |
+
"p90": 0.10766551539999795,
|
160 |
+
"p95": 0.10852488069999423,
|
161 |
+
"p99": 0.10921237293999127,
|
162 |
+
"stdev": 0.0024917281506996515,
|
163 |
+
"stdev_": 2.362301124426738
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 18.96114649395784
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.244148634444415e-06,
|
172 |
+
"ram": 1.774632628936062e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.421611897338022e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 452323.7331625772
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1012.383744,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.044052673000010145,
|
194 |
+
0.043884790999982215,
|
195 |
+
0.044014372000020785,
|
196 |
+
0.04417374799999152,
|
197 |
+
0.045028037999998105,
|
198 |
+
0.04317830499999786,
|
199 |
+
0.042715469000000894
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.3070473960000015,
|
203 |
+
"mean": 0.04386391371428593,
|
204 |
+
"p50": 0.044014372000020785,
|
205 |
+
"p90": 0.044515463999994155,
|
206 |
+
"p95": 0.04477175099999613,
|
207 |
+
"p99": 0.04497678059999771,
|
208 |
+
"stdev": 0.0006864890835477888,
|
209 |
+
"stdev_": 1.5650429371609123
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 45.595566620600586
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.4454671822223001e-06,
|
218 |
+
"ram": 6.045304093667474e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.5059202231589758e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1328091.6008980812
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.0436512660000119,
|
233 |
+
0.0436512660000119,
|
234 |
+
0.10691377800000623,
|
235 |
+
0.043523167999978796,
|
236 |
+
0.0436512660000119,
|
237 |
+
0.10691377800000623,
|
238 |
+
0.043523167999978796,
|
239 |
+
0.1063406920000034,
|
240 |
+
0.043644524000001184,
|
241 |
+
0.0436512660000119,
|
242 |
+
0.10691377800000623,
|
243 |
+
0.043523167999978796,
|
244 |
+
0.1063406920000034,
|
245 |
+
0.043644524000001184,
|
246 |
+
0.10690988100000709,
|
247 |
+
0.04377399399999149,
|
248 |
+
0.0436512660000119,
|
249 |
+
0.10691377800000623,
|
250 |
+
0.043523167999978796,
|
251 |
+
0.1063406920000034,
|
252 |
+
0.043644524000001184,
|
253 |
+
0.10690988100000709,
|
254 |
+
0.04377399399999149,
|
255 |
+
0.10980393799999888,
|
256 |
+
0.04457518500001356,
|
257 |
+
0.0436512660000119,
|
258 |
+
0.10691377800000623,
|
259 |
+
0.043523167999978796,
|
260 |
+
0.1063406920000034,
|
261 |
+
0.043644524000001184,
|
262 |
+
0.10690988100000709,
|
263 |
+
0.04377399399999149,
|
264 |
+
0.10980393799999888,
|
265 |
+
0.04457518500001356,
|
266 |
+
0.10371326300000305,
|
267 |
+
0.042822853999979316,
|
268 |
+
0.0436512660000119,
|
269 |
+
0.10691377800000623,
|
270 |
+
0.043523167999978796,
|
271 |
+
0.1063406920000034,
|
272 |
+
0.043644524000001184,
|
273 |
+
0.10690988100000709,
|
274 |
+
0.04377399399999149,
|
275 |
+
0.10980393799999888,
|
276 |
+
0.04457518500001356,
|
277 |
+
0.10371326300000305,
|
278 |
+
0.042822853999979316,
|
279 |
+
0.1013060120000091,
|
280 |
+
0.04238833299999101
|
281 |
],
|
282 |
"count": 49,
|
283 |
+
"total": 3.460746066000013,
|
284 |
+
"mean": 0.07062747073469414,
|
285 |
+
"p50": 0.04377399399999149,
|
286 |
+
"p90": 0.10691377800000623,
|
287 |
+
"p95": 0.10864787400000181,
|
288 |
+
"p99": 0.10980393799999888,
|
289 |
+
"stdev": 0.03119537161726434,
|
290 |
+
"stdev_": 44.16889249007232
|
291 |
},
|
292 |
"throughput": null,
|
293 |
"energy": null,
|