Commit
•
0a55aa6
1
Parent(s):
b98280a
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",
|
@@ -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
|
@@ -101,7 +101,7 @@
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
-
"max_ram":
|
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_": 2.
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
-
"value": 18.
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
-
"cpu": 4.
|
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": 1022.
|
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_":
|
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_":
|
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": "40840832071b47fad85a56ce96b8e82d55645609",
|
84 |
"transformers_version": "4.46.3",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "1.1.1",
|
|
|
89 |
"diffusers_commit": null,
|
90 |
"optimum_version": null,
|
91 |
"optimum_commit": null,
|
92 |
+
"timm_version": "1.0.12",
|
93 |
"timm_commit": null,
|
94 |
"peft_version": null,
|
95 |
"peft_commit": null
|
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 1130.283008,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
1.8485716970000112
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 1.8485716970000112,
|
117 |
+
"mean": 1.8485716970000112,
|
118 |
+
"p50": 1.8485716970000112,
|
119 |
+
"p90": 1.8485716970000112,
|
120 |
+
"p95": 1.8485716970000112,
|
121 |
+
"p99": 1.8485716970000112,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.00019863456464444453,
|
129 |
+
"ram": 8.303009745672998e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00020693757439011753
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"prefill": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 1014.784,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
0.10793218400004889,
|
148 |
+
0.10946573199998966,
|
149 |
+
0.11004401799999641,
|
150 |
+
0.11017489300002126,
|
151 |
+
0.11109281500000634,
|
152 |
+
0.10487525700000333,
|
153 |
+
0.10506668600004332
|
154 |
],
|
155 |
"count": 7,
|
156 |
+
"total": 0.7586515850001092,
|
157 |
+
"mean": 0.10837879785715845,
|
158 |
+
"p50": 0.10946573199998966,
|
159 |
+
"p90": 0.11054206180001529,
|
160 |
+
"p95": 0.11081743840001082,
|
161 |
+
"p99": 0.11103773968000723,
|
162 |
+
"stdev": 0.0023296406282641608,
|
163 |
+
"stdev_": 2.1495354020576887
|
164 |
},
|
165 |
"throughput": {
|
166 |
"unit": "samples/s",
|
167 |
+
"value": 18.453793911203633
|
168 |
},
|
169 |
"energy": {
|
170 |
"unit": "kWh",
|
171 |
+
"cpu": 4.278767783889002e-06,
|
172 |
+
"ram": 1.7881007598679773e-07,
|
173 |
"gpu": 0.0,
|
174 |
+
"total": 4.457577859875799e-06
|
175 |
},
|
176 |
"efficiency": {
|
177 |
"unit": "samples/kWh",
|
178 |
+
"value": 448674.1595705354
|
179 |
}
|
180 |
},
|
181 |
"decode": {
|
182 |
"memory": {
|
183 |
"unit": "MB",
|
184 |
+
"max_ram": 1022.808064,
|
185 |
"max_global_vram": null,
|
186 |
"max_process_vram": null,
|
187 |
"max_reserved": null,
|
|
|
190 |
"latency": {
|
191 |
"unit": "s",
|
192 |
"values": [
|
193 |
+
0.04858038399999032,
|
194 |
+
0.048843408000038835,
|
195 |
+
0.04863055800001348,
|
196 |
+
0.048281131999999616,
|
197 |
+
0.049523878999991666,
|
198 |
+
0.04181250300001693,
|
199 |
+
0.04184231900001123
|
200 |
],
|
201 |
"count": 7,
|
202 |
+
"total": 0.3275141830000621,
|
203 |
+
"mean": 0.0467877404285803,
|
204 |
+
"p50": 0.04858038399999032,
|
205 |
+
"p90": 0.049115596400019966,
|
206 |
+
"p95": 0.04931973770000582,
|
207 |
+
"p99": 0.0494830507399945,
|
208 |
+
"stdev": 0.003156901056966333,
|
209 |
+
"stdev_": 6.747282574556516
|
210 |
},
|
211 |
"throughput": {
|
212 |
"unit": "tokens/s",
|
213 |
+
"value": 42.746240397159674
|
214 |
},
|
215 |
"energy": {
|
216 |
"unit": "kWh",
|
217 |
+
"cpu": 1.396108804999838e-06,
|
218 |
+
"ram": 5.8350869861048635e-08,
|
219 |
"gpu": 0.0,
|
220 |
+
"total": 1.454459674860889e-06
|
221 |
},
|
222 |
"efficiency": {
|
223 |
"unit": "tokens/kWh",
|
224 |
+
"value": 1375081.0933904296
|
225 |
}
|
226 |
},
|
227 |
"per_token": {
|
|
|
229 |
"latency": {
|
230 |
"unit": "s",
|
231 |
"values": [
|
232 |
+
0.04740218299997423,
|
233 |
+
0.04776777900002571,
|
234 |
+
0.04745439099997384,
|
235 |
+
0.04705864799996107,
|
236 |
+
0.048192530999983774,
|
237 |
+
0.040815782000038325,
|
238 |
+
0.04088275800000929
|
239 |
],
|
240 |
"count": 7,
|
241 |
+
"total": 0.31957407199996624,
|
242 |
+
"mean": 0.04565343885713803,
|
243 |
+
"p50": 0.04740218299997423,
|
244 |
+
"p90": 0.04793767980000894,
|
245 |
+
"p95": 0.04806510539999635,
|
246 |
+
"p99": 0.04816704587998629,
|
247 |
+
"stdev": 0.0030555778104562428,
|
248 |
+
"stdev_": 6.692984990721013
|
249 |
},
|
250 |
"throughput": null,
|
251 |
"energy": null,
|