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.5.0.dev0",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.46.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.1.1",
|
@@ -101,7 +101,7 @@
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
-
"max_ram":
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
@@ -110,32 +110,32 @@
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
-
1.
|
114 |
],
|
115 |
"count": 1,
|
116 |
-
"total": 1.
|
117 |
-
"mean": 1.
|
118 |
-
"p50": 1.
|
119 |
-
"p90": 1.
|
120 |
-
"p95": 1.
|
121 |
-
"p99": 1.
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
-
"cpu": 0.
|
129 |
-
"ram": 8.
|
130 |
"gpu": 0,
|
131 |
-
"total": 0.
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
-
"max_ram":
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
@@ -144,44 +144,41 @@
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
-
0.
|
148 |
-
0.
|
149 |
-
0.
|
150 |
-
0.
|
151 |
-
0.11518291200002295,
|
152 |
-
0.11021567199998117,
|
153 |
-
0.10519553500000711
|
154 |
],
|
155 |
-
"count":
|
156 |
-
"total": 0.
|
157 |
-
"mean": 0.
|
158 |
-
"p50": 0.
|
159 |
-
"p90": 0.
|
160 |
-
"p95": 0.
|
161 |
-
"p99": 0.
|
162 |
-
"stdev": 0.
|
163 |
-
"stdev_":
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
-
"value":
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
-
"cpu": 4.
|
172 |
-
"ram":
|
173 |
"gpu": 0.0,
|
174 |
-
"total":
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
-
"value":
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
-
"max_ram":
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
@@ -190,38 +187,35 @@
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
-
0.
|
194 |
-
0.
|
195 |
-
0.
|
196 |
-
0.
|
197 |
-
0.05131364799996163,
|
198 |
-
0.04513170400002764,
|
199 |
-
0.04445532599999069
|
200 |
],
|
201 |
-
"count":
|
202 |
-
"total": 0.
|
203 |
-
"mean": 0.
|
204 |
-
"p50": 0.
|
205 |
-
"p90": 0.
|
206 |
-
"p95": 0.
|
207 |
-
"p99": 0.
|
208 |
-
"stdev": 0.
|
209 |
-
"stdev_":
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
-
"value":
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
-
"cpu":
|
218 |
-
"ram":
|
219 |
"gpu": 0.0,
|
220 |
-
"total":
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
-
"value":
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
@@ -229,23 +223,20 @@
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
-
0.
|
233 |
-
0.
|
234 |
-
0.
|
235 |
-
0.
|
236 |
-
0.05027633899999273,
|
237 |
-
0.04427969099998563,
|
238 |
-
0.04365898800000423
|
239 |
],
|
240 |
-
"count":
|
241 |
-
"total": 0.
|
242 |
-
"mean": 0.
|
243 |
-
"p50": 0.
|
244 |
-
"p90": 0.
|
245 |
-
"p95": 0.
|
246 |
-
"p99": 0.
|
247 |
-
"stdev": 0.
|
248 |
-
"stdev_":
|
249 |
},
|
250 |
"throughput": null,
|
251 |
"energy": null,
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "58cc0e5ee90edf2ed9be8da04bbd5a641f13c036",
|
84 |
"transformers_version": "4.46.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.1.1",
|
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1142.509568,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7218063790000144
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7218063790000144,
|
117 |
+
"mean": 1.7218063790000144,
|
118 |
+
"p50": 1.7218063790000144,
|
119 |
+
"p90": 1.7218063790000144,
|
120 |
+
"p95": 1.7218063790000144,
|
121 |
+
"p99": 1.7218063790000144,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00019271847801111147,
|
129 |
+
"ram": 8.05577461730081e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00020077425262841227
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1023.361024,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.2208991210000022,
|
148 |
+
0.2656592100000239,
|
149 |
+
0.23349913300000935,
|
150 |
+
0.11379795099998091
|
|
|
|
|
|
|
151 |
],
|
152 |
+
"count": 4,
|
153 |
+
"total": 0.8338554150000164,
|
154 |
+
"mean": 0.2084638537500041,
|
155 |
+
"p50": 0.22719912700000577,
|
156 |
+
"p90": 0.25601118690001956,
|
157 |
+
"p95": 0.26083519845002173,
|
158 |
+
"p99": 0.26469440769002345,
|
159 |
+
"stdev": 0.0570402116904122,
|
160 |
+
"stdev_": 27.36215927333689
|
161 |
},
|
162 |
"throughput": {
|
163 |
"unit": "samples/s",
|
164 |
+
"value": 9.593989384838189
|
165 |
},
|
166 |
"energy": {
|
167 |
"unit": "kWh",
|
168 |
+
"cpu": 4.896491483333362e-06,
|
169 |
+
"ram": 2.046241612362353e-07,
|
170 |
"gpu": 0.0,
|
171 |
+
"total": 5.101115644569597e-06
|
172 |
},
|
173 |
"efficiency": {
|
174 |
"unit": "samples/kWh",
|
175 |
+
"value": 392071.0956884704
|
176 |
}
|
177 |
},
|
178 |
"decode": {
|
179 |
"memory": {
|
180 |
"unit": "MB",
|
181 |
+
"max_ram": 1029.853184,
|
182 |
"max_global_vram": null,
|
183 |
"max_process_vram": null,
|
184 |
"max_reserved": null,
|
|
|
187 |
"latency": {
|
188 |
"unit": "s",
|
189 |
"values": [
|
190 |
+
0.10965816699999209,
|
191 |
+
0.10433838000000151,
|
192 |
+
0.045644748000000845,
|
193 |
+
0.053401686000000836
|
|
|
|
|
|
|
194 |
],
|
195 |
+
"count": 4,
|
196 |
+
"total": 0.3130429809999953,
|
197 |
+
"mean": 0.07826074524999882,
|
198 |
+
"p50": 0.07887003300000117,
|
199 |
+
"p90": 0.10806223089999492,
|
200 |
+
"p95": 0.1088601989499935,
|
201 |
+
"p99": 0.10949857338999237,
|
202 |
+
"stdev": 0.02892929842784078,
|
203 |
+
"stdev_": 36.965273376107056
|
204 |
},
|
205 |
"throughput": {
|
206 |
"unit": "tokens/s",
|
207 |
+
"value": 25.555596149910546
|
208 |
},
|
209 |
"energy": {
|
210 |
"unit": "kWh",
|
211 |
+
"cpu": 4.9022094916665345e-06,
|
212 |
+
"ram": 2.0482736709787256e-07,
|
213 |
"gpu": 0.0,
|
214 |
+
"total": 5.107036858764409e-06
|
215 |
},
|
216 |
"efficiency": {
|
217 |
"unit": "tokens/kWh",
|
218 |
+
"value": 391616.5195807648
|
219 |
}
|
220 |
},
|
221 |
"per_token": {
|
|
|
223 |
"latency": {
|
224 |
"unit": "s",
|
225 |
"values": [
|
226 |
+
0.10880397500000072,
|
227 |
+
0.1036117169999784,
|
228 |
+
0.04529194599999187,
|
229 |
+
0.05304942500001175
|
|
|
|
|
|
|
230 |
],
|
231 |
+
"count": 4,
|
232 |
+
"total": 0.31075706299998274,
|
233 |
+
"mean": 0.07768926574999568,
|
234 |
+
"p50": 0.07833057099999507,
|
235 |
+
"p90": 0.10724629759999402,
|
236 |
+
"p95": 0.10802513629999737,
|
237 |
+
"p99": 0.10864820726000005,
|
238 |
+
"stdev": 0.028708912769768186,
|
239 |
+
"stdev_": 36.95351280851793
|
240 |
},
|
241 |
"throughput": null,
|
242 |
"energy": null,
|