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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "2024-10-03-12-11-44/pytorch",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.4.1",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "feature-extraction",
|
9 |
+
"library": "transformers",
|
10 |
+
"model_type": "gpt2",
|
11 |
+
"model": "openai-community/gpt2",
|
12 |
+
"processor": "openai-community/gpt2",
|
13 |
+
"device": "cpu",
|
14 |
+
"device_ids": null,
|
15 |
+
"seed": 42,
|
16 |
+
"inter_op_num_threads": null,
|
17 |
+
"intra_op_num_threads": null,
|
18 |
+
"model_kwargs": {},
|
19 |
+
"processor_kwargs": {},
|
20 |
+
"no_weights": false,
|
21 |
+
"device_map": null,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"eval_mode": true,
|
24 |
+
"to_bettertransformer": false,
|
25 |
+
"low_cpu_mem_usage": null,
|
26 |
+
"attn_implementation": null,
|
27 |
+
"cache_implementation": null,
|
28 |
+
"autocast_enabled": false,
|
29 |
+
"autocast_dtype": null,
|
30 |
+
"torch_compile": false,
|
31 |
+
"torch_compile_target": "forward",
|
32 |
+
"torch_compile_config": {},
|
33 |
+
"quantization_scheme": null,
|
34 |
+
"quantization_config": {},
|
35 |
+
"deepspeed_inference": false,
|
36 |
+
"deepspeed_inference_config": {},
|
37 |
+
"peft_type": null,
|
38 |
+
"peft_config": {}
|
39 |
+
},
|
40 |
+
"scenario": {
|
41 |
+
"name": "inference",
|
42 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
43 |
+
"iterations": 10,
|
44 |
+
"duration": 10,
|
45 |
+
"warmup_runs": 10,
|
46 |
+
"input_shapes": {
|
47 |
+
"batch_size": 2,
|
48 |
+
"num_choices": 2,
|
49 |
+
"sequence_length": 16
|
50 |
+
},
|
51 |
+
"new_tokens": null,
|
52 |
+
"memory": true,
|
53 |
+
"latency": true,
|
54 |
+
"energy": false,
|
55 |
+
"forward_kwargs": {},
|
56 |
+
"generate_kwargs": {
|
57 |
+
"max_new_tokens": 32,
|
58 |
+
"min_new_tokens": 32
|
59 |
+
},
|
60 |
+
"call_kwargs": {}
|
61 |
+
},
|
62 |
+
"launcher": {
|
63 |
+
"name": "process",
|
64 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
65 |
+
"device_isolation": false,
|
66 |
+
"device_isolation_action": null,
|
67 |
+
"numactl": true,
|
68 |
+
"numactl_kwargs": {
|
69 |
+
"cpunodebind": 0,
|
70 |
+
"membind": 0
|
71 |
+
},
|
72 |
+
"start_method": "spawn"
|
73 |
+
},
|
74 |
+
"environment": {
|
75 |
+
"cpu": " AMD EPYC 7R13 Processor",
|
76 |
+
"cpu_count": 64,
|
77 |
+
"cpu_ram_mb": 529717.026816,
|
78 |
+
"system": "Linux",
|
79 |
+
"machine": "x86_64",
|
80 |
+
"platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
|
81 |
+
"processor": "",
|
82 |
+
"python_version": "3.10.15",
|
83 |
+
"optimum_benchmark_version": "0.5.0",
|
84 |
+
"optimum_benchmark_commit": null,
|
85 |
+
"transformers_version": "4.44.2",
|
86 |
+
"transformers_commit": null,
|
87 |
+
"accelerate_version": "0.34.2",
|
88 |
+
"accelerate_commit": null,
|
89 |
+
"diffusers_version": null,
|
90 |
+
"diffusers_commit": null,
|
91 |
+
"optimum_version": "1.22.0",
|
92 |
+
"optimum_commit": null,
|
93 |
+
"timm_version": null,
|
94 |
+
"timm_commit": null,
|
95 |
+
"peft_version": null,
|
96 |
+
"peft_commit": null
|
97 |
+
}
|
98 |
+
},
|
99 |
+
"report": {
|
100 |
+
"load": {
|
101 |
+
"memory": {
|
102 |
+
"unit": "MB",
|
103 |
+
"max_ram": 1350.053888,
|
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 |
+
"values": [
|
112 |
+
5.446339800953865
|
113 |
+
],
|
114 |
+
"count": 1,
|
115 |
+
"total": 5.446339800953865,
|
116 |
+
"mean": 5.446339800953865,
|
117 |
+
"p50": 5.446339800953865,
|
118 |
+
"p90": 5.446339800953865,
|
119 |
+
"p95": 5.446339800953865,
|
120 |
+
"p99": 5.446339800953865,
|
121 |
+
"stdev": 0,
|
122 |
+
"stdev_": 0
|
123 |
+
},
|
124 |
+
"throughput": null,
|
125 |
+
"energy": null,
|
126 |
+
"efficiency": null
|
127 |
+
},
|
128 |
+
"forward": {
|
129 |
+
"memory": {
|
130 |
+
"unit": "MB",
|
131 |
+
"max_ram": 1133.002752,
|
132 |
+
"max_global_vram": null,
|
133 |
+
"max_process_vram": null,
|
134 |
+
"max_reserved": null,
|
135 |
+
"max_allocated": null
|
136 |
+
},
|
137 |
+
"latency": {
|
138 |
+
"unit": "s",
|
139 |
+
"values": [
|
140 |
+
0.07211260870099068,
|
141 |
+
0.08712881058454514,
|
142 |
+
0.03192144259810448,
|
143 |
+
0.08901969343423843,
|
144 |
+
0.08365127816796303,
|
145 |
+
0.030785299837589264,
|
146 |
+
0.09117395803332329,
|
147 |
+
0.08516648039221764,
|
148 |
+
0.08884396776556969,
|
149 |
+
0.03202417492866516,
|
150 |
+
0.08828726038336754,
|
151 |
+
0.08974859118461609,
|
152 |
+
0.08621463179588318,
|
153 |
+
0.03249753266572952,
|
154 |
+
0.08844377845525742,
|
155 |
+
0.08403347060084343,
|
156 |
+
0.0316540002822876,
|
157 |
+
0.08734548836946487,
|
158 |
+
0.08284838870167732,
|
159 |
+
0.031995829194784164,
|
160 |
+
0.08778147399425507,
|
161 |
+
0.08311906084418297,
|
162 |
+
0.08883332461118698,
|
163 |
+
0.029844172298908234,
|
164 |
+
0.08430439606308937,
|
165 |
+
0.08893497660756111,
|
166 |
+
0.0325552299618721,
|
167 |
+
0.08627215400338173,
|
168 |
+
0.08953828364610672,
|
169 |
+
0.03022896870970726,
|
170 |
+
0.08486832678318024,
|
171 |
+
0.08853471279144287,
|
172 |
+
0.08460183069109917,
|
173 |
+
0.031494658440351486,
|
174 |
+
0.09973353520035744,
|
175 |
+
0.0833778828382492,
|
176 |
+
0.08785052970051765,
|
177 |
+
0.03373149409890175,
|
178 |
+
0.08212831988930702,
|
179 |
+
0.08821769058704376,
|
180 |
+
0.03391868621110916,
|
181 |
+
0.08439534902572632,
|
182 |
+
0.08856771141290665,
|
183 |
+
0.03235815465450287,
|
184 |
+
0.08359530940651894,
|
185 |
+
0.08816565945744514,
|
186 |
+
0.08489584550261497,
|
187 |
+
0.03110184147953987,
|
188 |
+
0.08856809511780739,
|
189 |
+
0.08459892123937607,
|
190 |
+
0.031157534569501877,
|
191 |
+
0.08733880892395973,
|
192 |
+
0.0841650553047657,
|
193 |
+
0.030547112226486206,
|
194 |
+
0.08782298490405083,
|
195 |
+
0.08472080156207085,
|
196 |
+
0.09423286840319633,
|
197 |
+
0.032623693346977234,
|
198 |
+
0.08440857008099556,
|
199 |
+
0.08756478875875473,
|
200 |
+
0.0318482331931591,
|
201 |
+
0.08350762352347374,
|
202 |
+
0.08946392312645912,
|
203 |
+
0.0847887471318245,
|
204 |
+
0.03126977011561394,
|
205 |
+
0.08786434307694435,
|
206 |
+
0.08619091287255287,
|
207 |
+
0.03135005757212639,
|
208 |
+
0.09026874974370003,
|
209 |
+
0.08420547842979431,
|
210 |
+
0.2983642518520355,
|
211 |
+
0.031972017139196396,
|
212 |
+
0.07953934371471405,
|
213 |
+
0.09058502689003944,
|
214 |
+
0.030382290482521057,
|
215 |
+
0.08372338488698006,
|
216 |
+
0.08971590921282768,
|
217 |
+
0.08407830446958542,
|
218 |
+
0.03121604397892952,
|
219 |
+
0.09072363004088402,
|
220 |
+
0.08343665674328804,
|
221 |
+
0.031056031584739685,
|
222 |
+
0.08707237988710403,
|
223 |
+
0.0848214440047741,
|
224 |
+
0.03190623223781586,
|
225 |
+
0.08785221725702286,
|
226 |
+
0.08411530405282974,
|
227 |
+
0.08981222659349442,
|
228 |
+
0.030464816838502884,
|
229 |
+
0.08419576287269592,
|
230 |
+
0.08932027220726013,
|
231 |
+
0.0317525789141655,
|
232 |
+
0.08719335496425629,
|
233 |
+
0.08823258802294731,
|
234 |
+
0.08838725090026855,
|
235 |
+
0.03081253543496132,
|
236 |
+
0.08262435719370842,
|
237 |
+
0.09577960520982742,
|
238 |
+
0.032657597213983536,
|
239 |
+
0.0792769230902195,
|
240 |
+
0.08840733394026756,
|
241 |
+
0.032758817076683044,
|
242 |
+
0.08042096719145775,
|
243 |
+
0.08879368752241135,
|
244 |
+
0.03085567057132721,
|
245 |
+
0.0852825678884983,
|
246 |
+
0.08746981993317604,
|
247 |
+
0.08388468250632286,
|
248 |
+
0.03197556361556053,
|
249 |
+
0.08930324390530586,
|
250 |
+
0.08320152387022972,
|
251 |
+
0.032891955226659775,
|
252 |
+
0.0874667540192604,
|
253 |
+
0.08433596789836884,
|
254 |
+
0.08781297504901886,
|
255 |
+
0.029759343713521957,
|
256 |
+
0.08411829546093941,
|
257 |
+
0.08842362463474274,
|
258 |
+
0.030253786593675613,
|
259 |
+
0.08527141436934471,
|
260 |
+
0.08821740001440048,
|
261 |
+
0.03176594153046608,
|
262 |
+
0.08352569490671158,
|
263 |
+
0.08811841905117035,
|
264 |
+
0.03093539923429489,
|
265 |
+
0.08662167191505432,
|
266 |
+
0.08222931995987892,
|
267 |
+
0.031720247119665146,
|
268 |
+
0.08853322267532349,
|
269 |
+
0.10124259814620018,
|
270 |
+
0.09010403230786324,
|
271 |
+
0.08753561228513718,
|
272 |
+
0.09024511277675629,
|
273 |
+
0.034699127078056335,
|
274 |
+
0.08595048263669014,
|
275 |
+
0.09234531223773956,
|
276 |
+
0.09113291651010513,
|
277 |
+
0.03464493155479431,
|
278 |
+
0.08296076953411102
|
279 |
+
],
|
280 |
+
"count": 139,
|
281 |
+
"total": 10.072639882564545,
|
282 |
+
"mean": 0.07246503512636362,
|
283 |
+
"p50": 0.08440857008099556,
|
284 |
+
"p90": 0.08976131826639175,
|
285 |
+
"p95": 0.09113702066242695,
|
286 |
+
"p99": 0.10066915422677994,
|
287 |
+
"stdev": 0.031620398342282356,
|
288 |
+
"stdev_": 43.63538675879077
|
289 |
+
},
|
290 |
+
"throughput": {
|
291 |
+
"unit": "samples/s",
|
292 |
+
"value": 27.599517429508243
|
293 |
+
},
|
294 |
+
"energy": null,
|
295 |
+
"efficiency": null
|
296 |
+
}
|
297 |
+
}
|
298 |
+
}
|