IlyasMoutawwakil HF staff commited on
Commit
baaed97
·
verified ·
1 Parent(s): 62c8b52

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,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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+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,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "no_weights": false,
21
+ "device_map": null,
22
+ "torch_dtype": null,
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
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,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {},
33
+ "quantization_scheme": null,
34
+ "quantization_config": {},
35
+ "deepspeed_inference": false,
36
+ "deepspeed_inference_config": {},
37
+ "peft_type": null,
38
+ "peft_config": {}
39
+ },
40
+ "scenario": {
41
+ "name": "inference",
42
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
43
+ "iterations": 1,
44
+ "duration": 1,
45
+ "warmup_runs": 1,
46
+ "input_shapes": {
47
+ "batch_size": 2,
48
+ "sequence_length": 16,
49
+ "num_choices": 2
50
+ },
51
+ "new_tokens": null,
52
+ "memory": true,
53
+ "latency": true,
54
+ "energy": true,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 2,
58
+ "min_new_tokens": 2
59
+ },
60
+ "call_kwargs": {
61
+ "num_inference_steps": 2
62
+ }
63
+ },
64
+ "launcher": {
65
+ "name": "process",
66
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
67
+ "device_isolation": false,
68
+ "device_isolation_action": null,
69
+ "numactl": false,
70
+ "numactl_kwargs": {},
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7763 64-Core Processor",
75
+ "cpu_count": 4,
76
+ "cpu_ram_mb": 16766.779392,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.15",
82
+ "optimum_benchmark_version": "0.5.0.dev0",
83
+ "optimum_benchmark_commit": "7585b3910f38dd7dd75810536b17b66af6fb882c",
84
+ "transformers_version": "4.47.0",
85
+ "transformers_commit": null,
86
+ "accelerate_version": "1.2.0",
87
+ "accelerate_commit": null,
88
+ "diffusers_version": "0.31.0",
89
+ "diffusers_commit": null,
90
+ "optimum_version": null,
91
+ "optimum_commit": null,
92
+ "timm_version": "1.0.12",
93
+ "timm_commit": null,
94
+ "peft_version": null,
95
+ "peft_commit": null
96
+ },
97
+ "print_report": true,
98
+ "log_report": true
99
+ },
100
+ "report": {
101
+ "load_model": {
102
+ "memory": {
103
+ "unit": "MB",
104
+ "max_ram": 458.461184,
105
+ "max_global_vram": null,
106
+ "max_process_vram": null,
107
+ "max_reserved": null,
108
+ "max_allocated": null
109
+ },
110
+ "latency": {
111
+ "unit": "s",
112
+ "values": [
113
+ 0.6168739020000089
114
+ ],
115
+ "count": 1,
116
+ "total": 0.6168739020000089,
117
+ "mean": 0.6168739020000089,
118
+ "p50": 0.6168739020000089,
119
+ "p90": 0.6168739020000089,
120
+ "p95": 0.6168739020000089,
121
+ "p99": 0.6168739020000089,
122
+ "stdev": 0,
123
+ "stdev_": 0
124
+ },
125
+ "throughput": null,
126
+ "energy": {
127
+ "unit": "kWh",
128
+ "cpu": 0.00014976418831111037,
129
+ "ram": 6.2635957626458755e-06,
130
+ "gpu": 0,
131
+ "total": 0.00015602778407375624
132
+ },
133
+ "efficiency": null
134
+ },
135
+ "call": {
136
+ "memory": {
137
+ "unit": "MB",
138
+ "max_ram": 546.054144,
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
+ 1.473030673000011
148
+ ],
149
+ "count": 1,
150
+ "total": 1.473030673000011,
151
+ "mean": 1.473030673000011,
152
+ "p50": 1.473030673000011,
153
+ "p90": 1.473030673000011,
154
+ "p95": 1.473030673000011,
155
+ "p99": 1.473030673000011,
156
+ "stdev": 0,
157
+ "stdev_": 0
158
+ },
159
+ "throughput": {
160
+ "unit": "images/s",
161
+ "value": 1.3577449788786478
162
+ },
163
+ "energy": {
164
+ "unit": "kWh",
165
+ "cpu": 6.674877972777802e-05,
166
+ "ram": 2.7914582919007135e-06,
167
+ "gpu": 0.0,
168
+ "total": 6.954023801967874e-05
169
+ },
170
+ "efficiency": {
171
+ "unit": "images/kWh",
172
+ "value": 28760.327214209894
173
+ }
174
+ },
175
+ "per_step": {
176
+ "memory": null,
177
+ "latency": {
178
+ "unit": "s",
179
+ "values": [
180
+ 0.4428560290000121,
181
+ 0.4366380900000024
182
+ ],
183
+ "count": 2,
184
+ "total": 0.8794941190000145,
185
+ "mean": 0.43974705950000725,
186
+ "p50": 0.43974705950000725,
187
+ "p90": 0.44223423510001114,
188
+ "p95": 0.4425451320500116,
189
+ "p99": 0.442793849610012,
190
+ "stdev": 0.0031089695000048323,
191
+ "stdev_": 0.7069904011500914
192
+ },
193
+ "throughput": null,
194
+ "energy": null,
195
+ "efficiency": null
196
+ }
197
+ }
198
+ }