{ "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": 798.220288, "max_global_vram": 601.358336, "max_process_vram": 0.0, "max_reserved": 10.48576, "max_allocated": 8.715776 }, "latency": { "unit": "s", "values": [ 1.6168724365234375 ], "count": 1, "total": 1.6168724365234375, "mean": 1.6168724365234375, "p50": 1.6168724365234375, "p90": 1.6168724365234375, "p95": 1.6168724365234375, "p99": 1.6168724365234375, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 0.00011499499603125014, "ram": 6.300720535713665e-05, "gpu": 0.00015130512104400036, "total": 0.00032930732243238714 }, "efficiency": null }, "call": { "memory": { "unit": "MB", "max_ram": 1358.462976, "max_global_vram": 739.770368, "max_process_vram": 0.0, "max_reserved": 88.080384, "max_allocated": 50.459136 }, "latency": { "unit": "s", "values": [ 0.055147296905517576, 0.0534554557800293, 0.05286470413208008, 0.052344097137451175, 0.053459102630615235, 0.05467606353759766, 0.054160831451416015, 0.05346271896362305, 0.05248070526123047, 0.05236095809936524, 0.05323759841918945, 0.05256195068359375, 0.051451553344726564, 0.050218238830566406, 0.05140803146362305, 0.05208208084106445, 0.05038041687011719, 0.05120902252197266, 0.05058054351806641, 0.05214854431152344 ], "count": 20, "total": 1.0496899147033691, "mean": 0.05248449573516846, "p50": 0.052420831680297854, "p90": 0.05421235466003418, "p95": 0.054699625205993654, "p99": 0.05505776256561279, "stdev": 0.0013345657208958064, "stdev_": 2.542780876908663 }, "throughput": { "unit": "images/s", "value": 38.10649167883409 }, "energy": { "unit": "kWh", "cpu": 6.228256401388899e-07, "ram": 3.403804434005622e-07, "gpu": 1.851001480799989e-06, "total": 2.8142075643394396e-06 }, "efficiency": { "unit": "images/kWh", "value": 710679.6333515814 } }, "per_step": { "memory": null, "latency": { "unit": "s", "values": [ 0.013421567916870117, 0.012959744453430176, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.025948160171508788, 0.01273855972290039, 0.012817407608032226, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.025948160171508788, 0.01273855972290039, 0.012817407608032226, 0.02673971176147461, 0.01274060821533203, 0.012729344367980957, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.025948160171508788, 0.01273855972290039, 0.012817407608032226, 0.02673971176147461, 0.01274060821533203, 0.012729344367980957, 0.025684991836547853, 0.012187647819519042, 0.012471296310424805, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.025948160171508788, 0.01273855972290039, 0.012817407608032226, 0.02673971176147461, 0.01274060821533203, 0.012729344367980957, 0.025684991836547853, 0.012187647819519042, 0.012471296310424805, 0.025809919357299805, 0.012698623657226562, 0.012797951698303223, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.025948160171508788, 0.01273855972290039, 0.012817407608032226, 0.02673971176147461, 0.01274060821533203, 0.012729344367980957, 0.025684991836547853, 0.012187647819519042, 0.012471296310424805, 0.025809919357299805, 0.012698623657226562, 0.012797951698303223, 0.025787391662597657, 0.01214566421508789, 0.01268838405609131, 0.013421567916870117, 0.012959744453430176, 0.027431936264038087, 0.012919808387756348, 0.013089792251586914, 0.02732044792175293, 0.012898176193237305, 0.012844032287597656, 0.0265799674987793, 0.012867584228515624, 0.01296076774597168, 0.0269322566986084, 0.01371241569519043, 0.012882880210876465, 0.02713497543334961, 0.01339084815979004, 0.014004223823547364, 0.02830745506286621, 0.01307750415802002, 0.01288809585571289, 0.027461599349975586, 0.013011967658996582, 0.013072383880615235, 0.02695475196838379, 0.012827648162841796, 0.012815360069274903, 0.026851327896118164, 0.01278771209716797, 0.012790783882141114, 0.02768182373046875, 0.01280508804321289, 0.01274675178527832, 0.02710537528991699, 0.012769184112548827, 0.012743680000305176, 0.025825279235839844, 0.012809215545654297, 0.01286246395111084, 0.02588467216491699, 0.012133376121520996, 0.012119039535522461, 0.025948160171508788, 0.01273855972290039, 0.012817407608032226, 0.02673971176147461, 0.01274060821533203, 0.012729344367980957, 0.025684991836547853, 0.012187647819519042, 0.012471296310424805, 0.025809919357299805, 0.012698623657226562, 0.012797951698303223, 0.025787391662597657, 0.01214566421508789, 0.01268838405609131, 0.026380352020263672, 0.013011903762817382, 0.012806143760681152 ], "count": 610, "total": 10.574943234443655, "mean": 0.01733597251548142, "p50": 0.013011967658996582, "p90": 0.02732044792175293, "p95": 0.027461599349975586, "p99": 0.02830745506286621, "stdev": 0.006520285660604306, "stdev_": 37.61130594076301 }, "throughput": null, "energy": null, "efficiency": null } } }