Commit
•
62d982c
1
Parent(s):
69103b8
Upload cpu_training_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
Browse files
cpu_training_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json
ADDED
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cpu_training_transformers_multiple-choice_FacebookAI/roberta-base",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.0+cpu",
|
7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
+
"task": "multiple-choice",
|
9 |
+
"model": "FacebookAI/roberta-base",
|
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": 2832.891904,
|
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": 3.822023807999983,
|
115 |
+
"mean": 0.7644047615999966,
|
116 |
+
"stdev": 0.04863204805974047,
|
117 |
+
"p50": 0.7509160369999961,
|
118 |
+
"p90": 0.816585580200001,
|
119 |
+
"p95": 0.8380992835999962,
|
120 |
+
"p99": 0.8553102463199923,
|
121 |
+
"values": [
|
122 |
+
0.8596129869999913,
|
123 |
+
0.7509160369999961,
|
124 |
+
0.7265078709999955,
|
125 |
+
0.7520444700000155,
|
126 |
+
0.7329424429999847
|
127 |
+
]
|
128 |
+
},
|
129 |
+
"throughput": {
|
130 |
+
"unit": "samples/s",
|
131 |
+
"value": 13.082074448448916
|
132 |
+
},
|
133 |
+
"energy": null,
|
134 |
+
"efficiency": null
|
135 |
+
},
|
136 |
+
"warmup": {
|
137 |
+
"memory": {
|
138 |
+
"unit": "MB",
|
139 |
+
"max_ram": 2832.891904,
|
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.6105290239999874,
|
149 |
+
"mean": 0.8052645119999937,
|
150 |
+
"stdev": 0.05434847499999762,
|
151 |
+
"p50": 0.8052645119999937,
|
152 |
+
"p90": 0.8487432919999918,
|
153 |
+
"p95": 0.8541781394999916,
|
154 |
+
"p99": 0.8585260174999914,
|
155 |
+
"values": [
|
156 |
+
0.8596129869999913,
|
157 |
+
0.7509160369999961
|
158 |
+
]
|
159 |
+
},
|
160 |
+
"throughput": {
|
161 |
+
"unit": "samples/s",
|
162 |
+
"value": 4.967311908562079
|
163 |
+
},
|
164 |
+
"energy": null,
|
165 |
+
"efficiency": null
|
166 |
+
},
|
167 |
+
"train": {
|
168 |
+
"memory": {
|
169 |
+
"unit": "MB",
|
170 |
+
"max_ram": 2832.891904,
|
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": 2.2114947839999957,
|
180 |
+
"mean": 0.7371649279999986,
|
181 |
+
"stdev": 0.010844399685351043,
|
182 |
+
"p50": 0.7329424429999847,
|
183 |
+
"p90": 0.7482240646000093,
|
184 |
+
"p95": 0.7501342673000124,
|
185 |
+
"p99": 0.7516624294600149,
|
186 |
+
"values": [
|
187 |
+
0.7265078709999955,
|
188 |
+
0.7520444700000155,
|
189 |
+
0.7329424429999847
|
190 |
+
]
|
191 |
+
},
|
192 |
+
"throughput": {
|
193 |
+
"unit": "samples/s",
|
194 |
+
"value": 8.139291184509542
|
195 |
+
},
|
196 |
+
"energy": null,
|
197 |
+
"efficiency": null
|
198 |
+
}
|
199 |
+
}
|
200 |
+
}
|