Upload cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
Browse files
cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"name": "cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
|
| 4 |
"backend": {
|
| 5 |
"name": "pytorch",
|
| 6 |
-
"version": "2.
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
"model": "hf-internal-testing/tiny-stable-diffusion-torch",
|
| 9 |
"processor": "hf-internal-testing/tiny-stable-diffusion-torch",
|
|
@@ -82,19 +82,19 @@
|
|
| 82 |
"processor": "x86_64",
|
| 83 |
"python_version": "3.10.18",
|
| 84 |
"optimum_benchmark_version": "0.6.0.dev0",
|
| 85 |
-
"optimum_benchmark_commit": "
|
| 86 |
-
"transformers_version": "4.
|
| 87 |
-
"transformers_commit":
|
| 88 |
"accelerate_version": "1.10.0",
|
| 89 |
-
"accelerate_commit":
|
| 90 |
"diffusers_version": "0.34.0",
|
| 91 |
-
"diffusers_commit":
|
| 92 |
"optimum_version": null,
|
| 93 |
"optimum_commit": null,
|
| 94 |
"timm_version": "1.0.19",
|
| 95 |
-
"timm_commit":
|
| 96 |
-
"peft_version":
|
| 97 |
-
"peft_commit":
|
| 98 |
},
|
| 99 |
"print_report": true,
|
| 100 |
"log_report": true
|
|
@@ -103,7 +103,7 @@
|
|
| 103 |
"load_model": {
|
| 104 |
"memory": {
|
| 105 |
"unit": "MB",
|
| 106 |
-
"max_ram":
|
| 107 |
"max_global_vram": null,
|
| 108 |
"max_process_vram": null,
|
| 109 |
"max_reserved": null,
|
|
@@ -112,32 +112,32 @@
|
|
| 112 |
"latency": {
|
| 113 |
"unit": "s",
|
| 114 |
"values": [
|
| 115 |
-
|
| 116 |
],
|
| 117 |
"count": 1,
|
| 118 |
-
"total":
|
| 119 |
-
"mean":
|
| 120 |
-
"p50":
|
| 121 |
-
"p90":
|
| 122 |
-
"p95":
|
| 123 |
-
"p99":
|
| 124 |
"stdev": 0,
|
| 125 |
"stdev_": 0
|
| 126 |
},
|
| 127 |
"throughput": null,
|
| 128 |
"energy": {
|
| 129 |
"unit": "kWh",
|
| 130 |
-
"cpu":
|
| 131 |
-
"ram":
|
| 132 |
-
"gpu": 0,
|
| 133 |
-
"total": 0.
|
| 134 |
},
|
| 135 |
"efficiency": null
|
| 136 |
},
|
| 137 |
"first_call": {
|
| 138 |
"memory": {
|
| 139 |
"unit": "MB",
|
| 140 |
-
"max_ram":
|
| 141 |
"max_global_vram": null,
|
| 142 |
"max_process_vram": null,
|
| 143 |
"max_reserved": null,
|
|
@@ -146,32 +146,32 @@
|
|
| 146 |
"latency": {
|
| 147 |
"unit": "s",
|
| 148 |
"values": [
|
| 149 |
-
2.
|
| 150 |
],
|
| 151 |
"count": 1,
|
| 152 |
-
"total": 2.
|
| 153 |
-
"mean": 2.
|
| 154 |
-
"p50": 2.
|
| 155 |
-
"p90": 2.
|
| 156 |
-
"p95": 2.
|
| 157 |
-
"p99": 2.
|
| 158 |
"stdev": 0,
|
| 159 |
"stdev_": 0
|
| 160 |
},
|
| 161 |
"throughput": null,
|
| 162 |
"energy": {
|
| 163 |
"unit": "kWh",
|
| 164 |
-
"cpu": 0.
|
| 165 |
-
"ram": 1.
|
| 166 |
-
"gpu": 0,
|
| 167 |
-
"total": 0.
|
| 168 |
},
|
| 169 |
"efficiency": null
|
| 170 |
},
|
| 171 |
"call": {
|
| 172 |
"memory": {
|
| 173 |
"unit": "MB",
|
| 174 |
-
"max_ram":
|
| 175 |
"max_global_vram": null,
|
| 176 |
"max_process_vram": null,
|
| 177 |
"max_reserved": null,
|
|
@@ -180,32 +180,32 @@
|
|
| 180 |
"latency": {
|
| 181 |
"unit": "s",
|
| 182 |
"values": [
|
| 183 |
-
2.
|
| 184 |
],
|
| 185 |
"count": 1,
|
| 186 |
-
"total": 2.
|
| 187 |
-
"mean": 2.
|
| 188 |
-
"p50": 2.
|
| 189 |
-
"p90": 2.
|
| 190 |
-
"p95": 2.
|
| 191 |
-
"p99": 2.
|
| 192 |
"stdev": 0,
|
| 193 |
"stdev_": 0
|
| 194 |
},
|
| 195 |
"throughput": {
|
| 196 |
"unit": "images/s",
|
| 197 |
-
"value": 0.
|
| 198 |
},
|
| 199 |
"energy": {
|
| 200 |
"unit": "kWh",
|
| 201 |
-
"cpu":
|
| 202 |
-
"ram":
|
| 203 |
"gpu": 0.0,
|
| 204 |
-
"total":
|
| 205 |
},
|
| 206 |
"efficiency": {
|
| 207 |
"unit": "images/kWh",
|
| 208 |
-
"value":
|
| 209 |
}
|
| 210 |
},
|
| 211 |
"per_step": {
|
|
@@ -213,18 +213,18 @@
|
|
| 213 |
"latency": {
|
| 214 |
"unit": "s",
|
| 215 |
"values": [
|
| 216 |
-
0.
|
| 217 |
-
0.
|
| 218 |
],
|
| 219 |
"count": 2,
|
| 220 |
-
"total": 1.
|
| 221 |
-
"mean": 0.
|
| 222 |
-
"p50": 0.
|
| 223 |
-
"p90": 0.
|
| 224 |
-
"p95": 0.
|
| 225 |
-
"p99": 0.
|
| 226 |
-
"stdev": 0.
|
| 227 |
-
"stdev_":
|
| 228 |
},
|
| 229 |
"throughput": null,
|
| 230 |
"energy": null,
|
|
|
|
| 3 |
"name": "cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
|
| 4 |
"backend": {
|
| 5 |
"name": "pytorch",
|
| 6 |
+
"version": "2.5.1",
|
| 7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
"model": "hf-internal-testing/tiny-stable-diffusion-torch",
|
| 9 |
"processor": "hf-internal-testing/tiny-stable-diffusion-torch",
|
|
|
|
| 82 |
"processor": "x86_64",
|
| 83 |
"python_version": "3.10.18",
|
| 84 |
"optimum_benchmark_version": "0.6.0.dev0",
|
| 85 |
+
"optimum_benchmark_commit": "214a7672dd68c0f084eee27c32ba8feb62f59560",
|
| 86 |
+
"transformers_version": "4.45.1",
|
| 87 |
+
"transformers_commit": "214a7672dd68c0f084eee27c32ba8feb62f59560",
|
| 88 |
"accelerate_version": "1.10.0",
|
| 89 |
+
"accelerate_commit": "214a7672dd68c0f084eee27c32ba8feb62f59560",
|
| 90 |
"diffusers_version": "0.34.0",
|
| 91 |
+
"diffusers_commit": "214a7672dd68c0f084eee27c32ba8feb62f59560",
|
| 92 |
"optimum_version": null,
|
| 93 |
"optimum_commit": null,
|
| 94 |
"timm_version": "1.0.19",
|
| 95 |
+
"timm_commit": "214a7672dd68c0f084eee27c32ba8feb62f59560",
|
| 96 |
+
"peft_version": "0.17.0",
|
| 97 |
+
"peft_commit": "214a7672dd68c0f084eee27c32ba8feb62f59560"
|
| 98 |
},
|
| 99 |
"print_report": true,
|
| 100 |
"log_report": true
|
|
|
|
| 103 |
"load_model": {
|
| 104 |
"memory": {
|
| 105 |
"unit": "MB",
|
| 106 |
+
"max_ram": 780.845056,
|
| 107 |
"max_global_vram": null,
|
| 108 |
"max_process_vram": null,
|
| 109 |
"max_reserved": null,
|
|
|
|
| 112 |
"latency": {
|
| 113 |
"unit": "s",
|
| 114 |
"values": [
|
| 115 |
+
0.9038361130000112
|
| 116 |
],
|
| 117 |
"count": 1,
|
| 118 |
+
"total": 0.9038361130000112,
|
| 119 |
+
"mean": 0.9038361130000112,
|
| 120 |
+
"p50": 0.9038361130000112,
|
| 121 |
+
"p90": 0.9038361130000112,
|
| 122 |
+
"p95": 0.9038361130000112,
|
| 123 |
+
"p99": 0.9038361130000112,
|
| 124 |
"stdev": 0,
|
| 125 |
"stdev_": 0
|
| 126 |
},
|
| 127 |
"throughput": null,
|
| 128 |
"energy": {
|
| 129 |
"unit": "kWh",
|
| 130 |
+
"cpu": 9.963150392752426e-05,
|
| 131 |
+
"ram": 1.4768026211111223e-05,
|
| 132 |
+
"gpu": 0.0,
|
| 133 |
+
"total": 0.00011439953013863548
|
| 134 |
},
|
| 135 |
"efficiency": null
|
| 136 |
},
|
| 137 |
"first_call": {
|
| 138 |
"memory": {
|
| 139 |
"unit": "MB",
|
| 140 |
+
"max_ram": 868.122624,
|
| 141 |
"max_global_vram": null,
|
| 142 |
"max_process_vram": null,
|
| 143 |
"max_reserved": null,
|
|
|
|
| 146 |
"latency": {
|
| 147 |
"unit": "s",
|
| 148 |
"values": [
|
| 149 |
+
2.4229252419999625
|
| 150 |
],
|
| 151 |
"count": 1,
|
| 152 |
+
"total": 2.4229252419999625,
|
| 153 |
+
"mean": 2.4229252419999625,
|
| 154 |
+
"p50": 2.4229252419999625,
|
| 155 |
+
"p90": 2.4229252419999625,
|
| 156 |
+
"p95": 2.4229252419999625,
|
| 157 |
+
"p99": 2.4229252419999625,
|
| 158 |
"stdev": 0,
|
| 159 |
"stdev_": 0
|
| 160 |
},
|
| 161 |
"throughput": null,
|
| 162 |
"energy": {
|
| 163 |
"unit": "kWh",
|
| 164 |
+
"cpu": 0.00016545097158609644,
|
| 165 |
+
"ram": 1.906530924722224e-05,
|
| 166 |
+
"gpu": 0.0,
|
| 167 |
+
"total": 0.0001845162808333187
|
| 168 |
},
|
| 169 |
"efficiency": null
|
| 170 |
},
|
| 171 |
"call": {
|
| 172 |
"memory": {
|
| 173 |
"unit": "MB",
|
| 174 |
+
"max_ram": 886.431744,
|
| 175 |
"max_global_vram": null,
|
| 176 |
"max_process_vram": null,
|
| 177 |
"max_reserved": null,
|
|
|
|
| 180 |
"latency": {
|
| 181 |
"unit": "s",
|
| 182 |
"values": [
|
| 183 |
+
2.638884391999966
|
| 184 |
],
|
| 185 |
"count": 1,
|
| 186 |
+
"total": 2.638884391999966,
|
| 187 |
+
"mean": 2.638884391999966,
|
| 188 |
+
"p50": 2.638884391999966,
|
| 189 |
+
"p90": 2.638884391999966,
|
| 190 |
+
"p95": 2.638884391999966,
|
| 191 |
+
"p99": 2.638884391999966,
|
| 192 |
"stdev": 0,
|
| 193 |
"stdev_": 0
|
| 194 |
},
|
| 195 |
"throughput": {
|
| 196 |
"unit": "images/s",
|
| 197 |
+
"value": 0.7578960283607702
|
| 198 |
},
|
| 199 |
"energy": {
|
| 200 |
"unit": "kWh",
|
| 201 |
+
"cpu": 6.821127031415766e-05,
|
| 202 |
+
"ram": 7.563341372222335e-06,
|
| 203 |
"gpu": 0.0,
|
| 204 |
+
"total": 7.577461168637996e-05
|
| 205 |
},
|
| 206 |
"efficiency": {
|
| 207 |
"unit": "images/kWh",
|
| 208 |
+
"value": 26394.0646542368
|
| 209 |
}
|
| 210 |
},
|
| 211 |
"per_step": {
|
|
|
|
| 213 |
"latency": {
|
| 214 |
"unit": "s",
|
| 215 |
"values": [
|
| 216 |
+
0.8727232969999932,
|
| 217 |
+
0.7820027850000315
|
| 218 |
],
|
| 219 |
"count": 2,
|
| 220 |
+
"total": 1.6547260820000247,
|
| 221 |
+
"mean": 0.8273630410000123,
|
| 222 |
+
"p50": 0.8273630410000123,
|
| 223 |
+
"p90": 0.863651245799997,
|
| 224 |
+
"p95": 0.8681872713999951,
|
| 225 |
+
"p99": 0.8718160918799935,
|
| 226 |
+
"stdev": 0.045360255999980836,
|
| 227 |
+
"stdev_": 5.482509340174909
|
| 228 |
},
|
| 229 |
"throughput": null,
|
| 230 |
"energy": null,
|