Upload cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
Browse files
cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json
ADDED
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.3.1+rocm5.7",
|
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": "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": 1312.362496,
|
123 |
+
"max_global_vram": 68702.69952,
|
124 |
+
"max_process_vram": 65255.411712,
|
125 |
+
"max_reserved": 44.040192,
|
126 |
+
"max_allocated": 25.06496
|
127 |
+
},
|
128 |
+
"latency": {
|
129 |
+
"unit": "s",
|
130 |
+
"values": [
|
131 |
+
0.6583055419921875,
|
132 |
+
0.010062641143798828,
|
133 |
+
0.009128568649291992,
|
134 |
+
0.009144569396972656,
|
135 |
+
0.009037210464477538
|
136 |
+
],
|
137 |
+
"count": 5,
|
138 |
+
"total": 0.6956785316467285,
|
139 |
+
"mean": 0.13913570632934572,
|
140 |
+
"p50": 0.009144569396972656,
|
141 |
+
"p90": 0.3990083816528321,
|
142 |
+
"p95": 0.5286569618225097,
|
143 |
+
"p99": 0.6323758259582519,
|
144 |
+
"stdev": 0.2595851862389713,
|
145 |
+
"stdev_": 186.56978362154695
|
146 |
+
},
|
147 |
+
"throughput": {
|
148 |
+
"unit": "samples/s",
|
149 |
+
"value": 71.87227681389832
|
150 |
+
},
|
151 |
+
"energy": null,
|
152 |
+
"efficiency": null
|
153 |
+
},
|
154 |
+
"warmup": {
|
155 |
+
"memory": {
|
156 |
+
"unit": "MB",
|
157 |
+
"max_ram": 1312.362496,
|
158 |
+
"max_global_vram": 68702.69952,
|
159 |
+
"max_process_vram": 65255.411712,
|
160 |
+
"max_reserved": 44.040192,
|
161 |
+
"max_allocated": 25.06496
|
162 |
+
},
|
163 |
+
"latency": {
|
164 |
+
"unit": "s",
|
165 |
+
"values": [
|
166 |
+
0.6583055419921875,
|
167 |
+
0.010062641143798828
|
168 |
+
],
|
169 |
+
"count": 2,
|
170 |
+
"total": 0.6683681831359863,
|
171 |
+
"mean": 0.33418409156799317,
|
172 |
+
"p50": 0.33418409156799317,
|
173 |
+
"p90": 0.5934812519073487,
|
174 |
+
"p95": 0.625893396949768,
|
175 |
+
"p99": 0.6518231129837035,
|
176 |
+
"stdev": 0.3241214504241943,
|
177 |
+
"stdev_": 96.98889282952253
|
178 |
+
},
|
179 |
+
"throughput": {
|
180 |
+
"unit": "samples/s",
|
181 |
+
"value": 11.969450673824667
|
182 |
+
},
|
183 |
+
"energy": null,
|
184 |
+
"efficiency": null
|
185 |
+
},
|
186 |
+
"train": {
|
187 |
+
"memory": {
|
188 |
+
"unit": "MB",
|
189 |
+
"max_ram": 1312.362496,
|
190 |
+
"max_global_vram": 68702.69952,
|
191 |
+
"max_process_vram": 65255.411712,
|
192 |
+
"max_reserved": 44.040192,
|
193 |
+
"max_allocated": 25.06496
|
194 |
+
},
|
195 |
+
"latency": {
|
196 |
+
"unit": "s",
|
197 |
+
"values": [
|
198 |
+
0.009128568649291992,
|
199 |
+
0.009144569396972656,
|
200 |
+
0.009037210464477538
|
201 |
+
],
|
202 |
+
"count": 3,
|
203 |
+
"total": 0.027310348510742183,
|
204 |
+
"mean": 0.009103449503580727,
|
205 |
+
"p50": 0.009128568649291992,
|
206 |
+
"p90": 0.009141369247436523,
|
207 |
+
"p95": 0.00914296932220459,
|
208 |
+
"p99": 0.009144249382019043,
|
209 |
+
"stdev": 4.7291392504842124e-05,
|
210 |
+
"stdev_": 0.519488711243366
|
211 |
+
},
|
212 |
+
"throughput": {
|
213 |
+
"unit": "samples/s",
|
214 |
+
"value": 659.0908202039211
|
215 |
+
},
|
216 |
+
"energy": null,
|
217 |
+
"efficiency": null
|
218 |
+
}
|
219 |
+
}
|
220 |
+
}
|