IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
cf47c53 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",
"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.243712,
"max_global_vram": 599.261184,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.9319761962890625
],
"count": 1,
"total": 0.9319761962890625,
"mean": 0.9319761962890625,
"p50": 0.9319761962890625,
"p90": 0.9319761962890625,
"p95": 0.9319761962890625,
"p99": 0.9319761962890625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010595769263819393,
"ram": 5.8039785109984564e-05,
"gpu": 0.0001466065061739995,
"total": 0.000310603983922178
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1360.474112,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05914646530151367,
0.056261375427246095,
0.05527500915527344,
0.0555865592956543,
0.05355855941772461,
0.05260620880126953,
0.05280723190307617,
0.0507151985168457,
0.05211542510986328,
0.050872318267822264,
0.050658271789550784,
0.050874591827392575,
0.05083100891113281,
0.050921409606933594,
0.05050460815429687,
0.05193622589111328,
0.050599872589111326,
0.05047856140136719,
0.0506769905090332,
0.05632761764526367
],
"count": 20,
"total": 1.0527535095214844,
"mean": 0.05263767547607422,
"p50": 0.05142881774902344,
"p90": 0.056267999649047856,
"p95": 0.056468560028076174,
"p99": 0.058610884246826166,
"stdev": 0.002486588055657728,
"stdev_": 4.723970109181541
},
"throughput": {
"unit": "images/s",
"value": 37.995598816081355
},
"energy": {
"unit": "kWh",
"cpu": 6.475844956871198e-07,
"ram": 3.5390303139077505e-07,
"gpu": 2.15125903094738e-06,
"total": 3.152746558025276e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 634367.5151778457
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.014161919593811035,
0.014238719940185546,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.02633011245727539,
0.01217846393585205,
0.01219273567199707,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.02633011245727539,
0.01217846393585205,
0.01219273567199707,
0.026428415298461915,
0.012725248336791992,
0.012712960243225097,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.02633011245727539,
0.01217846393585205,
0.01219273567199707,
0.026428415298461915,
0.012725248336791992,
0.012712960243225097,
0.026398719787597655,
0.012193792343139649,
0.012148736000061035,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.02633011245727539,
0.01217846393585205,
0.01219273567199707,
0.026428415298461915,
0.012725248336791992,
0.012712960243225097,
0.026398719787597655,
0.012193792343139649,
0.012148736000061035,
0.02614681625366211,
0.012190719604492188,
0.012184576034545898,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.02633011245727539,
0.01217846393585205,
0.01219273567199707,
0.026428415298461915,
0.012725248336791992,
0.012712960243225097,
0.026398719787597655,
0.012193792343139649,
0.012148736000061035,
0.02614681625366211,
0.012190719604492188,
0.012184576034545898,
0.026245119094848633,
0.012201984405517579,
0.012180480003356933,
0.014161919593811035,
0.014238719940185546,
0.029371391296386717,
0.013559807777404785,
0.013398015975952148,
0.028523519515991212,
0.013287455558776855,
0.013426655769348145,
0.029248512268066407,
0.013381631851196289,
0.013214719772338868,
0.028091392517089843,
0.012865535736083985,
0.012724224090576173,
0.027254783630371093,
0.01276313591003418,
0.01268019199371338,
0.027053056716918947,
0.012706815719604492,
0.013129728317260742,
0.026231807708740236,
0.012292096138000488,
0.012201984405517579,
0.026785791397094725,
0.012703743934631348,
0.012668928146362305,
0.02634752082824707,
0.012345343589782716,
0.012267519950866699,
0.026298368453979492,
0.012236800193786621,
0.012210176467895508,
0.026233856201171874,
0.012230655670166016,
0.012305407524108887,
0.02651136016845703,
0.012241920471191407,
0.012208127975463867,
0.026401792526245117,
0.012222463607788087,
0.012208127975463867,
0.02633011245727539,
0.01217846393585205,
0.01219273567199707,
0.026428415298461915,
0.012725248336791992,
0.012712960243225097,
0.026398719787597655,
0.012193792343139649,
0.012148736000061035,
0.02614681625366211,
0.012190719604492188,
0.012184576034545898,
0.026245119094848633,
0.012201984405517579,
0.012180480003356933,
0.027244543075561522,
0.014623744010925293,
0.014435327529907227
],
"count": 610,
"total": 10.621166561126714,
"mean": 0.017411748460863456,
"p50": 0.013334543704986572,
"p90": 0.028091392517089843,
"p95": 0.029248512268066407,
"p99": 0.029371391296386717,
"stdev": 0.00677659073332734,
"stdev_": 38.91964525308382
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}