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": 18.
|
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": "12b33198089c125596a4363f88200dc72e18e532",
|
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": 1128.312832,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.730069764999996
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.730069764999996,
|
117 |
+
"mean": 1.730069764999996,
|
118 |
+
"p50": 1.730069764999996,
|
119 |
+
"p90": 1.730069764999996,
|
120 |
+
"p95": 1.730069764999996,
|
121 |
+
"p99": 1.730069764999996,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00019877053894444462,
|
129 |
+
"ram": 8.313381604443596e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00020708392054888822
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1013.43232,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.11021215099998471,
|
148 |
+
0.11196958299998983,
|
149 |
+
0.11079506000001516,
|
150 |
+
0.11306018999999878,
|
151 |
+
0.11136719699999276,
|
152 |
+
0.10737010099998656,
|
153 |
+
0.10263774099999523
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.767412022999963,
|
157 |
+
"mean": 0.10963028899999472,
|
158 |
+
"p50": 0.11079506000001516,
|
159 |
+
"p90": 0.1124058257999934,
|
160 |
+
"p95": 0.1127330078999961,
|
161 |
+
"p99": 0.11299475357999825,
|
162 |
+
"stdev": 0.0032939945113558628,
|
163 |
+
"stdev_": 3.0046390841458255
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 18.24313351942451
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.380479885185162e-06,
|
172 |
+
"ram": 1.8315445044198512e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.563634335627147e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 438247.20670245256
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1013.43232,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.051702828000003365,
|
194 |
+
0.05203553999999144,
|
195 |
+
0.05013313599999947,
|
196 |
+
0.05171851800000127,
|
197 |
+
0.05098229300000412,
|
198 |
+
0.04436769700001264,
|
199 |
+
0.044941259000012224
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.3458812710000245,
|
203 |
+
"mean": 0.04941161014286065,
|
204 |
+
"p50": 0.05098229300000412,
|
205 |
+
"p90": 0.051845326799997336,
|
206 |
+
"p95": 0.05194043339999439,
|
207 |
+
"p99": 0.05201651867999203,
|
208 |
+
"stdev": 0.003067554967689474,
|
209 |
+
"stdev_": 6.208166377943255
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 40.4763170885856
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.3318485648148712e-06,
|
218 |
+
"ram": 5.5708183980560055e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.3875567487954295e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1441382.4888504539
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.051190821000005826,
|
233 |
+
0.051190821000005826,
|
234 |
+
0.11250524400000472,
|
235 |
+
0.05156800599999656,
|
236 |
+
0.051190821000005826,
|
237 |
+
0.11250524400000472,
|
238 |
+
0.05156800599999656,
|
239 |
+
0.11128449400001728,
|
240 |
+
0.049646686999977874,
|
241 |
+
0.051190821000005826,
|
242 |
+
0.11250524400000472,
|
243 |
+
0.05156800599999656,
|
244 |
+
0.11128449400001728,
|
245 |
+
0.049646686999977874,
|
246 |
+
0.11357023300001856,
|
247 |
+
0.051257405999990624,
|
248 |
+
0.051190821000005826,
|
249 |
+
0.11250524400000472,
|
250 |
+
0.05156800599999656,
|
251 |
+
0.11128449400001728,
|
252 |
+
0.049646686999977874,
|
253 |
+
0.11357023300001856,
|
254 |
+
0.051257405999990624,
|
255 |
+
0.11185173300000884,
|
256 |
+
0.05048519400000373,
|
257 |
+
0.051190821000005826,
|
258 |
+
0.11250524400000472,
|
259 |
+
0.05156800599999656,
|
260 |
+
0.11128449400001728,
|
261 |
+
0.049646686999977874,
|
262 |
+
0.11357023300001856,
|
263 |
+
0.051257405999990624,
|
264 |
+
0.11185173300000884,
|
265 |
+
0.05048519400000373,
|
266 |
+
0.10789020299998242,
|
267 |
+
0.04402326400000334,
|
268 |
+
0.051190821000005826,
|
269 |
+
0.11250524400000472,
|
270 |
+
0.05156800599999656,
|
271 |
+
0.11128449400001728,
|
272 |
+
0.049646686999977874,
|
273 |
+
0.11357023300001856,
|
274 |
+
0.051257405999990624,
|
275 |
+
0.11185173300000884,
|
276 |
+
0.05048519400000373,
|
277 |
+
0.10789020299998242,
|
278 |
+
0.04402326400000334,
|
279 |
+
0.10300245199999836,
|
280 |
+
0.04458372100000929
|
281 |
],
|
282 |
"count": 49,
|
283 |
+
"total": 3.745165596000078,
|
284 |
+
"mean": 0.0764319509387771,
|
285 |
+
"p50": 0.05156800599999656,
|
286 |
+
"p90": 0.11250524400000472,
|
287 |
+
"p95": 0.11357023300001856,
|
288 |
+
"p99": 0.11357023300001856,
|
289 |
+
"stdev": 0.03039641401931651,
|
290 |
+
"stdev_": 39.7692504848717
|
291 |
},
|
292 |
"throughput": null,
|
293 |
"energy": null,
|