Commit
•
69a248e
1
Parent(s):
1adeead
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":
|
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":
|
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": 7.
|
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": 36.
|
223 |
},
|
224 |
"energy": {
|
225 |
"unit": "kWh",
|
226 |
-
"cpu":
|
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.
|
|
|
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": "c45aecda12da41e3b6f6ac9537d2f41a72709a5a",
|
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": 1115.467776,
|
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.737969369999973,
|
112 |
+
"mean": 4.737969369999973,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.737969369999973,
|
115 |
+
"p90": 4.737969369999973,
|
116 |
+
"p95": 4.737969369999973,
|
117 |
+
"p99": 4.737969369999973,
|
118 |
"values": [
|
119 |
+
4.737969369999973
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.675349341498482e-05,
|
126 |
+
"ram": 2.7901162198509156e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 6.954360963483573e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 968.871936,
|
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.6586129639998717,
|
145 |
+
"mean": 0.04390753093332478,
|
146 |
+
"stdev": 0.0022582729693766093,
|
147 |
+
"p50": 0.04320217899999079,
|
148 |
+
"p90": 0.04698112419998779,
|
149 |
+
"p95": 0.04766783000000032,
|
150 |
+
"p99": 0.04829455400001279,
|
151 |
"values": [
|
152 |
+
0.04320217899999079,
|
153 |
+
0.044030057999975725,
|
154 |
+
0.04559184900000446,
|
155 |
+
0.04238470000001371,
|
156 |
+
0.042684955999959584,
|
157 |
+
0.04303212899998243,
|
158 |
+
0.04645468299997901,
|
159 |
+
0.04278509400000985,
|
160 |
+
0.04339955099999315,
|
161 |
+
0.04733208499999364,
|
162 |
+
0.04845123500001591,
|
163 |
+
0.0459877849999657,
|
164 |
+
0.040945399999998244,
|
165 |
+
0.04132536600002368,
|
166 |
+
0.04100589399996579
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 45.55027252698574
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.6842517587873671e-06,
|
176 |
+
"ram": 7.03839818120855e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.7546357405994526e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1139837.7188627888
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 969.658368,
|
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.4076114330001701,
|
198 |
+
"mean": 0.027174095533344673,
|
199 |
+
"stdev": 0.0015729939720465255,
|
200 |
+
"p50": 0.026621250999994572,
|
201 |
+
"p90": 0.02914057100001628,
|
202 |
+
"p95": 0.030075935700023135,
|
203 |
+
"p99": 0.031018622340010325,
|
204 |
"values": [
|
205 |
+
0.027152722000039375,
|
206 |
+
0.028304359999992812,
|
207 |
+
0.02612432500001205,
|
208 |
+
0.02654275399999051,
|
209 |
+
0.026027964000036263,
|
210 |
+
0.027006978000031268,
|
211 |
+
0.02741259100002935,
|
212 |
+
0.02590654599998743,
|
213 |
+
0.02957092500003,
|
214 |
+
0.03125429400000712,
|
215 |
+
0.028495039999995697,
|
216 |
+
0.026311367999994673,
|
217 |
+
0.026621250999994572,
|
218 |
+
0.025184957000021768,
|
219 |
+
0.025695358000007218
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 36.79975286658296
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.973152037020084e-07,
|
229 |
+
"ram": 4.168502214946555e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 1.0390002258514744e-06
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 962463.6983889843
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.4023580830001947,
|
244 |
+
"mean": 0.02682387220001298,
|
245 |
+
"stdev": 0.0015245783670795408,
|
246 |
+
"p50": 0.02627002000002676,
|
247 |
+
"p90": 0.028733680400011962,
|
248 |
+
"p95": 0.029601294400021058,
|
249 |
+
"p99": 0.03051677568001537,
|
250 |
"values": [
|
251 |
+
0.02681538699999919,
|
252 |
+
0.027960221999990154,
|
253 |
+
0.02580280000000812,
|
254 |
+
0.026197744000000966,
|
255 |
+
0.02569766200002732,
|
256 |
+
0.026655837000021165,
|
257 |
+
0.02708553600001551,
|
258 |
+
0.02555484399999841,
|
259 |
+
0.02911085800002411,
|
260 |
+
0.03074564600001395,
|
261 |
+
0.028167913999993743,
|
262 |
+
0.02600285700003724,
|
263 |
+
0.02627002000002676,
|
264 |
+
0.024889400999995814,
|
265 |
+
0.02540135500004226
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 37.280225335979495
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|