Commit
•
9f6f515
1
Parent(s):
64fc315
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.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": 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,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.04034076099998174
|
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 +191,77 @@
|
|
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.02630403099999512
|
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.025992594000001645
|
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.4.0",
|
83 |
+
"optimum_benchmark_commit": "64616c22a81fbd56113ffbadbf137b852c35ed9d",
|
84 |
"transformers_version": "4.44.2",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1112.645632,
|
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.950467392000007,
|
112 |
+
"mean": 4.950467392000007,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.950467392000007,
|
115 |
+
"p90": 4.950467392000007,
|
116 |
+
"p95": 4.950467392000007,
|
117 |
+
"p99": 4.950467392000007,
|
118 |
"values": [
|
119 |
+
4.950467392000007
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.834000790555593e-05,
|
126 |
+
"ram": 2.8564326818952276e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.119644058745115e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 966.393856,
|
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.6611361660000057,
|
145 |
+
"mean": 0.05085662815384659,
|
146 |
+
"stdev": 0.0012930046284756879,
|
147 |
+
"p50": 0.051224338999986685,
|
148 |
+
"p90": 0.05230159719998255,
|
149 |
+
"p95": 0.05248883799997657,
|
150 |
+
"p99": 0.052558039599975924,
|
151 |
"values": [
|
152 |
+
0.04786307099999476,
|
153 |
+
0.0515842230000203,
|
154 |
+
0.051457224999978735,
|
155 |
+
0.04962093400001777,
|
156 |
+
0.0524311699999771,
|
157 |
+
0.050253019000024324,
|
158 |
+
0.04959491500000013,
|
159 |
+
0.05257533999997577,
|
160 |
+
0.05178330600000436,
|
161 |
+
0.05177463000001126,
|
162 |
+
0.051141373000007206,
|
163 |
+
0.051224338999986685,
|
164 |
+
0.04983262100000729
|
|
|
165 |
]
|
166 |
},
|
167 |
"throughput": {
|
168 |
"unit": "tokens/s",
|
169 |
+
"value": 39.32624070061806
|
170 |
},
|
171 |
"energy": {
|
172 |
"unit": "kWh",
|
173 |
+
"cpu": 1.7504838268115958e-06,
|
174 |
+
"ram": 7.315417238116154e-08,
|
175 |
"gpu": 0.0,
|
176 |
+
"total": 1.8236379991927575e-06
|
177 |
},
|
178 |
"efficiency": {
|
179 |
"unit": "tokens/kWh",
|
180 |
+
"value": 1096708.8867885568
|
181 |
}
|
182 |
},
|
183 |
"decode": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 966.918144,
|
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.40202549100007445,
|
196 |
+
"mean": 0.030925037769236496,
|
197 |
+
"stdev": 0.0007395361593438771,
|
198 |
+
"p50": 0.031036017999952037,
|
199 |
+
"p90": 0.03153379640001504,
|
200 |
+
"p95": 0.03178197180003508,
|
201 |
+
"p99": 0.03205620156005125,
|
202 |
"values": [
|
203 |
+
0.031553447000021606,
|
204 |
+
0.03138359000001856,
|
205 |
+
0.030391391000023305,
|
206 |
+
0.030703284000026088,
|
207 |
+
0.03212475900005529,
|
208 |
+
0.03136966299996402,
|
209 |
+
0.030182399000011628,
|
210 |
+
0.030894513000021107,
|
211 |
+
0.03145519399998875,
|
212 |
+
0.031036017999952037,
|
213 |
+
0.031190326999990248,
|
214 |
+
0.03070508799999061,
|
215 |
+
0.029035818000011204
|
|
|
216 |
]
|
217 |
},
|
218 |
"throughput": {
|
219 |
"unit": "tokens/s",
|
220 |
+
"value": 32.336258001106685
|
221 |
},
|
222 |
"energy": {
|
223 |
"unit": "kWh",
|
224 |
+
"cpu": 1.111079592632804e-06,
|
225 |
+
"ram": 4.6433186177245114e-08,
|
226 |
"gpu": 0.0,
|
227 |
+
"total": 1.157512778810049e-06
|
228 |
},
|
229 |
"efficiency": {
|
230 |
"unit": "tokens/kWh",
|
231 |
+
"value": 863921.3478299773
|
232 |
}
|
233 |
},
|
234 |
"per_token": {
|
235 |
"memory": null,
|
236 |
"latency": {
|
237 |
"unit": "s",
|
238 |
+
"count": 13,
|
239 |
+
"total": 0.3949340729999449,
|
240 |
+
"mean": 0.030379544076918837,
|
241 |
+
"stdev": 0.0007077057846822261,
|
242 |
+
"p50": 0.03044247599996197,
|
243 |
+
"p90": 0.030973785200001203,
|
244 |
+
"p95": 0.031228488400006426,
|
245 |
+
"p99": 0.031509118480003054,
|
246 |
"values": [
|
247 |
+
0.030994630000009238,
|
248 |
+
0.030846623999991607,
|
249 |
+
0.029830971000023965,
|
250 |
+
0.030114089999983662,
|
251 |
+
0.03157927600000221,
|
252 |
+
0.03083530199995721,
|
253 |
+
0.02963313999998718,
|
254 |
+
0.03034631600002058,
|
255 |
+
0.03089040599996906,
|
256 |
+
0.03044247599996197,
|
257 |
+
0.03063420500001257,
|
258 |
+
0.030122274999996534,
|
259 |
+
0.028664362000029087
|
|
|
260 |
]
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 32.91688635840194
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|