Upload cuda_inference_diffusers_stable-diffusion_CompVis/stable-diffusion-v1-4/file.json with huggingface_hub
Browse files
cuda_inference_diffusers_stable-diffusion_CompVis/stable-diffusion-v1-4/file.json
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "cuda_inference_diffusers_stable-diffusion_CompVis/stable-diffusion-v1-4",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.2.2",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "stable-diffusion",
|
| 9 |
+
"model": "CompVis/stable-diffusion-v1-4",
|
| 10 |
+
"library": "diffusers",
|
| 11 |
+
"device": "cuda",
|
| 12 |
+
"device_ids": "0",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"inter_op_num_threads": null,
|
| 15 |
+
"intra_op_num_threads": null,
|
| 16 |
+
"hub_kwargs": {
|
| 17 |
+
"revision": "main",
|
| 18 |
+
"force_download": false,
|
| 19 |
+
"local_files_only": false,
|
| 20 |
+
"trust_remote_code": false
|
| 21 |
+
},
|
| 22 |
+
"no_weights": false,
|
| 23 |
+
"device_map": null,
|
| 24 |
+
"torch_dtype": null,
|
| 25 |
+
"eval_mode": true,
|
| 26 |
+
"to_bettertransformer": false,
|
| 27 |
+
"low_cpu_mem_usage": null,
|
| 28 |
+
"attn_implementation": null,
|
| 29 |
+
"cache_implementation": null,
|
| 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": 1,
|
| 50 |
+
"num_choices": 2,
|
| 51 |
+
"sequence_length": 2
|
| 52 |
+
},
|
| 53 |
+
"new_tokens": null,
|
| 54 |
+
"latency": true,
|
| 55 |
+
"memory": 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": true,
|
| 70 |
+
"device_isolation_action": "error",
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7R32",
|
| 75 |
+
"cpu_count": 16,
|
| 76 |
+
"cpu_ram_mb": 66697.29792,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.10.214-202.855.amzn2.x86_64-x86_64-with-glibc2.35",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.10.14",
|
| 82 |
+
"gpu": [
|
| 83 |
+
"NVIDIA A10G"
|
| 84 |
+
],
|
| 85 |
+
"gpu_count": 1,
|
| 86 |
+
"gpu_vram_mb": 24146608128,
|
| 87 |
+
"optimum_benchmark_version": "0.2.0",
|
| 88 |
+
"optimum_benchmark_commit": null,
|
| 89 |
+
"transformers_version": "4.40.2",
|
| 90 |
+
"transformers_commit": null,
|
| 91 |
+
"accelerate_version": "0.30.0",
|
| 92 |
+
"accelerate_commit": null,
|
| 93 |
+
"diffusers_version": "0.27.2",
|
| 94 |
+
"diffusers_commit": null,
|
| 95 |
+
"optimum_version": null,
|
| 96 |
+
"optimum_commit": null,
|
| 97 |
+
"timm_version": "0.9.16",
|
| 98 |
+
"timm_commit": null,
|
| 99 |
+
"peft_version": null,
|
| 100 |
+
"peft_commit": null
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"report": {
|
| 104 |
+
"call": {
|
| 105 |
+
"memory": {
|
| 106 |
+
"unit": "MB",
|
| 107 |
+
"max_ram": 1321.750528,
|
| 108 |
+
"max_global_vram": 8150.05696,
|
| 109 |
+
"max_process_vram": 0.0,
|
| 110 |
+
"max_reserved": 7495.221248,
|
| 111 |
+
"max_allocated": 6531.774464
|
| 112 |
+
},
|
| 113 |
+
"latency": {
|
| 114 |
+
"unit": "s",
|
| 115 |
+
"count": 2,
|
| 116 |
+
"total": 1.2983474731445312,
|
| 117 |
+
"mean": 0.6491737365722656,
|
| 118 |
+
"stdev": 0.0011367492675781188,
|
| 119 |
+
"p50": 0.6491737365722656,
|
| 120 |
+
"p90": 0.6500831359863282,
|
| 121 |
+
"p95": 0.6501968109130859,
|
| 122 |
+
"p99": 0.6502877508544922,
|
| 123 |
+
"values": [
|
| 124 |
+
0.6503104858398437,
|
| 125 |
+
0.6480369873046875
|
| 126 |
+
]
|
| 127 |
+
},
|
| 128 |
+
"throughput": {
|
| 129 |
+
"unit": "images/s",
|
| 130 |
+
"value": 1.540419680685404
|
| 131 |
+
},
|
| 132 |
+
"energy": {
|
| 133 |
+
"unit": "kWh",
|
| 134 |
+
"cpu": 7.692539443572362e-06,
|
| 135 |
+
"ram": 4.208077284056344e-06,
|
| 136 |
+
"gpu": 4.048725461199996e-05,
|
| 137 |
+
"total": 5.238787133962866e-05
|
| 138 |
+
},
|
| 139 |
+
"efficiency": {
|
| 140 |
+
"unit": "images/kWh",
|
| 141 |
+
"value": 19088.387720834016
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
}
|
| 145 |
+
}
|