Commit
•
a72530b
1
Parent(s):
db14585
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.3.1",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.43.1",
|
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,52 +140,51 @@
|
|
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.042941536000000724
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
-
"value":
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
-
"cpu": 1.
|
176 |
-
"ram":
|
177 |
"gpu": 0.0,
|
178 |
-
"total": 1.
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
-
"value":
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
-
"max_ram":
|
189 |
"max_global_vram": null,
|
190 |
"max_process_vram": null,
|
191 |
"max_reserved": null,
|
@@ -193,81 +192,79 @@
|
|
193 |
},
|
194 |
"latency": {
|
195 |
"unit": "s",
|
196 |
-
"count":
|
197 |
-
"total": 0.
|
198 |
-
"mean": 0.
|
199 |
-
"stdev": 0.
|
200 |
-
"p50": 0.
|
201 |
-
"p90": 0.
|
202 |
-
"p95": 0.
|
203 |
-
"p99": 0.
|
204 |
"values": [
|
205 |
-
0.
|
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.02618272399999455
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
-
"value":
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
-
"cpu":
|
229 |
-
"ram":
|
230 |
"gpu": 0.0,
|
231 |
-
"total":
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
-
"value":
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
-
"count":
|
243 |
-
"total": 0.
|
244 |
-
"mean": 0.
|
245 |
-
"stdev": 0.
|
246 |
-
"p50": 0.
|
247 |
-
"p90": 0.
|
248 |
-
"p95": 0.
|
249 |
-
"p99": 0.
|
250 |
"values": [
|
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.025866734999993923
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
-
"value":
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.3.1",
|
83 |
+
"optimum_benchmark_commit": "79d3ec77efb824aa9ddc7c6cb7c102910e1d6a65",
|
84 |
"transformers_version": "4.43.1",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1121.042432,
|
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.936982617000012,
|
112 |
+
"mean": 4.936982617000012,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.936982617000012,
|
115 |
+
"p90": 4.936982617000012,
|
116 |
+
"p95": 4.936982617000012,
|
117 |
+
"p99": 4.936982617000012,
|
118 |
"values": [
|
119 |
+
4.936982617000012
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.822013987435236e-05,
|
126 |
+
"ram": 2.8514227142011347e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.107156258855349e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 974.512128,
|
136 |
"max_global_vram": null,
|
137 |
"max_process_vram": null,
|
138 |
"max_reserved": null,
|
|
|
140 |
},
|
141 |
"latency": {
|
142 |
"unit": "s",
|
143 |
+
"count": 14,
|
144 |
+
"total": 0.6449851859999853,
|
145 |
+
"mean": 0.04607037042857038,
|
146 |
+
"stdev": 0.0026675020492795054,
|
147 |
+
"p50": 0.047381491999999525,
|
148 |
+
"p90": 0.04860497500001202,
|
149 |
+
"p95": 0.048803914900000224,
|
150 |
+
"p99": 0.04899154857999576,
|
151 |
"values": [
|
152 |
+
0.04777507599999353,
|
153 |
+
0.04903845699999465,
|
154 |
+
0.04706360099999074,
|
155 |
+
0.04818681800003333,
|
156 |
+
0.04735905500001536,
|
157 |
+
0.04740392899998369,
|
158 |
+
0.04820380000001023,
|
159 |
+
0.04867762300000322,
|
160 |
+
0.04843546300003254,
|
161 |
+
0.04195286300000589,
|
162 |
+
0.04248100499995644,
|
163 |
+
0.042860426999993706,
|
164 |
+
0.042477658999985124,
|
165 |
+
0.043069409999986874
|
|
|
166 |
]
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
+
"value": 43.41184977231498
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
+
"cpu": 1.6821563243865968e-06,
|
175 |
+
"ram": 7.029964838352497e-08,
|
176 |
"gpu": 0.0,
|
177 |
+
"total": 1.7524559727701218e-06
|
178 |
},
|
179 |
"efficiency": {
|
180 |
"unit": "tokens/kWh",
|
181 |
+
"value": 1141255.4900529587
|
182 |
}
|
183 |
},
|
184 |
"decode": {
|
185 |
"memory": {
|
186 |
"unit": "MB",
|
187 |
+
"max_ram": 975.429632,
|
188 |
"max_global_vram": null,
|
189 |
"max_process_vram": null,
|
190 |
"max_reserved": null,
|
|
|
192 |
},
|
193 |
"latency": {
|
194 |
"unit": "s",
|
195 |
+
"count": 14,
|
196 |
+
"total": 0.3958192169999961,
|
197 |
+
"mean": 0.028272801214285437,
|
198 |
+
"stdev": 0.001637875174370469,
|
199 |
+
"p50": 0.02892281349997461,
|
200 |
+
"p90": 0.029832055999975182,
|
201 |
+
"p95": 0.030295684449995974,
|
202 |
+
"p99": 0.030766059290036195,
|
203 |
"values": [
|
204 |
+
0.029468317000009847,
|
205 |
+
0.03088365300004625,
|
206 |
+
0.02898259500000222,
|
207 |
+
0.029246902000011232,
|
208 |
+
0.028920478999964416,
|
209 |
+
0.0289251479999848,
|
210 |
+
0.029979085999968902,
|
211 |
+
0.029488985999989836,
|
212 |
+
0.02890974299998561,
|
213 |
+
0.02595910999997386,
|
214 |
+
0.0260834930000442,
|
215 |
+
0.026109082000004946,
|
216 |
+
0.02698225099999263,
|
217 |
+
0.02588037200001736
|
|
|
218 |
]
|
219 |
},
|
220 |
"throughput": {
|
221 |
"unit": "tokens/s",
|
222 |
+
"value": 35.36968241741567
|
223 |
},
|
224 |
"energy": {
|
225 |
"unit": "kWh",
|
226 |
+
"cpu": 1.0023479549973097e-06,
|
227 |
+
"ram": 4.188948307228204e-08,
|
228 |
"gpu": 0.0,
|
229 |
+
"total": 1.0442374380695918e-06
|
230 |
},
|
231 |
"efficiency": {
|
232 |
"unit": "tokens/kWh",
|
233 |
+
"value": 957636.6097816122
|
234 |
}
|
235 |
},
|
236 |
"per_token": {
|
237 |
"memory": null,
|
238 |
"latency": {
|
239 |
"unit": "s",
|
240 |
+
"count": 14,
|
241 |
+
"total": 0.3894102689999954,
|
242 |
+
"mean": 0.027815019214285388,
|
243 |
+
"stdev": 0.0015732841568136388,
|
244 |
+
"p50": 0.02843140049998283,
|
245 |
+
"p90": 0.029307803299980152,
|
246 |
+
"p95": 0.029771794299981023,
|
247 |
+
"p99": 0.030245284460003744,
|
248 |
"values": [
|
249 |
+
0.02893938500000104,
|
250 |
+
0.030363657000009425,
|
251 |
+
0.028458340999975462,
|
252 |
+
0.028729910999970798,
|
253 |
+
0.028404459999990195,
|
254 |
+
0.028401856000016323,
|
255 |
+
0.029453098999965732,
|
256 |
+
0.028968780000013794,
|
257 |
+
0.02853339699998969,
|
258 |
+
0.02558810400000766,
|
259 |
+
0.02571118500003422,
|
260 |
+
0.02574228299999959,
|
261 |
+
0.02658881199999996,
|
262 |
+
0.025526999000021533
|
|
|
263 |
]
|
264 |
},
|
265 |
"throughput": {
|
266 |
"unit": "tokens/s",
|
267 |
+
"value": 35.95179972000216
|
268 |
},
|
269 |
"energy": null,
|
270 |
"efficiency": null
|