IlyasMoutawwakil HF staff commited on
Commit
b55c1f4
·
verified ·
1 Parent(s): 98411ba

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,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "image-classification",
9
+ "library": "timm",
10
+ "model_type": "tiny_vit_21m_224",
11
+ "model": "timm/tiny_vit_21m_224.in1k",
12
+ "processor": "timm/tiny_vit_21m_224.in1k",
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": null,
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": 1,
44
+ "duration": 1,
45
+ "warmup_runs": 1,
46
+ "input_shapes": {
47
+ "batch_size": 2,
48
+ "sequence_length": 16,
49
+ "num_choices": 2
50
+ },
51
+ "new_tokens": null,
52
+ "memory": true,
53
+ "latency": true,
54
+ "energy": true,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 2,
58
+ "min_new_tokens": 2
59
+ },
60
+ "call_kwargs": {
61
+ "num_inference_steps": 2
62
+ }
63
+ },
64
+ "launcher": {
65
+ "name": "process",
66
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
67
+ "device_isolation": false,
68
+ "device_isolation_action": null,
69
+ "numactl": false,
70
+ "numactl_kwargs": {},
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7763 64-Core Processor",
75
+ "cpu_count": 4,
76
+ "cpu_ram_mb": 16766.779392,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.15",
82
+ "optimum_benchmark_version": "0.5.0.dev0",
83
+ "optimum_benchmark_commit": "7585b3910f38dd7dd75810536b17b66af6fb882c",
84
+ "transformers_version": "4.47.0",
85
+ "transformers_commit": null,
86
+ "accelerate_version": "1.2.0",
87
+ "accelerate_commit": null,
88
+ "diffusers_version": "0.31.0",
89
+ "diffusers_commit": null,
90
+ "optimum_version": null,
91
+ "optimum_commit": null,
92
+ "timm_version": "1.0.12",
93
+ "timm_commit": null,
94
+ "peft_version": null,
95
+ "peft_commit": null
96
+ },
97
+ "print_report": true,
98
+ "log_report": true
99
+ },
100
+ "report": {
101
+ "load_model": {
102
+ "memory": {
103
+ "unit": "MB",
104
+ "max_ram": 532.8896,
105
+ "max_global_vram": null,
106
+ "max_process_vram": null,
107
+ "max_reserved": null,
108
+ "max_allocated": null
109
+ },
110
+ "latency": {
111
+ "unit": "s",
112
+ "values": [
113
+ 0.3366932349999985
114
+ ],
115
+ "count": 1,
116
+ "total": 0.3366932349999985,
117
+ "mean": 0.3366932349999985,
118
+ "p50": 0.3366932349999985,
119
+ "p90": 0.3366932349999985,
120
+ "p95": 0.3366932349999985,
121
+ "p99": 0.3366932349999985,
122
+ "stdev": 0,
123
+ "stdev_": 0
124
+ },
125
+ "throughput": null,
126
+ "energy": {
127
+ "unit": "kWh",
128
+ "cpu": 0.0001386383733000001,
129
+ "ram": 5.798256547726705e-06,
130
+ "gpu": 0,
131
+ "total": 0.0001444366298477268
132
+ },
133
+ "efficiency": null
134
+ },
135
+ "forward": {
136
+ "memory": {
137
+ "unit": "MB",
138
+ "max_ram": 609.476608,
139
+ "max_global_vram": null,
140
+ "max_process_vram": null,
141
+ "max_reserved": null,
142
+ "max_allocated": null
143
+ },
144
+ "latency": {
145
+ "unit": "s",
146
+ "values": [
147
+ 0.21422887899998955,
148
+ 0.21409218400000896,
149
+ 0.2139493090000002,
150
+ 0.2009255379999928,
151
+ 0.1812795350000016
152
+ ],
153
+ "count": 5,
154
+ "total": 1.024475444999993,
155
+ "mean": 0.20489508899999861,
156
+ "p50": 0.2139493090000002,
157
+ "p90": 0.21417420099999732,
158
+ "p95": 0.21420153999999342,
159
+ "p99": 0.21422341119999033,
160
+ "stdev": 0.012861856925654216,
161
+ "stdev_": 6.277289020653054
162
+ },
163
+ "throughput": {
164
+ "unit": "samples/s",
165
+ "value": 9.761092907404986
166
+ },
167
+ "energy": {
168
+ "unit": "kWh",
169
+ "cpu": 8.310912042222156e-06,
170
+ "ram": 3.4753067170994536e-07,
171
+ "gpu": 0.0,
172
+ "total": 8.658442713932099e-06
173
+ },
174
+ "efficiency": {
175
+ "unit": "samples/kWh",
176
+ "value": 230988.41975149256
177
+ }
178
+ }
179
+ }
180
+ }