IlyasMoutawwakil HF Staff commited on
Commit
656da1e
·
verified ·
1 Parent(s): 1442ffb

Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub

Browse files
cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.5.1+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model_type": "llama",
11
+ "model": "hf-internal-testing/tiny-random-LlamaForCausalLM",
12
+ "processor": "hf-internal-testing/tiny-random-LlamaForCausalLM",
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": 520.290304,
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.019558342999999923,
120
+ 0.012803514000012228,
121
+ 0.012993448000003127,
122
+ 0.013021129000009068,
123
+ 0.012926522999975987
124
+ ],
125
+ "count": 5,
126
+ "total": 0.07130295700000033,
127
+ "mean": 0.014260591400000067,
128
+ "p50": 0.012993448000003127,
129
+ "p90": 0.01694345740000358,
130
+ "p95": 0.01825090020000175,
131
+ "p99": 0.01929685444000029,
132
+ "stdev": 0.002649939791691366,
133
+ "stdev_": 18.58225733675641
134
+ },
135
+ "throughput": {
136
+ "unit": "samples/s",
137
+ "value": 701.2331900905564
138
+ },
139
+ "energy": {
140
+ "unit": "kWh",
141
+ "cpu": 8.916501688888761e-06,
142
+ "ram": 3.7241275430838455e-07,
143
+ "gpu": 0,
144
+ "total": 9.288914443197145e-06
145
+ },
146
+ "efficiency": {
147
+ "unit": "samples/kWh",
148
+ "value": 1076552.06226209
149
+ }
150
+ },
151
+ "warmup": {
152
+ "memory": {
153
+ "unit": "MB",
154
+ "max_ram": 520.290304,
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.019558342999999923,
164
+ 0.012803514000012228
165
+ ],
166
+ "count": 2,
167
+ "total": 0.03236185700001215,
168
+ "mean": 0.016180928500006075,
169
+ "p50": 0.016180928500006075,
170
+ "p90": 0.018882860100001155,
171
+ "p95": 0.01922060155000054,
172
+ "p99": 0.019490794710000047,
173
+ "stdev": 0.003377414499993847,
174
+ "stdev_": 20.87281023454605
175
+ },
176
+ "throughput": {
177
+ "unit": "samples/s",
178
+ "value": 247.20460262824213
179
+ },
180
+ "energy": null,
181
+ "efficiency": null
182
+ },
183
+ "train": {
184
+ "memory": {
185
+ "unit": "MB",
186
+ "max_ram": 520.290304,
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.012993448000003127,
196
+ 0.013021129000009068,
197
+ 0.012926522999975987
198
+ ],
199
+ "count": 3,
200
+ "total": 0.03894109999998818,
201
+ "mean": 0.012980366666662727,
202
+ "p50": 0.012993448000003127,
203
+ "p90": 0.01301559280000788,
204
+ "p95": 0.013018360900008474,
205
+ "p99": 0.01302057538000895,
206
+ "stdev": 3.971494069857384e-05,
207
+ "stdev_": 0.3059616243397277
208
+ },
209
+ "throughput": {
210
+ "unit": "samples/s",
211
+ "value": 462.2365572622618
212
+ },
213
+ "energy": null,
214
+ "efficiency": null
215
+ }
216
+ }
217
+ }