Commit
•
3b3f3f2
1
Parent(s):
41e2950
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,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": 36.
|
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.4.0",
|
83 |
+
"optimum_benchmark_commit": "81f067a1f11a4e373792667718ef95ea9a0dea36",
|
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": 1122.988032,
|
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.909352719999987,
|
112 |
+
"mean": 4.909352719999987,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.909352719999987,
|
115 |
+
"p90": 4.909352719999987,
|
116 |
+
"p95": 4.909352719999987,
|
117 |
+
"p99": 4.909352719999987,
|
118 |
"values": [
|
119 |
+
4.909352719999987
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.787612175555483e-05,
|
126 |
+
"ram": 2.837051747931096e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.071317350348592e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 976.347136,
|
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.6599179660000232,
|
145 |
+
"mean": 0.04399453106666821,
|
146 |
+
"stdev": 0.0019312571613579789,
|
147 |
+
"p50": 0.043221532000018215,
|
148 |
+
"p90": 0.04644600000001446,
|
149 |
+
"p95": 0.04683181250000246,
|
150 |
+
"p99": 0.04745455209998965,
|
151 |
"values": [
|
152 |
+
0.04274869399998238,
|
153 |
+
0.043221532000018215,
|
154 |
+
0.04287946999997416,
|
155 |
+
0.04636769700002219,
|
156 |
+
0.046498202000009314,
|
157 |
+
0.047610236999986455,
|
158 |
+
0.04318190700001878,
|
159 |
+
0.04295870900000409,
|
160 |
+
0.0457547259999842,
|
161 |
+
0.04502124900000126,
|
162 |
+
0.04562274799999955,
|
163 |
+
0.04349269100001152,
|
164 |
+
0.04157701500000144,
|
165 |
+
0.041948041000011926,
|
166 |
+
0.04103504799999769
|
167 |
]
|
168 |
},
|
169 |
"throughput": {
|
170 |
"unit": "tokens/s",
|
171 |
+
"value": 45.460195881375576
|
172 |
},
|
173 |
"energy": {
|
174 |
"unit": "kWh",
|
175 |
+
"cpu": 1.614982408666663e-06,
|
176 |
+
"ram": 6.749365914313016e-08,
|
177 |
"gpu": 0.0,
|
178 |
+
"total": 1.682476067809793e-06
|
179 |
},
|
180 |
"efficiency": {
|
181 |
"unit": "tokens/kWh",
|
182 |
+
"value": 1188724.1894641342
|
183 |
}
|
184 |
},
|
185 |
"decode": {
|
186 |
"memory": {
|
187 |
"unit": "MB",
|
188 |
+
"max_ram": 977.133568,
|
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.4057758879999369,
|
198 |
+
"mean": 0.02705172586666246,
|
199 |
+
"stdev": 0.0014493451593686941,
|
200 |
+
"p50": 0.027039701000006744,
|
201 |
+
"p90": 0.029035111000001734,
|
202 |
+
"p95": 0.029243130399996174,
|
203 |
+
"p99": 0.029394922879985755,
|
204 |
"values": [
|
205 |
+
0.026371796999995922,
|
206 |
+
0.02943287099998315,
|
207 |
+
0.025706828000011228,
|
208 |
+
0.0288450580000017,
|
209 |
+
0.02872604499998488,
|
210 |
+
0.02608430699999076,
|
211 |
+
0.027096035999989,
|
212 |
+
0.02707773199998087,
|
213 |
+
0.028410522999990917,
|
214 |
+
0.027039701000006744,
|
215 |
+
0.029161813000001757,
|
216 |
+
0.02572016299998836,
|
217 |
+
0.025509247000002233,
|
218 |
+
0.025298522000014145,
|
219 |
+
0.025295244999995248
|
220 |
]
|
221 |
},
|
222 |
"throughput": {
|
223 |
"unit": "tokens/s",
|
224 |
+
"value": 36.96621816031201
|
225 |
},
|
226 |
"energy": {
|
227 |
"unit": "kWh",
|
228 |
+
"cpu": 9.194307225833983e-07,
|
229 |
+
"ram": 3.842477918986546e-08,
|
230 |
"gpu": 0.0,
|
231 |
+
"total": 9.578555017732634e-07
|
232 |
},
|
233 |
"efficiency": {
|
234 |
"unit": "tokens/kWh",
|
235 |
+
"value": 1043998.8058206224
|
236 |
}
|
237 |
},
|
238 |
"per_token": {
|
239 |
"memory": null,
|
240 |
"latency": {
|
241 |
"unit": "s",
|
242 |
+
"count": 15,
|
243 |
+
"total": 0.40021055299999375,
|
244 |
+
"mean": 0.026680703533332916,
|
245 |
+
"stdev": 0.0014126665986679255,
|
246 |
+
"p50": 0.026686417999997047,
|
247 |
+
"p90": 0.028608582199990452,
|
248 |
+
"p95": 0.02886667639999132,
|
249 |
+
"p99": 0.0290331184799993,
|
250 |
"values": [
|
251 |
+
0.02601599900000906,
|
252 |
+
0.029074729000001298,
|
253 |
+
0.02537509600000476,
|
254 |
+
0.028355188999995562,
|
255 |
+
0.028185581000002458,
|
256 |
+
0.02574110300000143,
|
257 |
+
0.02674707099998841,
|
258 |
+
0.026701344999992216,
|
259 |
+
0.02805457499999875,
|
260 |
+
0.026686417999997047,
|
261 |
+
0.028777510999987044,
|
262 |
+
0.025385475000007318,
|
263 |
+
0.025181692000018074,
|
264 |
+
0.024969555000012633,
|
265 |
+
0.024959213999977692
|
266 |
]
|
267 |
},
|
268 |
"throughput": {
|
269 |
"unit": "tokens/s",
|
270 |
+
"value": 37.48027104122923
|
271 |
},
|
272 |
"energy": null,
|
273 |
"efficiency": null
|