IlyasMoutawwakil HF staff commited on
Commit
032cd36
·
verified ·
1 Parent(s): 7cb820e

Upload cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub

Browse files
cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.5.1+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "fill-mask",
9
+ "library": "transformers",
10
+ "model_type": "bert",
11
+ "model": "hf-internal-testing/tiny-random-BertModel",
12
+ "processor": "hf-internal-testing/tiny-random-BertModel",
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": true,
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": "training",
42
+ "_target_": "optimum_benchmark.scenarios.training.scenario.TrainingScenario",
43
+ "max_steps": 5,
44
+ "warmup_steps": 2,
45
+ "dataset_shapes": {
46
+ "dataset_size": 500,
47
+ "sequence_length": 16,
48
+ "num_choices": 1
49
+ },
50
+ "training_arguments": {
51
+ "per_device_train_batch_size": 2,
52
+ "gradient_accumulation_steps": 1,
53
+ "output_dir": "./trainer_output",
54
+ "evaluation_strategy": "no",
55
+ "eval_strategy": "no",
56
+ "save_strategy": "no",
57
+ "do_train": true,
58
+ "use_cpu": false,
59
+ "max_steps": 5,
60
+ "do_eval": false,
61
+ "do_predict": false,
62
+ "report_to": "none",
63
+ "skip_memory_metrics": true,
64
+ "ddp_find_unused_parameters": false
65
+ },
66
+ "latency": true,
67
+ "memory": true,
68
+ "energy": true
69
+ },
70
+ "launcher": {
71
+ "name": "process",
72
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
73
+ "device_isolation": false,
74
+ "device_isolation_action": null,
75
+ "numactl": false,
76
+ "numactl_kwargs": {},
77
+ "start_method": "spawn"
78
+ },
79
+ "environment": {
80
+ "cpu": " AMD EPYC 7763 64-Core Processor",
81
+ "cpu_count": 4,
82
+ "cpu_ram_mb": 16766.779392,
83
+ "system": "Linux",
84
+ "machine": "x86_64",
85
+ "platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39",
86
+ "processor": "x86_64",
87
+ "python_version": "3.10.15",
88
+ "optimum_benchmark_version": "0.5.0.dev0",
89
+ "optimum_benchmark_commit": "7585b3910f38dd7dd75810536b17b66af6fb882c",
90
+ "transformers_version": "4.47.0",
91
+ "transformers_commit": null,
92
+ "accelerate_version": "1.2.0",
93
+ "accelerate_commit": null,
94
+ "diffusers_version": "0.31.0",
95
+ "diffusers_commit": null,
96
+ "optimum_version": null,
97
+ "optimum_commit": null,
98
+ "timm_version": "1.0.12",
99
+ "timm_commit": null,
100
+ "peft_version": null,
101
+ "peft_commit": null
102
+ },
103
+ "print_report": true,
104
+ "log_report": true
105
+ },
106
+ "report": {
107
+ "overall": {
108
+ "memory": {
109
+ "unit": "MB",
110
+ "max_ram": 474.669056,
111
+ "max_global_vram": null,
112
+ "max_process_vram": null,
113
+ "max_reserved": null,
114
+ "max_allocated": null
115
+ },
116
+ "latency": {
117
+ "unit": "s",
118
+ "values": [
119
+ 0.016033114999999043,
120
+ 0.01231795600000396,
121
+ 0.012212718999990102,
122
+ 0.012068352000000004,
123
+ 0.012090201999995998
124
+ ],
125
+ "count": 5,
126
+ "total": 0.06472234399998911,
127
+ "mean": 0.012944468799997822,
128
+ "p50": 0.012212718999990102,
129
+ "p90": 0.01454705140000101,
130
+ "p95": 0.015290083200000026,
131
+ "p99": 0.01588450863999924,
132
+ "stdev": 0.001546936574005104,
133
+ "stdev_": 11.95056048963063
134
+ },
135
+ "throughput": {
136
+ "unit": "samples/s",
137
+ "value": 772.5307352899397
138
+ },
139
+ "energy": {
140
+ "unit": "kWh",
141
+ "cpu": 8.643756294444909e-06,
142
+ "ram": 3.6100026337274195e-07,
143
+ "gpu": 0,
144
+ "total": 9.00475655781765e-06
145
+ },
146
+ "efficiency": {
147
+ "unit": "samples/kWh",
148
+ "value": 1110524.191941459
149
+ }
150
+ },
151
+ "warmup": {
152
+ "memory": {
153
+ "unit": "MB",
154
+ "max_ram": 474.669056,
155
+ "max_global_vram": null,
156
+ "max_process_vram": null,
157
+ "max_reserved": null,
158
+ "max_allocated": null
159
+ },
160
+ "latency": {
161
+ "unit": "s",
162
+ "values": [
163
+ 0.016033114999999043,
164
+ 0.01231795600000396
165
+ ],
166
+ "count": 2,
167
+ "total": 0.028351071000003003,
168
+ "mean": 0.014175535500001502,
169
+ "p50": 0.014175535500001502,
170
+ "p90": 0.015661599099999535,
171
+ "p95": 0.01584735704999929,
172
+ "p99": 0.015995963409999092,
173
+ "stdev": 0.0018575794999975415,
174
+ "stdev_": 13.104122239313956
175
+ },
176
+ "throughput": {
177
+ "unit": "samples/s",
178
+ "value": 282.1762888604509
179
+ },
180
+ "energy": null,
181
+ "efficiency": null
182
+ },
183
+ "train": {
184
+ "memory": {
185
+ "unit": "MB",
186
+ "max_ram": 474.669056,
187
+ "max_global_vram": null,
188
+ "max_process_vram": null,
189
+ "max_reserved": null,
190
+ "max_allocated": null
191
+ },
192
+ "latency": {
193
+ "unit": "s",
194
+ "values": [
195
+ 0.012212718999990102,
196
+ 0.012068352000000004,
197
+ 0.012090201999995998
198
+ ],
199
+ "count": 3,
200
+ "total": 0.036371272999986104,
201
+ "mean": 0.012123757666662035,
202
+ "p50": 0.012090201999995998,
203
+ "p90": 0.012188215599991281,
204
+ "p95": 0.012200467299990692,
205
+ "p99": 0.01221026865999022,
206
+ "stdev": 6.353447749365095e-05,
207
+ "stdev_": 0.5240493850215956
208
+ },
209
+ "throughput": {
210
+ "unit": "samples/s",
211
+ "value": 494.8960681141646
212
+ },
213
+ "energy": null,
214
+ "efficiency": null
215
+ }
216
+ }
217
+ }