IlyasMoutawwakil HF Staff
Upload cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
d6efab4 verified | { | |
| "config": { | |
| "name": "cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.8.0", | |
| "_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": " Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz", | |
| "cpu_count": 4, | |
| "cpu_ram_mb": 16765.403136, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.17.0-1008-azure-x86_64-with-glibc2.39", | |
| "processor": "x86_64", | |
| "python_version": "3.10.20", | |
| "optimum_benchmark_version": "0.7.0.dev0", | |
| "optimum_benchmark_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "transformers_version": "4.56.2", | |
| "transformers_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "accelerate_version": "1.10.1", | |
| "accelerate_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "diffusers_version": "0.35.1", | |
| "diffusers_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.20", | |
| "timm_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "peft_version": "0.17.1", | |
| "peft_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 953.573376, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 1.1440182889999733 | |
| ], | |
| "count": 1, | |
| "total": 1.1440182889999733, | |
| "mean": 1.1440182889999733, | |
| "p50": 1.1440182889999733, | |
| "p90": 1.1440182889999733, | |
| "p95": 1.1440182889999733, | |
| "p99": 1.1440182889999733, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.136082464146278e-05, | |
| "ram": 1.6253777958333318e-05, | |
| "gpu": 0.0, | |
| "total": 8.761460259979609e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_call": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1073.569792, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 1.6558988830000203 | |
| ], | |
| "count": 1, | |
| "total": 1.6558988830000203, | |
| "mean": 1.6558988830000203, | |
| "p50": 1.6558988830000203, | |
| "p90": 1.6558988830000203, | |
| "p95": 1.6558988830000203, | |
| "p99": 1.6558988830000203, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00010496359023365412, | |
| "ram": 1.766017980833333e-05, | |
| "gpu": 0.0, | |
| "total": 0.00012262377004198746 | |
| }, | |
| "efficiency": null | |
| }, | |
| "call": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1074.057216, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 1.2683759170000144 | |
| ], | |
| "count": 1, | |
| "total": 1.2683759170000144, | |
| "mean": 1.2683759170000144, | |
| "p50": 1.2683759170000144, | |
| "p90": 1.2683759170000144, | |
| "p95": 1.2683759170000144, | |
| "p99": 1.2683759170000144, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": { | |
| "unit": "images/s", | |
| "value": 1.5768195951957493 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 2.9397192751051573e-05, | |
| "ram": 4.898421894444503e-06, | |
| "gpu": 0.0, | |
| "total": 3.429561464549606e-05 | |
| }, | |
| "efficiency": { | |
| "unit": "images/kWh", | |
| "value": 58316.493833786815 | |
| } | |
| }, | |
| "per_step": { | |
| "memory": null, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.36467981499998814, | |
| 0.36528358200001776 | |
| ], | |
| "count": 2, | |
| "total": 0.7299633970000059, | |
| "mean": 0.36498169850000295, | |
| "p50": 0.36498169850000295, | |
| "p90": 0.3652232053000148, | |
| "p95": 0.3652533936500163, | |
| "p99": 0.36527754433001747, | |
| "stdev": 0.0003018835000148101, | |
| "stdev_": 0.08271195549132655 | |
| }, | |
| "throughput": null, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |