IlyasMoutawwakil HF staff commited on
Commit
e768352
·
verified ·
1 Parent(s): d4b8c6f

Upload cuda_inference_diffusers_text-to-image_CompVis/stable-diffusion-v1-4/benchmark.json with huggingface_hub

Browse files
cuda_inference_diffusers_text-to-image_CompVis/stable-diffusion-v1-4/benchmark.json ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cuda_inference_diffusers_text-to-image_CompVis/stable-diffusion-v1-4",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.1+cu121",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-to-image",
9
+ "library": "diffusers",
10
+ "model_type": "stable-diffusion",
11
+ "model": "CompVis/stable-diffusion-v1-4",
12
+ "processor": "CompVis/stable-diffusion-v1-4",
13
+ "device": "cuda",
14
+ "device_ids": "0",
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "hub_kwargs": {},
21
+ "no_weights": false,
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
+ "autocast_enabled": false,
30
+ "autocast_dtype": null,
31
+ "torch_compile": false,
32
+ "torch_compile_target": "forward",
33
+ "torch_compile_config": {},
34
+ "quantization_scheme": null,
35
+ "quantization_config": {},
36
+ "deepspeed_inference": false,
37
+ "deepspeed_inference_config": {},
38
+ "peft_type": null,
39
+ "peft_config": {}
40
+ },
41
+ "scenario": {
42
+ "name": "inference",
43
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
44
+ "iterations": 1,
45
+ "duration": 1,
46
+ "warmup_runs": 1,
47
+ "input_shapes": {
48
+ "batch_size": 1,
49
+ "num_choices": 2,
50
+ "sequence_length": 2
51
+ },
52
+ "new_tokens": null,
53
+ "latency": true,
54
+ "memory": true,
55
+ "energy": true,
56
+ "forward_kwargs": {},
57
+ "generate_kwargs": {
58
+ "max_new_tokens": 2,
59
+ "min_new_tokens": 2
60
+ },
61
+ "call_kwargs": {
62
+ "num_inference_steps": 2
63
+ }
64
+ },
65
+ "launcher": {
66
+ "name": "process",
67
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
68
+ "device_isolation": true,
69
+ "device_isolation_action": "error",
70
+ "numactl": false,
71
+ "numactl_kwargs": {},
72
+ "start_method": "spawn"
73
+ },
74
+ "environment": {
75
+ "cpu": " AMD EPYC 7R32",
76
+ "cpu_count": 16,
77
+ "cpu_ram_mb": 66697.293824,
78
+ "system": "Linux",
79
+ "machine": "x86_64",
80
+ "platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35",
81
+ "processor": "x86_64",
82
+ "python_version": "3.10.12",
83
+ "gpu": [
84
+ "NVIDIA A10G"
85
+ ],
86
+ "gpu_count": 1,
87
+ "gpu_vram_mb": 24146608128,
88
+ "optimum_benchmark_version": "0.3.1",
89
+ "optimum_benchmark_commit": null,
90
+ "transformers_version": "4.42.4",
91
+ "transformers_commit": null,
92
+ "accelerate_version": "0.32.1",
93
+ "accelerate_commit": null,
94
+ "diffusers_version": "0.29.2",
95
+ "diffusers_commit": null,
96
+ "optimum_version": null,
97
+ "optimum_commit": null,
98
+ "timm_version": "1.0.7",
99
+ "timm_commit": null,
100
+ "peft_version": null,
101
+ "peft_commit": null
102
+ }
103
+ },
104
+ "report": {
105
+ "call": {
106
+ "memory": {
107
+ "unit": "MB",
108
+ "max_ram": 1345.462272,
109
+ "max_global_vram": 8196.194304,
110
+ "max_process_vram": 0.0,
111
+ "max_reserved": 7541.358592,
112
+ "max_allocated": 6518.470656
113
+ },
114
+ "latency": {
115
+ "unit": "s",
116
+ "count": 2,
117
+ "total": 1.3018932495117188,
118
+ "mean": 0.6509466247558594,
119
+ "stdev": 0.0032232971191406,
120
+ "p50": 0.6509466247558594,
121
+ "p90": 0.6535252624511719,
122
+ "p95": 0.653847592163086,
123
+ "p99": 0.6541054559326172,
124
+ "values": [
125
+ 0.654169921875,
126
+ 0.6477233276367188
127
+ ]
128
+ },
129
+ "throughput": {
130
+ "unit": "images/s",
131
+ "value": 1.5362242647391477
132
+ },
133
+ "energy": {
134
+ "unit": "kWh",
135
+ "cpu": 7.67500831021203e-06,
136
+ "ram": 4.187078771225051e-06,
137
+ "gpu": 4.330211797499983e-05,
138
+ "total": 5.516420505643691e-05
139
+ },
140
+ "efficiency": {
141
+ "unit": "images/kWh",
142
+ "value": 18127.69709953998
143
+ }
144
+ }
145
+ }
146
+ }