Upload cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
Browse files
cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json
CHANGED
|
@@ -5,13 +5,13 @@
|
|
| 5 |
"name": "pytorch",
|
| 6 |
"version": "2.3.1+rocm5.7",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
|
|
|
|
|
|
| 8 |
"task": "fill-mask",
|
| 9 |
"library": "transformers",
|
| 10 |
"model_type": "bert",
|
| 11 |
-
"model": "hf-internal-testing/tiny-random-BertModel",
|
| 12 |
-
"processor": "hf-internal-testing/tiny-random-BertModel",
|
| 13 |
"device": "cuda",
|
| 14 |
-
"device_ids": "
|
| 15 |
"seed": 42,
|
| 16 |
"inter_op_num_threads": null,
|
| 17 |
"intra_op_num_threads": null,
|
|
@@ -25,6 +25,7 @@
|
|
| 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,
|
|
@@ -51,7 +52,6 @@
|
|
| 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,
|
|
@@ -79,10 +79,10 @@
|
|
| 79 |
"environment": {
|
| 80 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
| 81 |
"cpu_count": 128,
|
| 82 |
-
"cpu_ram_mb": 1082014.
|
| 83 |
"system": "Linux",
|
| 84 |
"machine": "x86_64",
|
| 85 |
-
"platform": "Linux-5.15.0-
|
| 86 |
"processor": "x86_64",
|
| 87 |
"python_version": "3.10.12",
|
| 88 |
"gpu": [
|
|
@@ -97,19 +97,19 @@
|
|
| 97 |
],
|
| 98 |
"gpu_count": 8,
|
| 99 |
"gpu_vram_mb": 549621596160,
|
| 100 |
-
"optimum_benchmark_version": "0.
|
| 101 |
"optimum_benchmark_commit": null,
|
| 102 |
-
"transformers_version": "4.
|
| 103 |
"transformers_commit": null,
|
| 104 |
-
"accelerate_version": "1.
|
| 105 |
"accelerate_commit": null,
|
| 106 |
-
"diffusers_version": "0.
|
| 107 |
"diffusers_commit": null,
|
| 108 |
"optimum_version": null,
|
| 109 |
"optimum_commit": null,
|
| 110 |
-
"timm_version": "1.0.
|
| 111 |
"timm_commit": null,
|
| 112 |
-
"peft_version": "0.
|
| 113 |
"peft_commit": null
|
| 114 |
},
|
| 115 |
"print_report": true,
|
|
@@ -119,34 +119,34 @@
|
|
| 119 |
"overall": {
|
| 120 |
"memory": {
|
| 121 |
"unit": "MB",
|
| 122 |
-
"max_ram":
|
| 123 |
"max_global_vram": 68702.69952,
|
| 124 |
-
"max_process_vram":
|
| 125 |
"max_reserved": 2.097152,
|
| 126 |
"max_allocated": 1.940992
|
| 127 |
},
|
| 128 |
"latency": {
|
| 129 |
"unit": "s",
|
| 130 |
"values": [
|
| 131 |
-
0.
|
| 132 |
-
0.
|
| 133 |
-
0.
|
| 134 |
-
0.
|
| 135 |
-
0.
|
| 136 |
],
|
| 137 |
"count": 5,
|
| 138 |
-
"total": 0.
|
| 139 |
-
"mean": 0.
|
| 140 |
-
"p50": 0.
|
| 141 |
-
"p90": 0.
|
| 142 |
-
"p95": 0.
|
| 143 |
-
"p99": 0.
|
| 144 |
-
"stdev": 0.
|
| 145 |
-
"stdev_":
|
| 146 |
},
|
| 147 |
"throughput": {
|
| 148 |
"unit": "samples/s",
|
| 149 |
-
"value":
|
| 150 |
},
|
| 151 |
"energy": null,
|
| 152 |
"efficiency": null
|
|
@@ -154,31 +154,31 @@
|
|
| 154 |
"warmup": {
|
| 155 |
"memory": {
|
| 156 |
"unit": "MB",
|
| 157 |
-
"max_ram":
|
| 158 |
"max_global_vram": 68702.69952,
|
| 159 |
-
"max_process_vram":
|
| 160 |
"max_reserved": 2.097152,
|
| 161 |
"max_allocated": 1.940992
|
| 162 |
},
|
| 163 |
"latency": {
|
| 164 |
"unit": "s",
|
| 165 |
"values": [
|
| 166 |
-
0.
|
| 167 |
-
0.
|
| 168 |
],
|
| 169 |
"count": 2,
|
| 170 |
-
"total": 0.
|
| 171 |
-
"mean": 0.
|
| 172 |
-
"p50": 0.
|
| 173 |
-
"p90": 0.
|
| 174 |
-
"p95": 0.
|
| 175 |
-
"p99": 0.
|
| 176 |
-
"stdev": 0.
|
| 177 |
-
"stdev_": 95.
|
| 178 |
},
|
| 179 |
"throughput": {
|
| 180 |
"unit": "samples/s",
|
| 181 |
-
"value":
|
| 182 |
},
|
| 183 |
"energy": null,
|
| 184 |
"efficiency": null
|
|
@@ -186,32 +186,32 @@
|
|
| 186 |
"train": {
|
| 187 |
"memory": {
|
| 188 |
"unit": "MB",
|
| 189 |
-
"max_ram":
|
| 190 |
"max_global_vram": 68702.69952,
|
| 191 |
-
"max_process_vram":
|
| 192 |
"max_reserved": 2.097152,
|
| 193 |
"max_allocated": 1.940992
|
| 194 |
},
|
| 195 |
"latency": {
|
| 196 |
"unit": "s",
|
| 197 |
"values": [
|
| 198 |
-
0.
|
| 199 |
-
0.
|
| 200 |
-
0.
|
| 201 |
],
|
| 202 |
"count": 3,
|
| 203 |
-
"total": 0.
|
| 204 |
-
"mean": 0.
|
| 205 |
-
"p50": 0.
|
| 206 |
-
"p90": 0.
|
| 207 |
-
"p95": 0.
|
| 208 |
-
"p99": 0.
|
| 209 |
-
"stdev": 0.
|
| 210 |
-
"stdev_": 1.
|
| 211 |
},
|
| 212 |
"throughput": {
|
| 213 |
"unit": "samples/s",
|
| 214 |
-
"value":
|
| 215 |
},
|
| 216 |
"energy": null,
|
| 217 |
"efficiency": null
|
|
|
|
| 5 |
"name": "pytorch",
|
| 6 |
"version": "2.3.1+rocm5.7",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"model": "hf-internal-testing/tiny-random-BertModel",
|
| 9 |
+
"processor": "hf-internal-testing/tiny-random-BertModel",
|
| 10 |
"task": "fill-mask",
|
| 11 |
"library": "transformers",
|
| 12 |
"model_type": "bert",
|
|
|
|
|
|
|
| 13 |
"device": "cuda",
|
| 14 |
+
"device_ids": "4",
|
| 15 |
"seed": 42,
|
| 16 |
"inter_op_num_threads": null,
|
| 17 |
"intra_op_num_threads": null,
|
|
|
|
| 25 |
"low_cpu_mem_usage": null,
|
| 26 |
"attn_implementation": null,
|
| 27 |
"cache_implementation": null,
|
| 28 |
+
"allow_tf32": false,
|
| 29 |
"autocast_enabled": false,
|
| 30 |
"autocast_dtype": null,
|
| 31 |
"torch_compile": false,
|
|
|
|
| 52 |
"per_device_train_batch_size": 2,
|
| 53 |
"gradient_accumulation_steps": 1,
|
| 54 |
"output_dir": "./trainer_output",
|
|
|
|
| 55 |
"eval_strategy": "no",
|
| 56 |
"save_strategy": "no",
|
| 57 |
"do_train": true,
|
|
|
|
| 79 |
"environment": {
|
| 80 |
"cpu": " AMD EPYC 7763 64-Core Processor",
|
| 81 |
"cpu_count": 128,
|
| 82 |
+
"cpu_ram_mb": 1082014.486528,
|
| 83 |
"system": "Linux",
|
| 84 |
"machine": "x86_64",
|
| 85 |
+
"platform": "Linux-5.15.0-131-generic-x86_64-with-glibc2.35",
|
| 86 |
"processor": "x86_64",
|
| 87 |
"python_version": "3.10.12",
|
| 88 |
"gpu": [
|
|
|
|
| 97 |
],
|
| 98 |
"gpu_count": 8,
|
| 99 |
"gpu_vram_mb": 549621596160,
|
| 100 |
+
"optimum_benchmark_version": "0.6.0.dev0",
|
| 101 |
"optimum_benchmark_commit": null,
|
| 102 |
+
"transformers_version": "4.51.3",
|
| 103 |
"transformers_commit": null,
|
| 104 |
+
"accelerate_version": "1.6.0",
|
| 105 |
"accelerate_commit": null,
|
| 106 |
+
"diffusers_version": "0.33.1",
|
| 107 |
"diffusers_commit": null,
|
| 108 |
"optimum_version": null,
|
| 109 |
"optimum_commit": null,
|
| 110 |
+
"timm_version": "1.0.15",
|
| 111 |
"timm_commit": null,
|
| 112 |
+
"peft_version": "0.15.2",
|
| 113 |
"peft_commit": null
|
| 114 |
},
|
| 115 |
"print_report": true,
|
|
|
|
| 119 |
"overall": {
|
| 120 |
"memory": {
|
| 121 |
"unit": "MB",
|
| 122 |
+
"max_ram": 1283.792896,
|
| 123 |
"max_global_vram": 68702.69952,
|
| 124 |
+
"max_process_vram": 62729.150464,
|
| 125 |
"max_reserved": 2.097152,
|
| 126 |
"max_allocated": 1.940992
|
| 127 |
},
|
| 128 |
"latency": {
|
| 129 |
"unit": "s",
|
| 130 |
"values": [
|
| 131 |
+
0.6115432739257812,
|
| 132 |
+
0.015525885581970215,
|
| 133 |
+
0.014713408470153809,
|
| 134 |
+
0.014810848236083984,
|
| 135 |
+
0.015088128089904786
|
| 136 |
],
|
| 137 |
"count": 5,
|
| 138 |
+
"total": 0.671681544303894,
|
| 139 |
+
"mean": 0.1343363088607788,
|
| 140 |
+
"p50": 0.015088128089904786,
|
| 141 |
+
"p90": 0.3731363185882569,
|
| 142 |
+
"p95": 0.4923397962570189,
|
| 143 |
+
"p99": 0.5877025783920288,
|
| 144 |
+
"stdev": 0.23860364910822884,
|
| 145 |
+
"stdev_": 177.6166481956184
|
| 146 |
},
|
| 147 |
"throughput": {
|
| 148 |
"unit": "samples/s",
|
| 149 |
+
"value": 74.44003847361648
|
| 150 |
},
|
| 151 |
"energy": null,
|
| 152 |
"efficiency": null
|
|
|
|
| 154 |
"warmup": {
|
| 155 |
"memory": {
|
| 156 |
"unit": "MB",
|
| 157 |
+
"max_ram": 1283.792896,
|
| 158 |
"max_global_vram": 68702.69952,
|
| 159 |
+
"max_process_vram": 62729.150464,
|
| 160 |
"max_reserved": 2.097152,
|
| 161 |
"max_allocated": 1.940992
|
| 162 |
},
|
| 163 |
"latency": {
|
| 164 |
"unit": "s",
|
| 165 |
"values": [
|
| 166 |
+
0.6115432739257812,
|
| 167 |
+
0.015525885581970215
|
| 168 |
],
|
| 169 |
"count": 2,
|
| 170 |
+
"total": 0.6270691595077514,
|
| 171 |
+
"mean": 0.3135345797538757,
|
| 172 |
+
"p50": 0.3135345797538757,
|
| 173 |
+
"p90": 0.5519415350914001,
|
| 174 |
+
"p95": 0.5817424045085906,
|
| 175 |
+
"p99": 0.6055831000423431,
|
| 176 |
+
"stdev": 0.2980086941719055,
|
| 177 |
+
"stdev_": 95.04811061218254
|
| 178 |
},
|
| 179 |
"throughput": {
|
| 180 |
"unit": "samples/s",
|
| 181 |
+
"value": 12.757763443955673
|
| 182 |
},
|
| 183 |
"energy": null,
|
| 184 |
"efficiency": null
|
|
|
|
| 186 |
"train": {
|
| 187 |
"memory": {
|
| 188 |
"unit": "MB",
|
| 189 |
+
"max_ram": 1283.792896,
|
| 190 |
"max_global_vram": 68702.69952,
|
| 191 |
+
"max_process_vram": 62729.150464,
|
| 192 |
"max_reserved": 2.097152,
|
| 193 |
"max_allocated": 1.940992
|
| 194 |
},
|
| 195 |
"latency": {
|
| 196 |
"unit": "s",
|
| 197 |
"values": [
|
| 198 |
+
0.014713408470153809,
|
| 199 |
+
0.014810848236083984,
|
| 200 |
+
0.015088128089904786
|
| 201 |
],
|
| 202 |
"count": 3,
|
| 203 |
+
"total": 0.04461238479614258,
|
| 204 |
+
"mean": 0.014870794932047527,
|
| 205 |
+
"p50": 0.014810848236083984,
|
| 206 |
+
"p90": 0.015032672119140625,
|
| 207 |
+
"p95": 0.015060400104522706,
|
| 208 |
+
"p99": 0.01508258249282837,
|
| 209 |
+
"stdev": 0.0001587427754246646,
|
| 210 |
+
"stdev_": 1.0674800920195842
|
| 211 |
},
|
| 212 |
"throughput": {
|
| 213 |
"unit": "samples/s",
|
| 214 |
+
"value": 403.47540447011414
|
| 215 |
},
|
| 216 |
"energy": null,
|
| 217 |
"efficiency": null
|