IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
9b33a2b verified
raw
history blame
33.3 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.230-223.885.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.1",
"transformers_commit": null,
"accelerate_version": "1.3.0",
"accelerate_commit": null,
"diffusers_version": "0.32.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.14",
"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": 806.084608,
"max_global_vram": 603.455488,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.8308255004882813
],
"count": 1,
"total": 0.8308255004882813,
"mean": 0.8308255004882813,
"p50": 0.8308255004882813,
"p90": 0.8308255004882813,
"p95": 0.8308255004882813,
"p99": 0.8308255004882813,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010567177822083444,
"ram": 5.791568928796005e-05,
"gpu": 0.0001459198389580003,
"total": 0.00030950730646679475
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1367.26528,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.055634113311767576,
0.05674444961547852,
0.05491120147705078,
0.05440118408203125,
0.054717823028564455,
0.052837535858154296,
0.05003769683837891,
0.05173171234130859,
0.05167852783203125,
0.05150969696044922,
0.052168224334716795,
0.05001916885375977,
0.05025497436523438,
0.04996563339233399,
0.04984569549560547,
0.05252115249633789,
0.049997726440429685,
0.04979072189331055,
0.049791168212890625,
0.04985712051391602
],
"count": 20,
"total": 1.03841552734375,
"mean": 0.051920776367187504,
"p50": 0.05159411239624023,
"p90": 0.05498349266052246,
"p95": 0.055689630126953125,
"p99": 0.05653348571777344,
"stdev": 0.0021976746295444887,
"stdev_": 4.232746086080019
},
"throughput": {
"unit": "images/s",
"value": 38.520225234227134
},
"energy": {
"unit": "kWh",
"cpu": 6.678602606481695e-07,
"ram": 3.6595688975746596e-07,
"gpu": 2.0278719926666866e-06,
"total": 3.0616891430723213e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 653234.1810485224
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.013478912353515626,
0.013612031936645508,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.02586627197265625,
0.01210159969329834,
0.012080127716064454,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.02586627197265625,
0.01210159969329834,
0.012080127716064454,
0.027239423751831054,
0.012596223831176758,
0.012634112358093261,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.02586627197265625,
0.01210159969329834,
0.012080127716064454,
0.027239423751831054,
0.012596223831176758,
0.012634112358093261,
0.02592563247680664,
0.012124192237854005,
0.012044256210327148,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.02586627197265625,
0.01210159969329834,
0.012080127716064454,
0.027239423751831054,
0.012596223831176758,
0.012634112358093261,
0.02592563247680664,
0.012124192237854005,
0.012044256210327148,
0.025801727294921875,
0.01205964756011963,
0.012012543678283692,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.02586627197265625,
0.01210159969329834,
0.012080127716064454,
0.027239423751831054,
0.012596223831176758,
0.012634112358093261,
0.02592563247680664,
0.012124192237854005,
0.012044256210327148,
0.025801727294921875,
0.01205964756011963,
0.012012543678283692,
0.02573107147216797,
0.01204531192779541,
0.01204428768157959,
0.013478912353515626,
0.013612031936645508,
0.029856767654418945,
0.013544447898864746,
0.013499391555786134,
0.028414976119995116,
0.013353983879089355,
0.013360128402709961,
0.027681791305541992,
0.013225983619689942,
0.013406208038330078,
0.028659711837768553,
0.013115391731262208,
0.013040639877319337,
0.027628543853759766,
0.012791808128356934,
0.012659711837768555,
0.025955327987670897,
0.012126208305358887,
0.012104703903198242,
0.02634239959716797,
0.01266380786895752,
0.012690431594848632,
0.026439680099487304,
0.012638208389282226,
0.012628992080688477,
0.026276927947998047,
0.012614591598510742,
0.012595199584960937,
0.026842111587524413,
0.012640255928039551,
0.01273855972290039,
0.025883647918701173,
0.012132415771484375,
0.012066752433776855,
0.026077184677124023,
0.012180480003356933,
0.012077055931091308,
0.02570649528503418,
0.01206272029876709,
0.012097536087036133,
0.02586627197265625,
0.01210159969329834,
0.012080127716064454,
0.027239423751831054,
0.012596223831176758,
0.012634112358093261,
0.02592563247680664,
0.012124192237854005,
0.012044256210327148,
0.025801727294921875,
0.01205964756011963,
0.012012543678283692,
0.02573107147216797,
0.01204531192779541,
0.01204428768157959,
0.02567987251281738,
0.01204531192779541,
0.012116031646728516
],
"count": 610,
"total": 10.560161800384513,
"mean": 0.017311740656368067,
"p50": 0.013353983879089355,
"p90": 0.027681791305541992,
"p95": 0.028659711837768553,
"p99": 0.029856767654418945,
"stdev": 0.006726320854886503,
"stdev_": 38.85409900946181
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}