Commit
•
82a1d21
1
Parent(s):
670c797
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",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.45.1",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.34.2",
|
@@ -93,13 +93,15 @@
|
|
93 |
"timm_commit": null,
|
94 |
"peft_version": null,
|
95 |
"peft_commit": null
|
96 |
-
}
|
|
|
|
|
97 |
},
|
98 |
"report": {
|
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,15 +110,15 @@
|
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
"values": [
|
111 |
-
1.
|
112 |
],
|
113 |
"count": 1,
|
114 |
-
"total": 1.
|
115 |
-
"mean": 1.
|
116 |
-
"p50": 1.
|
117 |
-
"p90": 1.
|
118 |
-
"p95": 1.
|
119 |
-
"p99": 1.
|
120 |
"stdev": 0,
|
121 |
"stdev_": 0
|
122 |
},
|
@@ -127,7 +129,7 @@
|
|
127 |
"prefill": {
|
128 |
"memory": {
|
129 |
"unit": "MB",
|
130 |
-
"max_ram":
|
131 |
"max_global_vram": null,
|
132 |
"max_process_vram": null,
|
133 |
"max_reserved": null,
|
@@ -136,51 +138,50 @@
|
|
136 |
"latency": {
|
137 |
"unit": "s",
|
138 |
"values": [
|
139 |
-
0.
|
140 |
-
0.
|
141 |
-
0.
|
142 |
-
0.
|
143 |
-
0.
|
144 |
-
0.
|
145 |
-
0.
|
146 |
-
0.
|
147 |
-
0.
|
148 |
-
0.
|
149 |
-
0.
|
150 |
-
0.
|
151 |
-
0.
|
152 |
-
0.04525933000002169
|
153 |
],
|
154 |
-
"count":
|
155 |
-
"total": 0.
|
156 |
-
"mean": 0.
|
157 |
-
"p50": 0.
|
158 |
-
"p90": 0.
|
159 |
-
"p95": 0.
|
160 |
-
"p99": 0.
|
161 |
-
"stdev": 0.
|
162 |
-
"stdev_":
|
163 |
},
|
164 |
"throughput": {
|
165 |
"unit": "tokens/s",
|
166 |
-
"value":
|
167 |
},
|
168 |
"energy": {
|
169 |
"unit": "kWh",
|
170 |
-
"cpu": 1.
|
171 |
-
"ram": 7.
|
172 |
"gpu": 0.0,
|
173 |
-
"total": 1.
|
174 |
},
|
175 |
"efficiency": {
|
176 |
"unit": "tokens/kWh",
|
177 |
-
"value":
|
178 |
}
|
179 |
},
|
180 |
"decode": {
|
181 |
"memory": {
|
182 |
"unit": "MB",
|
183 |
-
"max_ram":
|
184 |
"max_global_vram": null,
|
185 |
"max_process_vram": null,
|
186 |
"max_reserved": null,
|
@@ -189,45 +190,44 @@
|
|
189 |
"latency": {
|
190 |
"unit": "s",
|
191 |
"values": [
|
192 |
-
0.
|
193 |
-
0.
|
194 |
-
0.
|
195 |
-
0.
|
196 |
-
0.
|
197 |
-
0.
|
198 |
-
0.
|
199 |
-
0.
|
200 |
-
0.
|
201 |
-
0.
|
202 |
-
0.
|
203 |
-
0.
|
204 |
-
0.
|
205 |
-
0.027913205999993806
|
206 |
],
|
207 |
-
"count":
|
208 |
-
"total": 0.
|
209 |
-
"mean": 0.
|
210 |
-
"p50": 0.
|
211 |
-
"p90": 0.
|
212 |
-
"p95": 0.
|
213 |
-
"p99": 0.
|
214 |
-
"stdev": 0.
|
215 |
-
"stdev_":
|
216 |
},
|
217 |
"throughput": {
|
218 |
"unit": "tokens/s",
|
219 |
-
"value":
|
220 |
},
|
221 |
"energy": {
|
222 |
"unit": "kWh",
|
223 |
-
"cpu": 1.
|
224 |
-
"ram": 4.
|
225 |
"gpu": 0.0,
|
226 |
-
"total": 1.
|
227 |
},
|
228 |
"efficiency": {
|
229 |
"unit": "tokens/kWh",
|
230 |
-
"value":
|
231 |
}
|
232 |
},
|
233 |
"per_token": {
|
@@ -235,34 +235,33 @@
|
|
235 |
"latency": {
|
236 |
"unit": "s",
|
237 |
"values": [
|
238 |
-
0.
|
239 |
-
0.
|
240 |
-
0.
|
241 |
-
0.
|
242 |
-
0.
|
243 |
-
0.
|
244 |
-
0.
|
245 |
-
0.
|
246 |
-
0.
|
247 |
-
0.
|
248 |
-
0.
|
249 |
-
0.
|
250 |
-
0.
|
251 |
-
0.02756093900001133
|
252 |
],
|
253 |
-
"count":
|
254 |
-
"total": 0.
|
255 |
-
"mean": 0.
|
256 |
-
"p50": 0.
|
257 |
-
"p90": 0.
|
258 |
-
"p95": 0.
|
259 |
-
"p99": 0.
|
260 |
-
"stdev": 0.
|
261 |
-
"stdev_":
|
262 |
},
|
263 |
"throughput": {
|
264 |
"unit": "tokens/s",
|
265 |
-
"value":
|
266 |
},
|
267 |
"energy": null,
|
268 |
"efficiency": null
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0",
|
83 |
+
"optimum_benchmark_commit": "c1918e1b0948d4915a69908fd778b3f53a5aa600",
|
84 |
"transformers_version": "4.45.1",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.34.2",
|
|
|
93 |
"timm_commit": null,
|
94 |
"peft_version": null,
|
95 |
"peft_commit": null
|
96 |
+
},
|
97 |
+
"print_report": true,
|
98 |
+
"log_report": true
|
99 |
},
|
100 |
"report": {
|
101 |
"load": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1111.355392,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.7624726589999966
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.7624726589999966,
|
117 |
+
"mean": 1.7624726589999966,
|
118 |
+
"p50": 1.7624726589999966,
|
119 |
+
"p90": 1.7624726589999966,
|
120 |
+
"p95": 1.7624726589999966,
|
121 |
+
"p99": 1.7624726589999966,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
|
|
129 |
"prefill": {
|
130 |
"memory": {
|
131 |
"unit": "MB",
|
132 |
+
"max_ram": 966.258688,
|
133 |
"max_global_vram": null,
|
134 |
"max_process_vram": null,
|
135 |
"max_reserved": null,
|
|
|
138 |
"latency": {
|
139 |
"unit": "s",
|
140 |
"values": [
|
141 |
+
0.04860224199998697,
|
142 |
+
0.04664931100001013,
|
143 |
+
0.047921244999997725,
|
144 |
+
0.05138281300000358,
|
145 |
+
0.053567377000007355,
|
146 |
+
0.04994544899997777,
|
147 |
+
0.049463955999982545,
|
148 |
+
0.052148819000024105,
|
149 |
+
0.05185927599998763,
|
150 |
+
0.05136400800000729,
|
151 |
+
0.04580561000000216,
|
152 |
+
0.046073511999992434,
|
153 |
+
0.046734641000000465
|
|
|
154 |
],
|
155 |
+
"count": 13,
|
156 |
+
"total": 0.6415182589999802,
|
157 |
+
"mean": 0.04934755838461386,
|
158 |
+
"p50": 0.049463955999982545,
|
159 |
+
"p90": 0.05209091040001681,
|
160 |
+
"p95": 0.0527162422000174,
|
161 |
+
"p99": 0.05339715004000936,
|
162 |
+
"stdev": 0.002488504775577069,
|
163 |
+
"stdev_": 5.042812364051963
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "tokens/s",
|
167 |
+
"value": 40.52885422237187
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 1.8153598166666394e-06,
|
172 |
+
"ram": 7.590954199804109e-08,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 1.8912693586646805e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "tokens/kWh",
|
178 |
+
"value": 1057490.8279654507
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 966.258688,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.029461717000003773,
|
194 |
+
0.027632560000000694,
|
195 |
+
0.030997956999982534,
|
196 |
+
0.03177231799998026,
|
197 |
+
0.031832320999996,
|
198 |
+
0.0303964100000087,
|
199 |
+
0.030629537000010032,
|
200 |
+
0.03191057699999078,
|
201 |
+
0.033573113000016974,
|
202 |
+
0.02947401000000127,
|
203 |
+
0.029424578000003976,
|
204 |
+
0.029053892999996833,
|
205 |
+
0.027955034000001433
|
|
|
206 |
],
|
207 |
+
"count": 13,
|
208 |
+
"total": 0.39411402499999326,
|
209 |
+
"mean": 0.03031646346153794,
|
210 |
+
"p50": 0.0303964100000087,
|
211 |
+
"p90": 0.03189492579999183,
|
212 |
+
"p95": 0.032575591400001255,
|
213 |
+
"p99": 0.03337360868001383,
|
214 |
+
"stdev": 0.0016347827596040088,
|
215 |
+
"stdev_": 5.392392690123748
|
216 |
},
|
217 |
"throughput": {
|
218 |
"unit": "tokens/s",
|
219 |
+
"value": 32.985377772334346
|
220 |
},
|
221 |
"energy": {
|
222 |
"unit": "kWh",
|
223 |
+
"cpu": 1.0796778138889644e-06,
|
224 |
+
"ram": 4.514298519462213e-08,
|
225 |
"gpu": 0.0,
|
226 |
+
"total": 1.1248207990835858e-06
|
227 |
},
|
228 |
"efficiency": {
|
229 |
"unit": "tokens/kWh",
|
230 |
+
"value": 889030.5022939834
|
231 |
}
|
232 |
},
|
233 |
"per_token": {
|
|
|
235 |
"latency": {
|
236 |
"unit": "s",
|
237 |
"values": [
|
238 |
+
0.02904594800000382,
|
239 |
+
0.02722285199999419,
|
240 |
+
0.030441814999988992,
|
241 |
+
0.03123379899997758,
|
242 |
+
0.031243246999991925,
|
243 |
+
0.029840668000019832,
|
244 |
+
0.030072313000005124,
|
245 |
+
0.03133650099999841,
|
246 |
+
0.033004197000025215,
|
247 |
+
0.029062189000001126,
|
248 |
+
0.0290130070000032,
|
249 |
+
0.028673789999999144,
|
250 |
+
0.027539806000021372
|
|
|
251 |
],
|
252 |
+
"count": 13,
|
253 |
+
"total": 0.3877301320000299,
|
254 |
+
"mean": 0.02982539476923307,
|
255 |
+
"p50": 0.029840668000019832,
|
256 |
+
"p90": 0.03131785019999711,
|
257 |
+
"p95": 0.03200357940000913,
|
258 |
+
"p99": 0.032804073480022,
|
259 |
+
"stdev": 0.0015688467470817526,
|
260 |
+
"stdev_": 5.260103878658883
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 33.52847490325822
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|