Commit
•
c28b848
1
Parent(s):
cd15745
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
@@ -79,9 +79,9 @@
|
|
79 |
"platform": "Linux-6.5.0-1024-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
-
"optimum_benchmark_version": "0.
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
-
"transformers_version": "4.43.
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
87 |
"accelerate_commit": null,
|
@@ -89,7 +89,7 @@
|
|
89 |
"diffusers_commit": null,
|
90 |
"optimum_version": null,
|
91 |
"optimum_commit": null,
|
92 |
-
"timm_version": "1.0.
|
93 |
"timm_commit": null,
|
94 |
"peft_version": null,
|
95 |
"peft_commit": null
|
@@ -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":
|
112 |
-
"mean":
|
113 |
"stdev": 0.0,
|
114 |
-
"p50":
|
115 |
-
"p90":
|
116 |
-
"p95":
|
117 |
-
"p99":
|
118 |
"values": [
|
119 |
-
|
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.042050653999979204
|
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.02533437700000718
|
218 |
]
|
219 |
},
|
220 |
"throughput": {
|
221 |
"unit": "tokens/s",
|
222 |
-
"value":
|
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.025016174000001
|
263 |
]
|
264 |
},
|
265 |
"throughput": {
|
266 |
"unit": "tokens/s",
|
267 |
-
"value":
|
268 |
},
|
269 |
"energy": null,
|
270 |
"efficiency": null
|
|
|
79 |
"platform": "Linux-6.5.0-1024-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
+
"optimum_benchmark_version": "0.4.0",
|
83 |
+
"optimum_benchmark_commit": "7c1c92eb7fe6a1466152b84a3e74c940c2382134",
|
84 |
+
"transformers_version": "4.43.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.33.0",
|
87 |
"accelerate_commit": null,
|
|
|
89 |
"diffusers_commit": null,
|
90 |
"optimum_version": null,
|
91 |
"optimum_commit": null,
|
92 |
+
"timm_version": "1.0.8",
|
93 |
"timm_commit": null,
|
94 |
"peft_version": null,
|
95 |
"peft_commit": null
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1120.681984,
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
|
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
"count": 1,
|
111 |
+
"total": 5.044209439999975,
|
112 |
+
"mean": 5.044209439999975,
|
113 |
"stdev": 0.0,
|
114 |
+
"p50": 5.044209439999975,
|
115 |
+
"p90": 5.044209439999975,
|
116 |
+
"p95": 5.044209439999975,
|
117 |
+
"p99": 5.044209439999975,
|
118 |
"values": [
|
119 |
+
5.044209439999975
|
120 |
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.815271510018243e-05,
|
126 |
+
"ram": 2.848605699913378e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.10013208000958e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 974.5408,
|
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.659082404000003,
|
145 |
+
"mean": 0.05069864646153869,
|
146 |
+
"stdev": 0.0015120916347909467,
|
147 |
+
"p50": 0.050683096000000205,
|
148 |
+
"p90": 0.052170833999991825,
|
149 |
+
"p95": 0.05294591179998633,
|
150 |
+
"p99": 0.053845723159981845,
|
151 |
"values": [
|
152 |
+
0.04801982899999757,
|
153 |
+
0.05018590999998196,
|
154 |
+
0.050683096000000205,
|
155 |
+
0.04906860500000221,
|
156 |
+
0.051036715999998705,
|
157 |
+
0.0509066430000189,
|
158 |
+
0.049850673999969786,
|
159 |
+
0.05206989399999884,
|
160 |
+
0.05407067599998072,
|
161 |
+
0.052196068999990075,
|
162 |
+
0.04976481400001376,
|
163 |
+
0.05170362000001205,
|
164 |
+
0.04952585800003817
|
|
|
165 |
]
|
166 |
},
|
167 |
"throughput": {
|
168 |
"unit": "tokens/s",
|
169 |
+
"value": 39.44878492007182
|
170 |
},
|
171 |
"energy": {
|
172 |
"unit": "kWh",
|
173 |
+
"cpu": 1.7122484635615695e-06,
|
174 |
+
"ram": 7.155560741693988e-08,
|
175 |
"gpu": 0.0,
|
176 |
+
"total": 1.7838040709785095e-06
|
177 |
},
|
178 |
"efficiency": {
|
179 |
"unit": "tokens/kWh",
|
180 |
+
"value": 1121199.369672307
|
181 |
}
|
182 |
},
|
183 |
"decode": {
|
184 |
"memory": {
|
185 |
"unit": "MB",
|
186 |
+
"max_ram": 975.327232,
|
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.4068396160001271,
|
196 |
+
"mean": 0.03129535507693285,
|
197 |
+
"stdev": 0.0006850312819588125,
|
198 |
+
"p50": 0.03121537999999191,
|
199 |
+
"p90": 0.032150184200031615,
|
200 |
+
"p95": 0.032333698400032064,
|
201 |
+
"p99": 0.03253732448003348,
|
202 |
"values": [
|
203 |
+
0.03129894599999261,
|
204 |
+
0.031515699999999924,
|
205 |
+
0.031128038000019842,
|
206 |
+
0.030637111000032746,
|
207 |
+
0.031601130000012745,
|
208 |
+
0.03071895499999755,
|
209 |
+
0.02992712700000766,
|
210 |
+
0.03121537999999191,
|
211 |
+
0.03258823100003383,
|
212 |
+
0.03209488100003455,
|
213 |
+
0.032164010000030885,
|
214 |
+
0.031064329000003,
|
215 |
+
0.030885777999969832
|
|
|
216 |
]
|
217 |
},
|
218 |
"throughput": {
|
219 |
"unit": "tokens/s",
|
220 |
+
"value": 31.953623710027145
|
221 |
},
|
222 |
"energy": {
|
223 |
"unit": "kWh",
|
224 |
+
"cpu": 9.872996749509359e-07,
|
225 |
+
"ram": 4.1263411741056194e-08,
|
226 |
"gpu": 0.0,
|
227 |
+
"total": 1.028563086691993e-06
|
228 |
},
|
229 |
"efficiency": {
|
230 |
"unit": "tokens/kWh",
|
231 |
+
"value": 972230.1071644949
|
232 |
}
|
233 |
},
|
234 |
"per_token": {
|
235 |
"memory": null,
|
236 |
"latency": {
|
237 |
"unit": "s",
|
238 |
+
"count": 13,
|
239 |
+
"total": 0.3999893390001148,
|
240 |
+
"mean": 0.030768410692316523,
|
241 |
+
"stdev": 0.000691611168624315,
|
242 |
+
"p50": 0.03068358799998805,
|
243 |
+
"p90": 0.03161811780001926,
|
244 |
+
"p95": 0.03180583780001598,
|
245 |
+
"p99": 0.03202266916001008,
|
246 |
"values": [
|
247 |
+
0.03079084899997042,
|
248 |
+
0.03100569900004757,
|
249 |
+
0.030645608000043012,
|
250 |
+
0.030019670000001497,
|
251 |
+
0.031070089000024836,
|
252 |
+
0.030218482000009317,
|
253 |
+
0.029423187000020334,
|
254 |
+
0.03068358799998805,
|
255 |
+
0.03207687700000861,
|
256 |
+
0.03159000900001274,
|
257 |
+
0.03162514500002089,
|
258 |
+
0.03049654000000146,
|
259 |
+
0.030343595999966055
|
|
|
260 |
]
|
261 |
},
|
262 |
"throughput": {
|
263 |
"unit": "tokens/s",
|
264 |
+
"value": 32.50086622932785
|
265 |
},
|
266 |
"energy": null,
|
267 |
"efficiency": null
|