Commit
•
8ea21a3
1
Parent(s):
98b1d93
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,33 +107,32 @@
|
|
107 |
},
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
-
"values": [
|
111 |
-
5.018486025000016
|
112 |
-
],
|
113 |
"count": 1,
|
114 |
-
"total":
|
115 |
-
"mean":
|
116 |
-
"
|
117 |
-
"
|
118 |
-
"
|
119 |
-
"
|
120 |
-
"
|
121 |
-
"
|
|
|
|
|
122 |
},
|
123 |
"throughput": null,
|
124 |
"energy": {
|
125 |
"unit": "kWh",
|
126 |
-
"cpu": 6.
|
127 |
-
"ram": 2.
|
128 |
"gpu": 0,
|
129 |
-
"total": 7.
|
130 |
},
|
131 |
"efficiency": null
|
132 |
},
|
133 |
"prefill": {
|
134 |
"memory": {
|
135 |
"unit": "MB",
|
136 |
-
"max_ram":
|
137 |
"max_global_vram": null,
|
138 |
"max_process_vram": null,
|
139 |
"max_reserved": null,
|
@@ -141,53 +140,51 @@
|
|
141 |
},
|
142 |
"latency": {
|
143 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
"values": [
|
145 |
-
0.
|
146 |
-
0.
|
147 |
-
0.
|
148 |
-
0.
|
149 |
-
0.
|
150 |
-
0.
|
151 |
-
0.
|
152 |
-
0.
|
153 |
-
0.
|
154 |
-
0.
|
155 |
-
0.
|
156 |
-
0.
|
157 |
-
0.
|
158 |
-
0.
|
159 |
-
|
160 |
-
],
|
161 |
-
"count": 15,
|
162 |
-
"total": 0.6498235210000303,
|
163 |
-
"mean": 0.04332156806666868,
|
164 |
-
"p50": 0.043116426999972646,
|
165 |
-
"p90": 0.04583177560000422,
|
166 |
-
"p95": 0.04834471269999198,
|
167 |
-
"p99": 0.05228243613999097,
|
168 |
-
"stdev": 0.003254738193686344,
|
169 |
-
"stdev_": 7.512974111827031
|
170 |
},
|
171 |
"throughput": {
|
172 |
"unit": "tokens/s",
|
173 |
-
"value":
|
174 |
},
|
175 |
"energy": {
|
176 |
"unit": "kWh",
|
177 |
-
"cpu": 1.
|
178 |
-
"ram": 6.
|
179 |
"gpu": 0.0,
|
180 |
-
"total": 1.
|
181 |
},
|
182 |
"efficiency": {
|
183 |
"unit": "tokens/kWh",
|
184 |
-
"value":
|
185 |
}
|
186 |
},
|
187 |
"decode": {
|
188 |
"memory": {
|
189 |
"unit": "MB",
|
190 |
-
"max_ram":
|
191 |
"max_global_vram": null,
|
192 |
"max_process_vram": null,
|
193 |
"max_reserved": null,
|
@@ -195,83 +192,79 @@
|
|
195 |
},
|
196 |
"latency": {
|
197 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
"values": [
|
199 |
-
0.
|
200 |
-
0.
|
201 |
-
0.
|
202 |
-
0.
|
203 |
-
0.
|
204 |
-
0.
|
205 |
-
0.
|
206 |
-
0.
|
207 |
-
0.
|
208 |
-
0.
|
209 |
-
0.
|
210 |
-
0.
|
211 |
-
0.
|
212 |
-
0.
|
213 |
-
|
214 |
-
],
|
215 |
-
"count": 15,
|
216 |
-
"total": 0.4144689880000101,
|
217 |
-
"mean": 0.02763126586666734,
|
218 |
-
"p50": 0.02576454399996919,
|
219 |
-
"p90": 0.029837645199995676,
|
220 |
-
"p95": 0.03481915749999301,
|
221 |
-
"p99": 0.042973096299984935,
|
222 |
-
"stdev": 0.0049190430020378696,
|
223 |
-
"stdev_": 17.802452575912927
|
224 |
},
|
225 |
"throughput": {
|
226 |
"unit": "tokens/s",
|
227 |
-
"value":
|
228 |
},
|
229 |
"energy": {
|
230 |
"unit": "kWh",
|
231 |
-
"cpu":
|
232 |
-
"ram":
|
233 |
"gpu": 0.0,
|
234 |
-
"total":
|
235 |
},
|
236 |
"efficiency": {
|
237 |
"unit": "tokens/kWh",
|
238 |
-
"value":
|
239 |
}
|
240 |
},
|
241 |
"per_token": {
|
242 |
"memory": null,
|
243 |
"latency": {
|
244 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
"values": [
|
246 |
-
0.
|
247 |
-
0.
|
248 |
-
0.
|
249 |
-
0.
|
250 |
-
0.
|
251 |
-
0.
|
252 |
-
0.
|
253 |
-
0.
|
254 |
-
0.
|
255 |
-
0.
|
256 |
-
0.
|
257 |
-
0.
|
258 |
-
0.
|
259 |
-
0.
|
260 |
-
|
261 |
-
],
|
262 |
-
"count": 15,
|
263 |
-
"total": 0.40876263000001245,
|
264 |
-
"mean": 0.02725084200000083,
|
265 |
-
"p50": 0.025370085999952607,
|
266 |
-
"p90": 0.029435863800017614,
|
267 |
-
"p95": 0.034356844200016196,
|
268 |
-
"p99": 0.04241185283996969,
|
269 |
-
"stdev": 0.004860820758867527,
|
270 |
-
"stdev_": 17.83732318754547
|
271 |
},
|
272 |
"throughput": {
|
273 |
"unit": "tokens/s",
|
274 |
-
"value":
|
275 |
},
|
276 |
"energy": null,
|
277 |
"efficiency": null
|
|
|
73 |
"environment": {
|
74 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
75 |
"cpu_count": 4,
|
76 |
+
"cpu_ram_mb": 16766.767104,
|
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": "d070104543478b722db56ba828611524c5fbdbb5",
|
84 |
+
"transformers_version": "4.45.1",
|
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": null,
|
91 |
"optimum_commit": null,
|
92 |
"timm_version": "1.0.9",
|
93 |
"timm_commit": null,
|
|
|
99 |
"load": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 1109.172224,
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
|
|
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.930470970000044
|
120 |
+
]
|
121 |
},
|
122 |
"throughput": null,
|
123 |
"energy": {
|
124 |
"unit": "kWh",
|
125 |
+
"cpu": 6.853615408888882e-05,
|
126 |
+
"ram": 2.866258736320101e-06,
|
127 |
"gpu": 0,
|
128 |
+
"total": 7.140241282520892e-05
|
129 |
},
|
130 |
"efficiency": null
|
131 |
},
|
132 |
"prefill": {
|
133 |
"memory": {
|
134 |
"unit": "MB",
|
135 |
+
"max_ram": 962.895872,
|
136 |
"max_global_vram": null,
|
137 |
"max_process_vram": null,
|
138 |
"max_reserved": null,
|
|
|
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.0463459510000348,
|
153 |
+
0.04666958699999668,
|
154 |
+
0.047329975000025115,
|
155 |
+
0.0446261459999846,
|
156 |
+
0.047654963999946176,
|
157 |
+
0.04614441199998964,
|
158 |
+
0.04707965500000455,
|
159 |
+
0.04652367400001367,
|
160 |
+
0.04698606099998415,
|
161 |
+
0.045985484000027554,
|
162 |
+
0.047731177000002845,
|
163 |
+
0.04650964699999349,
|
164 |
+
0.04085434400002441,
|
165 |
+
0.04057292699997106
|
166 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
+
"value": 43.68079297063228
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
+
"cpu": 1.5875104653333668e-06,
|
175 |
+
"ram": 6.638263849855157e-08,
|
176 |
"gpu": 0.0,
|
177 |
+
"total": 1.6538931038319183e-06
|
178 |
},
|
179 |
"efficiency": {
|
180 |
"unit": "tokens/kWh",
|
181 |
+
"value": 1209267.996441961
|
182 |
}
|
183 |
},
|
184 |
"decode": {
|
185 |
"memory": {
|
186 |
"unit": "MB",
|
187 |
+
"max_ram": 963.682304,
|
188 |
"max_global_vram": null,
|
189 |
"max_process_vram": null,
|
190 |
"max_reserved": null,
|
|
|
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.03040142599996898,
|
205 |
+
0.029417692000038187,
|
206 |
+
0.029012572999988606,
|
207 |
+
0.029859381000051144,
|
208 |
+
0.02980553000003283,
|
209 |
+
0.028902036000033604,
|
210 |
+
0.02909073000000717,
|
211 |
+
0.02921000300000287,
|
212 |
+
0.029020667999986927,
|
213 |
+
0.030029810999963047,
|
214 |
+
0.029415829000015492,
|
215 |
+
0.027117309999994177,
|
216 |
+
0.02473498399996288,
|
217 |
+
0.024781260999986898
|
218 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
},
|
220 |
"throughput": {
|
221 |
"unit": "tokens/s",
|
222 |
+
"value": 34.93020647838577
|
223 |
},
|
224 |
"energy": {
|
225 |
"unit": "kWh",
|
226 |
+
"cpu": 9.531048579305815e-07,
|
227 |
+
"ram": 3.985449635108816e-08,
|
228 |
"gpu": 0.0,
|
229 |
+
"total": 9.929593542816694e-07
|
230 |
},
|
231 |
"efficiency": {
|
232 |
"unit": "tokens/kWh",
|
233 |
+
"value": 1007090.5678948198
|
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.029851164999968205,
|
250 |
+
0.028900623000026826,
|
251 |
+
0.0285269929999572,
|
252 |
+
0.029309801000010793,
|
253 |
+
0.02931706400005396,
|
254 |
+
0.028423539000016262,
|
255 |
+
0.02863482500004011,
|
256 |
+
0.02873774800002593,
|
257 |
+
0.028511734000005617,
|
258 |
+
0.029495488999998543,
|
259 |
+
0.02887723899999628,
|
260 |
+
0.026732337999987976,
|
261 |
+
0.024401427999976022,
|
262 |
+
0.02441806000001634
|
263 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
},
|
265 |
"throughput": {
|
266 |
"unit": "tokens/s",
|
267 |
+
"value": 35.52054956906433
|
268 |
},
|
269 |
"energy": null,
|
270 |
"efficiency": null
|