Commit
•
c40c087
1
Parent(s):
2afaed7
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.15",
|
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.34.2",
|
@@ -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": 969.
|
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.04022843299998158
|
168 |
]
|
169 |
},
|
170 |
"throughput": {
|
171 |
"unit": "tokens/s",
|
172 |
-
"value":
|
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": 970.
|
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.02510382899998831
|
222 |
]
|
223 |
},
|
224 |
"throughput": {
|
225 |
"unit": "tokens/s",
|
226 |
-
"value":
|
227 |
},
|
228 |
"energy": {
|
229 |
"unit": "kWh",
|
230 |
-
"cpu": 9.
|
231 |
-
"ram": 4.
|
232 |
"gpu": 0.0,
|
233 |
-
"total":
|
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.024642928999980995
|
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.15",
|
82 |
"optimum_benchmark_version": "0.4.0",
|
83 |
+
"optimum_benchmark_commit": "c321302e3b007186f91357f56a141e530fe6b122",
|
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": 1116.061696,
|
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.953653982999981,
|
112 |
+
"mean": 4.953653982999981,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.953653982999981,
|
115 |
+
"p90": 4.953653982999981,
|
116 |
+
"p95": 4.953653982999981,
|
117 |
+
"p99": 4.953653982999981,
|
118 |
"values": [
|
119 |
+
4.953653982999981
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.81256439500004e-05,
|
126 |
+
"ram": 2.8490770429061435e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.097472099290653e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 969.654272,
|
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.6320696639999142,
|
145 |
+
"mean": 0.04213797759999428,
|
146 |
+
"stdev": 0.0010813338740637908,
|
147 |
+
"p50": 0.04184711699997479,
|
148 |
+
"p90": 0.04327465979996532,
|
149 |
+
"p95": 0.04394401039996865,
|
150 |
+
"p99": 0.04479703487997994,
|
151 |
"values": [
|
152 |
+
0.04501029099998277,
|
153 |
+
0.04182279200000494,
|
154 |
+
0.04248698300000342,
|
155 |
+
0.04148858700000346,
|
156 |
+
0.042353374000015265,
|
157 |
+
0.04295609999996941,
|
158 |
+
0.04184711699997479,
|
159 |
+
0.04236174900000833,
|
160 |
+
0.042254668999987643,
|
161 |
+
0.0418313079999848,
|
162 |
+
0.04182337299999972,
|
163 |
+
0.043487032999962594,
|
164 |
+
0.04070305800001961,
|
165 |
+
0.04047189599998546,
|
166 |
+
0.04117133400001194
|
|
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 47.46312267250984
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.6126622508888257e-06,
|
176 |
+
"ram": 6.743434377514969e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.6800965946639753e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1190407.7458117856
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 970.440704,
|
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.3917057890001274,
|
198 |
+
"mean": 0.02611371926667516,
|
199 |
+
"stdev": 0.0007420011961556338,
|
200 |
+
"p50": 0.026084166999964964,
|
201 |
+
"p90": 0.027138277400024436,
|
202 |
+
"p95": 0.02756971780001436,
|
203 |
+
"p99": 0.027610326760008092,
|
204 |
"values": [
|
205 |
+
0.02584794500000953,
|
206 |
+
0.026341778000016802,
|
207 |
+
0.02585304499996255,
|
208 |
+
0.026394315999993978,
|
209 |
+
0.026523749000034513,
|
210 |
+
0.02610730000003514,
|
211 |
+
0.02573296000002756,
|
212 |
+
0.027620479000006526,
|
213 |
+
0.02649861200001169,
|
214 |
+
0.02586926500003983,
|
215 |
+
0.026084166999964964,
|
216 |
+
0.027547963000017717,
|
217 |
+
0.025034312999991926,
|
218 |
+
0.025223448000019744,
|
219 |
+
0.025026448999994955
|
|
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 38.294047270246296
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.714549248056386e-07,
|
229 |
+
"ram": 4.0621166206600756e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 1.0120760910122396e-06
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 988068.0008949114
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.38629836900003056,
|
244 |
+
"mean": 0.025753224600002036,
|
245 |
+
"stdev": 0.0007364927540613671,
|
246 |
+
"p50": 0.025713003000021217,
|
247 |
+
"p90": 0.02677223280002181,
|
248 |
+
"p95": 0.027227090200011617,
|
249 |
+
"p99": 0.027264058039994554,
|
250 |
"values": [
|
251 |
+
0.025506887000005918,
|
252 |
+
0.02594632900002125,
|
253 |
+
0.025495145999968827,
|
254 |
+
0.026046696999969754,
|
255 |
+
0.02609345400003349,
|
256 |
+
0.025713003000021217,
|
257 |
+
0.025392352999972445,
|
258 |
+
0.027273299999990286,
|
259 |
+
0.02611965300002339,
|
260 |
+
0.02551167600000781,
|
261 |
+
0.02572814100000187,
|
262 |
+
0.02720728600002076,
|
263 |
+
0.024692093999988174,
|
264 |
+
0.024894533000008323,
|
265 |
+
0.02467781699999705
|
|
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 38.830088873605405
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|