IlyasMoutawwakil HF staff commited on
Commit
fb87904
1 Parent(s): d394604

Upload cpu_training_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub

Browse files
cpu_training_transformers_image-classification_google/vit-base-patch16-224/benchmark.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_training_transformers_image-classification_google/vit-base-patch16-224",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.0+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "image-classification",
9
+ "model": "google/vit-base-patch16-224",
10
+ "library": "transformers",
11
+ "device": "cpu",
12
+ "device_ids": null,
13
+ "seed": 42,
14
+ "inter_op_num_threads": null,
15
+ "intra_op_num_threads": null,
16
+ "hub_kwargs": {
17
+ "revision": "main",
18
+ "force_download": false,
19
+ "local_files_only": false,
20
+ "trust_remote_code": false
21
+ },
22
+ "no_weights": true,
23
+ "device_map": null,
24
+ "torch_dtype": null,
25
+ "eval_mode": true,
26
+ "to_bettertransformer": false,
27
+ "low_cpu_mem_usage": null,
28
+ "attn_implementation": null,
29
+ "cache_implementation": null,
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": "training",
44
+ "_target_": "optimum_benchmark.scenarios.training.scenario.TrainingScenario",
45
+ "max_steps": 5,
46
+ "warmup_steps": 2,
47
+ "dataset_shapes": {
48
+ "dataset_size": 500,
49
+ "sequence_length": 16,
50
+ "num_choices": 1
51
+ },
52
+ "training_arguments": {
53
+ "per_device_train_batch_size": 2,
54
+ "gradient_accumulation_steps": 1,
55
+ "output_dir": "./trainer_output",
56
+ "do_train": true,
57
+ "use_cpu": false,
58
+ "max_steps": 5,
59
+ "do_eval": false,
60
+ "do_predict": false,
61
+ "report_to": "none",
62
+ "skip_memory_metrics": true,
63
+ "ddp_find_unused_parameters": false
64
+ },
65
+ "latency": true,
66
+ "memory": true,
67
+ "energy": false
68
+ },
69
+ "launcher": {
70
+ "name": "process",
71
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
72
+ "device_isolation": false,
73
+ "device_isolation_action": "error",
74
+ "start_method": "spawn"
75
+ },
76
+ "environment": {
77
+ "cpu": " AMD EPYC 7763 64-Core Processor",
78
+ "cpu_count": 4,
79
+ "cpu_ram_mb": 16757.346304,
80
+ "system": "Linux",
81
+ "machine": "x86_64",
82
+ "platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
83
+ "processor": "x86_64",
84
+ "python_version": "3.10.14",
85
+ "optimum_benchmark_version": "0.2.0",
86
+ "optimum_benchmark_commit": "d35829e539df8480b726c647eeabf91e41eae047",
87
+ "transformers_version": "4.40.2",
88
+ "transformers_commit": null,
89
+ "accelerate_version": "0.30.0",
90
+ "accelerate_commit": null,
91
+ "diffusers_version": "0.27.2",
92
+ "diffusers_commit": null,
93
+ "optimum_version": null,
94
+ "optimum_commit": null,
95
+ "timm_version": "0.9.16",
96
+ "timm_commit": null,
97
+ "peft_version": null,
98
+ "peft_commit": null
99
+ }
100
+ },
101
+ "report": {
102
+ "overall": {
103
+ "memory": {
104
+ "unit": "MB",
105
+ "max_ram": 2436.857856,
106
+ "max_global_vram": null,
107
+ "max_process_vram": null,
108
+ "max_reserved": null,
109
+ "max_allocated": null
110
+ },
111
+ "latency": {
112
+ "unit": "s",
113
+ "count": 5,
114
+ "total": 7.822224003000031,
115
+ "mean": 1.5644448006000062,
116
+ "stdev": 0.058349272299938575,
117
+ "p50": 1.5433539250000194,
118
+ "p90": 1.626219530800006,
119
+ "p95": 1.6531224774000066,
120
+ "p99": 1.6746448346800071,
121
+ "values": [
122
+ 1.6800254240000072,
123
+ 1.5248428909999916,
124
+ 1.545510691000004,
125
+ 1.5433539250000194,
126
+ 1.5284910720000084
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "samples/s",
131
+ "value": 6.3920439993566625
132
+ },
133
+ "energy": null,
134
+ "efficiency": null
135
+ },
136
+ "warmup": {
137
+ "memory": {
138
+ "unit": "MB",
139
+ "max_ram": 2436.857856,
140
+ "max_global_vram": null,
141
+ "max_process_vram": null,
142
+ "max_reserved": null,
143
+ "max_allocated": null
144
+ },
145
+ "latency": {
146
+ "unit": "s",
147
+ "count": 2,
148
+ "total": 3.204868314999999,
149
+ "mean": 1.6024341574999994,
150
+ "stdev": 0.0775912665000078,
151
+ "p50": 1.6024341574999994,
152
+ "p90": 1.6645071707000056,
153
+ "p95": 1.6722662973500064,
154
+ "p99": 1.678473598670007,
155
+ "values": [
156
+ 1.6800254240000072,
157
+ 1.5248428909999916
158
+ ]
159
+ },
160
+ "throughput": {
161
+ "unit": "samples/s",
162
+ "value": 2.4962024063693873
163
+ },
164
+ "energy": null,
165
+ "efficiency": null
166
+ },
167
+ "train": {
168
+ "memory": {
169
+ "unit": "MB",
170
+ "max_ram": 2436.857856,
171
+ "max_global_vram": null,
172
+ "max_process_vram": null,
173
+ "max_reserved": null,
174
+ "max_allocated": null
175
+ },
176
+ "latency": {
177
+ "unit": "s",
178
+ "count": 3,
179
+ "total": 4.617355688000032,
180
+ "mean": 1.5391185626666772,
181
+ "stdev": 0.0075661781764760115,
182
+ "p50": 1.5433539250000194,
183
+ "p90": 1.5450793378000072,
184
+ "p95": 1.5452950144000055,
185
+ "p99": 1.5454675556800044,
186
+ "values": [
187
+ 1.545510691000004,
188
+ 1.5433539250000194,
189
+ 1.5284910720000084
190
+ ]
191
+ },
192
+ "throughput": {
193
+ "unit": "samples/s",
194
+ "value": 3.8983351546383784
195
+ },
196
+ "energy": null,
197
+ "efficiency": null
198
+ }
199
+ }
200
+ }