IlyasMoutawwakil HF Staff commited on
Commit
c2cd5ae
·
verified ·
1 Parent(s): c359dfd

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 ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
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",
10
+ "task": "text-to-image",
11
+ "library": "diffusers",
12
+ "model_type": "stable-diffusion",
13
+ "device": "cpu",
14
+ "device_ids": null,
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
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,
25
+ "to_bettertransformer": false,
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,
33
+ "torch_compile_target": "forward",
34
+ "torch_compile_config": {},
35
+ "quantization_scheme": null,
36
+ "quantization_config": {},
37
+ "deepspeed_inference": false,
38
+ "deepspeed_inference_config": {},
39
+ "peft_type": null,
40
+ "peft_config": {}
41
+ },
42
+ "scenario": {
43
+ "name": "inference",
44
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
45
+ "iterations": 1,
46
+ "duration": 1,
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,
55
+ "latency": true,
56
+ "energy": true,
57
+ "forward_kwargs": {},
58
+ "generate_kwargs": {
59
+ "max_new_tokens": 2,
60
+ "min_new_tokens": 2
61
+ },
62
+ "call_kwargs": {
63
+ "num_inference_steps": 2
64
+ }
65
+ },
66
+ "launcher": {
67
+ "name": "process",
68
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
69
+ "device_isolation": false,
70
+ "device_isolation_action": null,
71
+ "numactl": false,
72
+ "numactl_kwargs": {},
73
+ "start_method": "spawn"
74
+ },
75
+ "environment": {
76
+ "cpu": " AMD EPYC 7742 64-Core Processor",
77
+ "cpu_count": 128,
78
+ "cpu_ram_mb": 540671.643648,
79
+ "system": "Linux",
80
+ "machine": "x86_64",
81
+ "platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.31",
82
+ "processor": "x86_64",
83
+ "python_version": "3.10.18",
84
+ "gpu": [
85
+ "NVIDIA A100-SXM4-80GB",
86
+ "NVIDIA A100-SXM4-80GB",
87
+ "NVIDIA A100-SXM4-80GB",
88
+ "NVIDIA DGX Display",
89
+ "NVIDIA A100-SXM4-80GB"
90
+ ],
91
+ "gpu_count": 5,
92
+ "gpu_vram_mb": 347892350976,
93
+ "optimum_benchmark_version": "0.6.0.dev0",
94
+ "optimum_benchmark_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
95
+ "transformers_version": "4.45.1",
96
+ "transformers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
97
+ "accelerate_version": "1.10.0",
98
+ "accelerate_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
99
+ "diffusers_version": "0.34.0",
100
+ "diffusers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
101
+ "optimum_version": null,
102
+ "optimum_commit": null,
103
+ "timm_version": "1.0.19",
104
+ "timm_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
105
+ "peft_version": "0.17.0",
106
+ "peft_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db"
107
+ },
108
+ "print_report": true,
109
+ "log_report": true
110
+ },
111
+ "report": {
112
+ "load_model": {
113
+ "memory": {
114
+ "unit": "MB",
115
+ "max_ram": 680.431616,
116
+ "max_global_vram": null,
117
+ "max_process_vram": null,
118
+ "max_reserved": null,
119
+ "max_allocated": null
120
+ },
121
+ "latency": {
122
+ "unit": "s",
123
+ "values": [
124
+ 0.6742532183416188
125
+ ],
126
+ "count": 1,
127
+ "total": 0.6742532183416188,
128
+ "mean": 0.6742532183416188,
129
+ "p50": 0.6742532183416188,
130
+ "p90": 0.6742532183416188,
131
+ "p95": 0.6742532183416188,
132
+ "p99": 0.6742532183416188,
133
+ "stdev": 0,
134
+ "stdev_": 0
135
+ },
136
+ "throughput": null,
137
+ "energy": {
138
+ "unit": "kWh",
139
+ "cpu": 0.00017666592124442103,
140
+ "ram": 0.0002965177055206111,
141
+ "gpu": 0.0004480556362267407,
142
+ "total": 0.0009212392629917728
143
+ },
144
+ "efficiency": null
145
+ },
146
+ "first_call": {
147
+ "memory": {
148
+ "unit": "MB",
149
+ "max_ram": 779.108352,
150
+ "max_global_vram": null,
151
+ "max_process_vram": null,
152
+ "max_reserved": null,
153
+ "max_allocated": null
154
+ },
155
+ "latency": {
156
+ "unit": "s",
157
+ "values": [
158
+ 0.5517216552980244
159
+ ],
160
+ "count": 1,
161
+ "total": 0.5517216552980244,
162
+ "mean": 0.5517216552980244,
163
+ "p50": 0.5517216552980244,
164
+ "p90": 0.5517216552980244,
165
+ "p95": 0.5517216552980244,
166
+ "p99": 0.5517216552980244,
167
+ "stdev": 0,
168
+ "stdev_": 0
169
+ },
170
+ "throughput": null,
171
+ "energy": {
172
+ "unit": "kWh",
173
+ "cpu": 0.0001706013792136218,
174
+ "ram": 0.00028633821720513677,
175
+ "gpu": 0.0004524906397662676,
176
+ "total": 0.0009094302361850263
177
+ },
178
+ "efficiency": null
179
+ },
180
+ "call": {
181
+ "memory": {
182
+ "unit": "MB",
183
+ "max_ram": 812.261376,
184
+ "max_global_vram": null,
185
+ "max_process_vram": null,
186
+ "max_reserved": null,
187
+ "max_allocated": null
188
+ },
189
+ "latency": {
190
+ "unit": "s",
191
+ "values": [
192
+ 0.3780691958963871,
193
+ 0.3844814212061465,
194
+ 0.37072358187288046
195
+ ],
196
+ "count": 3,
197
+ "total": 1.133274198975414,
198
+ "mean": 0.37775806632513803,
199
+ "p50": 0.3780691958963871,
200
+ "p90": 0.3831989761441946,
201
+ "p95": 0.38384019867517055,
202
+ "p99": 0.3843531766999513,
203
+ "stdev": 0.005620921453971145,
204
+ "stdev_": 1.4879686114056907
205
+ },
206
+ "throughput": {
207
+ "unit": "images/s",
208
+ "value": 5.294393894632527
209
+ },
210
+ "energy": {
211
+ "unit": "kWh",
212
+ "cpu": 1.1876363409101027e-05,
213
+ "ram": 1.9930023684434765e-05,
214
+ "gpu": 2.9147245539225725e-05,
215
+ "total": 6.0953632632761665e-05
216
+ },
217
+ "efficiency": {
218
+ "unit": "images/kWh",
219
+ "value": 32811.826196639675
220
+ }
221
+ },
222
+ "per_step": {
223
+ "memory": null,
224
+ "latency": {
225
+ "unit": "s",
226
+ "values": [
227
+ 0.10889927484095097,
228
+ 0.11024577030912042,
229
+ 0.10889927484095097,
230
+ 0.11024577030912042,
231
+ 0.15924190590158105,
232
+ 0.10975479986518621,
233
+ 0.11464154301211238,
234
+ 0.10889927484095097,
235
+ 0.11024577030912042,
236
+ 0.15924190590158105,
237
+ 0.10975479986518621,
238
+ 0.11464154301211238,
239
+ 0.15594237903133035,
240
+ 0.10731132794171572,
241
+ 0.10624416591599584
242
+ ],
243
+ "count": 15,
244
+ "total": 1.7942095058970153,
245
+ "mean": 0.11961396705980103,
246
+ "p50": 0.11024577030912042,
247
+ "p90": 0.15792209515348077,
248
+ "p95": 0.15924190590158105,
249
+ "p99": 0.15924190590158105,
250
+ "stdev": 0.019394443668980483,
251
+ "stdev_": 16.214196507071975
252
+ },
253
+ "throughput": null,
254
+ "energy": null,
255
+ "efficiency": null
256
+ }
257
+ }
258
+ }