Commit
•
65e5882
1
Parent(s):
fd6c1c4
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
@@ -81,7 +81,7 @@
|
|
81 |
"processor": "x86_64",
|
82 |
"python_version": "3.10.14",
|
83 |
"optimum_benchmark_version": "0.3.1",
|
84 |
-
"optimum_benchmark_commit": "
|
85 |
"transformers_version": "4.42.4",
|
86 |
"transformers_commit": null,
|
87 |
"accelerate_version": "0.32.1",
|
@@ -100,7 +100,7 @@
|
|
100 |
"load": {
|
101 |
"memory": {
|
102 |
"unit": "MB",
|
103 |
-
"max_ram":
|
104 |
"max_global_vram": null,
|
105 |
"max_process_vram": null,
|
106 |
"max_reserved": null,
|
@@ -109,31 +109,31 @@
|
|
109 |
"latency": {
|
110 |
"unit": "s",
|
111 |
"count": 1,
|
112 |
-
"total":
|
113 |
-
"mean":
|
114 |
"stdev": 0.0,
|
115 |
-
"p50":
|
116 |
-
"p90":
|
117 |
-
"p95":
|
118 |
-
"p99":
|
119 |
"values": [
|
120 |
-
|
121 |
]
|
122 |
},
|
123 |
"throughput": null,
|
124 |
"energy": {
|
125 |
"unit": "kWh",
|
126 |
-
"cpu": 6.
|
127 |
-
"ram": 2.
|
128 |
"gpu": 0,
|
129 |
-
"total": 7.
|
130 |
},
|
131 |
"efficiency": null
|
132 |
},
|
133 |
"prefill": {
|
134 |
"memory": {
|
135 |
"unit": "MB",
|
136 |
-
"max_ram":
|
137 |
"max_global_vram": null,
|
138 |
"max_process_vram": null,
|
139 |
"max_reserved": null,
|
@@ -141,52 +141,50 @@
|
|
141 |
},
|
142 |
"latency": {
|
143 |
"unit": "s",
|
144 |
-
"count":
|
145 |
-
"total": 0.
|
146 |
-
"mean": 0.
|
147 |
-
"stdev": 0.
|
148 |
-
"p50": 0.
|
149 |
-
"p90": 0.
|
150 |
-
"p95": 0.
|
151 |
-
"p99": 0.
|
152 |
"values": [
|
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.04107729700001528,
|
167 |
-
0.04122308200004454
|
168 |
]
|
169 |
},
|
170 |
"throughput": {
|
171 |
"unit": "tokens/s",
|
172 |
-
"value":
|
173 |
},
|
174 |
"energy": {
|
175 |
"unit": "kWh",
|
176 |
-
"cpu": 1.
|
177 |
-
"ram":
|
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":
|
190 |
"max_global_vram": null,
|
191 |
"max_process_vram": null,
|
192 |
"max_reserved": null,
|
@@ -194,81 +192,77 @@
|
|
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.025017731999980697,
|
220 |
-
0.024996531999988747
|
221 |
]
|
222 |
},
|
223 |
"throughput": {
|
224 |
"unit": "tokens/s",
|
225 |
-
"value":
|
226 |
},
|
227 |
"energy": {
|
228 |
"unit": "kWh",
|
229 |
-
"cpu":
|
230 |
-
"ram": 4.
|
231 |
"gpu": 0.0,
|
232 |
-
"total":
|
233 |
},
|
234 |
"efficiency": {
|
235 |
"unit": "tokens/kWh",
|
236 |
-
"value":
|
237 |
}
|
238 |
},
|
239 |
"per_token": {
|
240 |
"memory": null,
|
241 |
"latency": {
|
242 |
"unit": "s",
|
243 |
-
"count":
|
244 |
-
"total": 0.
|
245 |
-
"mean": 0.
|
246 |
-
"stdev": 0.
|
247 |
-
"p50": 0.
|
248 |
-
"p90": 0.
|
249 |
-
"p95": 0.
|
250 |
-
"p99": 0.
|
251 |
"values": [
|
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.024717326999962097,
|
266 |
-
0.024695796000003156
|
267 |
]
|
268 |
},
|
269 |
"throughput": {
|
270 |
"unit": "tokens/s",
|
271 |
-
"value":
|
272 |
},
|
273 |
"energy": null,
|
274 |
"efficiency": null
|
|
|
81 |
"processor": "x86_64",
|
82 |
"python_version": "3.10.14",
|
83 |
"optimum_benchmark_version": "0.3.1",
|
84 |
+
"optimum_benchmark_commit": "e9af750a2bec0e8b3a11d3bf5c5aa883075e8a03",
|
85 |
"transformers_version": "4.42.4",
|
86 |
"transformers_commit": null,
|
87 |
"accelerate_version": "0.32.1",
|
|
|
100 |
"load": {
|
101 |
"memory": {
|
102 |
"unit": "MB",
|
103 |
+
"max_ram": 1099.759616,
|
104 |
"max_global_vram": null,
|
105 |
"max_process_vram": null,
|
106 |
"max_reserved": null,
|
|
|
109 |
"latency": {
|
110 |
"unit": "s",
|
111 |
"count": 1,
|
112 |
+
"total": 5.033019491999994,
|
113 |
+
"mean": 5.033019491999994,
|
114 |
"stdev": 0.0,
|
115 |
+
"p50": 5.033019491999994,
|
116 |
+
"p90": 5.033019491999994,
|
117 |
+
"p95": 5.033019491999994,
|
118 |
+
"p99": 5.033019491999994,
|
119 |
"values": [
|
120 |
+
5.033019491999994
|
121 |
]
|
122 |
},
|
123 |
"throughput": null,
|
124 |
"energy": {
|
125 |
"unit": "kWh",
|
126 |
+
"cpu": 6.804323328865899e-05,
|
127 |
+
"ram": 2.8438522789963372e-06,
|
128 |
"gpu": 0,
|
129 |
+
"total": 7.088708556765532e-05
|
130 |
},
|
131 |
"efficiency": null
|
132 |
},
|
133 |
"prefill": {
|
134 |
"memory": {
|
135 |
"unit": "MB",
|
136 |
+
"max_ram": 952.991744,
|
137 |
"max_global_vram": null,
|
138 |
"max_process_vram": null,
|
139 |
"max_reserved": null,
|
|
|
141 |
},
|
142 |
"latency": {
|
143 |
"unit": "s",
|
144 |
+
"count": 13,
|
145 |
+
"total": 0.62556531000007,
|
146 |
+
"mean": 0.04812040846154385,
|
147 |
+
"stdev": 0.0010184667700024917,
|
148 |
+
"p50": 0.04828216200002089,
|
149 |
+
"p90": 0.049286218399998916,
|
150 |
+
"p95": 0.049384615800005346,
|
151 |
+
"p99": 0.0494577111600131,
|
152 |
"values": [
|
153 |
+
0.047916334000007055,
|
154 |
+
0.049475985000015044,
|
155 |
+
0.04727043700000877,
|
156 |
+
0.04670981900000015,
|
157 |
+
0.0482919550000247,
|
158 |
+
0.04901934800000163,
|
159 |
+
0.04828216200002089,
|
160 |
+
0.049323702999998886,
|
161 |
+
0.04773996800000191,
|
162 |
+
0.04867056800000569,
|
163 |
+
0.04913627999999903,
|
164 |
+
0.04587774600000216,
|
165 |
+
0.04785100499998407
|
|
|
|
|
166 |
]
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
+
"value": 41.562406969141385
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
+
"cpu": 1.8891113775747795e-06,
|
175 |
+
"ram": 7.894644336001225e-08,
|
176 |
"gpu": 0.0,
|
177 |
+
"total": 1.9680578209347916e-06
|
178 |
},
|
179 |
"efficiency": {
|
180 |
"unit": "tokens/kWh",
|
181 |
+
"value": 1016230.3051899341
|
182 |
}
|
183 |
},
|
184 |
"decode": {
|
185 |
"memory": {
|
186 |
"unit": "MB",
|
187 |
+
"max_ram": 954.04032,
|
188 |
"max_global_vram": null,
|
189 |
"max_process_vram": null,
|
190 |
"max_reserved": null,
|
|
|
192 |
},
|
193 |
"latency": {
|
194 |
"unit": "s",
|
195 |
+
"count": 13,
|
196 |
+
"total": 0.38152623399997765,
|
197 |
+
"mean": 0.029348171846152127,
|
198 |
+
"stdev": 0.0007770831253351279,
|
199 |
+
"p50": 0.029542226999978993,
|
200 |
+
"p90": 0.030372803800003113,
|
201 |
+
"p95": 0.030452681000002712,
|
202 |
+
"p99": 0.03049001299999986,
|
203 |
"values": [
|
204 |
+
0.029589063999992504,
|
205 |
+
0.029542226999978993,
|
206 |
+
0.030421571000005088,
|
207 |
+
0.03049934599999915,
|
208 |
+
0.028705965000000333,
|
209 |
+
0.02836299099999451,
|
210 |
+
0.02960677699999792,
|
211 |
+
0.03017773499999521,
|
212 |
+
0.030132738000020254,
|
213 |
+
0.028703266999997368,
|
214 |
+
0.029001905000001216,
|
215 |
+
0.028671106999979656,
|
216 |
+
0.02811154100001545
|
|
|
|
|
217 |
]
|
218 |
},
|
219 |
"throughput": {
|
220 |
"unit": "tokens/s",
|
221 |
+
"value": 34.073672637674406
|
222 |
},
|
223 |
"energy": {
|
224 |
"unit": "kWh",
|
225 |
+
"cpu": 1.0888817133726902e-06,
|
226 |
+
"ram": 4.550879494485929e-08,
|
227 |
"gpu": 0.0,
|
228 |
+
"total": 1.1343905083175484e-06
|
229 |
},
|
230 |
"efficiency": {
|
231 |
"unit": "tokens/kWh",
|
232 |
+
"value": 881530.6481038287
|
233 |
}
|
234 |
},
|
235 |
"per_token": {
|
236 |
"memory": null,
|
237 |
"latency": {
|
238 |
"unit": "s",
|
239 |
+
"count": 13,
|
240 |
+
"total": 0.3763213649999386,
|
241 |
+
"mean": 0.028947797307687588,
|
242 |
+
"stdev": 0.000764976234325758,
|
243 |
+
"p50": 0.029162888000001885,
|
244 |
+
"p90": 0.029980061399982105,
|
245 |
+
"p95": 0.030060573799994474,
|
246 |
+
"p99": 0.030100954760011973,
|
247 |
"values": [
|
248 |
+
0.029190839999984064,
|
249 |
+
0.029162888000001885,
|
250 |
+
0.030026922999979888,
|
251 |
+
0.03011105000001635,
|
252 |
+
0.02831931199997939,
|
253 |
+
0.027940841999992472,
|
254 |
+
0.02922570399999813,
|
255 |
+
0.029792614999990974,
|
256 |
+
0.029571789000016224,
|
257 |
+
0.028314179999995304,
|
258 |
+
0.02863348699997914,
|
259 |
+
0.02829687799999192,
|
260 |
+
0.02773485700001288
|
|
|
|
|
261 |
]
|
262 |
},
|
263 |
"throughput": {
|
264 |
"unit": "tokens/s",
|
265 |
+
"value": 34.54494272468989
|
266 |
},
|
267 |
"energy": null,
|
268 |
"efficiency": null
|