Commit
•
bc8a3a5
1
Parent(s):
7439eb9
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
@@ -66,6 +66,8 @@
|
|
66 |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
67 |
"device_isolation": false,
|
68 |
"device_isolation_action": "error",
|
|
|
|
|
69 |
"start_method": "spawn"
|
70 |
},
|
71 |
"environment": {
|
@@ -78,8 +80,8 @@
|
|
78 |
"processor": "x86_64",
|
79 |
"python_version": "3.10.14",
|
80 |
"optimum_benchmark_version": "0.2.1",
|
81 |
-
"optimum_benchmark_commit": "
|
82 |
-
"transformers_version": "4.
|
83 |
"transformers_commit": null,
|
84 |
"accelerate_version": "0.30.1",
|
85 |
"accelerate_commit": null,
|
@@ -97,7 +99,7 @@
|
|
97 |
"prefill": {
|
98 |
"memory": {
|
99 |
"unit": "MB",
|
100 |
-
"max_ram":
|
101 |
"max_global_vram": null,
|
102 |
"max_process_vram": null,
|
103 |
"max_reserved": null,
|
@@ -106,50 +108,50 @@
|
|
106 |
"latency": {
|
107 |
"unit": "s",
|
108 |
"count": 14,
|
109 |
-
"total": 0.
|
110 |
-
"mean": 0.
|
111 |
-
"stdev": 0.
|
112 |
-
"p50": 0.
|
113 |
-
"p90": 0.
|
114 |
-
"p95": 0.
|
115 |
-
"p99": 0.
|
116 |
"values": [
|
117 |
-
0.
|
118 |
-
0.
|
119 |
-
0.
|
120 |
-
0.
|
121 |
-
0.
|
122 |
-
0.
|
123 |
-
0.
|
124 |
-
0.
|
125 |
-
0.
|
126 |
-
0.
|
127 |
-
0.
|
128 |
-
0.
|
129 |
-
0.
|
130 |
-
0.
|
131 |
]
|
132 |
},
|
133 |
"throughput": {
|
134 |
"unit": "tokens/s",
|
135 |
-
"value":
|
136 |
},
|
137 |
"energy": {
|
138 |
"unit": "kWh",
|
139 |
-
"cpu": 1.
|
140 |
-
"ram":
|
141 |
"gpu": 0.0,
|
142 |
-
"total": 1.
|
143 |
},
|
144 |
"efficiency": {
|
145 |
"unit": "tokens/kWh",
|
146 |
-
"value":
|
147 |
}
|
148 |
},
|
149 |
"decode": {
|
150 |
"memory": {
|
151 |
"unit": "MB",
|
152 |
-
"max_ram":
|
153 |
"max_global_vram": null,
|
154 |
"max_process_vram": null,
|
155 |
"max_reserved": null,
|
@@ -158,44 +160,44 @@
|
|
158 |
"latency": {
|
159 |
"unit": "s",
|
160 |
"count": 14,
|
161 |
-
"total": 0.
|
162 |
-
"mean": 0.
|
163 |
-
"stdev": 0.
|
164 |
-
"p50": 0.
|
165 |
-
"p90": 0.
|
166 |
-
"p95": 0.
|
167 |
-
"p99": 0.
|
168 |
"values": [
|
169 |
-
0.
|
170 |
-
0.
|
171 |
-
0.
|
172 |
-
0.
|
173 |
-
0.
|
174 |
-
0.
|
175 |
-
0.
|
176 |
-
0.
|
177 |
-
0.
|
178 |
-
0.
|
179 |
-
0.
|
180 |
-
0.
|
181 |
-
0.
|
182 |
-
0.
|
183 |
]
|
184 |
},
|
185 |
"throughput": {
|
186 |
"unit": "tokens/s",
|
187 |
-
"value":
|
188 |
},
|
189 |
"energy": {
|
190 |
"unit": "kWh",
|
191 |
-
"cpu": 1.
|
192 |
-
"ram": 4.
|
193 |
"gpu": 0.0,
|
194 |
-
"total": 1.
|
195 |
},
|
196 |
"efficiency": {
|
197 |
"unit": "tokens/kWh",
|
198 |
-
"value":
|
199 |
}
|
200 |
},
|
201 |
"per_token": {
|
@@ -203,32 +205,32 @@
|
|
203 |
"latency": {
|
204 |
"unit": "s",
|
205 |
"count": 13,
|
206 |
-
"total": 0.
|
207 |
-
"mean": 0.
|
208 |
-
"stdev": 0.
|
209 |
-
"p50": 0.
|
210 |
-
"p90": 0.
|
211 |
-
"p95": 0.
|
212 |
-
"p99": 0.
|
213 |
"values": [
|
214 |
-
0.
|
215 |
-
0.
|
216 |
-
0.
|
217 |
-
0.
|
218 |
-
0.
|
219 |
-
0.
|
220 |
-
0.
|
221 |
-
0.
|
222 |
-
0.
|
223 |
-
0.
|
224 |
-
0.
|
225 |
-
0.
|
226 |
-
0.
|
227 |
]
|
228 |
},
|
229 |
"throughput": {
|
230 |
"unit": "tokens/s",
|
231 |
-
"value": 13.
|
232 |
},
|
233 |
"energy": null,
|
234 |
"efficiency": null
|
|
|
66 |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
67 |
"device_isolation": false,
|
68 |
"device_isolation_action": "error",
|
69 |
+
"numactl": false,
|
70 |
+
"numactl_kwargs": {},
|
71 |
"start_method": "spawn"
|
72 |
},
|
73 |
"environment": {
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.14",
|
82 |
"optimum_benchmark_version": "0.2.1",
|
83 |
+
"optimum_benchmark_commit": "fb780fc73efc41258966d25b08045708166d6309",
|
84 |
+
"transformers_version": "4.41.0",
|
85 |
"transformers_commit": null,
|
86 |
"accelerate_version": "0.30.1",
|
87 |
"accelerate_commit": null,
|
|
|
99 |
"prefill": {
|
100 |
"memory": {
|
101 |
"unit": "MB",
|
102 |
+
"max_ram": 955.609088,
|
103 |
"max_global_vram": null,
|
104 |
"max_process_vram": null,
|
105 |
"max_reserved": null,
|
|
|
108 |
"latency": {
|
109 |
"unit": "s",
|
110 |
"count": 14,
|
111 |
+
"total": 0.6568934770000112,
|
112 |
+
"mean": 0.046920962642857944,
|
113 |
+
"stdev": 0.00291470175286872,
|
114 |
+
"p50": 0.047999748999998815,
|
115 |
+
"p90": 0.049666115000005104,
|
116 |
+
"p95": 0.04995117180000506,
|
117 |
+
"p99": 0.05021896556000087,
|
118 |
"values": [
|
119 |
+
0.05028591399999982,
|
120 |
+
0.049770926000007876,
|
121 |
+
0.04935885500000836,
|
122 |
+
0.049421555999998645,
|
123 |
+
0.04672440900000652,
|
124 |
+
0.048284819999992123,
|
125 |
+
0.04850916099999836,
|
126 |
+
0.047714678000005506,
|
127 |
+
0.04896046600001114,
|
128 |
+
0.04714902699998902,
|
129 |
+
0.04480134700000349,
|
130 |
+
0.0418790169999852,
|
131 |
+
0.04193266799998696,
|
132 |
+
0.042100633000018206
|
133 |
]
|
134 |
},
|
135 |
"throughput": {
|
136 |
"unit": "tokens/s",
|
137 |
+
"value": 42.6248714294959
|
138 |
},
|
139 |
"energy": {
|
140 |
"unit": "kWh",
|
141 |
+
"cpu": 1.6682385294525713e-06,
|
142 |
+
"ram": 6.971953978246384e-08,
|
143 |
"gpu": 0.0,
|
144 |
+
"total": 1.737958069235035e-06
|
145 |
},
|
146 |
"efficiency": {
|
147 |
"unit": "tokens/kWh",
|
148 |
+
"value": 1150775.749659083
|
149 |
}
|
150 |
},
|
151 |
"decode": {
|
152 |
"memory": {
|
153 |
"unit": "MB",
|
154 |
+
"max_ram": 955.609088,
|
155 |
"max_global_vram": null,
|
156 |
"max_process_vram": null,
|
157 |
"max_reserved": null,
|
|
|
160 |
"latency": {
|
161 |
"unit": "s",
|
162 |
"count": 14,
|
163 |
+
"total": 0.41085716500006697,
|
164 |
+
"mean": 0.02934694035714764,
|
165 |
+
"stdev": 0.0020885360810368914,
|
166 |
+
"p50": 0.030347200000008456,
|
167 |
+
"p90": 0.03102598829999579,
|
168 |
+
"p95": 0.03105067890000015,
|
169 |
+
"p99": 0.03108493338000045,
|
170 |
"values": [
|
171 |
+
0.03100264100001482,
|
172 |
+
0.030052694999994856,
|
173 |
+
0.03062715100000446,
|
174 |
+
0.03102762299999995,
|
175 |
+
0.031093497000000525,
|
176 |
+
0.030398692000005667,
|
177 |
+
0.030992498000017576,
|
178 |
+
0.03102217399998608,
|
179 |
+
0.030295708000011246,
|
180 |
+
0.029926605000014206,
|
181 |
+
0.0258641329999989,
|
182 |
+
0.02650028900001189,
|
183 |
+
0.02572954100000402,
|
184 |
+
0.026323918000002777
|
185 |
]
|
186 |
},
|
187 |
"throughput": {
|
188 |
"unit": "tokens/s",
|
189 |
+
"value": 34.07510247508454
|
190 |
},
|
191 |
"energy": {
|
192 |
"unit": "kWh",
|
193 |
+
"cpu": 1.0060438624134773e-06,
|
194 |
+
"ram": 4.20459328730563e-08,
|
195 |
"gpu": 0.0,
|
196 |
+
"total": 1.048089795286534e-06
|
197 |
},
|
198 |
"efficiency": {
|
199 |
"unit": "tokens/kWh",
|
200 |
+
"value": 954116.72215224
|
201 |
}
|
202 |
},
|
203 |
"per_token": {
|
|
|
205 |
"latency": {
|
206 |
"unit": "s",
|
207 |
"count": 13,
|
208 |
+
"total": 0.9868696359999944,
|
209 |
+
"mean": 0.0759130489230765,
|
210 |
+
"stdev": 0.004838589831538048,
|
211 |
+
"p50": 0.07867717999999968,
|
212 |
+
"p90": 0.08000163979999683,
|
213 |
+
"p95": 0.08021635200000218,
|
214 |
+
"p99": 0.08042279520000647,
|
215 |
"values": [
|
216 |
+
0.07983093499998972,
|
217 |
+
0.08004431599999862,
|
218 |
+
0.08047440600000755,
|
219 |
+
0.07782312599999841,
|
220 |
+
0.07867717999999968,
|
221 |
+
0.0795747370000015,
|
222 |
+
0.07870047299999783,
|
223 |
+
0.0792604130000143,
|
224 |
+
0.077128340999991,
|
225 |
+
0.07085760100000016,
|
226 |
+
0.0683909290000031,
|
227 |
+
0.06766509400000587,
|
228 |
+
0.06844208499998672
|
229 |
]
|
230 |
},
|
231 |
"throughput": {
|
232 |
"unit": "tokens/s",
|
233 |
+
"value": 13.172965836391457
|
234 |
},
|
235 |
"energy": null,
|
236 |
"efficiency": null
|