Commit
•
08ed047
1
Parent(s):
17f5233
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
@@ -5,11 +5,11 @@
|
|
5 |
"name": "pytorch",
|
6 |
"version": "2.5.1+cpu",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
|
|
|
|
8 |
"task": "text-to-image",
|
9 |
"library": "diffusers",
|
10 |
"model_type": "stable-diffusion",
|
11 |
-
"model": "hf-internal-testing/tiny-stable-diffusion-torch",
|
12 |
-
"processor": "hf-internal-testing/tiny-stable-diffusion-torch",
|
13 |
"device": "cpu",
|
14 |
"device_ids": null,
|
15 |
"seed": 42,
|
@@ -80,10 +80,10 @@
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
-
"optimum_benchmark_commit": "
|
84 |
"transformers_version": "4.47.0",
|
85 |
"transformers_commit": null,
|
86 |
-
"accelerate_version": "1.2.
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.31.0",
|
89 |
"diffusers_commit": null,
|
@@ -101,7 +101,7 @@
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
-
"max_ram":
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
@@ -110,32 +110,32 @@
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
-
0.
|
114 |
],
|
115 |
"count": 1,
|
116 |
-
"total": 0.
|
117 |
-
"mean": 0.
|
118 |
-
"p50": 0.
|
119 |
-
"p90": 0.
|
120 |
-
"p95": 0.
|
121 |
-
"p99": 0.
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
-
"cpu": 0.
|
129 |
-
"ram": 6.
|
130 |
"gpu": 0,
|
131 |
-
"total": 0.
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"call": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
-
"max_ram":
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
@@ -144,32 +144,32 @@
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
-
1.
|
148 |
],
|
149 |
"count": 1,
|
150 |
-
"total": 1.
|
151 |
-
"mean": 1.
|
152 |
-
"p50": 1.
|
153 |
-
"p90": 1.
|
154 |
-
"p95": 1.
|
155 |
-
"p99": 1.
|
156 |
"stdev": 0,
|
157 |
"stdev_": 0
|
158 |
},
|
159 |
"throughput": {
|
160 |
"unit": "images/s",
|
161 |
-
"value": 1.
|
162 |
},
|
163 |
"energy": {
|
164 |
"unit": "kWh",
|
165 |
-
"cpu": 6.
|
166 |
-
"ram": 2.
|
167 |
"gpu": 0.0,
|
168 |
-
"total":
|
169 |
},
|
170 |
"efficiency": {
|
171 |
"unit": "images/kWh",
|
172 |
-
"value":
|
173 |
}
|
174 |
},
|
175 |
"per_step": {
|
@@ -177,18 +177,18 @@
|
|
177 |
"latency": {
|
178 |
"unit": "s",
|
179 |
"values": [
|
180 |
-
0.
|
181 |
-
0.
|
182 |
],
|
183 |
"count": 2,
|
184 |
-
"total": 0.
|
185 |
-
"mean": 0.
|
186 |
-
"p50": 0.
|
187 |
-
"p90": 0.
|
188 |
-
"p95": 0.
|
189 |
-
"p99": 0.
|
190 |
-
"stdev": 0.
|
191 |
-
"stdev_":
|
192 |
},
|
193 |
"throughput": null,
|
194 |
"energy": null,
|
|
|
5 |
"name": "pytorch",
|
6 |
"version": "2.5.1+cpu",
|
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",
|
10 |
"task": "text-to-image",
|
11 |
"library": "diffusers",
|
12 |
"model_type": "stable-diffusion",
|
|
|
|
|
13 |
"device": "cpu",
|
14 |
"device_ids": null,
|
15 |
"seed": 42,
|
|
|
80 |
"processor": "x86_64",
|
81 |
"python_version": "3.10.15",
|
82 |
"optimum_benchmark_version": "0.5.0.dev0",
|
83 |
+
"optimum_benchmark_commit": "7cec62e016d76fe612308e4c2c074fc7f09289fd",
|
84 |
"transformers_version": "4.47.0",
|
85 |
"transformers_commit": null,
|
86 |
+
"accelerate_version": "1.2.1",
|
87 |
"accelerate_commit": null,
|
88 |
"diffusers_version": "0.31.0",
|
89 |
"diffusers_commit": null,
|
|
|
101 |
"load_model": {
|
102 |
"memory": {
|
103 |
"unit": "MB",
|
104 |
+
"max_ram": 464.490496,
|
105 |
"max_global_vram": null,
|
106 |
"max_process_vram": null,
|
107 |
"max_reserved": null,
|
|
|
110 |
"latency": {
|
111 |
"unit": "s",
|
112 |
"values": [
|
113 |
+
0.7566629439999701
|
114 |
],
|
115 |
"count": 1,
|
116 |
+
"total": 0.7566629439999701,
|
117 |
+
"mean": 0.7566629439999701,
|
118 |
+
"p50": 0.7566629439999701,
|
119 |
+
"p90": 0.7566629439999701,
|
120 |
+
"p95": 0.7566629439999701,
|
121 |
+
"p99": 0.7566629439999701,
|
122 |
"stdev": 0,
|
123 |
"stdev_": 0
|
124 |
},
|
125 |
"throughput": null,
|
126 |
"energy": {
|
127 |
"unit": "kWh",
|
128 |
+
"cpu": 0.0001581901249444444,
|
129 |
+
"ram": 6.616113482148656e-06,
|
130 |
"gpu": 0,
|
131 |
+
"total": 0.00016480623842659304
|
132 |
},
|
133 |
"efficiency": null
|
134 |
},
|
135 |
"call": {
|
136 |
"memory": {
|
137 |
"unit": "MB",
|
138 |
+
"max_ram": 554.84416,
|
139 |
"max_global_vram": null,
|
140 |
"max_process_vram": null,
|
141 |
"max_reserved": null,
|
|
|
144 |
"latency": {
|
145 |
"unit": "s",
|
146 |
"values": [
|
147 |
+
1.5355329619999907
|
148 |
],
|
149 |
"count": 1,
|
150 |
+
"total": 1.5355329619999907,
|
151 |
+
"mean": 1.5355329619999907,
|
152 |
+
"p50": 1.5355329619999907,
|
153 |
+
"p90": 1.5355329619999907,
|
154 |
+
"p95": 1.5355329619999907,
|
155 |
+
"p99": 1.5355329619999907,
|
156 |
"stdev": 0,
|
157 |
"stdev_": 0
|
158 |
},
|
159 |
"throughput": {
|
160 |
"unit": "images/s",
|
161 |
+
"value": 1.302479366769863
|
162 |
},
|
163 |
"energy": {
|
164 |
"unit": "kWh",
|
165 |
+
"cpu": 6.95922781944445e-05,
|
166 |
+
"ram": 2.9102914603451065e-06,
|
167 |
"gpu": 0.0,
|
168 |
+
"total": 7.25025696547896e-05
|
169 |
},
|
170 |
"efficiency": {
|
171 |
"unit": "images/kWh",
|
172 |
+
"value": 27585.229179085763
|
173 |
}
|
174 |
},
|
175 |
"per_step": {
|
|
|
177 |
"latency": {
|
178 |
"unit": "s",
|
179 |
"values": [
|
180 |
+
0.4507462259999784,
|
181 |
+
0.46697885700001507
|
182 |
],
|
183 |
"count": 2,
|
184 |
+
"total": 0.9177250829999934,
|
185 |
+
"mean": 0.4588625414999967,
|
186 |
+
"p50": 0.4588625414999967,
|
187 |
+
"p90": 0.4653555939000114,
|
188 |
+
"p95": 0.4661672254500132,
|
189 |
+
"p99": 0.4668165306900147,
|
190 |
+
"stdev": 0.008116315500018345,
|
191 |
+
"stdev_": 1.7687901639315666
|
192 |
},
|
193 |
"throughput": null,
|
194 |
"energy": null,
|