Commit
•
91c890e
1
Parent(s):
5445534
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
@@ -79,8 +79,8 @@
|
|
79 |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
-
"optimum_benchmark_version": "0.
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.44.2",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.34.2",
|
@@ -99,7 +99,7 @@
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
-
"max_ram": 1115.
|
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": 969.
|
136 |
"max_global_vram": null,
|
137 |
"max_process_vram": null,
|
138 |
"max_reserved": null,
|
@@ -140,52 +140,50 @@
|
|
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.03993041600000424,
|
166 |
-
0.040003723000012315
|
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 +191,77 @@
|
|
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.024573394000015014,
|
219 |
-
0.024866541999983838
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
-
"value":
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
-
"cpu":
|
229 |
-
"ram": 4.
|
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.02425518800001214,
|
265 |
-
0.024555009999971844
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
-
"value":
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|
|
|
79 |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
+
"optimum_benchmark_version": "0.5.0",
|
83 |
+
"optimum_benchmark_commit": "561decaa572e5fab6badddc5ef8584951503575b",
|
84 |
"transformers_version": "4.44.2",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.34.2",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1115.836416,
|
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.945667348000001,
|
112 |
+
"mean": 4.945667348000001,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.945667348000001,
|
115 |
+
"p90": 4.945667348000001,
|
116 |
+
"p95": 4.945667348000001,
|
117 |
+
"p99": 4.945667348000001,
|
118 |
"values": [
|
119 |
+
4.945667348000001
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.794245861666706e-05,
|
126 |
+
"ram": 2.8414224786072634e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.078388109527433e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 969.428992,
|
136 |
"max_global_vram": null,
|
137 |
"max_process_vram": null,
|
138 |
"max_reserved": null,
|
|
|
140 |
},
|
141 |
"latency": {
|
142 |
"unit": "s",
|
143 |
+
"count": 13,
|
144 |
+
"total": 0.6409762829999295,
|
145 |
+
"mean": 0.0493058679230715,
|
146 |
+
"stdev": 0.0022054642349399693,
|
147 |
+
"p50": 0.04960502599999472,
|
148 |
+
"p90": 0.05138205139998035,
|
149 |
+
"p95": 0.05189101679997066,
|
150 |
+
"p99": 0.052382837759967056,
|
151 |
"values": [
|
152 |
+
0.05011516600001187,
|
153 |
+
0.04928863099996761,
|
154 |
+
0.04960502599999472,
|
155 |
+
0.050257542999986526,
|
156 |
+
0.05250579299996616,
|
157 |
+
0.051481165999973655,
|
158 |
+
0.04970324100003154,
|
159 |
+
0.04854173499995795,
|
160 |
+
0.04910451500001045,
|
161 |
+
0.04848658200000955,
|
162 |
+
0.05098559300000716,
|
163 |
+
0.04796167500001047,
|
164 |
+
0.04293961700000182
|
|
|
|
|
165 |
]
|
166 |
},
|
167 |
"throughput": {
|
168 |
"unit": "tokens/s",
|
169 |
+
"value": 40.56312330046518
|
170 |
},
|
171 |
"energy": {
|
172 |
"unit": "kWh",
|
173 |
+
"cpu": 1.7489675608695426e-06,
|
174 |
+
"ram": 7.313114618401745e-08,
|
175 |
"gpu": 0.0,
|
176 |
+
"total": 1.82209870705356e-06
|
177 |
},
|
178 |
"efficiency": {
|
179 |
"unit": "tokens/kWh",
|
180 |
+
"value": 1097635.3763151048
|
181 |
}
|
182 |
},
|
183 |
"decode": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 969.95328,
|
187 |
"max_global_vram": null,
|
188 |
"max_process_vram": null,
|
189 |
"max_reserved": null,
|
|
|
191 |
},
|
192 |
"latency": {
|
193 |
"unit": "s",
|
194 |
+
"count": 13,
|
195 |
+
"total": 0.39721794100000807,
|
196 |
+
"mean": 0.030555226230769852,
|
197 |
+
"stdev": 0.002070783405453276,
|
198 |
+
"p50": 0.03056852500003515,
|
199 |
+
"p90": 0.0328605862000245,
|
200 |
+
"p95": 0.03363332000000128,
|
201 |
+
"p99": 0.03429001999997354,
|
202 |
"values": [
|
203 |
+
0.03163053299999774,
|
204 |
+
0.03308607000002439,
|
205 |
+
0.0344541949999666,
|
206 |
+
0.03195865100002493,
|
207 |
+
0.030321541000034813,
|
208 |
+
0.03051147700000456,
|
209 |
+
0.03126604699997415,
|
210 |
+
0.03056852500003515,
|
211 |
+
0.03096771599996373,
|
212 |
+
0.029749724999987848,
|
213 |
+
0.02659462999997686,
|
214 |
+
0.027206630000023324,
|
215 |
+
0.028902200999993966
|
|
|
|
|
216 |
]
|
217 |
},
|
218 |
"throughput": {
|
219 |
"unit": "tokens/s",
|
220 |
+
"value": 32.72762546241519
|
221 |
},
|
222 |
"energy": {
|
223 |
"unit": "kWh",
|
224 |
+
"cpu": 1.0587673224638236e-06,
|
225 |
+
"ram": 4.427122066465941e-08,
|
226 |
"gpu": 0.0,
|
227 |
+
"total": 1.1030385431284826e-06
|
228 |
},
|
229 |
"efficiency": {
|
230 |
"unit": "tokens/kWh",
|
231 |
+
"value": 906586.6340116814
|
232 |
}
|
233 |
},
|
234 |
"per_token": {
|
235 |
"memory": null,
|
236 |
"latency": {
|
237 |
"unit": "s",
|
238 |
+
"count": 13,
|
239 |
+
"total": 0.39086805100004085,
|
240 |
+
"mean": 0.030066773153849296,
|
241 |
+
"stdev": 0.002026024013632776,
|
242 |
+
"p50": 0.030053334999990966,
|
243 |
+
"p90": 0.03233986500002857,
|
244 |
+
"p95": 0.03312533240002722,
|
245 |
+
"p99": 0.0337979832800147,
|
246 |
"values": [
|
247 |
+
0.031070929999998498,
|
248 |
+
0.03256479000003765,
|
249 |
+
0.03396614600001158,
|
250 |
+
0.03144016499999225,
|
251 |
+
0.029786384000033195,
|
252 |
+
0.030053334999990966,
|
253 |
+
0.03077760799999396,
|
254 |
+
0.03003374900004019,
|
255 |
+
0.030421276999959446,
|
256 |
+
0.029235667000023113,
|
257 |
+
0.026257544999964466,
|
258 |
+
0.02684377799999993,
|
259 |
+
0.028416676999995616
|
|
|
|
|
260 |
]
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 33.25930570876626
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|