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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "2024-09-26-21-45-39/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": false,
|
53 |
+
"latency": true,
|
54 |
+
"energy": false,
|
55 |
+
"forward_kwargs": {},
|
56 |
+
"generate_kwargs": {},
|
57 |
+
"call_kwargs": {}
|
58 |
+
},
|
59 |
+
"launcher": {
|
60 |
+
"name": "process",
|
61 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
62 |
+
"device_isolation": false,
|
63 |
+
"device_isolation_action": null,
|
64 |
+
"numactl": true,
|
65 |
+
"numactl_kwargs": {},
|
66 |
+
"start_method": "spawn"
|
67 |
+
},
|
68 |
+
"environment": {
|
69 |
+
"cpu": " AMD EPYC 7R13 Processor",
|
70 |
+
"cpu_count": 64,
|
71 |
+
"cpu_ram_mb": 529717.02272,
|
72 |
+
"system": "Linux",
|
73 |
+
"machine": "x86_64",
|
74 |
+
"platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
|
75 |
+
"processor": "",
|
76 |
+
"python_version": "3.10.15",
|
77 |
+
"optimum_benchmark_version": "0.5.0",
|
78 |
+
"optimum_benchmark_commit": null,
|
79 |
+
"transformers_version": "4.44.2",
|
80 |
+
"transformers_commit": null,
|
81 |
+
"accelerate_version": "0.34.2",
|
82 |
+
"accelerate_commit": null,
|
83 |
+
"diffusers_version": null,
|
84 |
+
"diffusers_commit": null,
|
85 |
+
"optimum_version": "1.22.0",
|
86 |
+
"optimum_commit": null,
|
87 |
+
"timm_version": null,
|
88 |
+
"timm_commit": null,
|
89 |
+
"peft_version": null,
|
90 |
+
"peft_commit": null
|
91 |
+
}
|
92 |
+
},
|
93 |
+
"report": {
|
94 |
+
"load": {
|
95 |
+
"memory": null,
|
96 |
+
"latency": {
|
97 |
+
"unit": "s",
|
98 |
+
"values": [
|
99 |
+
0.1115226000547409
|
100 |
+
],
|
101 |
+
"count": 1,
|
102 |
+
"total": 0.1115226000547409,
|
103 |
+
"mean": 0.1115226000547409,
|
104 |
+
"p50": 0.1115226000547409,
|
105 |
+
"p90": 0.1115226000547409,
|
106 |
+
"p95": 0.1115226000547409,
|
107 |
+
"p99": 0.1115226000547409,
|
108 |
+
"stdev": 0,
|
109 |
+
"stdev_": 0
|
110 |
+
},
|
111 |
+
"throughput": null,
|
112 |
+
"energy": null,
|
113 |
+
"efficiency": null
|
114 |
+
},
|
115 |
+
"forward": {
|
116 |
+
"memory": null,
|
117 |
+
"latency": {
|
118 |
+
"unit": "s",
|
119 |
+
"values": [
|
120 |
+
0.03162924572825432,
|
121 |
+
0.08073856681585312,
|
122 |
+
0.08730101585388184,
|
123 |
+
0.031139817088842392,
|
124 |
+
0.08020709455013275,
|
125 |
+
0.03105924278497696,
|
126 |
+
0.08811826631426811,
|
127 |
+
0.079918522387743,
|
128 |
+
0.030822474509477615,
|
129 |
+
0.08793623372912407,
|
130 |
+
0.08030479773879051,
|
131 |
+
0.031118221580982208,
|
132 |
+
0.08841037377715111,
|
133 |
+
0.08372128382325172,
|
134 |
+
0.08754655346274376,
|
135 |
+
0.03190891444683075,
|
136 |
+
0.08081021904945374,
|
137 |
+
0.0873824879527092,
|
138 |
+
0.03176094591617584,
|
139 |
+
0.08042078465223312,
|
140 |
+
0.08775831386446953,
|
141 |
+
0.03166142851114273,
|
142 |
+
0.08025407046079636,
|
143 |
+
0.08735433593392372,
|
144 |
+
0.03212293982505798,
|
145 |
+
0.0840882882475853,
|
146 |
+
0.08790546283125877,
|
147 |
+
0.031112927943468094,
|
148 |
+
0.0811915434896946,
|
149 |
+
0.08756792172789574,
|
150 |
+
0.0312882661819458,
|
151 |
+
0.08058691024780273,
|
152 |
+
0.0876004695892334,
|
153 |
+
0.031126640737056732,
|
154 |
+
0.08059952035546303,
|
155 |
+
0.08942851424217224,
|
156 |
+
0.031183023005723953,
|
157 |
+
0.08071104437112808,
|
158 |
+
0.08748309686779976,
|
159 |
+
0.03157612308859825,
|
160 |
+
0.08089214563369751,
|
161 |
+
0.08801085129380226,
|
162 |
+
0.03148369491100311,
|
163 |
+
0.07997795194387436,
|
164 |
+
0.08819296211004257,
|
165 |
+
0.03131595626473427,
|
166 |
+
0.08108558505773544,
|
167 |
+
0.08824623376131058,
|
168 |
+
0.031324125826358795,
|
169 |
+
0.08051461726427078,
|
170 |
+
0.08794461935758591,
|
171 |
+
0.031342193484306335,
|
172 |
+
0.08077267557382584,
|
173 |
+
0.08889012783765793,
|
174 |
+
0.03160762041807175,
|
175 |
+
0.08016370981931686,
|
176 |
+
0.08836378529667854,
|
177 |
+
0.031379587948322296,
|
178 |
+
0.08020120486617088,
|
179 |
+
0.08750319108366966,
|
180 |
+
0.031990185379981995,
|
181 |
+
0.08089863881468773,
|
182 |
+
0.08824534714221954,
|
183 |
+
0.030986055731773376,
|
184 |
+
0.08049823343753815,
|
185 |
+
0.08794304728507996,
|
186 |
+
0.03144717961549759,
|
187 |
+
0.08033431693911552,
|
188 |
+
0.08771444112062454,
|
189 |
+
0.0314052551984787,
|
190 |
+
0.08011971414089203,
|
191 |
+
0.08820666000247002,
|
192 |
+
0.03099430724978447,
|
193 |
+
0.0804051123559475,
|
194 |
+
0.08793152496218681,
|
195 |
+
0.031158197671175003,
|
196 |
+
0.0813101977109909,
|
197 |
+
0.08797048404812813,
|
198 |
+
0.03125150501728058,
|
199 |
+
0.08009196445345879,
|
200 |
+
0.08798350021243095,
|
201 |
+
0.031622324138879776,
|
202 |
+
0.08078707754611969,
|
203 |
+
0.08808035030961037,
|
204 |
+
0.031526412814855576,
|
205 |
+
0.0805162787437439,
|
206 |
+
0.08843885362148285,
|
207 |
+
0.031623050570487976,
|
208 |
+
0.08072689548134804,
|
209 |
+
0.08760514482855797,
|
210 |
+
0.031111665070056915,
|
211 |
+
0.08052623271942139,
|
212 |
+
0.08794060721993446,
|
213 |
+
0.031301289796829224,
|
214 |
+
0.08051970973610878,
|
215 |
+
0.08789237588644028,
|
216 |
+
0.03127340227365494,
|
217 |
+
0.08022646605968475,
|
218 |
+
0.08814670890569687,
|
219 |
+
0.03120928257703781,
|
220 |
+
0.08039002865552902,
|
221 |
+
0.08782906457781792,
|
222 |
+
0.03130144253373146,
|
223 |
+
0.08025046437978745,
|
224 |
+
0.08810846135020256,
|
225 |
+
0.030798781663179398,
|
226 |
+
0.08110890164971352,
|
227 |
+
0.08763444796204567,
|
228 |
+
0.0319305956363678,
|
229 |
+
0.08023157343268394,
|
230 |
+
0.08831509202718735,
|
231 |
+
0.03179994225502014,
|
232 |
+
0.0805177092552185,
|
233 |
+
0.0879715271294117,
|
234 |
+
0.031608570367097855,
|
235 |
+
0.08080314472317696,
|
236 |
+
0.08793431520462036,
|
237 |
+
0.031557321548461914,
|
238 |
+
0.08095628768205643,
|
239 |
+
0.08937295526266098,
|
240 |
+
0.03225632384419441,
|
241 |
+
0.08458621054887772,
|
242 |
+
0.088631771504879,
|
243 |
+
0.03131898492574692,
|
244 |
+
0.08048070967197418,
|
245 |
+
0.08827055618166924,
|
246 |
+
0.0315818227827549,
|
247 |
+
0.0843428447842598,
|
248 |
+
0.08893138915300369,
|
249 |
+
0.03127298504114151,
|
250 |
+
0.08040619269013405,
|
251 |
+
0.08929247409105301,
|
252 |
+
0.03177248314023018,
|
253 |
+
0.07965626567602158,
|
254 |
+
0.0887010246515274,
|
255 |
+
0.031314656138420105,
|
256 |
+
0.08035041764378548,
|
257 |
+
0.08906238153576851,
|
258 |
+
0.0797468014061451,
|
259 |
+
0.03165724501013756,
|
260 |
+
0.08914680033922195,
|
261 |
+
0.07942025735974312,
|
262 |
+
0.03184470161795616,
|
263 |
+
0.0885801687836647,
|
264 |
+
0.07991021871566772,
|
265 |
+
0.03122815117239952,
|
266 |
+
0.08861878141760826,
|
267 |
+
0.07974909618496895,
|
268 |
+
0.03226582333445549,
|
269 |
+
0.0891234390437603
|
270 |
+
],
|
271 |
+
"count": 150,
|
272 |
+
"total": 10.017970345914364,
|
273 |
+
"mean": 0.06678646897276243,
|
274 |
+
"p50": 0.08050642535090446,
|
275 |
+
"p90": 0.08831996135413647,
|
276 |
+
"p95": 0.08880503140389918,
|
277 |
+
"p99": 0.08933351948857307,
|
278 |
+
"stdev": 0.025182542922014564,
|
279 |
+
"stdev_": 37.706055297345905
|
280 |
+
},
|
281 |
+
"throughput": {
|
282 |
+
"unit": "samples/s",
|
283 |
+
"value": 29.94618566847218
|
284 |
+
},
|
285 |
+
"energy": null,
|
286 |
+
"efficiency": null
|
287 |
+
}
|
288 |
+
}
|
289 |
+
}
|