{ "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": 800.423936, "max_global_vram": 599.261184, "max_process_vram": 0.0, "max_reserved": 10.48576, "max_allocated": 8.715776 }, "latency": { "unit": "s", "values": [ 0.8869160766601563 ], "count": 1, "total": 0.8869160766601563, "mean": 0.8869160766601563, "p50": 0.8869160766601563, "p90": 0.8869160766601563, "p95": 0.8869160766601563, "p99": 0.8869160766601563, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 0.00010686996806527797, "ram": 5.855390364086163e-05, "gpu": 0.00014501233823199788, "total": 0.0003104362099381375 }, "efficiency": null }, "call": { "memory": { "unit": "MB", "max_ram": 1361.035264, "max_global_vram": 739.770368, "max_process_vram": 0.0, "max_reserved": 88.080384, "max_allocated": 50.459136 }, "latency": { "unit": "s", "values": [ 0.054594337463378904, 0.05611148834228516, 0.05327113723754883, 0.05546284866333008, 0.05323311996459961, 0.05204803085327148, 0.050060352325439456, 0.05017488098144531, 0.051561985015869144, 0.050051681518554686, 0.05144768142700195, 0.050457950592041015, 0.050116958618164065, 0.05038079833984375, 0.05172447967529297, 0.05350310516357422, 0.050485759735107424, 0.05032553482055664, 0.05161695861816406, 0.05049446487426758 ], "count": 20, "total": 1.0371235542297363, "mean": 0.05185617771148682, "p50": 0.05150483322143555, "p90": 0.05468118858337402, "p95": 0.055495280647277836, "p99": 0.055988246803283695, "stdev": 0.001845647649531806, "stdev_": 3.559166392479735 }, "throughput": { "unit": "images/s", "value": 38.56821092999637 }, "energy": { "unit": "kWh", "cpu": 6.237909804169009e-07, "ram": 3.3952947695379486e-07, "gpu": 2.050946085200081e-06, "total": 3.0142665425707766e-06 }, "efficiency": { "unit": "images/kWh", "value": 663511.3291256123 } }, "per_step": { "memory": null, "latency": { "unit": "s", "values": [ 0.013355999946594239, 0.013252608299255371, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.026736640930175783, 0.0125665283203125, 0.012525568008422852, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.026736640930175783, 0.0125665283203125, 0.012525568008422852, 0.02651955223083496, 0.014263296127319336, 0.012695615768432617, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.026736640930175783, 0.0125665283203125, 0.012525568008422852, 0.02651955223083496, 0.014263296127319336, 0.012695615768432617, 0.026213312149047853, 0.01226956844329834, 0.012191743850708007, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.026736640930175783, 0.0125665283203125, 0.012525568008422852, 0.02651955223083496, 0.014263296127319336, 0.012695615768432617, 0.026213312149047853, 0.01226956844329834, 0.012191743850708007, 0.026024959564208985, 0.012163071632385255, 0.01216716766357422, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.026736640930175783, 0.0125665283203125, 0.012525568008422852, 0.02651955223083496, 0.014263296127319336, 0.012695615768432617, 0.026213312149047853, 0.01226956844329834, 0.012191743850708007, 0.026024959564208985, 0.012163071632385255, 0.01216716766357422, 0.026060800552368164, 0.01307545566558838, 0.012447744369506837, 0.013355999946594239, 0.013252608299255371, 0.028815359115600587, 0.01366528034210205, 0.013621248245239258, 0.027837440490722655, 0.012830719947814942, 0.012933119773864746, 0.028056575775146485, 0.013536255836486816, 0.013737983703613281, 0.02799827194213867, 0.012755904197692871, 0.012736512184143066, 0.027011072158813477, 0.012615679740905762, 0.0125665283203125, 0.025792512893676758, 0.0122357759475708, 0.012167200088500977, 0.025871328353881836, 0.012207103729248046, 0.01214463996887207, 0.026290176391601562, 0.01265664005279541, 0.012563455581665038, 0.025753599166870117, 0.012239871978759765, 0.012172287940979003, 0.025643007278442383, 0.01305292797088623, 0.012634112358093261, 0.026229759216308594, 0.012186623573303223, 0.012156928062438965, 0.025907199859619142, 0.01215283203125, 0.012155936241149903, 0.025708511352539064, 0.012183551788330077, 0.012299263954162597, 0.026736640930175783, 0.0125665283203125, 0.012525568008422852, 0.02651955223083496, 0.014263296127319336, 0.012695615768432617, 0.026213312149047853, 0.01226956844329834, 0.012191743850708007, 0.026024959564208985, 0.012163071632385255, 0.01216716766357422, 0.026060800552368164, 0.01307545566558838, 0.012447744369506837, 0.02633420753479004, 0.012176447868347168, 0.012139455795288086 ], "count": 610, "total": 10.475362807273854, "mean": 0.01717272591356371, "p50": 0.013252608299255371, "p90": 0.027837440490722655, "p95": 0.028056575775146485, "p99": 0.028815359115600587, "stdev": 0.00657919211714204, "stdev_": 38.31186819295549 }, "throughput": null, "energy": null, "efficiency": null } } }