IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
a79ea88 verified
raw
history blame
33.1 kB
{
"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",
"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": "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.1",
"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": 796.659712,
"max_global_vram": 599.261184,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.940600341796875
],
"count": 1,
"total": 0.940600341796875,
"mean": 0.940600341796875,
"p50": 0.940600341796875,
"p90": 0.940600341796875,
"p95": 0.940600341796875,
"p99": 0.940600341796875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010594260858541577,
"ram": 5.80453118033445e-05,
"gpu": 0.00014518289392400014,
"total": 0.0003091708143127604
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1357.90592,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05500681686401367,
0.05414153671264649,
0.05265331268310547,
0.05549404907226563,
0.055238368988037106,
0.0506577262878418,
0.0521382064819336,
0.05027596664428711,
0.05034105682373047,
0.05034447860717774,
0.051582656860351565,
0.04995577621459961,
0.050051071166992187,
0.05198057556152344,
0.05188332748413086,
0.05019657516479492,
0.050271808624267576,
0.052988449096679685,
0.05258691024780274,
0.051429824829101564
],
"count": 20,
"total": 1.0392184944152831,
"mean": 0.051960924720764155,
"p50": 0.05173299217224121,
"p90": 0.055029972076416016,
"p95": 0.05525115299224853,
"p99": 0.05544546985626221,
"stdev": 0.001775607995823858,
"stdev_": 3.4171986071570153
},
"throughput": {
"unit": "images/s",
"value": 38.49046202984101
},
"energy": {
"unit": "kWh",
"cpu": 6.208793437847188e-07,
"ram": 3.3930064243772924e-07,
"gpu": 2.036779407200008e-06,
"total": 2.9969593934224554e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 667343.0425482169
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.01358028793334961,
0.013527039527893067,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.026738687515258788,
0.01268019199371338,
0.012661760330200195,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.026738687515258788,
0.01268019199371338,
0.012661760330200195,
0.025827327728271485,
0.012204031944274902,
0.01215283203125,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.026738687515258788,
0.01268019199371338,
0.012661760330200195,
0.025827327728271485,
0.012204031944274902,
0.01215283203125,
0.026038272857666016,
0.012100607872009277,
0.01223475170135498,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.026738687515258788,
0.01268019199371338,
0.012661760330200195,
0.025827327728271485,
0.012204031944274902,
0.01215283203125,
0.026038272857666016,
0.012100607872009277,
0.01223475170135498,
0.02679910469055176,
0.012259327888488769,
0.013766655921936035,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.026738687515258788,
0.01268019199371338,
0.012661760330200195,
0.025827327728271485,
0.012204031944274902,
0.01215283203125,
0.026038272857666016,
0.012100607872009277,
0.01223475170135498,
0.02679910469055176,
0.012259327888488769,
0.013766655921936035,
0.027405311584472656,
0.012703743934631348,
0.012626943588256835,
0.01358028793334961,
0.013527039527893067,
0.028317695617675782,
0.013128704071044921,
0.012908543586730957,
0.02731110382080078,
0.01285324764251709,
0.012582912445068359,
0.027979776382446288,
0.013720576286315917,
0.013801471710205078,
0.028649471282958985,
0.013636608123779297,
0.012989439964294434,
0.02644691276550293,
0.012278719902038574,
0.012215295791625976,
0.026628095626831053,
0.01278771209716797,
0.012696576118469239,
0.02594713592529297,
0.012213279724121093,
0.012160032272338868,
0.025866176605224608,
0.012277759552001954,
0.012201984405517579,
0.02591641616821289,
0.012267519950866699,
0.0122357759475708,
0.026245119094848633,
0.012690431594848632,
0.012683263778686523,
0.025776159286499022,
0.012162015914916993,
0.012083200454711914,
0.02573721694946289,
0.012189696311950684,
0.012174336433410645,
0.026530912399291992,
0.01263811206817627,
0.012628992080688477,
0.026738687515258788,
0.01268019199371338,
0.012661760330200195,
0.025827327728271485,
0.012204031944274902,
0.01215283203125,
0.026038272857666016,
0.012100607872009277,
0.01223475170135498,
0.02679910469055176,
0.012259327888488769,
0.013766655921936035,
0.027405311584472656,
0.012703743934631348,
0.012626943588256835,
0.02609561538696289,
0.012527615547180175,
0.01278771209716797
],
"count": 610,
"total": 10.468935722351075,
"mean": 0.01716218970877225,
"p50": 0.012989439964294434,
"p90": 0.02731110382080078,
"p95": 0.028317695617675782,
"p99": 0.028649471282958985,
"stdev": 0.006574967887890021,
"stdev_": 38.310775020330325
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}