IlyasMoutawwakil
HF Staff
Upload cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
f555933
verified
| { | |
| "config": { | |
| "name": "cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.7.1", | |
| "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
| "model": "hf-internal-testing/tiny-stable-diffusion-torch", | |
| "processor": "hf-internal-testing/tiny-stable-diffusion-torch", | |
| "task": "text-to-image", | |
| "library": "diffusers", | |
| "model_type": "stable-diffusion", | |
| "device": "cpu", | |
| "device_ids": null, | |
| "seed": 42, | |
| "inter_op_num_threads": null, | |
| "intra_op_num_threads": null, | |
| "model_kwargs": {}, | |
| "processor_kwargs": {}, | |
| "no_weights": false, | |
| "tp_plan": null, | |
| "device_map": null, | |
| "torch_dtype": null, | |
| "eval_mode": true, | |
| "to_bettertransformer": false, | |
| "low_cpu_mem_usage": null, | |
| "attn_implementation": null, | |
| "cache_implementation": null, | |
| "allow_tf32": false, | |
| "autocast_enabled": false, | |
| "autocast_dtype": null, | |
| "torch_compile": false, | |
| "torch_compile_target": "forward", | |
| "torch_compile_config": {}, | |
| "quantization_scheme": null, | |
| "quantization_config": {}, | |
| "deepspeed_inference": false, | |
| "deepspeed_inference_config": {}, | |
| "peft_type": null, | |
| "peft_config": {} | |
| }, | |
| "scenario": { | |
| "name": "inference", | |
| "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
| "iterations": 1, | |
| "duration": 1, | |
| "warmup_runs": 1, | |
| "input_shapes": { | |
| "batch_size": 2, | |
| "sequence_length": 16, | |
| "num_choices": 2 | |
| }, | |
| "new_tokens": null, | |
| "memory": true, | |
| "latency": true, | |
| "energy": true, | |
| "forward_kwargs": {}, | |
| "generate_kwargs": { | |
| "max_new_tokens": 2, | |
| "min_new_tokens": 2 | |
| }, | |
| "call_kwargs": { | |
| "num_inference_steps": 2 | |
| } | |
| }, | |
| "launcher": { | |
| "name": "process", | |
| "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
| "device_isolation": false, | |
| "device_isolation_action": null, | |
| "numactl": false, | |
| "numactl_kwargs": {}, | |
| "start_method": "spawn" | |
| }, | |
| "environment": { | |
| "cpu": " AMD EPYC 7763 64-Core Processor", | |
| "cpu_count": 4, | |
| "cpu_ram_mb": 16772.575232, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.11.0-1018-azure-x86_64-with-glibc2.39", | |
| "processor": "x86_64", | |
| "python_version": "3.10.18", | |
| "optimum_benchmark_version": "0.6.0.dev0", | |
| "optimum_benchmark_commit": "9aefb4838384246970b9a3df11ab8e1ea432b85a", | |
| "transformers_version": "4.55.2", | |
| "transformers_commit": "9aefb4838384246970b9a3df11ab8e1ea432b85a", | |
| "accelerate_version": "1.10.0", | |
| "accelerate_commit": "9aefb4838384246970b9a3df11ab8e1ea432b85a", | |
| "diffusers_version": "0.35.0", | |
| "diffusers_commit": "9aefb4838384246970b9a3df11ab8e1ea432b85a", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.19", | |
| "timm_commit": "9aefb4838384246970b9a3df11ab8e1ea432b85a", | |
| "peft_version": "0.17.0", | |
| "peft_commit": "9aefb4838384246970b9a3df11ab8e1ea432b85a" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 876.171264, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 1.0182798369999944 | |
| ], | |
| "count": 1, | |
| "total": 1.0182798369999944, | |
| "mean": 1.0182798369999944, | |
| "p50": 1.0182798369999944, | |
| "p90": 1.0182798369999944, | |
| "p95": 1.0182798369999944, | |
| "p99": 1.0182798369999944, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.0001172764961195954, | |
| "ram": 1.8038368169444397e-05, | |
| "gpu": 0.0, | |
| "total": 0.0001353148642890398 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_call": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 969.40032, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 2.552907653999995 | |
| ], | |
| "count": 1, | |
| "total": 2.552907653999995, | |
| "mean": 2.552907653999995, | |
| "p50": 2.552907653999995, | |
| "p90": 2.552907653999995, | |
| "p95": 2.552907653999995, | |
| "p99": 2.552907653999995, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00019067463163205655, | |
| "ram": 2.209936655555553e-05, | |
| "gpu": 0.0, | |
| "total": 0.00021277399818761213 | |
| }, | |
| "efficiency": null | |
| }, | |
| "call": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 986.476544, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 2.3816451900000004 | |
| ], | |
| "count": 1, | |
| "total": 2.3816451900000004, | |
| "mean": 2.3816451900000004, | |
| "p50": 2.3816451900000004, | |
| "p90": 2.3816451900000004, | |
| "p95": 2.3816451900000004, | |
| "p99": 2.3816451900000004, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": { | |
| "unit": "images/s", | |
| "value": 0.8397556480694758 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 8.0500711808453e-05, | |
| "ram": 7.666859608333317e-06, | |
| "gpu": 0.0, | |
| "total": 8.816757141678628e-05 | |
| }, | |
| "efficiency": { | |
| "unit": "images/kWh", | |
| "value": 22684.077239074533 | |
| } | |
| }, | |
| "per_step": { | |
| "memory": null, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.6983302390000006, | |
| 0.7001175569999987 | |
| ], | |
| "count": 2, | |
| "total": 1.3984477959999992, | |
| "mean": 0.6992238979999996, | |
| "p50": 0.6992238979999996, | |
| "p90": 0.6999388251999988, | |
| "p95": 0.7000281910999988, | |
| "p99": 0.7000996838199987, | |
| "stdev": 0.0008936589999990474, | |
| "stdev_": 0.12780727354359503 | |
| }, | |
| "throughput": null, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |