Commit
•
040fda3
1
Parent(s):
0815a03
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.33.0",
|
@@ -99,7 +99,7 @@
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
-
"max_ram":
|
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":
|
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.03974171499999102
|
168 |
]
|
169 |
},
|
170 |
"throughput": {
|
171 |
"unit": "tokens/s",
|
172 |
-
"value": 48.
|
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":
|
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.02637839000001918
|
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.02588566500000411
|
269 |
]
|
270 |
},
|
271 |
"throughput": {
|
272 |
"unit": "tokens/s",
|
273 |
-
"value":
|
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": "07a8cb687fae1efd79b34b906447fdcec00042fd",
|
84 |
"transformers_version": "4.44.2",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1111.2448,
|
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.79890119099997,
|
112 |
+
"mean": 4.79890119099997,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.79890119099997,
|
115 |
+
"p90": 4.79890119099997,
|
116 |
+
"p95": 4.79890119099997,
|
117 |
+
"p99": 4.79890119099997,
|
118 |
"values": [
|
119 |
+
4.79890119099997
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.742274921666681e-05,
|
126 |
+
"ram": 2.8181002151896145e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.024084943185643e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 964.591616,
|
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.6187114830000269,
|
145 |
+
"mean": 0.04124743220000179,
|
146 |
+
"stdev": 0.0005482450629493078,
|
147 |
+
"p50": 0.04132332699998642,
|
148 |
+
"p90": 0.04179255059999605,
|
149 |
+
"p95": 0.04200763439999946,
|
150 |
+
"p99": 0.042228015680013865,
|
151 |
"values": [
|
152 |
+
0.041162745999997696,
|
153 |
+
0.0414664259999995,
|
154 |
+
0.04141705399996454,
|
155 |
+
0.041150353000034556,
|
156 |
+
0.04188957299999174,
|
157 |
+
0.04127310300003728,
|
158 |
+
0.041647017000002506,
|
159 |
+
0.04132332699998642,
|
160 |
+
0.041503105999993295,
|
161 |
+
0.04128356299997904,
|
162 |
+
0.04139470100000153,
|
163 |
+
0.04228311100001747,
|
164 |
+
0.0403429840000058,
|
165 |
+
0.040370146000043405,
|
166 |
+
0.04020427299997209
|
|
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 48.48786683986386
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.5825095875555793e-06,
|
176 |
+
"ram": 6.613346669865645e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.6486430542542358e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1213118.870600344
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 965.378048,
|
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.38191037500007496,
|
198 |
+
"mean": 0.025460691666671663,
|
199 |
+
"stdev": 0.0009960756068359171,
|
200 |
+
"p50": 0.025186003000044366,
|
201 |
+
"p90": 0.02661397360001274,
|
202 |
+
"p95": 0.027673153200026945,
|
203 |
+
"p99": 0.028255163440036313,
|
204 |
"values": [
|
205 |
+
0.025069473999963066,
|
206 |
+
0.025492890999998963,
|
207 |
+
0.028400666000038655,
|
208 |
+
0.025032344000010198,
|
209 |
+
0.025256635999994614,
|
210 |
+
0.025483473000008416,
|
211 |
+
0.024983382000016263,
|
212 |
+
0.025275893000014094,
|
213 |
+
0.02498939400004474,
|
214 |
+
0.025186003000044366,
|
215 |
+
0.025192675999960557,
|
216 |
+
0.027361362000021927,
|
217 |
+
0.024752488999979505,
|
218 |
+
0.024656727999968098,
|
219 |
+
0.024776964000011503
|
|
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 39.27623071249912
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.470587051527825e-07,
|
229 |
+
"ram": 3.9582911569599944e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 9.866416167223827e-07
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 1013539.2457111162
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.37687572999999475,
|
244 |
+
"mean": 0.025125048666666316,
|
245 |
+
"stdev": 0.0009884779470940065,
|
246 |
+
"p50": 0.024851173000001836,
|
247 |
+
"p90": 0.026259372800018353,
|
248 |
+
"p95": 0.027317405400020787,
|
249 |
+
"p99": 0.027906580280022127,
|
250 |
"values": [
|
251 |
+
0.024730486999999357,
|
252 |
+
0.025145768000015778,
|
253 |
+
0.02805387400002246,
|
254 |
+
0.02464458599996533,
|
255 |
+
0.02492319899999984,
|
256 |
+
0.025136551000002783,
|
257 |
+
0.024650185999973928,
|
258 |
+
0.024965510000015456,
|
259 |
+
0.02464882399999624,
|
260 |
+
0.024851173000001836,
|
261 |
+
0.02487254399994754,
|
262 |
+
0.027001776000020072,
|
263 |
+
0.02439773100002185,
|
264 |
+
0.024364828999978272,
|
265 |
+
0.024488692000034007
|
|
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 39.8009179312242
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|