Commit
•
3473a47
1
Parent(s):
a3309fb
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
@@ -73,17 +73,17 @@
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
-
"cpu_ram_mb":
|
77 |
"system": "Linux",
|
78 |
"machine": "x86_64",
|
79 |
-
"platform": "Linux-6.
|
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.
|
85 |
"transformers_commit": null,
|
86 |
-
"accelerate_version": "1.
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.31.0",
|
89 |
"diffusers_commit": null,
|
@@ -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":
|
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":
|
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": 5.
|
219 |
"gpu": 0.0,
|
220 |
-
"total": 1.
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
-
"value":
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
@@ -229,23 +229,65 @@
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
-
0.
|
233 |
-
0.
|
234 |
-
0.
|
235 |
-
0.
|
236 |
-
0.
|
237 |
-
0.
|
238 |
-
0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
],
|
240 |
-
"count":
|
241 |
-
"total":
|
242 |
-
"mean": 0.
|
243 |
-
"p50": 0.
|
244 |
-
"p90": 0.
|
245 |
-
"p95": 0.
|
246 |
-
"p99": 0.
|
247 |
-
"stdev": 0.
|
248 |
-
"stdev_":
|
249 |
},
|
250 |
"throughput": null,
|
251 |
"energy": null,
|
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
+
"cpu_ram_mb": 16766.779392,
|
77 |
"system": "Linux",
|
78 |
"machine": "x86_64",
|
79 |
+
"platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "cd2f6181934acf2424f1183f5fce924d249303d4",
|
84 |
+
"transformers_version": "4.47.0",
|
85 |
"transformers_commit": null,
|
86 |
+
"accelerate_version": "1.2.0",
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.31.0",
|
89 |
"diffusers_commit": null,
|
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1127.395328,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7190139310000063
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7190139310000063,
|
117 |
+
"mean": 1.7190139310000063,
|
118 |
+
"p50": 1.7190139310000063,
|
119 |
+
"p90": 1.7190139310000063,
|
120 |
+
"p95": 1.7190139310000063,
|
121 |
+
"p99": 1.7190139310000063,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00019066668036111137,
|
129 |
+
"ram": 7.97444607513562e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.000198641126436247
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1013.972992,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.1448013800000183,
|
148 |
+
0.14604853100001947,
|
149 |
+
0.10746430600002554,
|
150 |
+
0.09936349199998062,
|
151 |
+
0.098739275000014,
|
152 |
+
0.0986507700000061,
|
153 |
+
0.10013696800001526
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.7952047220000793,
|
157 |
+
"mean": 0.1136006745714399,
|
158 |
+
"p50": 0.10013696800001526,
|
159 |
+
"p90": 0.14530024040001877,
|
160 |
+
"p95": 0.14567438570001912,
|
161 |
+
"p99": 0.1459737019400194,
|
162 |
+
"stdev": 0.020327082678134177,
|
163 |
+
"stdev_": 17.89345244191408
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 17.605529258915297
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.166347293888876e-06,
|
172 |
+
"ram": 1.7420848075177296e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.340555774640645e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 460770.48743039824
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1013.972992,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.04626632599999425,
|
194 |
+
0.04674808699999744,
|
195 |
+
0.041216456999990214,
|
196 |
+
0.04131517199999735,
|
197 |
+
0.041623877999995784,
|
198 |
+
0.041398265999987416,
|
199 |
+
0.041643383999996786
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.30021156999995924,
|
203 |
+
"mean": 0.04288736714285132,
|
204 |
+
"p50": 0.041623877999995784,
|
205 |
+
"p90": 0.04645903039999553,
|
206 |
+
"p95": 0.04660355869999648,
|
207 |
+
"p99": 0.04671918133999725,
|
208 |
+
"stdev": 0.002297438950964294,
|
209 |
+
"stdev_": 5.356913011964277
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 46.63377897128316
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.3423189811111417e-06,
|
218 |
+
"ram": 5.6139261830103635e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.3984582429412503e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1430146.3844880927
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.04577660100000003,
|
233 |
+
0.04577660100000003,
|
234 |
+
0.14656051800000114,
|
235 |
+
0.046280021999990595,
|
236 |
+
0.04577660100000003,
|
237 |
+
0.14656051800000114,
|
238 |
+
0.046280021999990595,
|
239 |
+
0.10795366100001047,
|
240 |
+
0.04087220399998159,
|
241 |
+
0.04577660100000003,
|
242 |
+
0.14656051800000114,
|
243 |
+
0.046280021999990595,
|
244 |
+
0.10795366100001047,
|
245 |
+
0.04087220399998159,
|
246 |
+
0.09975174699999911,
|
247 |
+
0.04096703100000809,
|
248 |
+
0.04577660100000003,
|
249 |
+
0.14656051800000114,
|
250 |
+
0.046280021999990595,
|
251 |
+
0.10795366100001047,
|
252 |
+
0.04087220399998159,
|
253 |
+
0.09975174699999911,
|
254 |
+
0.04096703100000809,
|
255 |
+
0.09910659100000885,
|
256 |
+
0.041258785999986,
|
257 |
+
0.04577660100000003,
|
258 |
+
0.14656051800000114,
|
259 |
+
0.046280021999990595,
|
260 |
+
0.10795366100001047,
|
261 |
+
0.04087220399998159,
|
262 |
+
0.09975174699999911,
|
263 |
+
0.04096703100000809,
|
264 |
+
0.09910659100000885,
|
265 |
+
0.041258785999986,
|
266 |
+
0.09903540900000962,
|
267 |
+
0.04103152100000784,
|
268 |
+
0.04577660100000003,
|
269 |
+
0.14656051800000114,
|
270 |
+
0.046280021999990595,
|
271 |
+
0.10795366100001047,
|
272 |
+
0.04087220399998159,
|
273 |
+
0.09975174699999911,
|
274 |
+
0.04096703100000809,
|
275 |
+
0.09910659100000885,
|
276 |
+
0.041258785999986,
|
277 |
+
0.09903540900000962,
|
278 |
+
0.04103152100000784,
|
279 |
+
0.10052451199999268,
|
280 |
+
0.04129808899998011
|
281 |
],
|
282 |
+
"count": 49,
|
283 |
+
"total": 3.627536475999932,
|
284 |
+
"mean": 0.07403135665305983,
|
285 |
+
"p50": 0.046280021999990595,
|
286 |
+
"p90": 0.14656051800000114,
|
287 |
+
"p95": 0.14656051800000114,
|
288 |
+
"p99": 0.14656051800000114,
|
289 |
+
"stdev": 0.03789151822848584,
|
290 |
+
"stdev_": 51.183066124345736
|
291 |
},
|
292 |
"throughput": null,
|
293 |
"energy": null,
|