Commit
•
e2449fc
1
Parent(s):
536def8
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.4.0",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.44.0",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
@@ -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":
|
112 |
-
"mean":
|
113 |
"stdev": 0.0,
|
114 |
-
"p50":
|
115 |
-
"p90":
|
116 |
-
"p95":
|
117 |
-
"p99":
|
118 |
"values": [
|
119 |
-
|
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,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.04242672999998831,
|
166 |
-
0.042661205999991125
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
-
"value":
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
-
"cpu": 1.
|
176 |
-
"ram": 7.
|
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.026559492000046703,
|
219 |
-
0.026018755999984933
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
-
"value":
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
-
"cpu": 1.
|
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.02622953900004177,
|
265 |
-
0.02569525500001646
|
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.4.0",
|
83 |
+
"optimum_benchmark_commit": "fd1d0f86c25fce0c4e87ce2a113b6de6fd87f52f",
|
84 |
"transformers_version": "4.44.0",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1109.377024,
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
|
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
"count": 1,
|
111 |
+
"total": 5.03246732599996,
|
112 |
+
"mean": 5.03246732599996,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 5.03246732599996,
|
115 |
+
"p90": 5.03246732599996,
|
116 |
+
"p95": 5.03246732599996,
|
117 |
+
"p99": 5.03246732599996,
|
118 |
"values": [
|
119 |
+
5.03246732599996
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.836845026666652e-05,
|
126 |
+
"ram": 2.8576248081022472e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.122607507476876e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 962.72384,
|
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.6395730979998575,
|
145 |
+
"mean": 0.049197930615373656,
|
146 |
+
"stdev": 0.002525479344312173,
|
147 |
+
"p50": 0.04938945800000738,
|
148 |
+
"p90": 0.051219598599982416,
|
149 |
+
"p95": 0.0526654271999746,
|
150 |
+
"p99": 0.05422432703997628,
|
151 |
"values": [
|
152 |
+
0.05063261700001931,
|
153 |
+
0.051366343999973196,
|
154 |
+
0.0502456340000208,
|
155 |
+
0.05043194099999937,
|
156 |
+
0.049899930999970366,
|
157 |
+
0.04884666599997445,
|
158 |
+
0.04938945800000738,
|
159 |
+
0.04786563599998317,
|
160 |
+
0.04928404099996442,
|
161 |
+
0.04643890500000225,
|
162 |
+
0.04658944599998449,
|
163 |
+
0.0439684269999816,
|
164 |
+
0.05461405199997671
|
|
|
|
|
165 |
]
|
166 |
},
|
167 |
"throughput": {
|
168 |
"unit": "tokens/s",
|
169 |
+
"value": 40.65211635903703
|
170 |
},
|
171 |
"energy": {
|
172 |
"unit": "kWh",
|
173 |
+
"cpu": 1.7337388934782841e-06,
|
174 |
+
"ram": 7.245389562582637e-08,
|
175 |
"gpu": 0.0,
|
176 |
+
"total": 1.8061927891041105e-06
|
177 |
},
|
178 |
"efficiency": {
|
179 |
"unit": "tokens/kWh",
|
180 |
+
"value": 1107301.5084906965
|
181 |
}
|
182 |
},
|
183 |
"decode": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 963.510272,
|
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.3848953010000855,
|
196 |
+
"mean": 0.029607330846160424,
|
197 |
+
"stdev": 0.0017026207857069298,
|
198 |
+
"p50": 0.029911181999977998,
|
199 |
+
"p90": 0.0312886472000173,
|
200 |
+
"p95": 0.031709958999999795,
|
201 |
+
"p99": 0.03210517419998723,
|
202 |
"values": [
|
203 |
+
0.03220397799998409,
|
204 |
+
0.03138061300001027,
|
205 |
+
0.03075124899999082,
|
206 |
+
0.030834384000002046,
|
207 |
+
0.030920784000045387,
|
208 |
+
0.029435635000027105,
|
209 |
+
0.029911181999977998,
|
210 |
+
0.0299310089999949,
|
211 |
+
0.02970236300001261,
|
212 |
+
0.029179037000005792,
|
213 |
+
0.026999933000013243,
|
214 |
+
0.026306780000027175,
|
215 |
+
0.02733835399999407
|
|
|
|
|
216 |
]
|
217 |
},
|
218 |
"throughput": {
|
219 |
"unit": "tokens/s",
|
220 |
+
"value": 33.77541883785459
|
221 |
},
|
222 |
"energy": {
|
223 |
"unit": "kWh",
|
224 |
+
"cpu": 1.148613903744028e-06,
|
225 |
+
"ram": 4.800325088435436e-08,
|
226 |
"gpu": 0.0,
|
227 |
+
"total": 1.196617154628383e-06
|
228 |
},
|
229 |
"efficiency": {
|
230 |
"unit": "tokens/kWh",
|
231 |
+
"value": 835689.172708339
|
232 |
}
|
233 |
},
|
234 |
"per_token": {
|
235 |
"memory": null,
|
236 |
"latency": {
|
237 |
"unit": "s",
|
238 |
+
"count": 13,
|
239 |
+
"total": 0.3782396580000409,
|
240 |
+
"mean": 0.029095358307695454,
|
241 |
+
"stdev": 0.0016730743015986095,
|
242 |
+
"p50": 0.029367968999963523,
|
243 |
+
"p90": 0.03075458459999254,
|
244 |
+
"p95": 0.031163104399990968,
|
245 |
+
"p99": 0.03154434487999197,
|
246 |
"values": [
|
247 |
+
0.03163965499999222,
|
248 |
+
0.03084540399999014,
|
249 |
+
0.03019835800000692,
|
250 |
+
0.030306469999970886,
|
251 |
+
0.030391307000002143,
|
252 |
+
0.02891821000002892,
|
253 |
+
0.029367968999963523,
|
254 |
+
0.029406541000014386,
|
255 |
+
0.02919911500003991,
|
256 |
+
0.028778138999996372,
|
257 |
+
0.02663298800001712,
|
258 |
+
0.02593474600001855,
|
259 |
+
0.0266207559999998
|
|
|
|
|
260 |
]
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 34.36974342864543
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|