IlyasMoutawwakil HF Staff commited on
Commit
e788b7c
·
verified ·
1 Parent(s): c5b8a32

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

Browse files
cpu_inference_timm_image-classification_timm/tiny_vit_21m_224.in1k/benchmark.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_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": "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
+ "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": false,
70
+ "device_isolation_action": null,
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": 762.179584,
116
+ "max_global_vram": null,
117
+ "max_process_vram": null,
118
+ "max_reserved": null,
119
+ "max_allocated": null
120
+ },
121
+ "latency": {
122
+ "unit": "s",
123
+ "values": [
124
+ 0.33302425080910325
125
+ ],
126
+ "count": 1,
127
+ "total": 0.33302425080910325,
128
+ "mean": 0.33302425080910325,
129
+ "p50": 0.33302425080910325,
130
+ "p90": 0.33302425080910325,
131
+ "p95": 0.33302425080910325,
132
+ "p99": 0.33302425080910325,
133
+ "stdev": 0,
134
+ "stdev_": 0
135
+ },
136
+ "throughput": null,
137
+ "energy": {
138
+ "unit": "kWh",
139
+ "cpu": 0.00016395383456256242,
140
+ "ram": 0.0002751777568753326,
141
+ "gpu": 0.00040790393742895503,
142
+ "total": 0.00084703552886685
143
+ },
144
+ "efficiency": null
145
+ },
146
+ "first_forward": {
147
+ "memory": {
148
+ "unit": "MB",
149
+ "max_ram": 835.469312,
150
+ "max_global_vram": null,
151
+ "max_process_vram": null,
152
+ "max_reserved": null,
153
+ "max_allocated": null
154
+ },
155
+ "latency": {
156
+ "unit": "s",
157
+ "values": [
158
+ 0.08925724774599075
159
+ ],
160
+ "count": 1,
161
+ "total": 0.08925724774599075,
162
+ "mean": 0.08925724774599075,
163
+ "p50": 0.08925724774599075,
164
+ "p90": 0.08925724774599075,
165
+ "p95": 0.08925724774599075,
166
+ "p99": 0.08925724774599075,
167
+ "stdev": 0,
168
+ "stdev_": 0
169
+ },
170
+ "throughput": null,
171
+ "energy": {
172
+ "unit": "kWh",
173
+ "cpu": 0.0001585578115918906,
174
+ "ram": 0.00026612296192975903,
175
+ "gpu": 0.00040482004607866884,
176
+ "total": 0.0008295008196003184
177
+ },
178
+ "efficiency": null
179
+ },
180
+ "forward": {
181
+ "memory": {
182
+ "unit": "MB",
183
+ "max_ram": 855.543808,
184
+ "max_global_vram": null,
185
+ "max_process_vram": null,
186
+ "max_reserved": null,
187
+ "max_allocated": null
188
+ },
189
+ "latency": {
190
+ "unit": "s",
191
+ "values": [
192
+ 0.07465048599988222,
193
+ 0.07200438296422362,
194
+ 0.07664420502260327,
195
+ 0.07673154911026359,
196
+ 0.07653839560225606,
197
+ 0.08094395883381367,
198
+ 0.07809090800583363,
199
+ 0.07615541899576783,
200
+ 0.07954351231455803,
201
+ 0.07618266995996237,
202
+ 0.07695718202739954,
203
+ 0.07859473302960396,
204
+ 0.07532345782965422,
205
+ 0.08188793901354074
206
+ ],
207
+ "count": 14,
208
+ "total": 1.0802487987093627,
209
+ "mean": 0.0771606284792402,
210
+ "p50": 0.07668787706643343,
211
+ "p90": 0.08052382487803698,
212
+ "p95": 0.08127435189671814,
213
+ "p99": 0.08176522159017623,
214
+ "stdev": 0.0024548837510904023,
215
+ "stdev_": 3.1815237893647796
216
+ },
217
+ "throughput": {
218
+ "unit": "samples/s",
219
+ "value": 25.919954767321435
220
+ },
221
+ "energy": {
222
+ "unit": "kWh",
223
+ "cpu": 2.4266033869935197e-06,
224
+ "ram": 4.071901529371052e-06,
225
+ "gpu": 5.8266926966045785e-06,
226
+ "total": 1.2325197612969153e-05
227
+ },
228
+ "efficiency": {
229
+ "unit": "samples/kWh",
230
+ "value": 162269.20352948384
231
+ }
232
+ }
233
+ }
234
+ }