Commit
•
9e31f86
1
Parent(s):
50be349
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.43.2",
|
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": 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":
|
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,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 |
]
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
-
"value": 45.
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
-
"cpu": 1.
|
175 |
-
"ram": 6.
|
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 +193,81 @@
|
|
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.
|
|
|
218 |
]
|
219 |
},
|
220 |
"throughput": {
|
221 |
"unit": "tokens/s",
|
222 |
-
"value":
|
223 |
},
|
224 |
"energy": {
|
225 |
"unit": "kWh",
|
226 |
-
"cpu": 9.
|
227 |
-
"ram":
|
228 |
"gpu": 0.0,
|
229 |
-
"total":
|
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.
|
|
|
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": "d3c098f7db730a120ce09e9c390325447583d3b3",
|
84 |
"transformers_version": "4.43.2",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1120.58368,
|
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.7692232099999785,
|
112 |
+
"mean": 4.7692232099999785,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.7692232099999785,
|
115 |
+
"p90": 4.7692232099999785,
|
116 |
+
"p95": 4.7692232099999785,
|
117 |
+
"p99": 4.7692232099999785,
|
118 |
"values": [
|
119 |
+
4.7692232099999785
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.772013770209419e-05,
|
126 |
+
"ram": 2.8305295998393374e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.055066730193353e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 974.594048,
|
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.6539542359999189,
|
145 |
+
"mean": 0.043596949066661256,
|
146 |
+
"stdev": 0.002181769598750108,
|
147 |
+
"p50": 0.04446738400000072,
|
148 |
+
"p90": 0.04513058000000001,
|
149 |
+
"p95": 0.045282110100012575,
|
150 |
+
"p99": 0.04550902602001258,
|
151 |
"values": [
|
152 |
+
0.04280345799998031,
|
153 |
+
0.044921682999984114,
|
154 |
+
0.044694378000002644,
|
155 |
+
0.042956071999981305,
|
156 |
+
0.04556575500001259,
|
157 |
+
0.04439705299998309,
|
158 |
+
0.043452279000007366,
|
159 |
+
0.044852292000001626,
|
160 |
+
0.04516054800001257,
|
161 |
+
0.04460382899998194,
|
162 |
+
0.04446738400000072,
|
163 |
+
0.04508562799998117,
|
164 |
+
0.044226743999985274,
|
165 |
+
0.03815867700001263,
|
166 |
+
0.03860845599999152
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 45.87476974459681
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.506055675001226e-06,
|
176 |
+
"ram": 6.294066913247101e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.568996344133697e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1274700.2295306665
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 975.118336,
|
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.4046859340000424,
|
198 |
+
"mean": 0.026979062266669494,
|
199 |
+
"stdev": 0.0017312101920150473,
|
200 |
+
"p50": 0.027581240000017715,
|
201 |
+
"p90": 0.028332817200004003,
|
202 |
+
"p95": 0.028510628000003636,
|
203 |
+
"p99": 0.028801816799991685,
|
204 |
"values": [
|
205 |
+
0.027821058000000676,
|
206 |
+
0.028874613999988696,
|
207 |
+
0.027324810999999727,
|
208 |
+
0.02727987700001222,
|
209 |
+
0.02800162399998385,
|
210 |
+
0.027849120000013272,
|
211 |
+
0.027208774000001767,
|
212 |
+
0.028354634000010037,
|
213 |
+
0.028123271999987765,
|
214 |
+
0.027020382000017662,
|
215 |
+
0.028300091999994947,
|
216 |
+
0.027581240000017715,
|
217 |
+
0.023674367000012353,
|
218 |
+
0.023687449999982846,
|
219 |
+
0.023584619000018847
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 37.06578049732371
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.060696569023683e-07,
|
229 |
+
"ram": 3.7867727032743535e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 9.439373839351123e-07
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 1059392.304001323
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.398187312000033,
|
244 |
+
"mean": 0.026545820800002198,
|
245 |
+
"stdev": 0.0016697414528331663,
|
246 |
+
"p50": 0.027117524000004778,
|
247 |
+
"p90": 0.027860018600000556,
|
248 |
+
"p95": 0.02804309100000921,
|
249 |
+
"p99": 0.028346353400009433,
|
250 |
"values": [
|
251 |
+
0.027336202000014964,
|
252 |
+
0.02842216900000949,
|
253 |
+
0.026880320999993046,
|
254 |
+
0.02678377099999807,
|
255 |
+
0.0275383290000093,
|
256 |
+
0.027389642000002823,
|
257 |
+
0.026732846000015797,
|
258 |
+
0.027880629000009094,
|
259 |
+
0.027660277999984828,
|
260 |
+
0.026586793000006992,
|
261 |
+
0.027829102999987754,
|
262 |
+
0.027117524000004778,
|
263 |
+
0.023365170000005264,
|
264 |
+
0.02338283199998159,
|
265 |
+
0.023281703000009202
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 37.67071312407553
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|