Commit
•
cc276e9
1
Parent(s):
e15948a
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
@@ -45,7 +45,8 @@
|
|
45 |
"warmup_runs": 1,
|
46 |
"input_shapes": {
|
47 |
"batch_size": 2,
|
48 |
-
"sequence_length": 16
|
|
|
49 |
},
|
50 |
"new_tokens": null,
|
51 |
"memory": true,
|
@@ -79,7 +80,7 @@
|
|
79 |
"processor": "x86_64",
|
80 |
"python_version": "3.10.15",
|
81 |
"optimum_benchmark_version": "0.5.0.dev0",
|
82 |
-
"optimum_benchmark_commit": "
|
83 |
"transformers_version": "4.46.3",
|
84 |
"transformers_commit": null,
|
85 |
"accelerate_version": "1.1.1",
|
@@ -97,10 +98,10 @@
|
|
97 |
"log_report": true
|
98 |
},
|
99 |
"report": {
|
100 |
-
"
|
101 |
"memory": {
|
102 |
"unit": "MB",
|
103 |
-
"max_ram":
|
104 |
"max_global_vram": null,
|
105 |
"max_process_vram": null,
|
106 |
"max_reserved": null,
|
@@ -109,26 +110,32 @@
|
|
109 |
"latency": {
|
110 |
"unit": "s",
|
111 |
"values": [
|
112 |
-
1.
|
113 |
],
|
114 |
"count": 1,
|
115 |
-
"total": 1.
|
116 |
-
"mean": 1.
|
117 |
-
"p50": 1.
|
118 |
-
"p90": 1.
|
119 |
-
"p95": 1.
|
120 |
-
"p99": 1.
|
121 |
"stdev": 0,
|
122 |
"stdev_": 0
|
123 |
},
|
124 |
"throughput": null,
|
125 |
-
"energy":
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
"efficiency": null
|
127 |
},
|
128 |
"prefill": {
|
129 |
"memory": {
|
130 |
"unit": "MB",
|
131 |
-
"max_ram":
|
132 |
"max_global_vram": null,
|
133 |
"max_process_vram": null,
|
134 |
"max_reserved": null,
|
@@ -137,44 +144,44 @@
|
|
137 |
"latency": {
|
138 |
"unit": "s",
|
139 |
"values": [
|
140 |
-
0.
|
141 |
-
0.
|
142 |
-
0.
|
143 |
-
0.
|
144 |
-
0.
|
145 |
-
0.
|
146 |
-
0.
|
147 |
],
|
148 |
"count": 7,
|
149 |
-
"total": 0.
|
150 |
-
"mean": 0.
|
151 |
-
"p50": 0.
|
152 |
-
"p90": 0.
|
153 |
-
"p95": 0.
|
154 |
-
"p99": 0.
|
155 |
-
"stdev": 0.
|
156 |
-
"stdev_":
|
157 |
},
|
158 |
"throughput": {
|
159 |
-
"unit": "
|
160 |
-
"value":
|
161 |
},
|
162 |
"energy": {
|
163 |
"unit": "kWh",
|
164 |
-
"cpu":
|
165 |
-
"ram": 1.
|
166 |
"gpu": 0.0,
|
167 |
-
"total": 4.
|
168 |
},
|
169 |
"efficiency": {
|
170 |
-
"unit": "
|
171 |
-
"value":
|
172 |
}
|
173 |
},
|
174 |
"decode": {
|
175 |
"memory": {
|
176 |
"unit": "MB",
|
177 |
-
"max_ram":
|
178 |
"max_global_vram": null,
|
179 |
"max_process_vram": null,
|
180 |
"max_reserved": null,
|
@@ -183,38 +190,38 @@
|
|
183 |
"latency": {
|
184 |
"unit": "s",
|
185 |
"values": [
|
186 |
-
0.
|
187 |
-
0.
|
188 |
-
0.
|
189 |
-
0.
|
190 |
-
0.
|
191 |
-
0.
|
192 |
-
0.
|
193 |
],
|
194 |
"count": 7,
|
195 |
-
"total": 0.
|
196 |
-
"mean": 0.
|
197 |
-
"p50": 0.
|
198 |
-
"p90": 0.
|
199 |
-
"p95": 0.
|
200 |
-
"p99": 0.
|
201 |
-
"stdev": 0.
|
202 |
-
"stdev_":
|
203 |
},
|
204 |
"throughput": {
|
205 |
"unit": "tokens/s",
|
206 |
-
"value":
|
207 |
},
|
208 |
"energy": {
|
209 |
"unit": "kWh",
|
210 |
-
"cpu": 1.
|
211 |
-
"ram": 6.
|
212 |
"gpu": 0.0,
|
213 |
-
"total": 1.
|
214 |
},
|
215 |
"efficiency": {
|
216 |
"unit": "tokens/kWh",
|
217 |
-
"value":
|
218 |
}
|
219 |
},
|
220 |
"per_token": {
|
@@ -222,28 +229,25 @@
|
|
222 |
"latency": {
|
223 |
"unit": "s",
|
224 |
"values": [
|
225 |
-
0.
|
226 |
-
0.
|
227 |
-
0.
|
228 |
-
0.
|
229 |
-
0.
|
230 |
-
0.
|
231 |
-
0.
|
232 |
],
|
233 |
"count": 7,
|
234 |
-
"total": 0.
|
235 |
-
"mean": 0.
|
236 |
-
"p50": 0.
|
237 |
-
"p90": 0.
|
238 |
-
"p95": 0.
|
239 |
-
"p99": 0.
|
240 |
-
"stdev": 0.
|
241 |
-
"stdev_":
|
242 |
-
},
|
243 |
-
"throughput": {
|
244 |
-
"unit": "tokens/s",
|
245 |
-
"value": 43.824651870654804
|
246 |
},
|
|
|
247 |
"energy": null,
|
248 |
"efficiency": null
|
249 |
}
|
|
|
45 |
"warmup_runs": 1,
|
46 |
"input_shapes": {
|
47 |
"batch_size": 2,
|
48 |
+
"sequence_length": 16,
|
49 |
+
"num_choices": 2
|
50 |
},
|
51 |
"new_tokens": null,
|
52 |
"memory": true,
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "1af9eb008cb7e5a73696ea580f926b32aa726d12",
|
84 |
"transformers_version": "4.46.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.1.1",
|
|
|
98 |
"log_report": true
|
99 |
},
|
100 |
"report": {
|
101 |
+
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1131.384832,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7704266750000102
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7704266750000102,
|
117 |
+
"mean": 1.7704266750000102,
|
118 |
+
"p50": 1.7704266750000102,
|
119 |
+
"p90": 1.7704266750000102,
|
120 |
+
"p95": 1.7704266750000102,
|
121 |
+
"p99": 1.7704266750000102,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
+
"energy": {
|
127 |
+
"unit": "kWh",
|
128 |
+
"cpu": 0.00019993497607222272,
|
129 |
+
"ram": 8.357487779306238e-06,
|
130 |
+
"gpu": 0,
|
131 |
+
"total": 0.00020829246385152897
|
132 |
+
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1014.386688,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.14783408299999223,
|
148 |
+
0.14743117400001893,
|
149 |
+
0.11171024699999066,
|
150 |
+
0.10162863400000788,
|
151 |
+
0.10082855499999255,
|
152 |
+
0.10343215500000724,
|
153 |
+
0.1025217909999867
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.8153866389999962,
|
157 |
+
"mean": 0.11648380557142803,
|
158 |
+
"p50": 0.10343215500000724,
|
159 |
+
"p90": 0.14759233760000826,
|
160 |
+
"p95": 0.14771321030000023,
|
161 |
+
"p99": 0.14780990845999384,
|
162 |
+
"stdev": 0.019980035733344993,
|
163 |
+
"stdev_": 17.152629616906882
|
164 |
},
|
165 |
"throughput": {
|
166 |
+
"unit": "samples/s",
|
167 |
+
"value": 17.1697687089524
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 3.982604480555507e-06,
|
172 |
+
"ram": 1.664408373936839e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.149045317949191e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
+
"unit": "samples/kWh",
|
178 |
+
"value": 482038.60086748085
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1022.808064,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.04668609600000195,
|
194 |
+
0.04664625099999853,
|
195 |
+
0.04148627700001839,
|
196 |
+
0.04116522999999006,
|
197 |
+
0.04115808599999582,
|
198 |
+
0.041363026999988506,
|
199 |
+
0.04166488900000331
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.30016985599999657,
|
203 |
+
"mean": 0.04288140799999951,
|
204 |
+
"p50": 0.04148627700001839,
|
205 |
+
"p90": 0.046662188999999896,
|
206 |
+
"p95": 0.046674142500000924,
|
207 |
+
"p99": 0.046683705300001745,
|
208 |
+
"stdev": 0.002399303145292454,
|
209 |
+
"stdev_": 5.595206074605763
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 46.64025957356677
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.5587437541666564e-06,
|
218 |
+
"ram": 6.514778224543256e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.6238915364120896e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1231609.350227235
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.04538736099999596,
|
233 |
+
0.04533655499997735,
|
234 |
+
0.040346306999992976,
|
235 |
+
0.04016835699999888,
|
236 |
+
0.04007773800000791,
|
237 |
+
0.040290352999988954,
|
238 |
+
0.040577594000012596
|
239 |
],
|
240 |
"count": 7,
|
241 |
+
"total": 0.29218426499997463,
|
242 |
+
"mean": 0.04174060928571066,
|
243 |
+
"p50": 0.040346306999992976,
|
244 |
+
"p90": 0.0453568773999848,
|
245 |
+
"p95": 0.04537211919999038,
|
246 |
+
"p99": 0.045384312639994845,
|
247 |
+
"stdev": 0.002294921988133697,
|
248 |
+
"stdev_": 5.498055796035859
|
|
|
|
|
|
|
|
|
249 |
},
|
250 |
+
"throughput": null,
|
251 |
"energy": null,
|
252 |
"efficiency": null
|
253 |
}
|