IlyasMoutawwakil HF staff commited on
Commit
eb5a38e
·
verified ·
1 Parent(s): 0dc271e

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

Browse files
cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.5.1+cu124",
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": "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": 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": true,
74
+ "device_isolation_action": "error",
75
+ "numactl": false,
76
+ "numactl_kwargs": {},
77
+ "start_method": "spawn"
78
+ },
79
+ "environment": {
80
+ "cpu": " AMD EPYC 7R32",
81
+ "cpu_count": 16,
82
+ "cpu_ram_mb": 66697.248768,
83
+ "system": "Linux",
84
+ "machine": "x86_64",
85
+ "platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
86
+ "processor": "x86_64",
87
+ "python_version": "3.10.12",
88
+ "gpu": [
89
+ "NVIDIA A10G"
90
+ ],
91
+ "gpu_count": 1,
92
+ "gpu_vram_mb": 24146608128,
93
+ "optimum_benchmark_version": "0.5.0.dev0",
94
+ "optimum_benchmark_commit": null,
95
+ "transformers_version": "4.47.0",
96
+ "transformers_commit": null,
97
+ "accelerate_version": "1.2.0",
98
+ "accelerate_commit": null,
99
+ "diffusers_version": "0.31.0",
100
+ "diffusers_commit": null,
101
+ "optimum_version": null,
102
+ "optimum_commit": null,
103
+ "timm_version": "1.0.12",
104
+ "timm_commit": null,
105
+ "peft_version": "0.14.0",
106
+ "peft_commit": null
107
+ },
108
+ "print_report": true,
109
+ "log_report": true
110
+ },
111
+ "report": {
112
+ "overall": {
113
+ "memory": {
114
+ "unit": "MB",
115
+ "max_ram": 1292.378112,
116
+ "max_global_vram": 681.050112,
117
+ "max_process_vram": 0.0,
118
+ "max_reserved": 25.165824,
119
+ "max_allocated": 19.652608
120
+ },
121
+ "latency": {
122
+ "unit": "s",
123
+ "values": [
124
+ 0.29976882934570315,
125
+ 0.01428889560699463,
126
+ 0.01345952033996582,
127
+ 0.013425663948059082,
128
+ 0.013402112007141113
129
+ ],
130
+ "count": 5,
131
+ "total": 0.3543450212478638,
132
+ "mean": 0.07086900424957276,
133
+ "p50": 0.01345952033996582,
134
+ "p90": 0.18557685585021977,
135
+ "p95": 0.2426728425979614,
136
+ "p99": 0.2883496319961548,
137
+ "stdev": 0.11445039843950845,
138
+ "stdev_": 161.495705564677
139
+ },
140
+ "throughput": {
141
+ "unit": "samples/s",
142
+ "value": 141.10541139796365
143
+ },
144
+ "energy": {
145
+ "unit": "kWh",
146
+ "cpu": 6.4100997583308435e-06,
147
+ "ram": 3.4907546266820437e-06,
148
+ "gpu": 8.121950941998579e-06,
149
+ "total": 1.8022805327011465e-05
150
+ },
151
+ "efficiency": {
152
+ "unit": "samples/kWh",
153
+ "value": 554852.578084091
154
+ }
155
+ },
156
+ "warmup": {
157
+ "memory": {
158
+ "unit": "MB",
159
+ "max_ram": 1292.378112,
160
+ "max_global_vram": 681.050112,
161
+ "max_process_vram": 0.0,
162
+ "max_reserved": 25.165824,
163
+ "max_allocated": 19.652608
164
+ },
165
+ "latency": {
166
+ "unit": "s",
167
+ "values": [
168
+ 0.29976882934570315,
169
+ 0.01428889560699463
170
+ ],
171
+ "count": 2,
172
+ "total": 0.3140577249526978,
173
+ "mean": 0.1570288624763489,
174
+ "p50": 0.1570288624763489,
175
+ "p90": 0.27122083597183233,
176
+ "p95": 0.2854948326587677,
177
+ "p99": 0.29691403000831607,
178
+ "stdev": 0.14273996686935428,
179
+ "stdev_": 90.90046544204779
180
+ },
181
+ "throughput": {
182
+ "unit": "samples/s",
183
+ "value": 25.47302411110865
184
+ },
185
+ "energy": null,
186
+ "efficiency": null
187
+ },
188
+ "train": {
189
+ "memory": {
190
+ "unit": "MB",
191
+ "max_ram": 1292.378112,
192
+ "max_global_vram": 681.050112,
193
+ "max_process_vram": 0.0,
194
+ "max_reserved": 25.165824,
195
+ "max_allocated": 19.652608
196
+ },
197
+ "latency": {
198
+ "unit": "s",
199
+ "values": [
200
+ 0.01345952033996582,
201
+ 0.013425663948059082,
202
+ 0.013402112007141113
203
+ ],
204
+ "count": 3,
205
+ "total": 0.04028729629516602,
206
+ "mean": 0.013429098765055339,
207
+ "p50": 0.013425663948059082,
208
+ "p90": 0.013452749061584472,
209
+ "p95": 0.013456134700775146,
210
+ "p99": 0.013458843212127685,
211
+ "stdev": 2.3562366113167512e-05,
212
+ "stdev_": 0.1754575383307222
213
+ },
214
+ "throughput": {
215
+ "unit": "samples/s",
216
+ "value": 446.79096527407773
217
+ },
218
+ "energy": null,
219
+ "efficiency": null
220
+ }
221
+ }
222
+ }