Commit
•
e8f8713
1
Parent(s):
be9bc61
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
@@ -50,8 +50,8 @@
|
|
50 |
"sequence_length": 2
|
51 |
},
|
52 |
"new_tokens": null,
|
53 |
-
"latency": true,
|
54 |
"memory": true,
|
|
|
55 |
"energy": true,
|
56 |
"forward_kwargs": {},
|
57 |
"generate_kwargs": {
|
@@ -74,14 +74,14 @@
|
|
74 |
"environment": {
|
75 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
76 |
"cpu_count": 4,
|
77 |
-
"cpu_ram_mb": 16757.
|
78 |
"system": "Linux",
|
79 |
"machine": "x86_64",
|
80 |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
81 |
"processor": "x86_64",
|
82 |
"python_version": "3.10.14",
|
83 |
"optimum_benchmark_version": "0.3.1",
|
84 |
-
"optimum_benchmark_commit": "
|
85 |
"transformers_version": "4.42.4",
|
86 |
"transformers_commit": null,
|
87 |
"accelerate_version": "0.32.1",
|
@@ -97,10 +97,43 @@
|
|
97 |
}
|
98 |
},
|
99 |
"report": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
"prefill": {
|
101 |
"memory": {
|
102 |
"unit": "MB",
|
103 |
-
"max_ram":
|
104 |
"max_global_vram": null,
|
105 |
"max_process_vram": null,
|
106 |
"max_reserved": null,
|
@@ -108,52 +141,50 @@
|
|
108 |
},
|
109 |
"latency": {
|
110 |
"unit": "s",
|
111 |
-
"count":
|
112 |
-
"total": 0.
|
113 |
-
"mean": 0.
|
114 |
-
"stdev": 0.
|
115 |
-
"p50": 0.
|
116 |
-
"p90": 0.
|
117 |
-
"p95": 0.
|
118 |
-
"p99": 0.
|
119 |
"values": [
|
120 |
-
0.
|
121 |
-
0.
|
122 |
-
0.
|
123 |
-
0.
|
124 |
-
0.
|
125 |
-
0.
|
126 |
-
0.
|
127 |
-
0.
|
128 |
-
0.
|
129 |
-
0.
|
130 |
-
0.
|
131 |
-
0.
|
132 |
-
0.
|
133 |
-
0.04072102499998209,
|
134 |
-
0.04082586100000185
|
135 |
]
|
136 |
},
|
137 |
"throughput": {
|
138 |
"unit": "tokens/s",
|
139 |
-
"value":
|
140 |
},
|
141 |
"energy": {
|
142 |
"unit": "kWh",
|
143 |
-
"cpu": 1.
|
144 |
-
"ram": 6.
|
145 |
"gpu": 0.0,
|
146 |
-
"total": 1.
|
147 |
},
|
148 |
"efficiency": {
|
149 |
"unit": "tokens/kWh",
|
150 |
-
"value":
|
151 |
}
|
152 |
},
|
153 |
"decode": {
|
154 |
"memory": {
|
155 |
"unit": "MB",
|
156 |
-
"max_ram":
|
157 |
"max_global_vram": null,
|
158 |
"max_process_vram": null,
|
159 |
"max_reserved": null,
|
@@ -161,81 +192,77 @@
|
|
161 |
},
|
162 |
"latency": {
|
163 |
"unit": "s",
|
164 |
-
"count":
|
165 |
-
"total": 0.
|
166 |
-
"mean": 0.
|
167 |
-
"stdev": 0.
|
168 |
-
"p50": 0.
|
169 |
-
"p90": 0.
|
170 |
-
"p95": 0.
|
171 |
-
"p99": 0.
|
172 |
"values": [
|
173 |
-
0.
|
174 |
-
0.
|
175 |
-
0.
|
176 |
-
0.
|
177 |
-
0.
|
178 |
-
0.
|
179 |
-
0.
|
180 |
-
0.
|
181 |
-
0.
|
182 |
-
0.
|
183 |
-
0.
|
184 |
-
0.
|
185 |
-
0.
|
186 |
-
0.024568122999994557,
|
187 |
-
0.024732912000018814
|
188 |
]
|
189 |
},
|
190 |
"throughput": {
|
191 |
"unit": "tokens/s",
|
192 |
-
"value":
|
193 |
},
|
194 |
"energy": {
|
195 |
"unit": "kWh",
|
196 |
-
"cpu": 9.
|
197 |
-
"ram": 4.
|
198 |
"gpu": 0.0,
|
199 |
-
"total": 1.
|
200 |
},
|
201 |
"efficiency": {
|
202 |
"unit": "tokens/kWh",
|
203 |
-
"value":
|
204 |
}
|
205 |
},
|
206 |
"per_token": {
|
207 |
"memory": null,
|
208 |
"latency": {
|
209 |
"unit": "s",
|
210 |
-
"count":
|
211 |
-
"total": 0.
|
212 |
-
"mean": 0.
|
213 |
-
"stdev": 0.
|
214 |
-
"p50": 0.
|
215 |
-
"p90": 0.
|
216 |
-
"p95": 0.
|
217 |
-
"p99": 0.
|
218 |
"values": [
|
219 |
-
0.
|
220 |
-
0.
|
221 |
-
0.
|
222 |
-
0.
|
223 |
-
0.
|
224 |
-
0.
|
225 |
-
0.
|
226 |
-
0.
|
227 |
-
0.
|
228 |
-
0.
|
229 |
-
0.
|
230 |
-
0.
|
231 |
-
0.
|
232 |
-
0.024259223000001384,
|
233 |
-
0.024429832999999235
|
234 |
]
|
235 |
},
|
236 |
"throughput": {
|
237 |
"unit": "tokens/s",
|
238 |
-
"value":
|
239 |
},
|
240 |
"energy": null,
|
241 |
"efficiency": null
|
|
|
50 |
"sequence_length": 2
|
51 |
},
|
52 |
"new_tokens": null,
|
|
|
53 |
"memory": true,
|
54 |
+
"latency": true,
|
55 |
"energy": true,
|
56 |
"forward_kwargs": {},
|
57 |
"generate_kwargs": {
|
|
|
74 |
"environment": {
|
75 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
76 |
"cpu_count": 4,
|
77 |
+
"cpu_ram_mb": 16757.342208,
|
78 |
"system": "Linux",
|
79 |
"machine": "x86_64",
|
80 |
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
81 |
"processor": "x86_64",
|
82 |
"python_version": "3.10.14",
|
83 |
"optimum_benchmark_version": "0.3.1",
|
84 |
+
"optimum_benchmark_commit": "701e27ceb63d18a62041650e250fe65f56ad5904",
|
85 |
"transformers_version": "4.42.4",
|
86 |
"transformers_commit": null,
|
87 |
"accelerate_version": "0.32.1",
|
|
|
97 |
}
|
98 |
},
|
99 |
"report": {
|
100 |
+
"load": {
|
101 |
+
"memory": {
|
102 |
+
"unit": "MB",
|
103 |
+
"max_ram": 1100.894208,
|
104 |
+
"max_global_vram": null,
|
105 |
+
"max_process_vram": null,
|
106 |
+
"max_reserved": null,
|
107 |
+
"max_allocated": null
|
108 |
+
},
|
109 |
+
"latency": {
|
110 |
+
"unit": "s",
|
111 |
+
"count": 1,
|
112 |
+
"total": 4.780214838999996,
|
113 |
+
"mean": 4.780214838999996,
|
114 |
+
"stdev": 0.0,
|
115 |
+
"p50": 4.780214838999996,
|
116 |
+
"p90": 4.780214838999996,
|
117 |
+
"p95": 4.780214838999996,
|
118 |
+
"p99": 4.780214838999996,
|
119 |
+
"values": [
|
120 |
+
4.780214838999996
|
121 |
+
]
|
122 |
+
},
|
123 |
+
"throughput": null,
|
124 |
+
"energy": {
|
125 |
+
"unit": "kWh",
|
126 |
+
"cpu": 6.719004842970107e-05,
|
127 |
+
"ram": 2.8083748754738735e-06,
|
128 |
+
"gpu": 0,
|
129 |
+
"total": 6.999842330517495e-05
|
130 |
+
},
|
131 |
+
"efficiency": null
|
132 |
+
},
|
133 |
"prefill": {
|
134 |
"memory": {
|
135 |
"unit": "MB",
|
136 |
+
"max_ram": 954.617856,
|
137 |
"max_global_vram": null,
|
138 |
"max_process_vram": null,
|
139 |
"max_reserved": null,
|
|
|
141 |
},
|
142 |
"latency": {
|
143 |
"unit": "s",
|
144 |
+
"count": 13,
|
145 |
+
"total": 0.6210275410000463,
|
146 |
+
"mean": 0.04777134930769587,
|
147 |
+
"stdev": 0.0009193228560687074,
|
148 |
+
"p50": 0.04778399599999261,
|
149 |
+
"p90": 0.048928459800009705,
|
150 |
+
"p95": 0.04905860220000591,
|
151 |
+
"p99": 0.04913323403999925,
|
152 |
"values": [
|
153 |
+
0.046934160000006386,
|
154 |
+
0.048996409000011454,
|
155 |
+
0.04865666300000271,
|
156 |
+
0.04644031399999449,
|
157 |
+
0.04915189199999759,
|
158 |
+
0.04778399599999261,
|
159 |
+
0.04638372900001286,
|
160 |
+
0.04696660100000827,
|
161 |
+
0.04861415299998839,
|
162 |
+
0.047880627000012055,
|
163 |
+
0.04846331000001669,
|
164 |
+
0.04772424300000466,
|
165 |
+
0.047031443999998146
|
|
|
|
|
166 |
]
|
167 |
},
|
168 |
"throughput": {
|
169 |
"unit": "tokens/s",
|
170 |
+
"value": 41.86609817357208
|
171 |
},
|
172 |
"energy": {
|
173 |
"unit": "kWh",
|
174 |
+
"cpu": 1.6613422168625727e-06,
|
175 |
+
"ram": 6.942955414174889e-08,
|
176 |
"gpu": 0.0,
|
177 |
+
"total": 1.7307717710043216e-06
|
178 |
},
|
179 |
"efficiency": {
|
180 |
"unit": "tokens/kWh",
|
181 |
+
"value": 1155553.8595591101
|
182 |
}
|
183 |
},
|
184 |
"decode": {
|
185 |
"memory": {
|
186 |
"unit": "MB",
|
187 |
+
"max_ram": 955.142144,
|
188 |
"max_global_vram": null,
|
189 |
"max_process_vram": null,
|
190 |
"max_reserved": null,
|
|
|
192 |
},
|
193 |
"latency": {
|
194 |
"unit": "s",
|
195 |
+
"count": 13,
|
196 |
+
"total": 0.3904060739999977,
|
197 |
+
"mean": 0.030031236461538286,
|
198 |
+
"stdev": 0.0013511350541828351,
|
199 |
+
"p50": 0.030393991000011056,
|
200 |
+
"p90": 0.030839727000005722,
|
201 |
+
"p95": 0.03114112640000144,
|
202 |
+
"p99": 0.031457420479995335,
|
203 |
"values": [
|
204 |
+
0.03064129500000945,
|
205 |
+
0.030629632999989553,
|
206 |
+
0.030877548000006527,
|
207 |
+
0.030530687000009493,
|
208 |
+
0.030393991000011056,
|
209 |
+
0.029912327000005234,
|
210 |
+
0.030688443000002508,
|
211 |
+
0.030184567999981482,
|
212 |
+
0.030314922000002298,
|
213 |
+
0.028842239999988806,
|
214 |
+
0.03153649399999381,
|
215 |
+
0.030026883000005,
|
216 |
+
0.0258270429999925
|
|
|
|
|
217 |
]
|
218 |
},
|
219 |
"throughput": {
|
220 |
"unit": "tokens/s",
|
221 |
+
"value": 33.29866225390765
|
222 |
},
|
223 |
"energy": {
|
224 |
"unit": "kWh",
|
225 |
+
"cpu": 9.93105868498485e-07,
|
226 |
+
"ram": 4.150323855341754e-08,
|
227 |
"gpu": 0.0,
|
228 |
+
"total": 1.034609107051902e-06
|
229 |
},
|
230 |
"efficiency": {
|
231 |
"unit": "tokens/kWh",
|
232 |
+
"value": 966548.6154954502
|
233 |
}
|
234 |
},
|
235 |
"per_token": {
|
236 |
"memory": null,
|
237 |
"latency": {
|
238 |
"unit": "s",
|
239 |
+
"count": 13,
|
240 |
+
"total": 0.3842157409999629,
|
241 |
+
"mean": 0.029555056999997147,
|
242 |
+
"stdev": 0.0013057223390617963,
|
243 |
+
"p50": 0.029879836000020532,
|
244 |
+
"p90": 0.030366949999989856,
|
245 |
+
"p95": 0.030661538399994016,
|
246 |
+
"p99": 0.030966545279997034,
|
247 |
"values": [
|
248 |
+
0.03012916399998744,
|
249 |
+
0.030111852000004546,
|
250 |
+
0.030407365999991498,
|
251 |
+
0.03005145800000264,
|
252 |
+
0.029879836000020532,
|
253 |
+
0.029448957999989034,
|
254 |
+
0.03020528599998329,
|
255 |
+
0.029668710999999348,
|
256 |
+
0.02982945200000131,
|
257 |
+
0.028376034999979538,
|
258 |
+
0.03104279699999779,
|
259 |
+
0.029549588000008953,
|
260 |
+
0.025515237999996998
|
|
|
|
|
261 |
]
|
262 |
},
|
263 |
"throughput": {
|
264 |
"unit": "tokens/s",
|
265 |
+
"value": 33.83515721184691
|
266 |
},
|
267 |
"energy": null,
|
268 |
"efficiency": null
|