Commit
•
5d5eed3
1
Parent(s):
f1ccd3a
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,41 +144,44 @@
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
-
0.
|
148 |
-
0.
|
149 |
-
0.
|
150 |
-
0.
|
|
|
|
|
|
|
151 |
],
|
152 |
-
"count":
|
153 |
-
"total": 0.
|
154 |
-
"mean": 0.
|
155 |
-
"p50": 0.
|
156 |
-
"p90": 0.
|
157 |
-
"p95": 0.
|
158 |
-
"p99": 0.
|
159 |
-
"stdev": 0.
|
160 |
-
"stdev_":
|
161 |
},
|
162 |
"throughput": {
|
163 |
"unit": "samples/s",
|
164 |
-
"value":
|
165 |
},
|
166 |
"energy": {
|
167 |
"unit": "kWh",
|
168 |
-
"cpu": 4.
|
169 |
-
"ram":
|
170 |
"gpu": 0.0,
|
171 |
-
"total":
|
172 |
},
|
173 |
"efficiency": {
|
174 |
"unit": "samples/kWh",
|
175 |
-
"value":
|
176 |
}
|
177 |
},
|
178 |
"decode": {
|
179 |
"memory": {
|
180 |
"unit": "MB",
|
181 |
-
"max_ram":
|
182 |
"max_global_vram": null,
|
183 |
"max_process_vram": null,
|
184 |
"max_reserved": null,
|
@@ -187,35 +190,38 @@
|
|
187 |
"latency": {
|
188 |
"unit": "s",
|
189 |
"values": [
|
190 |
-
0.
|
191 |
-
0.
|
192 |
-
0.
|
193 |
-
0.
|
|
|
|
|
|
|
194 |
],
|
195 |
-
"count":
|
196 |
-
"total": 0.
|
197 |
-
"mean": 0.
|
198 |
-
"p50": 0.
|
199 |
-
"p90": 0.
|
200 |
-
"p95": 0.
|
201 |
-
"p99": 0.
|
202 |
-
"stdev": 0.
|
203 |
-
"stdev_":
|
204 |
},
|
205 |
"throughput": {
|
206 |
"unit": "tokens/s",
|
207 |
-
"value":
|
208 |
},
|
209 |
"energy": {
|
210 |
"unit": "kWh",
|
211 |
-
"cpu":
|
212 |
-
"ram":
|
213 |
"gpu": 0.0,
|
214 |
-
"total":
|
215 |
},
|
216 |
"efficiency": {
|
217 |
"unit": "tokens/kWh",
|
218 |
-
"value":
|
219 |
}
|
220 |
},
|
221 |
"per_token": {
|
@@ -223,20 +229,23 @@
|
|
223 |
"latency": {
|
224 |
"unit": "s",
|
225 |
"values": [
|
226 |
-
0.
|
227 |
-
0.
|
228 |
-
0.
|
229 |
-
0.
|
|
|
|
|
|
|
230 |
],
|
231 |
-
"count":
|
232 |
-
"total": 0.
|
233 |
-
"mean": 0.
|
234 |
-
"p50": 0.
|
235 |
-
"p90": 0.
|
236 |
-
"p95": 0.
|
237 |
-
"p99": 0.
|
238 |
-
"stdev": 0.
|
239 |
-
"stdev_":
|
240 |
},
|
241 |
"throughput": null,
|
242 |
"energy": null,
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "494df68bab4c5aa3df2cebc922b7b34380652b84",
|
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": 1129.63584,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7357475809999983
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7357475809999983,
|
117 |
+
"mean": 1.7357475809999983,
|
118 |
+
"p50": 1.7357475809999983,
|
119 |
+
"p90": 1.7357475809999983,
|
120 |
+
"p95": 1.7357475809999983,
|
121 |
+
"p99": 1.7357475809999983,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00020260602767222292,
|
129 |
+
"ram": 8.46901437221188e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.0002110750420444348
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1020.133376,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.1111398559999941,
|
148 |
+
0.11261263299999769,
|
149 |
+
0.112887905000008,
|
150 |
+
0.11332358300001033,
|
151 |
+
0.1126790860000142,
|
152 |
+
0.12588128400000187,
|
153 |
+
0.10656034900000577
|
154 |
],
|
155 |
+
"count": 7,
|
156 |
+
"total": 0.795084696000032,
|
157 |
+
"mean": 0.11358352800000457,
|
158 |
+
"p50": 0.1126790860000142,
|
159 |
+
"p90": 0.11834666340000695,
|
160 |
+
"p95": 0.1221139737000044,
|
161 |
+
"p99": 0.12512782194000238,
|
162 |
+
"stdev": 0.005462122741973125,
|
163 |
+
"stdev_": 4.808903930130525
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 17.608186989929735
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.180251125555496e-06,
|
172 |
+
"ram": 1.7470328036610544e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.354954405921602e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 459247.0583114537
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1021.968384,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.044832043000013755,
|
194 |
+
0.04444557499999746,
|
195 |
+
0.04482772500000465,
|
196 |
+
0.04479896199998734,
|
197 |
+
0.04736703300000045,
|
198 |
+
0.04315216199998417,
|
199 |
+
0.04350961599999437
|
200 |
],
|
201 |
+
"count": 7,
|
202 |
+
"total": 0.3129331159999822,
|
203 |
+
"mean": 0.044704730857140315,
|
204 |
+
"p50": 0.04479896199998734,
|
205 |
+
"p90": 0.045846039000008436,
|
206 |
+
"p95": 0.04660653600000444,
|
207 |
+
"p99": 0.047214933600001244,
|
208 |
+
"stdev": 0.0012555021468568675,
|
209 |
+
"stdev_": 2.8084324025324863
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 44.73799442817933
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.6449792022221582e-06,
|
218 |
+
"ram": 6.873984318359995e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.713719045405759e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1167052.4438423673
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.043898459000018875,
|
233 |
+
0.043573796000003995,
|
234 |
+
0.04393916399999398,
|
235 |
+
0.04389039399998751,
|
236 |
+
0.04602116300000603,
|
237 |
+
0.04224194099998613,
|
238 |
+
0.04260924299998692
|
239 |
],
|
240 |
+
"count": 7,
|
241 |
+
"total": 0.30617415999998343,
|
242 |
+
"mean": 0.043739165714283344,
|
243 |
+
"p50": 0.04389039399998751,
|
244 |
+
"p90": 0.0447719635999988,
|
245 |
+
"p95": 0.04539656330000241,
|
246 |
+
"p99": 0.0458962430600053,
|
247 |
+
"stdev": 0.0011238651164235823,
|
248 |
+
"stdev_": 2.569470857686195
|
249 |
},
|
250 |
"throughput": null,
|
251 |
"energy": null,
|