Commit
•
511f65a
1
Parent(s):
2e2af9d
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":
|
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":
|
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 +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":
|
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.15",
|
82 |
"optimum_benchmark_version": "0.4.0",
|
83 |
+
"optimum_benchmark_commit": "4f377554af3ee54c159bc072e03cb9d8efa78a7b",
|
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.672576,
|
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.755313047000016,
|
112 |
+
"mean": 4.755313047000016,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.755313047000016,
|
115 |
+
"p90": 4.755313047000016,
|
116 |
+
"p95": 4.755313047000016,
|
117 |
+
"p99": 4.755313047000016,
|
118 |
"values": [
|
119 |
+
4.755313047000016
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.79598255777781e-05,
|
126 |
+
"ram": 2.8421035338385383e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.080192911161664e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 970.051584,
|
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.6307635870000468,
|
145 |
+
"mean": 0.04205090580000312,
|
146 |
+
"stdev": 0.0025033151698148097,
|
147 |
+
"p50": 0.04100441799999999,
|
148 |
+
"p90": 0.04599941259999696,
|
149 |
+
"p95": 0.04622696749999591,
|
150 |
+
"p99": 0.046354734299997064,
|
151 |
"values": [
|
152 |
+
0.04484991299995045,
|
153 |
+
0.04615852099999529,
|
154 |
+
0.04638667599999735,
|
155 |
+
0.043949987000019064,
|
156 |
+
0.04576074999999946,
|
157 |
+
0.04021579999999858,
|
158 |
+
0.040394321999997373,
|
159 |
+
0.040151360000038494,
|
160 |
+
0.04100441799999999,
|
161 |
+
0.040670826999985366,
|
162 |
+
0.04041587300002902,
|
163 |
+
0.041247251000015694,
|
164 |
+
0.03911778399998411,
|
165 |
+
0.041162694000036026,
|
166 |
+
0.039277411000000484
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 47.56140116248939
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.5488118916666773e-06,
|
176 |
+
"ram": 6.476492172611593e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.613576813392793e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1239482.3620418124
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 970.4448,
|
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.3921833779999133,
|
198 |
+
"mean": 0.026145558533327555,
|
199 |
+
"stdev": 0.001869344261274655,
|
200 |
+
"p50": 0.02518389599998727,
|
201 |
+
"p90": 0.029072989399969627,
|
202 |
+
"p95": 0.029178627099975075,
|
203 |
+
"p99": 0.02925584382000352,
|
204 |
"values": [
|
205 |
+
0.02927514800001063,
|
206 |
+
0.029137260999959835,
|
207 |
+
0.028634142999976575,
|
208 |
+
0.02897658199998432,
|
209 |
+
0.025669510999989598,
|
210 |
+
0.024784102000012354,
|
211 |
+
0.02518389599998727,
|
212 |
+
0.02478116599996838,
|
213 |
+
0.025273574000038934,
|
214 |
+
0.024823866000019734,
|
215 |
+
0.024845796999954928,
|
216 |
+
0.02745920499995691,
|
217 |
+
0.02446558800005505,
|
218 |
+
0.02451836599999524,
|
219 |
+
0.02435517300000356
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 38.24741394318684
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.212472281250786e-07,
|
229 |
+
"ram": 3.8522976760535676e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 9.59770204885614e-07
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 1041916.0700234288
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.3861146730000087,
|
244 |
+
"mean": 0.02574097820000058,
|
245 |
+
"stdev": 0.0018090967332659393,
|
246 |
+
"p50": 0.024814138000010644,
|
247 |
+
"p90": 0.028558418199986592,
|
248 |
+
"p95": 0.028655398200010042,
|
249 |
+
"p99": 0.0287312804400176,
|
250 |
"values": [
|
251 |
+
0.02875025100001949,
|
252 |
+
0.02861474700000599,
|
253 |
+
0.028144370999996227,
|
254 |
+
0.02847392499995749,
|
255 |
+
0.025298439999971833,
|
256 |
+
0.02440363300001991,
|
257 |
+
0.024814138000010644,
|
258 |
+
0.02442866899997398,
|
259 |
+
0.02486547400002337,
|
260 |
+
0.024456732000032844,
|
261 |
+
0.02447937399995226,
|
262 |
+
0.027096518999996988,
|
263 |
+
0.024076854000043113,
|
264 |
+
0.024157473999991907,
|
265 |
+
0.02405407200001264
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 38.84856248392213
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|