{ "config": { "name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch", "backend": { "name": "pytorch", "version": "2.5.1+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-to-image", "library": "diffusers", "model_type": "stable-diffusion", "model": "hf-internal-testing/tiny-stable-diffusion-torch", "processor": "hf-internal-testing/tiny-stable-diffusion-torch", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": false, "device_map": null, "torch_dtype": null, "eval_mode": true, "to_bettertransformer": false, "low_cpu_mem_usage": null, "attn_implementation": null, "cache_implementation": null, "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": true, "device_isolation_action": "error", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.248768, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.5.0.dev0", "optimum_benchmark_commit": null, "transformers_version": "4.47.0", "transformers_commit": null, "accelerate_version": "1.2.0", "accelerate_commit": null, "diffusers_version": "0.31.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.12", "timm_commit": null, "peft_version": "0.14.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 797.519872, "max_global_vram": 601.358336, "max_process_vram": 0.0, "max_reserved": 10.48576, "max_allocated": 8.715776 }, "latency": { "unit": "s", "values": [ 0.8860333862304688 ], "count": 1, "total": 0.8860333862304688, "mean": 0.8860333862304688, "p50": 0.8860333862304688, "p90": 0.8860333862304688, "p95": 0.8860333862304688, "p99": 0.8860333862304688, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 0.00010563639495208304, "ram": 5.787678342794376e-05, "gpu": 0.0001374492766260003, "total": 0.0003009624550060271 }, "efficiency": null }, "call": { "memory": { "unit": "MB", "max_ram": 1357.545472, "max_global_vram": 739.770368, "max_process_vram": 0.0, "max_reserved": 88.080384, "max_allocated": 50.459136 }, "latency": { "unit": "s", "values": [ 0.05221270370483398, 0.05198896026611328, 0.052416641235351565, 0.05244246292114258, 0.05395555114746094, 0.05404665756225586, 0.05237299346923828, 0.05136300659179688, 0.05063539123535156, 0.050531070709228514, 0.05100297546386719, 0.05105587387084961, 0.051156574249267575, 0.05076598358154297, 0.050583969116210936, 0.05073155212402344, 0.051762462615966794, 0.051242942810058596, 0.051106975555419924, 0.05088675308227539 ], "count": 20, "total": 1.0322615013122558, "mean": 0.05161307506561279, "p50": 0.05119975852966309, "p90": 0.05259377174377442, "p95": 0.05396010646820068, "p99": 0.05402934734344482, "stdev": 0.001009909960473596, "stdev_": 1.956694033807818 }, "throughput": { "unit": "images/s", "value": 38.749870986324936 }, "energy": { "unit": "kWh", "cpu": 6.412381111111187e-07, "ram": 3.497663898823872e-07, "gpu": 1.9462442470526107e-06, "total": 2.9372487480461153e-06 }, "efficiency": { "unit": "images/kWh", "value": 680909.303759315 } }, "per_step": { "memory": null, "latency": { "unit": "s", "values": [ 0.012651519775390625, 0.012809215545654297, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.02614476776123047, 0.012291071891784668, 0.012281855583190919, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.02614476776123047, 0.012291071891784668, 0.012281855583190919, 0.026045440673828125, 0.01235148811340332, 0.012420096397399903, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.02614476776123047, 0.012291071891784668, 0.012281855583190919, 0.026045440673828125, 0.01235148811340332, 0.012420096397399903, 0.026100736618041992, 0.012311552047729492, 0.013230079650878907, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.02614476776123047, 0.012291071891784668, 0.012281855583190919, 0.026045440673828125, 0.01235148811340332, 0.012420096397399903, 0.026100736618041992, 0.012311552047729492, 0.013230079650878907, 0.026822656631469727, 0.012307456016540527, 0.012303359985351562, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.02614476776123047, 0.012291071891784668, 0.012281855583190919, 0.026045440673828125, 0.01235148811340332, 0.012420096397399903, 0.026100736618041992, 0.012311552047729492, 0.013230079650878907, 0.026822656631469727, 0.012307456016540527, 0.012303359985351562, 0.026242048263549804, 0.012419072151184082, 0.0124334077835083, 0.012651519775390625, 0.012809215545654297, 0.026860544204711914, 0.01265766429901123, 0.012545087814331054, 0.026766271591186525, 0.01284607982635498, 0.012784640312194824, 0.026534912109375, 0.01296895980834961, 0.012890111923217774, 0.02752409553527832, 0.013129728317260742, 0.013291520118713379, 0.028180479049682617, 0.013151231765747071, 0.012760064125061036, 0.026798080444335938, 0.013132800102233886, 0.012660736083984376, 0.02655436706542969, 0.012493824005126953, 0.012313599586486817, 0.02612019157409668, 0.012368895530700684, 0.012267519950866699, 0.026015743255615235, 0.012308544158935546, 0.0122674560546875, 0.02594611167907715, 0.012715007781982422, 0.012329983711242675, 0.026059776306152343, 0.01254297637939453, 0.012500991821289062, 0.02650111961364746, 0.012429311752319335, 0.012320768356323243, 0.026101760864257813, 0.012297216415405274, 0.012255231857299804, 0.02614476776123047, 0.012291071891784668, 0.012281855583190919, 0.026045440673828125, 0.01235148811340332, 0.012420096397399903, 0.026100736618041992, 0.012311552047729492, 0.013230079650878907, 0.026822656631469727, 0.012307456016540527, 0.012303359985351562, 0.026242048263549804, 0.012419072151184082, 0.0124334077835083, 0.02630143928527832, 0.012339200019836426, 0.012281855583190919 ], "count": 610, "total": 10.383143948554988, "mean": 0.01702154745664753, "p50": 0.01284607982635498, "p90": 0.026798080444335938, "p95": 0.02722549743652341, "p99": 0.028180479049682617, "stdev": 0.006498232367685162, "stdev_": 38.17650765440464 }, "throughput": null, "energy": null, "efficiency": null } } }