IlyasMoutawwakil HF staff commited on
Commit
5c50606
·
verified ·
1 Parent(s): 59ae7c3

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,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.1+rocm5.7",
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": "5",
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": false
69
+ },
70
+ "launcher": {
71
+ "name": "process",
72
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
73
+ "device_isolation": true,
74
+ "device_isolation_action": "warn",
75
+ "numactl": false,
76
+ "numactl_kwargs": {},
77
+ "start_method": "spawn"
78
+ },
79
+ "environment": {
80
+ "cpu": " AMD EPYC 7763 64-Core Processor",
81
+ "cpu_count": 128,
82
+ "cpu_ram_mb": 1082014.490624,
83
+ "system": "Linux",
84
+ "machine": "x86_64",
85
+ "platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
86
+ "processor": "x86_64",
87
+ "python_version": "3.10.12",
88
+ "gpu": [
89
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
90
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
91
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
92
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
93
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
94
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
95
+ "Advanced Micro Devices, Inc. [AMD/ATI]",
96
+ "Advanced Micro Devices, Inc. [AMD/ATI]"
97
+ ],
98
+ "gpu_count": 8,
99
+ "gpu_vram_mb": 549621596160,
100
+ "optimum_benchmark_version": "0.5.0.dev0",
101
+ "optimum_benchmark_commit": null,
102
+ "transformers_version": "4.47.0",
103
+ "transformers_commit": null,
104
+ "accelerate_version": "1.2.0",
105
+ "accelerate_commit": null,
106
+ "diffusers_version": "0.31.0",
107
+ "diffusers_commit": null,
108
+ "optimum_version": null,
109
+ "optimum_commit": null,
110
+ "timm_version": "1.0.12",
111
+ "timm_commit": null,
112
+ "peft_version": "0.14.0",
113
+ "peft_commit": null
114
+ },
115
+ "print_report": true,
116
+ "log_report": true
117
+ },
118
+ "report": {
119
+ "overall": {
120
+ "memory": {
121
+ "unit": "MB",
122
+ "max_ram": 1273.716736,
123
+ "max_global_vram": 68702.69952,
124
+ "max_process_vram": 54751.715328,
125
+ "max_reserved": 2.097152,
126
+ "max_allocated": 1.940992
127
+ },
128
+ "latency": {
129
+ "unit": "s",
130
+ "values": [
131
+ 0.6260604858398438,
132
+ 0.016475839614868162,
133
+ 0.01503105354309082,
134
+ 0.015087053298950196,
135
+ 0.0160689640045166
136
+ ],
137
+ "count": 5,
138
+ "total": 0.6887233963012697,
139
+ "mean": 0.13774467926025394,
140
+ "p50": 0.0160689640045166,
141
+ "p90": 0.3822266273498536,
142
+ "p95": 0.5041435565948486,
143
+ "p99": 0.6016770999908447,
144
+ "stdev": 0.24415854080925534,
145
+ "stdev_": 177.25442617492592
146
+ },
147
+ "throughput": {
148
+ "unit": "samples/s",
149
+ "value": 72.59808548471091
150
+ },
151
+ "energy": null,
152
+ "efficiency": null
153
+ },
154
+ "warmup": {
155
+ "memory": {
156
+ "unit": "MB",
157
+ "max_ram": 1273.716736,
158
+ "max_global_vram": 68702.69952,
159
+ "max_process_vram": 54751.715328,
160
+ "max_reserved": 2.097152,
161
+ "max_allocated": 1.940992
162
+ },
163
+ "latency": {
164
+ "unit": "s",
165
+ "values": [
166
+ 0.6260604858398438,
167
+ 0.016475839614868162
168
+ ],
169
+ "count": 2,
170
+ "total": 0.642536325454712,
171
+ "mean": 0.321268162727356,
172
+ "p50": 0.321268162727356,
173
+ "p90": 0.5651020212173462,
174
+ "p95": 0.5955812535285949,
175
+ "p99": 0.6199646393775939,
176
+ "stdev": 0.3047923231124878,
177
+ "stdev_": 94.87162391847386
178
+ },
179
+ "throughput": {
180
+ "unit": "samples/s",
181
+ "value": 12.450657936480924
182
+ },
183
+ "energy": null,
184
+ "efficiency": null
185
+ },
186
+ "train": {
187
+ "memory": {
188
+ "unit": "MB",
189
+ "max_ram": 1273.716736,
190
+ "max_global_vram": 68702.69952,
191
+ "max_process_vram": 54751.715328,
192
+ "max_reserved": 2.097152,
193
+ "max_allocated": 1.940992
194
+ },
195
+ "latency": {
196
+ "unit": "s",
197
+ "values": [
198
+ 0.01503105354309082,
199
+ 0.015087053298950196,
200
+ 0.0160689640045166
201
+ ],
202
+ "count": 3,
203
+ "total": 0.04618707084655761,
204
+ "mean": 0.01539569028218587,
205
+ "p50": 0.015087053298950196,
206
+ "p90": 0.01587258186340332,
207
+ "p95": 0.01597077293395996,
208
+ "p99": 0.016049325790405272,
209
+ "stdev": 0.0004766250252556221,
210
+ "stdev_": 3.0958340712213337
211
+ },
212
+ "throughput": {
213
+ "unit": "samples/s",
214
+ "value": 389.7194533032736
215
+ },
216
+ "energy": null,
217
+ "efficiency": null
218
+ }
219
+ }
220
+ }