Commit
•
2d4a00b
1
Parent(s):
ff645ad
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.42.4",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.32.1",
|
@@ -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.04046110299998418
|
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.025036740000018654
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
-
"value":
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
-
"cpu": 9.
|
229 |
-
"ram": 4.
|
230 |
"gpu": 0.0,
|
231 |
-
"total": 1.
|
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.02465523200001485
|
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": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03",
|
84 |
"transformers_version": "4.42.4",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.32.1",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1104.044032,
|
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.936803760999965,
|
112 |
+
"mean": 4.936803760999965,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.936803760999965,
|
115 |
+
"p90": 4.936803760999965,
|
116 |
+
"p95": 4.936803760999965,
|
117 |
+
"p99": 4.936803760999965,
|
118 |
"values": [
|
119 |
+
4.936803760999965
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.771559450361464e-05,
|
126 |
+
"ram": 2.8302408442471006e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.054583534786175e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 957.27616,
|
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.6552342240001394,
|
145 |
+
"mean": 0.04680244457143853,
|
146 |
+
"stdev": 0.0024023932275525823,
|
147 |
+
"p50": 0.04711709800000108,
|
148 |
+
"p90": 0.04977291200000877,
|
149 |
+
"p95": 0.05024814835001621,
|
150 |
+
"p99": 0.05052083687001982,
|
151 |
"values": [
|
152 |
+
0.050589009000020724,
|
153 |
+
0.04848956900002577,
|
154 |
+
0.04707821499999909,
|
155 |
+
0.0490922879999971,
|
156 |
+
0.05006460800001378,
|
157 |
+
0.04715598100000307,
|
158 |
+
0.04727819000004274,
|
159 |
+
0.048784079000029124,
|
160 |
+
0.045359033000011095,
|
161 |
+
0.04376980000000685,
|
162 |
+
0.04382255900003429,
|
163 |
+
0.043357057999969584,
|
164 |
+
0.043437529000016184,
|
165 |
+
0.04695630599997003
|
|
|
166 |
]
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
+
"value": 42.7328106109336
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
+
"cpu": 1.75898858314551e-06,
|
175 |
+
"ram": 7.351141046797237e-08,
|
176 |
"gpu": 0.0,
|
177 |
+
"total": 1.8324999936134826e-06
|
178 |
},
|
179 |
"efficiency": {
|
180 |
"unit": "tokens/kWh",
|
181 |
+
"value": 1091405.1879783238
|
182 |
}
|
183 |
},
|
184 |
"decode": {
|
185 |
"memory": {
|
186 |
"unit": "MB",
|
187 |
+
"max_ram": 958.193664,
|
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.40391200299995944,
|
197 |
+
"mean": 0.02885085735713996,
|
198 |
+
"stdev": 0.0015551682606210855,
|
199 |
+
"p50": 0.028984333500005732,
|
200 |
+
"p90": 0.030256682200001706,
|
201 |
+
"p95": 0.030879474849996313,
|
202 |
+
"p99": 0.031796157369979025,
|
203 |
"values": [
|
204 |
+
0.029773771999998644,
|
205 |
+
0.030262477000007948,
|
206 |
+
0.03024316099998714,
|
207 |
+
0.029031742000029226,
|
208 |
+
0.029638267999985146,
|
209 |
+
0.032025327999974706,
|
210 |
+
0.02893692499998224,
|
211 |
+
0.030006608999997297,
|
212 |
+
0.02832313599998315,
|
213 |
+
0.026986844000020938,
|
214 |
+
0.026156197999966935,
|
215 |
+
0.02803332199999886,
|
216 |
+
0.027544567000006737,
|
217 |
+
0.026949654000020473
|
|
|
218 |
]
|
219 |
},
|
220 |
"throughput": {
|
221 |
"unit": "tokens/s",
|
222 |
+
"value": 34.66101501321664
|
223 |
},
|
224 |
"energy": {
|
225 |
"unit": "kWh",
|
226 |
+
"cpu": 9.97930571268914e-07,
|
227 |
+
"ram": 4.1706411858285725e-08,
|
228 |
"gpu": 0.0,
|
229 |
+
"total": 1.0396369831271993e-06
|
230 |
},
|
231 |
"efficiency": {
|
232 |
"unit": "tokens/kWh",
|
233 |
+
"value": 961874.2082375981
|
234 |
}
|
235 |
},
|
236 |
"per_token": {
|
237 |
"memory": null,
|
238 |
"latency": {
|
239 |
"unit": "s",
|
240 |
+
"count": 14,
|
241 |
+
"total": 0.3979374259998849,
|
242 |
+
"mean": 0.028424101857134638,
|
243 |
+
"stdev": 0.0014790520041296558,
|
244 |
+
"p50": 0.02850717500001565,
|
245 |
+
"p90": 0.029767586399992753,
|
246 |
+
"p95": 0.030379720099998054,
|
247 |
+
"p99": 0.031250692020017255,
|
248 |
"values": [
|
249 |
+
0.029254329999957918,
|
250 |
+
0.02979348899998513,
|
251 |
+
0.029707147000010536,
|
252 |
+
0.02856500800004369,
|
253 |
+
0.029172084999970593,
|
254 |
+
0.031468435000022055,
|
255 |
+
0.02844934199998761,
|
256 |
+
0.02954054599996425,
|
257 |
+
0.027995111999985056,
|
258 |
+
0.02666716499999211,
|
259 |
+
0.025835977999975057,
|
260 |
+
0.0277031539999939,
|
261 |
+
0.027159806999975444,
|
262 |
+
0.026625828000021556
|
|
|
263 |
]
|
264 |
},
|
265 |
"throughput": {
|
266 |
"unit": "tokens/s",
|
267 |
+
"value": 35.18141065727266
|
268 |
},
|
269 |
"energy": null,
|
270 |
"efficiency": null
|