Commit
•
31afde9
1
Parent(s):
9bc0c9c
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.dev0",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.46.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.1.1",
|
@@ -101,7 +101,7 @@
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
-
"max_ram": 1132.
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
@@ -110,32 +110,32 @@
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
-
1.
|
114 |
],
|
115 |
"count": 1,
|
116 |
-
"total": 1.
|
117 |
-
"mean": 1.
|
118 |
-
"p50": 1.
|
119 |
-
"p90": 1.
|
120 |
-
"p95": 1.
|
121 |
-
"p99": 1.
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
-
"cpu": 0.
|
129 |
-
"ram": 8.
|
130 |
"gpu": 0,
|
131 |
-
"total": 0.
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
-
"max_ram":
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
@@ -144,44 +144,44 @@
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
-
0.
|
148 |
-
0.
|
149 |
-
0.
|
150 |
-
0.
|
151 |
-
0.
|
152 |
-
0.
|
153 |
-
0.
|
154 |
],
|
155 |
"count": 7,
|
156 |
-
"total": 0.
|
157 |
-
"mean": 0.
|
158 |
-
"p50": 0.
|
159 |
-
"p90": 0.
|
160 |
-
"p95": 0.
|
161 |
-
"p99": 0.
|
162 |
-
"stdev": 0.
|
163 |
-
"stdev_":
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
-
"value":
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
-
"cpu":
|
172 |
-
"ram": 1.
|
173 |
"gpu": 0.0,
|
174 |
-
"total": 4.
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
-
"value":
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
-
"max_ram": 1024.
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
@@ -190,38 +190,38 @@
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
-
0.
|
194 |
-
0.
|
195 |
-
0.
|
196 |
-
0.
|
197 |
-
0.
|
198 |
-
0.
|
199 |
-
0.
|
200 |
],
|
201 |
"count": 7,
|
202 |
-
"total": 0.
|
203 |
-
"mean": 0.
|
204 |
-
"p50": 0.
|
205 |
-
"p90": 0.
|
206 |
-
"p95": 0.
|
207 |
-
"p99": 0.
|
208 |
-
"stdev": 0.
|
209 |
-
"stdev_": 6.
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
-
"value":
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
-
"cpu": 1.
|
218 |
-
"ram":
|
219 |
"gpu": 0.0,
|
220 |
-
"total": 1.
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
-
"value":
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
@@ -229,23 +229,23 @@
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
-
0.
|
233 |
-
0.
|
234 |
-
0.
|
235 |
-
0.
|
236 |
-
0.
|
237 |
-
0.
|
238 |
-
0.
|
239 |
],
|
240 |
"count": 7,
|
241 |
-
"total": 0.
|
242 |
-
"mean": 0.
|
243 |
-
"p50": 0.
|
244 |
-
"p90": 0.
|
245 |
-
"p95": 0.
|
246 |
-
"p99": 0.
|
247 |
-
"stdev": 0.
|
248 |
-
"stdev_": 6.
|
249 |
},
|
250 |
"throughput": null,
|
251 |
"energy": null,
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "dcb5f2ebfa5a1d3b392d8db4e17c100e900e10f7",
|
84 |
"transformers_version": "4.46.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.1.1",
|
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1132.335104,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.725400731000036
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.725400731000036,
|
117 |
+
"mean": 1.725400731000036,
|
118 |
+
"p50": 1.725400731000036,
|
119 |
+
"p90": 1.725400731000036,
|
120 |
+
"p95": 1.725400731000036,
|
121 |
+
"p99": 1.725400731000036,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00019815607244999856,
|
129 |
+
"ram": 8.282966657554161e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00020643903910755272
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1016.107008,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.11103460900000073,
|
148 |
+
0.11002119800002674,
|
149 |
+
0.11457271199998331,
|
150 |
+
0.10989320000004454,
|
151 |
+
0.11037127100001953,
|
152 |
+
0.10607595700003003,
|
153 |
+
0.10002104400001599
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.7619899910001209,
|
157 |
+
"mean": 0.10885571300001727,
|
158 |
+
"p50": 0.11002119800002674,
|
159 |
+
"p90": 0.11244985019999376,
|
160 |
+
"p95": 0.11351128109998854,
|
161 |
+
"p99": 0.11436042581998436,
|
162 |
+
"stdev": 0.004275206523252897,
|
163 |
+
"stdev_": 3.9274066610102665
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 18.372944743834278
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.005293584444492e-06,
|
172 |
+
"ram": 1.673886898267235e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.1726822742712155e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 479308.00107451563
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1024.417792,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.04661776599999712,
|
194 |
+
0.0487299469999698,
|
195 |
+
0.047495572999991964,
|
196 |
+
0.048822137999991355,
|
197 |
+
0.048169451999967805,
|
198 |
+
0.04121001199996499,
|
199 |
+
0.04216588600002069
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.3232107739999037,
|
203 |
+
"mean": 0.04617296771427196,
|
204 |
+
"p50": 0.047495572999991964,
|
205 |
+
"p90": 0.04876682339997842,
|
206 |
+
"p95": 0.04879448069998489,
|
207 |
+
"p99": 0.048816606539990065,
|
208 |
+
"stdev": 0.0029320144054634048,
|
209 |
+
"stdev_": 6.350067042706301
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 43.31538774757604
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.6004410488886195e-06,
|
218 |
+
"ram": 6.688322071027094e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.6673242695988904e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1199526.7126298964
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.04544221199995491,
|
233 |
+
0.04760416599998507,
|
234 |
+
0.04637427000000116,
|
235 |
+
0.047691086999975596,
|
236 |
+
0.04712295799998856,
|
237 |
+
0.04038317899994581,
|
238 |
+
0.041264212999976735
|
239 |
],
|
240 |
"count": 7,
|
241 |
+
"total": 0.31588208499982784,
|
242 |
+
"mean": 0.04512601214283255,
|
243 |
+
"p50": 0.04637427000000116,
|
244 |
+
"p90": 0.04763893439998128,
|
245 |
+
"p95": 0.04766501069997844,
|
246 |
+
"p99": 0.04768587173997616,
|
247 |
+
"stdev": 0.002822732647315213,
|
248 |
+
"stdev_": 6.255222904210367
|
249 |
},
|
250 |
"throughput": null,
|
251 |
"energy": null,
|