Upload test_api_push_to_hub_mixin/benchmark.json with huggingface_hub
Browse files
test_api_push_to_hub_mixin/benchmark.json
CHANGED
|
@@ -3,13 +3,13 @@
|
|
| 3 |
"name": "test_api_push_to_hub_mixin",
|
| 4 |
"backend": {
|
| 5 |
"name": "pytorch",
|
| 6 |
-
"version": "2.
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
|
|
|
|
|
|
| 8 |
"task": "fill-mask",
|
| 9 |
"library": "transformers",
|
| 10 |
"model_type": "bert",
|
| 11 |
-
"model": "google-bert/bert-base-uncased",
|
| 12 |
-
"processor": "google-bert/bert-base-uncased",
|
| 13 |
"device": "cpu",
|
| 14 |
"device_ids": null,
|
| 15 |
"seed": 42,
|
|
@@ -18,6 +18,7 @@
|
|
| 18 |
"model_kwargs": {},
|
| 19 |
"processor_kwargs": {},
|
| 20 |
"no_weights": false,
|
|
|
|
| 21 |
"device_map": null,
|
| 22 |
"torch_dtype": null,
|
| 23 |
"eval_mode": true,
|
|
@@ -25,6 +26,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,
|
|
@@ -45,8 +47,8 @@
|
|
| 45 |
"warmup_runs": 1,
|
| 46 |
"input_shapes": {
|
| 47 |
"batch_size": 2,
|
| 48 |
-
"
|
| 49 |
-
"
|
| 50 |
},
|
| 51 |
"new_tokens": null,
|
| 52 |
"memory": true,
|
|
@@ -68,33 +70,44 @@
|
|
| 68 |
"environment": {
|
| 69 |
"cpu": " AMD EPYC 7742 64-Core Processor",
|
| 70 |
"cpu_count": 128,
|
| 71 |
-
"cpu_ram_mb": 540671.
|
| 72 |
"system": "Linux",
|
| 73 |
"machine": "x86_64",
|
| 74 |
-
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.
|
| 75 |
"processor": "x86_64",
|
| 76 |
-
"python_version": "3.10.
|
| 77 |
-
"
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
"optimum_version": null,
|
| 86 |
"optimum_commit": null,
|
| 87 |
-
"timm_version": "1.0.
|
| 88 |
-
"timm_commit":
|
| 89 |
-
"peft_version": "0.
|
| 90 |
-
"peft_commit":
|
| 91 |
-
}
|
|
|
|
|
|
|
| 92 |
},
|
| 93 |
"report": {
|
| 94 |
-
"
|
| 95 |
"memory": {
|
| 96 |
"unit": "MB",
|
| 97 |
-
"max_ram":
|
| 98 |
"max_global_vram": null,
|
| 99 |
"max_process_vram": null,
|
| 100 |
"max_reserved": null,
|
|
@@ -102,17 +115,46 @@
|
|
| 102 |
},
|
| 103 |
"latency": {
|
| 104 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
| 105 |
"count": 1,
|
| 106 |
-
"total":
|
| 107 |
-
"mean":
|
| 108 |
-
"
|
| 109 |
-
"
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
"values": [
|
| 114 |
-
|
| 115 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
},
|
| 117 |
"throughput": null,
|
| 118 |
"energy": null,
|
|
@@ -121,7 +163,7 @@
|
|
| 121 |
"forward": {
|
| 122 |
"memory": {
|
| 123 |
"unit": "MB",
|
| 124 |
-
"max_ram":
|
| 125 |
"max_global_vram": null,
|
| 126 |
"max_process_vram": null,
|
| 127 |
"max_reserved": null,
|
|
@@ -129,46 +171,51 @@
|
|
| 129 |
},
|
| 130 |
"latency": {
|
| 131 |
"unit": "s",
|
| 132 |
-
"count": 26,
|
| 133 |
-
"total": 1.02799610234797,
|
| 134 |
-
"mean": 0.03953831162876808,
|
| 135 |
-
"stdev": 0.002047179454171559,
|
| 136 |
-
"p50": 0.0391419087536633,
|
| 137 |
-
"p90": 0.043039153795689344,
|
| 138 |
-
"p95": 0.04387782281264663,
|
| 139 |
-
"p99": 0.044244484743103385,
|
| 140 |
"values": [
|
| 141 |
-
0.
|
| 142 |
-
0.
|
| 143 |
-
0.
|
| 144 |
-
0.
|
| 145 |
-
0.
|
| 146 |
-
0.
|
| 147 |
-
0.
|
| 148 |
-
0.
|
| 149 |
-
0.
|
| 150 |
-
0.
|
| 151 |
-
0.
|
| 152 |
-
0.
|
| 153 |
-
0.
|
| 154 |
-
0.
|
| 155 |
-
0.
|
| 156 |
-
0.
|
| 157 |
-
0.
|
| 158 |
-
0.
|
| 159 |
-
0.
|
| 160 |
-
0.
|
| 161 |
-
0.
|
| 162 |
-
0.
|
| 163 |
-
0.
|
| 164 |
-
0.
|
| 165 |
-
0.
|
| 166 |
-
0.
|
| 167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
},
|
| 169 |
"throughput": {
|
| 170 |
"unit": "samples/s",
|
| 171 |
-
"value":
|
| 172 |
},
|
| 173 |
"energy": null,
|
| 174 |
"efficiency": null
|
|
|
|
| 3 |
"name": "test_api_push_to_hub_mixin",
|
| 4 |
"backend": {
|
| 5 |
"name": "pytorch",
|
| 6 |
+
"version": "2.5.1",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"model": "google-bert/bert-base-uncased",
|
| 9 |
+
"processor": "google-bert/bert-base-uncased",
|
| 10 |
"task": "fill-mask",
|
| 11 |
"library": "transformers",
|
| 12 |
"model_type": "bert",
|
|
|
|
|
|
|
| 13 |
"device": "cpu",
|
| 14 |
"device_ids": null,
|
| 15 |
"seed": 42,
|
|
|
|
| 18 |
"model_kwargs": {},
|
| 19 |
"processor_kwargs": {},
|
| 20 |
"no_weights": false,
|
| 21 |
+
"tp_plan": null,
|
| 22 |
"device_map": null,
|
| 23 |
"torch_dtype": null,
|
| 24 |
"eval_mode": true,
|
|
|
|
| 26 |
"low_cpu_mem_usage": null,
|
| 27 |
"attn_implementation": null,
|
| 28 |
"cache_implementation": null,
|
| 29 |
+
"allow_tf32": false,
|
| 30 |
"autocast_enabled": false,
|
| 31 |
"autocast_dtype": null,
|
| 32 |
"torch_compile": false,
|
|
|
|
| 47 |
"warmup_runs": 1,
|
| 48 |
"input_shapes": {
|
| 49 |
"batch_size": 2,
|
| 50 |
+
"sequence_length": 16,
|
| 51 |
+
"num_choices": 2
|
| 52 |
},
|
| 53 |
"new_tokens": null,
|
| 54 |
"memory": true,
|
|
|
|
| 70 |
"environment": {
|
| 71 |
"cpu": " AMD EPYC 7742 64-Core Processor",
|
| 72 |
"cpu_count": 128,
|
| 73 |
+
"cpu_ram_mb": 540671.643648,
|
| 74 |
"system": "Linux",
|
| 75 |
"machine": "x86_64",
|
| 76 |
+
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.31",
|
| 77 |
"processor": "x86_64",
|
| 78 |
+
"python_version": "3.10.18",
|
| 79 |
+
"gpu": [
|
| 80 |
+
"NVIDIA A100-SXM4-80GB",
|
| 81 |
+
"NVIDIA A100-SXM4-80GB",
|
| 82 |
+
"NVIDIA A100-SXM4-80GB",
|
| 83 |
+
"NVIDIA DGX Display",
|
| 84 |
+
"NVIDIA A100-SXM4-80GB"
|
| 85 |
+
],
|
| 86 |
+
"gpu_count": 5,
|
| 87 |
+
"gpu_vram_mb": 347892350976,
|
| 88 |
+
"optimum_benchmark_version": "0.6.0.dev0",
|
| 89 |
+
"optimum_benchmark_commit": "255731f77344711e9eceb05f05242ab24807da93",
|
| 90 |
+
"transformers_version": "4.45.1",
|
| 91 |
+
"transformers_commit": "255731f77344711e9eceb05f05242ab24807da93",
|
| 92 |
+
"accelerate_version": "1.10.0",
|
| 93 |
+
"accelerate_commit": "255731f77344711e9eceb05f05242ab24807da93",
|
| 94 |
+
"diffusers_version": "0.34.0",
|
| 95 |
+
"diffusers_commit": "255731f77344711e9eceb05f05242ab24807da93",
|
| 96 |
"optimum_version": null,
|
| 97 |
"optimum_commit": null,
|
| 98 |
+
"timm_version": "1.0.19",
|
| 99 |
+
"timm_commit": "255731f77344711e9eceb05f05242ab24807da93",
|
| 100 |
+
"peft_version": "0.17.0",
|
| 101 |
+
"peft_commit": "255731f77344711e9eceb05f05242ab24807da93"
|
| 102 |
+
},
|
| 103 |
+
"print_report": true,
|
| 104 |
+
"log_report": true
|
| 105 |
},
|
| 106 |
"report": {
|
| 107 |
+
"load_model": {
|
| 108 |
"memory": {
|
| 109 |
"unit": "MB",
|
| 110 |
+
"max_ram": 1413.840896,
|
| 111 |
"max_global_vram": null,
|
| 112 |
"max_process_vram": null,
|
| 113 |
"max_reserved": null,
|
|
|
|
| 115 |
},
|
| 116 |
"latency": {
|
| 117 |
"unit": "s",
|
| 118 |
+
"values": [
|
| 119 |
+
4.1639623562805355
|
| 120 |
+
],
|
| 121 |
"count": 1,
|
| 122 |
+
"total": 4.1639623562805355,
|
| 123 |
+
"mean": 4.1639623562805355,
|
| 124 |
+
"p50": 4.1639623562805355,
|
| 125 |
+
"p90": 4.1639623562805355,
|
| 126 |
+
"p95": 4.1639623562805355,
|
| 127 |
+
"p99": 4.1639623562805355,
|
| 128 |
+
"stdev": 0,
|
| 129 |
+
"stdev_": 0
|
| 130 |
+
},
|
| 131 |
+
"throughput": null,
|
| 132 |
+
"energy": null,
|
| 133 |
+
"efficiency": null
|
| 134 |
+
},
|
| 135 |
+
"first_forward": {
|
| 136 |
+
"memory": {
|
| 137 |
+
"unit": "MB",
|
| 138 |
+
"max_ram": 1245.2864,
|
| 139 |
+
"max_global_vram": null,
|
| 140 |
+
"max_process_vram": null,
|
| 141 |
+
"max_reserved": null,
|
| 142 |
+
"max_allocated": null
|
| 143 |
+
},
|
| 144 |
+
"latency": {
|
| 145 |
+
"unit": "s",
|
| 146 |
"values": [
|
| 147 |
+
0.06226044474169612
|
| 148 |
+
],
|
| 149 |
+
"count": 1,
|
| 150 |
+
"total": 0.06226044474169612,
|
| 151 |
+
"mean": 0.06226044474169612,
|
| 152 |
+
"p50": 0.06226044474169612,
|
| 153 |
+
"p90": 0.06226044474169612,
|
| 154 |
+
"p95": 0.06226044474169612,
|
| 155 |
+
"p99": 0.06226044474169612,
|
| 156 |
+
"stdev": 0,
|
| 157 |
+
"stdev_": 0
|
| 158 |
},
|
| 159 |
"throughput": null,
|
| 160 |
"energy": null,
|
|
|
|
| 163 |
"forward": {
|
| 164 |
"memory": {
|
| 165 |
"unit": "MB",
|
| 166 |
+
"max_ram": 1252.732928,
|
| 167 |
"max_global_vram": null,
|
| 168 |
"max_process_vram": null,
|
| 169 |
"max_reserved": null,
|
|
|
|
| 171 |
},
|
| 172 |
"latency": {
|
| 173 |
"unit": "s",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
"values": [
|
| 175 |
+
0.03449443681165576,
|
| 176 |
+
0.03458075923845172,
|
| 177 |
+
0.03466113889589906,
|
| 178 |
+
0.03409873601049185,
|
| 179 |
+
0.034206898882985115,
|
| 180 |
+
0.03449248382821679,
|
| 181 |
+
0.033879855647683144,
|
| 182 |
+
0.034238608088344336,
|
| 183 |
+
0.03446765663102269,
|
| 184 |
+
0.033799835946410894,
|
| 185 |
+
0.034014709293842316,
|
| 186 |
+
0.03481825394555926,
|
| 187 |
+
0.034330801106989384,
|
| 188 |
+
0.03409287519752979,
|
| 189 |
+
0.034085080958902836,
|
| 190 |
+
0.03404484502971172,
|
| 191 |
+
0.03420586697757244,
|
| 192 |
+
0.034769874066114426,
|
| 193 |
+
0.03501167707145214,
|
| 194 |
+
0.034737973008304834,
|
| 195 |
+
0.034395170863717794,
|
| 196 |
+
0.034669816959649324,
|
| 197 |
+
0.034660177771002054,
|
| 198 |
+
0.034490459598600864,
|
| 199 |
+
0.03469840995967388,
|
| 200 |
+
0.03481603926047683,
|
| 201 |
+
0.03456074092537165,
|
| 202 |
+
0.03448858577758074,
|
| 203 |
+
0.034941224846988916,
|
| 204 |
+
0.03515982395038009
|
| 205 |
+
],
|
| 206 |
+
"count": 30,
|
| 207 |
+
"total": 1.0339128165505826,
|
| 208 |
+
"mean": 0.03446376055168609,
|
| 209 |
+
"p50": 0.03449147171340883,
|
| 210 |
+
"p90": 0.03483055103570223,
|
| 211 |
+
"p95": 0.03497997357044369,
|
| 212 |
+
"p99": 0.03511686135549098,
|
| 213 |
+
"stdev": 0.0003372068145483418,
|
| 214 |
+
"stdev_": 0.9784388271924797
|
| 215 |
},
|
| 216 |
"throughput": {
|
| 217 |
"unit": "samples/s",
|
| 218 |
+
"value": 58.03197236704783
|
| 219 |
},
|
| 220 |
"energy": null,
|
| 221 |
"efficiency": null
|