IlyasMoutawwakil HF Staff commited on
Commit
f9cecd6
·
verified ·
1 Parent(s): 86f38a8

Upload cuda_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k/benchmark.json with huggingface_hub

Browse files
cuda_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k/benchmark.json ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.5.1",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "model": "timm/tiny_vit_21m_224.in1k",
9
+ "processor": "timm/tiny_vit_21m_224.in1k",
10
+ "task": "image-classification",
11
+ "library": "timm",
12
+ "model_type": "tiny_vit_21m_224",
13
+ "device": "cuda",
14
+ "device_ids": "0",
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
+ "tp_plan": null,
22
+ "device_map": null,
23
+ "torch_dtype": null,
24
+ "eval_mode": true,
25
+ "to_bettertransformer": false,
26
+ "low_cpu_mem_usage": null,
27
+ "attn_implementation": null,
28
+ "cache_implementation": null,
29
+ "allow_tf32": false,
30
+ "autocast_enabled": false,
31
+ "autocast_dtype": null,
32
+ "torch_compile": false,
33
+ "torch_compile_target": "forward",
34
+ "torch_compile_config": {},
35
+ "quantization_scheme": null,
36
+ "quantization_config": {},
37
+ "deepspeed_inference": false,
38
+ "deepspeed_inference_config": {},
39
+ "peft_type": null,
40
+ "peft_config": {}
41
+ },
42
+ "scenario": {
43
+ "name": "inference",
44
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
45
+ "iterations": 1,
46
+ "duration": 1,
47
+ "warmup_runs": 1,
48
+ "input_shapes": {
49
+ "batch_size": 2,
50
+ "sequence_length": 16,
51
+ "num_choices": 2
52
+ },
53
+ "new_tokens": null,
54
+ "memory": true,
55
+ "latency": true,
56
+ "energy": true,
57
+ "forward_kwargs": {},
58
+ "generate_kwargs": {
59
+ "max_new_tokens": 2,
60
+ "min_new_tokens": 2
61
+ },
62
+ "call_kwargs": {
63
+ "num_inference_steps": 2
64
+ }
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": true,
70
+ "device_isolation_action": "error",
71
+ "numactl": false,
72
+ "numactl_kwargs": {},
73
+ "start_method": "spawn"
74
+ },
75
+ "environment": {
76
+ "cpu": " AMD EPYC 7742 64-Core Processor",
77
+ "cpu_count": 128,
78
+ "cpu_ram_mb": 540671.643648,
79
+ "system": "Linux",
80
+ "machine": "x86_64",
81
+ "platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.31",
82
+ "processor": "x86_64",
83
+ "python_version": "3.10.18",
84
+ "gpu": [
85
+ "NVIDIA A100-SXM4-80GB",
86
+ "NVIDIA A100-SXM4-80GB",
87
+ "NVIDIA A100-SXM4-80GB",
88
+ "NVIDIA DGX Display",
89
+ "NVIDIA A100-SXM4-80GB"
90
+ ],
91
+ "gpu_count": 5,
92
+ "gpu_vram_mb": 347892350976,
93
+ "optimum_benchmark_version": "0.6.0.dev0",
94
+ "optimum_benchmark_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
95
+ "transformers_version": "4.45.1",
96
+ "transformers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
97
+ "accelerate_version": "1.10.0",
98
+ "accelerate_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
99
+ "diffusers_version": "0.34.0",
100
+ "diffusers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
101
+ "optimum_version": null,
102
+ "optimum_commit": null,
103
+ "timm_version": "1.0.19",
104
+ "timm_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
105
+ "peft_version": "0.17.0",
106
+ "peft_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db"
107
+ },
108
+ "print_report": true,
109
+ "log_report": true
110
+ },
111
+ "report": {
112
+ "load_model": {
113
+ "memory": {
114
+ "unit": "MB",
115
+ "max_ram": 894.615552,
116
+ "max_global_vram": 1457.455104,
117
+ "max_process_vram": 530.579456,
118
+ "max_reserved": 96.468992,
119
+ "max_allocated": 87.191552
120
+ },
121
+ "latency": {
122
+ "unit": "s",
123
+ "values": [
124
+ 0.3907716979980469
125
+ ],
126
+ "count": 1,
127
+ "total": 0.3907716979980469,
128
+ "mean": 0.3907716979980469,
129
+ "p50": 0.3907716979980469,
130
+ "p90": 0.3907716979980469,
131
+ "p95": 0.3907716979980469,
132
+ "p99": 0.3907716979980469,
133
+ "stdev": 0,
134
+ "stdev_": 0
135
+ },
136
+ "throughput": null,
137
+ "energy": {
138
+ "unit": "kWh",
139
+ "cpu": 0.000314074617184815,
140
+ "ram": 0.0005271510521112554,
141
+ "gpu": 0.00021009572362373774,
142
+ "total": 0.0010513213929198083
143
+ },
144
+ "efficiency": null
145
+ },
146
+ "first_forward": {
147
+ "memory": {
148
+ "unit": "MB",
149
+ "max_ram": 1109.172224,
150
+ "max_global_vram": 1597.964288,
151
+ "max_process_vram": 671.08864,
152
+ "max_reserved": 144.703488,
153
+ "max_allocated": 122.11712
154
+ },
155
+ "latency": {
156
+ "unit": "s",
157
+ "values": [
158
+ 0.2520100555419922
159
+ ],
160
+ "count": 1,
161
+ "total": 0.2520100555419922,
162
+ "mean": 0.2520100555419922,
163
+ "p50": 0.2520100555419922,
164
+ "p90": 0.2520100555419922,
165
+ "p95": 0.2520100555419922,
166
+ "p99": 0.2520100555419922,
167
+ "stdev": 0,
168
+ "stdev_": 0
169
+ },
170
+ "throughput": null,
171
+ "energy": {
172
+ "unit": "kWh",
173
+ "cpu": 0.00031306477305770395,
174
+ "ram": 0.000525458254157156,
175
+ "gpu": 0.0002165643399223427,
176
+ "total": 0.0010550873671372027
177
+ },
178
+ "efficiency": null
179
+ },
180
+ "forward": {
181
+ "memory": {
182
+ "unit": "MB",
183
+ "max_ram": 1121.54624,
184
+ "max_global_vram": 1618.935808,
185
+ "max_process_vram": 692.06016,
186
+ "max_reserved": 165.675008,
187
+ "max_allocated": 130.6368
188
+ },
189
+ "latency": {
190
+ "unit": "s",
191
+ "values": [
192
+ 0.008706048011779785,
193
+ 0.008700927734375,
194
+ 0.008655872344970703,
195
+ 0.008756223678588868,
196
+ 0.008631296157836914,
197
+ 0.008714240074157715,
198
+ 0.008466431617736817,
199
+ 0.008567808151245117,
200
+ 0.008582143783569337,
201
+ 0.008543231964111327,
202
+ 0.00871014404296875,
203
+ 0.008605695724487305,
204
+ 0.008531968116760253,
205
+ 0.008437760353088379,
206
+ 0.00841420841217041,
207
+ 0.008689663887023925,
208
+ 0.008599552154541015,
209
+ 0.008713215827941894,
210
+ 0.008591360092163085,
211
+ 0.00871014404296875,
212
+ 0.008639488220214844,
213
+ 0.008623104095458984,
214
+ 0.00861081600189209,
215
+ 0.008584192276000976,
216
+ 0.008656895637512207,
217
+ 0.008691712379455567,
218
+ 0.008654848098754882,
219
+ 0.008770560264587402,
220
+ 0.00851251220703125,
221
+ 0.009639936447143555,
222
+ 0.008297472000122071,
223
+ 0.008040448188781739,
224
+ 0.008011775970458984,
225
+ 0.008059904098510743,
226
+ 0.008023039817810058,
227
+ 0.008037376403808593,
228
+ 0.008057855606079101,
229
+ 0.007971839904785156,
230
+ 0.008218624114990235,
231
+ 0.007987199783325195,
232
+ 0.008114175796508789,
233
+ 0.008091648101806641,
234
+ 0.008039423942565918,
235
+ 0.008130559921264649,
236
+ 0.008045568466186523,
237
+ 0.008102911949157715,
238
+ 0.008124416351318359,
239
+ 0.008037376403808593,
240
+ 0.008163328170776368,
241
+ 0.008003583908081055,
242
+ 0.008164352416992187,
243
+ 0.008080384254455567,
244
+ 0.008061951637268066,
245
+ 0.008135680198669434,
246
+ 0.007986176013946533,
247
+ 0.008072192192077637,
248
+ 0.00810086441040039,
249
+ 0.008160256385803222,
250
+ 0.0081397762298584,
251
+ 0.007972864151000977,
252
+ 0.008141823768615723,
253
+ 0.008033280372619628,
254
+ 0.008101887702941894,
255
+ 0.00818995189666748,
256
+ 0.008041472434997558,
257
+ 0.008041472434997558,
258
+ 0.008133631706237793,
259
+ 0.008065024375915527,
260
+ 0.008012800216674805,
261
+ 0.00807423973083496,
262
+ 0.008146944046020508,
263
+ 0.008045568466186523,
264
+ 0.008144895553588867,
265
+ 0.008135680198669434,
266
+ 0.00818995189666748,
267
+ 0.0081725435256958,
268
+ 0.008095744132995606,
269
+ 0.00810598373413086,
270
+ 0.008278016090393067,
271
+ 0.00819916820526123,
272
+ 0.00827187156677246,
273
+ 0.00818892765045166,
274
+ 0.008431615829467774,
275
+ 0.008239104270935058,
276
+ 0.008155136108398438,
277
+ 0.008378368377685547,
278
+ 0.008655872344970703,
279
+ 0.008654848098754882,
280
+ 0.008596480369567871,
281
+ 0.008488960266113281,
282
+ 0.008649727821350098,
283
+ 0.008596480369567871,
284
+ 0.008764415740966798,
285
+ 0.008484864234924316,
286
+ 0.0086179838180542,
287
+ 0.008633343696594239,
288
+ 0.008492032051086425,
289
+ 0.008659968376159668,
290
+ 0.008506367683410645,
291
+ 0.008662015914916991,
292
+ 0.008416255950927735,
293
+ 0.008633343696594239,
294
+ 0.008445952415466309,
295
+ 0.008637439727783204,
296
+ 0.008655872344970703,
297
+ 0.00839577579498291,
298
+ 0.008550399780273438,
299
+ 0.008435711860656739,
300
+ 0.008483839988708495,
301
+ 0.008570879936218261,
302
+ 0.00848588752746582,
303
+ 0.008509440422058106,
304
+ 0.008498175621032715,
305
+ 0.00860979175567627,
306
+ 0.008612863540649414,
307
+ 0.008511487960815429,
308
+ 0.008444928169250488,
309
+ 0.00857907199859619,
310
+ 0.008647680282592773
311
+ ],
312
+ "count": 119,
313
+ "total": 0.996748292446136,
314
+ "mean": 0.008376036070975937,
315
+ "p50": 0.008435711860656739,
316
+ "p90": 0.008667545509338377,
317
+ "p95": 0.008710451221466064,
318
+ "p99": 0.008769454250335694,
319
+ "stdev": 0.00028011329010581206,
320
+ "stdev_": 3.344222586104199
321
+ },
322
+ "throughput": {
323
+ "unit": "samples/s",
324
+ "value": 238.77643112477298
325
+ },
326
+ "energy": {
327
+ "unit": "kWh",
328
+ "cpu": 2.7266323399406054e-07,
329
+ "ram": 4.575465781427978e-07,
330
+ "gpu": 3.0002439464614443e-07,
331
+ "total": 1.0302342067830018e-06
332
+ },
333
+ "efficiency": {
334
+ "unit": "samples/kWh",
335
+ "value": 1941306.148477809
336
+ }
337
+ }
338
+ }
339
+ }