Commit
•
8f87b38
1
Parent(s):
c4126e8
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,51 +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.04378479199999674
|
166 |
]
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
-
"value":
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
-
"cpu": 1.
|
175 |
-
"ram":
|
176 |
"gpu": 0.0,
|
177 |
-
"total": 1.
|
178 |
},
|
179 |
"efficiency": {
|
180 |
"unit": "tokens/kWh",
|
181 |
-
"value":
|
182 |
}
|
183 |
},
|
184 |
"decode": {
|
185 |
"memory": {
|
186 |
"unit": "MB",
|
187 |
-
"max_ram":
|
188 |
"max_global_vram": null,
|
189 |
"max_process_vram": null,
|
190 |
"max_reserved": null,
|
@@ -192,79 +191,77 @@
|
|
192 |
},
|
193 |
"latency": {
|
194 |
"unit": "s",
|
195 |
-
"count":
|
196 |
-
"total": 0.
|
197 |
-
"mean": 0.
|
198 |
-
"stdev": 0.
|
199 |
-
"p50": 0.
|
200 |
-
"p90": 0.
|
201 |
-
"p95": 0.
|
202 |
-
"p99": 0.
|
203 |
"values": [
|
204 |
-
0.
|
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.026215206000017588
|
218 |
]
|
219 |
},
|
220 |
"throughput": {
|
221 |
"unit": "tokens/s",
|
222 |
-
"value":
|
223 |
},
|
224 |
"energy": {
|
225 |
"unit": "kWh",
|
226 |
-
"cpu": 9.
|
227 |
-
"ram": 4.
|
228 |
"gpu": 0.0,
|
229 |
-
"total": 1.
|
230 |
},
|
231 |
"efficiency": {
|
232 |
"unit": "tokens/kWh",
|
233 |
-
"value":
|
234 |
}
|
235 |
},
|
236 |
"per_token": {
|
237 |
"memory": null,
|
238 |
"latency": {
|
239 |
"unit": "s",
|
240 |
-
"count":
|
241 |
-
"total": 0.
|
242 |
-
"mean": 0.
|
243 |
-
"stdev": 0.
|
244 |
-
"p50": 0.
|
245 |
-
"p90": 0.
|
246 |
-
"p95": 0.
|
247 |
-
"p99": 0.
|
248 |
"values": [
|
249 |
-
0.
|
250 |
-
0.
|
251 |
-
0.
|
252 |
-
0.
|
253 |
-
0.
|
254 |
-
0.
|
255 |
-
0.
|
256 |
-
0.
|
257 |
-
0.
|
258 |
-
0.
|
259 |
-
0.
|
260 |
-
0.
|
261 |
-
0.
|
262 |
-
0.025782600000013645
|
263 |
]
|
264 |
},
|
265 |
"throughput": {
|
266 |
"unit": "tokens/s",
|
267 |
-
"value":
|
268 |
},
|
269 |
"energy": null,
|
270 |
"efficiency": null
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.3.1",
|
83 |
+
"optimum_benchmark_commit": "c2e285b1b04b59538000b19edb9ba8775216af9c",
|
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": 1105.53088,
|
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.826897729000052,
|
112 |
+
"mean": 4.826897729000052,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.826897729000052,
|
115 |
+
"p90": 4.826897729000052,
|
116 |
+
"p95": 4.826897729000052,
|
117 |
+
"p99": 4.826897729000052,
|
118 |
"values": [
|
119 |
+
4.826897729000052
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.858394808239406e-05,
|
126 |
+
"ram": 2.866628699965759e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.145057678235982e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 959.000576,
|
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.6239135109999552,
|
145 |
+
"mean": 0.04799334699999655,
|
146 |
+
"stdev": 0.0028518285666014613,
|
147 |
+
"p50": 0.049141796999947474,
|
148 |
+
"p90": 0.04994485600002463,
|
149 |
+
"p95": 0.05018801500000336,
|
150 |
+
"p99": 0.05045481819997803,
|
151 |
"values": [
|
152 |
+
0.04986156400002528,
|
153 |
+
0.049200476000009985,
|
154 |
+
0.0488449719999835,
|
155 |
+
0.04605809600002431,
|
156 |
+
0.049141796999947474,
|
157 |
+
0.049278092000008655,
|
158 |
+
0.04985039300004246,
|
159 |
+
0.049965679000024465,
|
160 |
+
0.050521518999971704,
|
161 |
+
0.048930899999959365,
|
162 |
+
0.04876582499991855,
|
163 |
+
0.041974424000045474,
|
164 |
+
0.04151977399999396
|
|
|
165 |
]
|
166 |
},
|
167 |
"throughput": {
|
168 |
"unit": "tokens/s",
|
169 |
+
"value": 41.67244264085486
|
170 |
},
|
171 |
"energy": {
|
172 |
"unit": "kWh",
|
173 |
+
"cpu": 1.6238256737037945e-06,
|
174 |
+
"ram": 6.786258671425571e-08,
|
175 |
"gpu": 0.0,
|
176 |
+
"total": 1.6916882604180502e-06
|
177 |
},
|
178 |
"efficiency": {
|
179 |
"unit": "tokens/kWh",
|
180 |
+
"value": 1182250.9186803482
|
181 |
}
|
182 |
},
|
183 |
"decode": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 959.91808,
|
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.3851852020001161,
|
196 |
+
"mean": 0.02962963092308585,
|
197 |
+
"stdev": 0.0017502645267959557,
|
198 |
+
"p50": 0.03027097500000764,
|
199 |
+
"p90": 0.030689391800046907,
|
200 |
+
"p95": 0.03119611980002901,
|
201 |
+
"p99": 0.03178931435998038,
|
202 |
"values": [
|
203 |
+
0.030323683000005985,
|
204 |
+
0.030479605999971682,
|
205 |
+
0.029998114000022724,
|
206 |
+
0.03027097500000764,
|
207 |
+
0.030701791000069534,
|
208 |
+
0.030639794999956393,
|
209 |
+
0.030493231000036758,
|
210 |
+
0.03193761299996822,
|
211 |
+
0.030253642000047876,
|
212 |
+
0.0298051539999733,
|
213 |
+
0.02853244100003849,
|
214 |
+
0.02592872000002444,
|
215 |
+
0.025820436999993035
|
|
|
216 |
]
|
217 |
},
|
218 |
"throughput": {
|
219 |
"unit": "tokens/s",
|
220 |
+
"value": 33.749998526672584
|
221 |
},
|
222 |
"energy": {
|
223 |
"unit": "kWh",
|
224 |
+
"cpu": 9.982253887035225e-07,
|
225 |
+
"ram": 4.171751199848472e-08,
|
226 |
"gpu": 0.0,
|
227 |
+
"total": 1.0399429007020075e-06
|
228 |
},
|
229 |
"efficiency": {
|
230 |
"unit": "tokens/kWh",
|
231 |
+
"value": 961591.25594776
|
232 |
}
|
233 |
},
|
234 |
"per_token": {
|
235 |
"memory": null,
|
236 |
"latency": {
|
237 |
"unit": "s",
|
238 |
+
"count": 13,
|
239 |
+
"total": 0.37936013900002763,
|
240 |
+
"mean": 0.02918154915384828,
|
241 |
+
"stdev": 0.0016790253338550573,
|
242 |
+
"p50": 0.0298075069999868,
|
243 |
+
"p90": 0.030236592400001427,
|
244 |
+
"p95": 0.030676778200017907,
|
245 |
+
"p99": 0.03119057644000804,
|
246 |
"values": [
|
247 |
+
0.029834077000032266,
|
248 |
+
0.030000257999972746,
|
249 |
+
0.029565825000076984,
|
250 |
+
0.029776679999940825,
|
251 |
+
0.030248613000026126,
|
252 |
+
0.030188509999902635,
|
253 |
+
0.029988436000053298,
|
254 |
+
0.03131902600000558,
|
255 |
+
0.0298075069999868,
|
256 |
+
0.029329943999982788,
|
257 |
+
0.028186584000081893,
|
258 |
+
0.025605574999985947,
|
259 |
+
0.025509103999979743
|
|
|
260 |
]
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 34.26822869231143
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|