Commit
•
fa80b3b
1
Parent(s):
d866a50
Upload cpu_training_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
Browse files
cpu_training_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json
ADDED
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cpu_training_transformers_fill-mask_google-bert/bert-base-uncased",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cpu",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "fill-mask",
|
9 |
+
"model": "google-bert/bert-base-uncased",
|
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.342208,
|
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": "62a285c19141f06dfefa3e3372c4d089bc6a2a7b",
|
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": 2493.968384,
|
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": 2.9335039859999767,
|
115 |
+
"mean": 0.5867007971999953,
|
116 |
+
"stdev": 0.04634938732430367,
|
117 |
+
"p50": 0.5653129419999914,
|
118 |
+
"p90": 0.635560158200002,
|
119 |
+
"p95": 0.6572948715999984,
|
120 |
+
"p99": 0.6746826423199956,
|
121 |
+
"values": [
|
122 |
+
0.679029584999995,
|
123 |
+
0.5703560180000125,
|
124 |
+
0.560341158,
|
125 |
+
0.5653129419999914,
|
126 |
+
0.558464282999978
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "samples/s",
|
131 |
+
"value": 17.04446294895895
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"warmup": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2493.968384,
|
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": 1.2493856030000074,
|
149 |
+
"mean": 0.6246928015000037,
|
150 |
+
"stdev": 0.05433678349999127,
|
151 |
+
"p50": 0.6246928015000037,
|
152 |
+
"p90": 0.6681622282999967,
|
153 |
+
"p95": 0.6735959066499959,
|
154 |
+
"p99": 0.6779428493299952,
|
155 |
+
"values": [
|
156 |
+
0.679029584999995,
|
157 |
+
0.5703560180000125
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "samples/s",
|
162 |
+
"value": 6.403147259573434
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"train": {
|
168 |
+
"memory": {
|
169 |
+
"unit": "MB",
|
170 |
+
"max_ram": 2493.968384,
|
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": 1.6841183829999693,
|
180 |
+
"mean": 0.5613727943333231,
|
181 |
+
"stdev": 0.0028895487153752925,
|
182 |
+
"p50": 0.560341158,
|
183 |
+
"p90": 0.5643185851999931,
|
184 |
+
"p95": 0.5648157635999922,
|
185 |
+
"p99": 0.5652135063199916,
|
186 |
+
"values": [
|
187 |
+
0.560341158,
|
188 |
+
0.5653129419999914,
|
189 |
+
0.558464282999978
|
190 |
+
]
|
191 |
+
},
|
192 |
+
"throughput": {
|
193 |
+
"unit": "samples/s",
|
194 |
+
"value": 10.688084746118664
|
195 |
+
},
|
196 |
+
"energy": null,
|
197 |
+
"efficiency": null
|
198 |
+
}
|
199 |
+
}
|
200 |
+
}
|