IlyasMoutawwakil HF Staff commited on
Commit
db39bef
·
verified ·
1 Parent(s): 69d6cf0

Upload cpu_training_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub

Browse files
cpu_training_transformers_text-generation_openai-community/gpt2/benchmark.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_training_transformers_text-generation_openai-community/gpt2",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.1+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-generation",
9
+ "library": "transformers",
10
+ "model_type": "gpt2",
11
+ "model": "openai-community/gpt2",
12
+ "processor": "openai-community/gpt2",
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": false
69
+ },
70
+ "launcher": {
71
+ "name": "process",
72
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
73
+ "device_isolation": false,
74
+ "device_isolation_action": "error",
75
+ "numactl": false,
76
+ "numactl_kwargs": {},
77
+ "start_method": "spawn"
78
+ },
79
+ "environment": {
80
+ "cpu": " AMD EPYC 7742 64-Core Processor",
81
+ "cpu_count": 128,
82
+ "cpu_ram_mb": 540671.660032,
83
+ "system": "Linux",
84
+ "machine": "x86_64",
85
+ "platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
86
+ "processor": "x86_64",
87
+ "python_version": "3.10.12",
88
+ "optimum_benchmark_version": "0.4.0",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.44.0",
91
+ "transformers_commit": null,
92
+ "accelerate_version": "0.33.0",
93
+ "accelerate_commit": null,
94
+ "diffusers_version": "0.30.0",
95
+ "diffusers_commit": null,
96
+ "optimum_version": null,
97
+ "optimum_commit": null,
98
+ "timm_version": "1.0.8",
99
+ "timm_commit": null,
100
+ "peft_version": "0.12.0",
101
+ "peft_commit": null
102
+ }
103
+ },
104
+ "report": {
105
+ "overall": {
106
+ "memory": {
107
+ "unit": "MB",
108
+ "max_ram": 2983.067648,
109
+ "max_global_vram": null,
110
+ "max_process_vram": null,
111
+ "max_reserved": null,
112
+ "max_allocated": null
113
+ },
114
+ "latency": {
115
+ "unit": "s",
116
+ "count": 5,
117
+ "total": 2.123094349168241,
118
+ "mean": 0.4246188698336482,
119
+ "stdev": 0.047668134438416235,
120
+ "p50": 0.39927320275455713,
121
+ "p90": 0.475011133775115,
122
+ "p95": 0.49733154252171513,
123
+ "p99": 0.5151878695189953,
124
+ "values": [
125
+ 0.5196519512683153,
126
+ 0.40804990753531456,
127
+ 0.3991203773766756,
128
+ 0.39927320275455713,
129
+ 0.3969989102333784
130
+ ]
131
+ },
132
+ "throughput": {
133
+ "unit": "samples/s",
134
+ "value": 23.550531336296178
135
+ },
136
+ "energy": null,
137
+ "efficiency": null
138
+ },
139
+ "warmup": {
140
+ "memory": {
141
+ "unit": "MB",
142
+ "max_ram": 2983.067648,
143
+ "max_global_vram": null,
144
+ "max_process_vram": null,
145
+ "max_reserved": null,
146
+ "max_allocated": null
147
+ },
148
+ "latency": {
149
+ "unit": "s",
150
+ "count": 2,
151
+ "total": 0.9277018588036299,
152
+ "mean": 0.46385092940181494,
153
+ "stdev": 0.05580102186650038,
154
+ "p50": 0.46385092940181494,
155
+ "p90": 0.5084917468950152,
156
+ "p95": 0.5140718490816653,
157
+ "p99": 0.5185359308309853,
158
+ "values": [
159
+ 0.5196519512683153,
160
+ 0.40804990753531456
161
+ ]
162
+ },
163
+ "throughput": {
164
+ "unit": "samples/s",
165
+ "value": 8.623460138709703
166
+ },
167
+ "energy": null,
168
+ "efficiency": null
169
+ },
170
+ "train": {
171
+ "memory": {
172
+ "unit": "MB",
173
+ "max_ram": 2983.067648,
174
+ "max_global_vram": null,
175
+ "max_process_vram": null,
176
+ "max_reserved": null,
177
+ "max_allocated": null
178
+ },
179
+ "latency": {
180
+ "unit": "s",
181
+ "count": 3,
182
+ "total": 1.1953924903646111,
183
+ "mean": 0.3984641634548704,
184
+ "stdev": 0.0010379672927893283,
185
+ "p50": 0.3991203773766756,
186
+ "p90": 0.3992426376789808,
187
+ "p95": 0.399257920216769,
188
+ "p99": 0.3992701462469995,
189
+ "values": [
190
+ 0.3991203773766756,
191
+ 0.39927320275455713,
192
+ 0.3969989102333784
193
+ ]
194
+ },
195
+ "throughput": {
196
+ "unit": "samples/s",
197
+ "value": 15.057815859717968
198
+ },
199
+ "energy": null,
200
+ "efficiency": null
201
+ }
202
+ }
203
+ }