Commit
•
4b14ab7
1
Parent(s):
2cb57c6
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": 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":
|
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.04014996699999074
|
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.023764808000009907
|
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.023441407000007075
|
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": "b6683a24439f2dd9ea7e05cec40bf36c11a71f7a",
|
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": 1103.888384,
|
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.923219599000021,
|
112 |
+
"mean": 4.923219599000021,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 4.923219599000021,
|
115 |
+
"p90": 4.923219599000021,
|
116 |
+
"p95": 4.923219599000021,
|
117 |
+
"p99": 4.923219599000021,
|
118 |
"values": [
|
119 |
+
4.923219599000021
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.688891781700983e-05,
|
126 |
+
"ram": 2.795761876168399e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 6.968467969317822e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 957.759488,
|
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.6384947779999663,
|
145 |
+
"mean": 0.049114982923074334,
|
146 |
+
"stdev": 0.0015710323550845065,
|
147 |
+
"p50": 0.04923834199999533,
|
148 |
+
"p90": 0.05079238959999657,
|
149 |
+
"p95": 0.05164564539999787,
|
150 |
+
"p99": 0.052489769079996904,
|
151 |
"values": [
|
152 |
+
0.04761659700000109,
|
153 |
+
0.0492790669999863,
|
154 |
+
0.048430805000009514,
|
155 |
+
0.04632397500000707,
|
156 |
+
0.05270079999999666,
|
157 |
+
0.0495008609999843,
|
158 |
+
0.048120036000000255,
|
159 |
+
0.04830081299999733,
|
160 |
+
0.04923834199999533,
|
161 |
+
0.050942208999998684,
|
162 |
+
0.050193111999988105,
|
163 |
+
0.04999807900000519,
|
164 |
+
0.04785008199999652
|
|
|
165 |
]
|
166 |
},
|
167 |
"throughput": {
|
168 |
"unit": "tokens/s",
|
169 |
+
"value": 40.720771564401694
|
170 |
},
|
171 |
"energy": {
|
172 |
"unit": "kWh",
|
173 |
+
"cpu": 1.6877939855610887e-06,
|
174 |
+
"ram": 7.053619218439167e-08,
|
175 |
"gpu": 0.0,
|
176 |
+
"total": 1.75833017774548e-06
|
177 |
},
|
178 |
"efficiency": {
|
179 |
"unit": "tokens/kWh",
|
180 |
+
"value": 1137442.7996022836
|
181 |
}
|
182 |
},
|
183 |
"decode": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 958.283776,
|
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.39746424799994884,
|
196 |
+
"mean": 0.030574172923072986,
|
197 |
+
"stdev": 0.0013522381556191905,
|
198 |
+
"p50": 0.031017617999992808,
|
199 |
+
"p90": 0.031744244200001506,
|
200 |
+
"p95": 0.031773450799994406,
|
201 |
+
"p99": 0.03179830375998563,
|
202 |
"values": [
|
203 |
+
0.03171026100000063,
|
204 |
+
0.03003296299999647,
|
205 |
+
0.03123821099998736,
|
206 |
+
0.031189600999994127,
|
207 |
+
0.030182600999978604,
|
208 |
+
0.031049068000015723,
|
209 |
+
0.031804516999983434,
|
210 |
+
0.030656965999980912,
|
211 |
+
0.031017617999992808,
|
212 |
+
0.029742552000016076,
|
213 |
+
0.030658339000012802,
|
214 |
+
0.03175274000000172,
|
215 |
+
0.026428810999988173
|
|
|
216 |
]
|
217 |
},
|
218 |
"throughput": {
|
219 |
"unit": "tokens/s",
|
220 |
+
"value": 32.70734428421264
|
221 |
},
|
222 |
"energy": {
|
223 |
"unit": "kWh",
|
224 |
+
"cpu": 1.0164049047010916e-06,
|
225 |
+
"ram": 4.2475098146923066e-08,
|
226 |
"gpu": 0.0,
|
227 |
+
"total": 1.058880002848015e-06
|
228 |
},
|
229 |
"efficiency": {
|
230 |
"unit": "tokens/kWh",
|
231 |
+
"value": 944394.0742202624
|
232 |
}
|
233 |
},
|
234 |
"per_token": {
|
235 |
"memory": null,
|
236 |
"latency": {
|
237 |
"unit": "s",
|
238 |
+
"count": 13,
|
239 |
+
"total": 0.3911294010000006,
|
240 |
+
"mean": 0.030086877000000047,
|
241 |
+
"stdev": 0.0013132503407730603,
|
242 |
+
"p50": 0.030503820000006954,
|
243 |
+
"p90": 0.03121630099999493,
|
244 |
+
"p95": 0.03126037939999833,
|
245 |
+
"p99": 0.031308142279997356,
|
246 |
"values": [
|
247 |
+
0.03122057699999914,
|
248 |
+
0.029550102000001743,
|
249 |
+
0.03072844999999802,
|
250 |
+
0.03070298299999763,
|
251 |
+
0.029703447000002825,
|
252 |
+
0.030579452000011997,
|
253 |
+
0.03132008299999711,
|
254 |
+
0.030135564000005388,
|
255 |
+
0.030503820000006954,
|
256 |
+
0.02922971500001381,
|
257 |
+
0.03016792500000065,
|
258 |
+
0.031199196999978085,
|
259 |
+
0.026088085999987243
|
|
|
260 |
]
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 33.237082067374374
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|