Upload cpu_inference_diffusers_text-to-image_CompVis/stable-diffusion-v1-4/benchmark.json with huggingface_hub
Browse files
cpu_inference_diffusers_text-to-image_CompVis/stable-diffusion-v1-4/benchmark.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "cpu_inference_diffusers_text-to-image_CompVis/stable-diffusion-v1-4",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.1+cpu",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "text-to-image",
|
| 9 |
+
"library": "diffusers",
|
| 10 |
+
"model": "CompVis/stable-diffusion-v1-4",
|
| 11 |
+
"processor": "CompVis/stable-diffusion-v1-4",
|
| 12 |
+
"device": "cpu",
|
| 13 |
+
"device_ids": null,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"inter_op_num_threads": null,
|
| 16 |
+
"intra_op_num_threads": null,
|
| 17 |
+
"model_kwargs": {},
|
| 18 |
+
"processor_kwargs": {},
|
| 19 |
+
"hub_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": 1,
|
| 48 |
+
"num_choices": 2,
|
| 49 |
+
"sequence_length": 2
|
| 50 |
+
},
|
| 51 |
+
"new_tokens": null,
|
| 52 |
+
"latency": true,
|
| 53 |
+
"memory": 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": "error",
|
| 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": 16757.338112,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.10.14",
|
| 82 |
+
"optimum_benchmark_version": "0.3.1",
|
| 83 |
+
"optimum_benchmark_commit": "c31e63ddb94c29460ba90ff599147e94ff80543a",
|
| 84 |
+
"transformers_version": "4.42.4",
|
| 85 |
+
"transformers_commit": null,
|
| 86 |
+
"accelerate_version": "0.32.1",
|
| 87 |
+
"accelerate_commit": null,
|
| 88 |
+
"diffusers_version": "0.29.2",
|
| 89 |
+
"diffusers_commit": null,
|
| 90 |
+
"optimum_version": null,
|
| 91 |
+
"optimum_commit": null,
|
| 92 |
+
"timm_version": "1.0.7",
|
| 93 |
+
"timm_commit": null,
|
| 94 |
+
"peft_version": null,
|
| 95 |
+
"peft_commit": null
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"report": {
|
| 99 |
+
"call": {
|
| 100 |
+
"memory": {
|
| 101 |
+
"unit": "MB",
|
| 102 |
+
"max_ram": 6886.219776,
|
| 103 |
+
"max_global_vram": null,
|
| 104 |
+
"max_process_vram": null,
|
| 105 |
+
"max_reserved": null,
|
| 106 |
+
"max_allocated": null
|
| 107 |
+
},
|
| 108 |
+
"latency": {
|
| 109 |
+
"unit": "s",
|
| 110 |
+
"count": 1,
|
| 111 |
+
"total": 49.12935062200006,
|
| 112 |
+
"mean": 49.12935062200006,
|
| 113 |
+
"stdev": 0.0,
|
| 114 |
+
"p50": 49.12935062200006,
|
| 115 |
+
"p90": 49.12935062200006,
|
| 116 |
+
"p95": 49.12935062200006,
|
| 117 |
+
"p99": 49.12935062200006,
|
| 118 |
+
"values": [
|
| 119 |
+
49.12935062200006
|
| 120 |
+
]
|
| 121 |
+
},
|
| 122 |
+
"throughput": {
|
| 123 |
+
"unit": "images/s",
|
| 124 |
+
"value": 0.020354431461835795
|
| 125 |
+
},
|
| 126 |
+
"energy": {
|
| 127 |
+
"unit": "kWh",
|
| 128 |
+
"cpu": 0.0019076283388667636,
|
| 129 |
+
"ram": 7.974428917915968e-05,
|
| 130 |
+
"gpu": 0.0,
|
| 131 |
+
"total": 0.0019873726280459233
|
| 132 |
+
},
|
| 133 |
+
"efficiency": {
|
| 134 |
+
"unit": "images/kWh",
|
| 135 |
+
"value": 503.1769009434563
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
}
|