Commit
•
b6dba5c
1
Parent(s):
cef804c
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
@@ -73,21 +73,21 @@
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
-
"cpu_ram_mb": 16766.
|
77 |
"system": "Linux",
|
78 |
"machine": "x86_64",
|
79 |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
|
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.
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.34.2",
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.30.3",
|
89 |
"diffusers_commit": null,
|
90 |
-
"optimum_version":
|
91 |
"optimum_commit": null,
|
92 |
"timm_version": "1.0.9",
|
93 |
"timm_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,
|
@@ -107,32 +107,33 @@
|
|
107 |
},
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
-
"count": 1,
|
111 |
-
"total": 4.930470970000044,
|
112 |
-
"mean": 4.930470970000044,
|
113 |
-
"stdev": 0.0,
|
114 |
-
"p50": 4.930470970000044,
|
115 |
-
"p90": 4.930470970000044,
|
116 |
-
"p95": 4.930470970000044,
|
117 |
-
"p99": 4.930470970000044,
|
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": 7.
|
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 +141,52 @@
|
|
140 |
},
|
141 |
"latency": {
|
142 |
"unit": "s",
|
143 |
-
"count": 14,
|
144 |
-
"total": 0.6410140039999987,
|
145 |
-
"mean": 0.04578671457142848,
|
146 |
-
"stdev": 0.0022030377673999,
|
147 |
-
"p50": 0.04651666050000358,
|
148 |
-
"p90": 0.04755746729996986,
|
149 |
-
"p95": 0.04768163854996601,
|
150 |
-
"p99": 0.04772126930999548,
|
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.
|
166 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
-
"value":
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
-
"cpu": 1.
|
175 |
-
"ram": 6.
|
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 +194,81 @@
|
|
192 |
},
|
193 |
"latency": {
|
194 |
"unit": "s",
|
195 |
-
"count": 14,
|
196 |
-
"total": 0.4007992340000328,
|
197 |
-
"mean": 0.02862851671428806,
|
198 |
-
"stdev": 0.0017407399860645877,
|
199 |
-
"p50": 0.02915036650000502,
|
200 |
-
"p90": 0.029978681999989477,
|
201 |
-
"p95": 0.030159876249965124,
|
202 |
-
"p99": 0.030353116049968206,
|
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.
|
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": 14,
|
241 |
-
"total": 0.39413804600008007,
|
242 |
-
"mean": 0.02815271757143429,
|
243 |
-
"stdev": 0.00167802867631015,
|
244 |
-
"p50": 0.02868628650003302,
|
245 |
-
"p90": 0.029441961500015167,
|
246 |
-
"p95": 0.029619975599987924,
|
247 |
-
"p99": 0.02980492711997215,
|
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.
|
263 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
},
|
265 |
"throughput": {
|
266 |
"unit": "tokens/s",
|
267 |
-
"value":
|
268 |
},
|
269 |
"energy": null,
|
270 |
"efficiency": null
|
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
+
"cpu_ram_mb": 16766.7712,
|
77 |
"system": "Linux",
|
78 |
"machine": "x86_64",
|
79 |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0",
|
83 |
+
"optimum_benchmark_commit": "11fc1578907ddfc66a9a7fb8f19815e001677ad1",
|
84 |
+
"transformers_version": "4.44.2",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.34.2",
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.30.3",
|
89 |
"diffusers_commit": null,
|
90 |
+
"optimum_version": "1.22.0",
|
91 |
"optimum_commit": null,
|
92 |
"timm_version": "1.0.9",
|
93 |
"timm_commit": null,
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1123.565568,
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
|
|
107 |
},
|
108 |
"latency": {
|
109 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
"values": [
|
111 |
+
4.8573465760000545
|
112 |
+
],
|
113 |
+
"count": 1,
|
114 |
+
"total": 4.8573465760000545,
|
115 |
+
"mean": 4.8573465760000545,
|
116 |
+
"p50": 4.8573465760000545,
|
117 |
+
"p90": 4.8573465760000545,
|
118 |
+
"p95": 4.8573465760000545,
|
119 |
+
"p99": 4.8573465760000545,
|
120 |
+
"stdev": 0,
|
121 |
+
"stdev_": 0
|
122 |
},
|
123 |
"throughput": null,
|
124 |
"energy": {
|
125 |
"unit": "kWh",
|
126 |
+
"cpu": 6.719798400000154e-05,
|
127 |
+
"ram": 2.8102931709536304e-06,
|
128 |
"gpu": 0,
|
129 |
+
"total": 7.000827717095517e-05
|
130 |
},
|
131 |
"efficiency": null
|
132 |
},
|
133 |
"prefill": {
|
134 |
"memory": {
|
135 |
"unit": "MB",
|
136 |
+
"max_ram": 977.682432,
|
137 |
"max_global_vram": null,
|
138 |
"max_process_vram": null,
|
139 |
"max_reserved": null,
|
|
|
141 |
},
|
142 |
"latency": {
|
143 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
"values": [
|
145 |
+
0.04630481799995323,
|
146 |
+
0.0470446260000017,
|
147 |
+
0.04603730700000597,
|
148 |
+
0.046565658000019994,
|
149 |
+
0.0455081049999535,
|
150 |
+
0.046259904999999435,
|
151 |
+
0.04572195599996576,
|
152 |
+
0.045591602000001785,
|
153 |
+
0.04389122499998166,
|
154 |
+
0.04136033000003181,
|
155 |
+
0.041230656999971416,
|
156 |
+
0.04081635099998948,
|
157 |
+
0.0408525380000242,
|
158 |
+
0.041183838999984346
|
159 |
+
],
|
160 |
+
"count": 14,
|
161 |
+
"total": 0.6183689169998843,
|
162 |
+
"mean": 0.044169208357134594,
|
163 |
+
"p50": 0.045549853499977644,
|
164 |
+
"p90": 0.04648740599999997,
|
165 |
+
"p95": 0.04673329680001359,
|
166 |
+
"p99": 0.04698236016000408,
|
167 |
+
"stdev": 0.002396665027435716,
|
168 |
+
"stdev_": 5.426099123301552
|
169 |
},
|
170 |
"throughput": {
|
171 |
"unit": "tokens/s",
|
172 |
+
"value": 45.28041308390221
|
173 |
},
|
174 |
"energy": {
|
175 |
"unit": "kWh",
|
176 |
+
"cpu": 1.5957989506667272e-06,
|
177 |
+
"ram": 6.672429846512299e-08,
|
178 |
"gpu": 0.0,
|
179 |
+
"total": 1.6625232491318501e-06
|
180 |
},
|
181 |
"efficiency": {
|
182 |
"unit": "tokens/kWh",
|
183 |
+
"value": 1202990.6956455354
|
184 |
}
|
185 |
},
|
186 |
"decode": {
|
187 |
"memory": {
|
188 |
"unit": "MB",
|
189 |
+
"max_ram": 977.682432,
|
190 |
"max_global_vram": null,
|
191 |
"max_process_vram": null,
|
192 |
"max_reserved": null,
|
|
|
194 |
},
|
195 |
"latency": {
|
196 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
"values": [
|
198 |
+
0.029135696000025746,
|
199 |
+
0.029277450999984467,
|
200 |
+
0.02968723899999759,
|
201 |
+
0.02938342999999577,
|
202 |
+
0.028686463000042295,
|
203 |
+
0.0294013330000098,
|
204 |
+
0.029345559000034882,
|
205 |
+
0.02893657199996369,
|
206 |
+
0.02552264199999854,
|
207 |
+
0.02556433099999822,
|
208 |
+
0.025453203000040503,
|
209 |
+
0.02569494599998734,
|
210 |
+
0.025918395000019245,
|
211 |
+
0.02544346500002348
|
212 |
+
],
|
213 |
+
"count": 14,
|
214 |
+
"total": 0.38745072500012157,
|
215 |
+
"mean": 0.02767505178572297,
|
216 |
+
"p50": 0.028811517500002992,
|
217 |
+
"p90": 0.029395962100005592,
|
218 |
+
"p95": 0.029501400100005525,
|
219 |
+
"p99": 0.029650071219999175,
|
220 |
+
"stdev": 0.0018139323712620579,
|
221 |
+
"stdev_": 6.554395580924734
|
222 |
},
|
223 |
"throughput": {
|
224 |
"unit": "tokens/s",
|
225 |
+
"value": 36.13362705669375
|
226 |
},
|
227 |
"energy": {
|
228 |
"unit": "kWh",
|
229 |
+
"cpu": 9.868924708610581e-07,
|
230 |
+
"ram": 4.127408869451202e-08,
|
231 |
"gpu": 0.0,
|
232 |
+
"total": 1.0281665595555707e-06
|
233 |
},
|
234 |
"efficiency": {
|
235 |
"unit": "tokens/kWh",
|
236 |
+
"value": 972605.0616081641
|
237 |
}
|
238 |
},
|
239 |
"per_token": {
|
240 |
"memory": null,
|
241 |
"latency": {
|
242 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
"values": [
|
244 |
+
0.028589371999999003,
|
245 |
+
0.02876865700000053,
|
246 |
+
0.029132219000018722,
|
247 |
+
0.02884325700000545,
|
248 |
+
0.02818535400001565,
|
249 |
+
0.028846983999983422,
|
250 |
+
0.028822267999998985,
|
251 |
+
0.02845798499998864,
|
252 |
+
0.025190460000033,
|
253 |
+
0.025235834999989493,
|
254 |
+
0.02514237000002595,
|
255 |
+
0.02538224900001751,
|
256 |
+
0.025580941999976403,
|
257 |
+
0.02513525700004493
|
258 |
+
],
|
259 |
+
"count": 14,
|
260 |
+
"total": 0.3813132090000977,
|
261 |
+
"mean": 0.027236657785721263,
|
262 |
+
"p50": 0.028321669500002145,
|
263 |
+
"p90": 0.028845865899990032,
|
264 |
+
"p95": 0.028946816249995778,
|
265 |
+
"p99": 0.029095138450014133,
|
266 |
+
"stdev": 0.0017117767738086351,
|
267 |
+
"stdev_": 6.284826821542065
|
268 |
},
|
269 |
"throughput": {
|
270 |
"unit": "tokens/s",
|
271 |
+
"value": 36.715224307890196
|
272 |
},
|
273 |
"energy": null,
|
274 |
"efficiency": null
|