IlyasMoutawwakil HF Staff
Upload cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
d472192 verified | { | |
| "config": { | |
| "name": "cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.5.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.579328, | |
| "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": "ddbeade619e7a610deb1b9ea511400e04b5abebe", | |
| "transformers_version": "4.45.1", | |
| "transformers_commit": "ddbeade619e7a610deb1b9ea511400e04b5abebe", | |
| "accelerate_version": "1.10.0", | |
| "accelerate_commit": "ddbeade619e7a610deb1b9ea511400e04b5abebe", | |
| "diffusers_version": "0.34.0", | |
| "diffusers_commit": "ddbeade619e7a610deb1b9ea511400e04b5abebe", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.19", | |
| "timm_commit": "ddbeade619e7a610deb1b9ea511400e04b5abebe", | |
| "peft_version": "0.17.0", | |
| "peft_commit": "ddbeade619e7a610deb1b9ea511400e04b5abebe" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 781.316096, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.8699669929999914 | |
| ], | |
| "count": 1, | |
| "total": 0.8699669929999914, | |
| "mean": 0.8699669929999914, | |
| "p50": 0.8699669929999914, | |
| "p90": 0.8699669929999914, | |
| "p95": 0.8699669929999914, | |
| "p99": 0.8699669929999914, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 9.30539372755385e-05, | |
| "ram": 1.4092333513889028e-05, | |
| "gpu": 0.0, | |
| "total": 0.00010714627078942754 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_call": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 870.756352, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 2.6856893030000037 | |
| ], | |
| "count": 1, | |
| "total": 2.6856893030000037, | |
| "mean": 2.6856893030000037, | |
| "p50": 2.6856893030000037, | |
| "p90": 2.6856893030000037, | |
| "p95": 2.6856893030000037, | |
| "p99": 2.6856893030000037, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00018005016582685443, | |
| "ram": 1.9109058930555673e-05, | |
| "gpu": 0.0, | |
| "total": 0.00019915922475741008 | |
| }, | |
| "efficiency": null | |
| }, | |
| "call": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 884.023296, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 2.628099087999999 | |
| ], | |
| "count": 1, | |
| "total": 2.628099087999999, | |
| "mean": 2.628099087999999, | |
| "p50": 2.628099087999999, | |
| "p90": 2.628099087999999, | |
| "p95": 2.628099087999999, | |
| "p99": 2.628099087999999, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": { | |
| "unit": "images/s", | |
| "value": 0.7610063140815643 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 7.334981435683338e-05, | |
| "ram": 8.64312327777791e-06, | |
| "gpu": 0.0, | |
| "total": 8.199293763461131e-05 | |
| }, | |
| "efficiency": { | |
| "unit": "images/kWh", | |
| "value": 24392.344727453077 | |
| } | |
| }, | |
| "per_step": { | |
| "memory": null, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.7832785890000196, | |
| 0.775026969999999 | |
| ], | |
| "count": 2, | |
| "total": 1.5583055590000185, | |
| "mean": 0.7791527795000093, | |
| "p50": 0.7791527795000093, | |
| "p90": 0.7824534271000175, | |
| "p95": 0.7828660080500185, | |
| "p99": 0.7831960728100194, | |
| "stdev": 0.004125809500010291, | |
| "stdev_": 0.5295250955349049 | |
| }, | |
| "throughput": null, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |