IlyasMoutawwakil's picture
Upload cpu_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
45fac66 verified
Raw History Blame
8.22 kB
{
"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": " AMD EPYC 9V45 96-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.414848,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.17.0-1022-azure-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.22",
"optimum_benchmark_version": "0.7.0.dev0",
"optimum_benchmark_commit": "eaf8ac992376fe23734eea5a30298eb1f19f6bb6",
"transformers_version": "4.56.2",
"transformers_commit": null,
"accelerate_version": "1.10.1",
"accelerate_commit": null,
"diffusers_version": "0.35.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.20",
"timm_commit": null,
"peft_version": "0.17.1",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 950.960128,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.36016900300001
],
"count": 1,
"total": 1.36016900300001,
"mean": 1.36016900300001,
"p50": 1.36016900300001,
"p90": 1.36016900300001,
"p95": 1.36016900300001,
"p99": 1.36016900300001,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 3.930753679538703e-06,
"ram": 1.3098371716666671e-05,
"gpu": 0.0,
"total": 1.7029125396205375e-05
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1031.028736,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.9105619450000404
],
"count": 1,
"total": 0.9105619450000404,
"mean": 0.9105619450000404,
"p50": 0.9105619450000404,
"p90": 0.9105619450000404,
"p95": 0.9105619450000404,
"p99": 0.9105619450000404,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.719355436779289e-06,
"ram": 1.1725379791666529e-05,
"gpu": 0.0,
"total": 1.6444735228445817e-05
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1034.862592,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.8792280110000092,
0.8948619640000288
],
"count": 2,
"total": 1.774089975000038,
"mean": 0.887044987500019,
"p50": 0.887044987500019,
"p90": 0.8932985687000269,
"p95": 0.8940802663500278,
"p99": 0.8947056244700287,
"stdev": 0.007816976500009787,
"stdev_": 0.8812378864842657
},
"throughput": {
"unit": "images/s",
"value": 2.254677077468923
},
"energy": {
"unit": "kWh",
"cpu": 1.8235675632062728e-06,
"ram": 4.08527145277762e-06,
"gpu": 0.0,
"total": 5.908839015983891e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 338475.9670368133
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.2629800400000022,
0.26399877799997284,
0.2629800400000022,
0.26399877799997284,
0.3556307359999664,
0.2687868330000356,
0.26879231199995957
],
"count": 7,
"total": 1.9471675169999116,
"mean": 0.2781667881428445,
"p50": 0.26399877799997284,
"p90": 0.30352768159996235,
"p95": 0.3295792087999643,
"p99": 0.35042043055996597,
"stdev": 0.03171134821698199,
"stdev_": 11.400120204392461
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}