IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
3621399 verified
raw
history blame
32.1 kB
{
"config": {
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
"backend": {
"name": "pytorch",
"version": "2.8.0",
"_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,
"tp_plan": null,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"allow_tf32": false,
"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.240-238.966.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.7.0.dev0",
"optimum_benchmark_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"transformers_version": "4.56.2",
"transformers_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"accelerate_version": "1.10.1",
"accelerate_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"diffusers_version": "0.35.1",
"diffusers_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702",
"peft_version": "0.17.1",
"peft_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1041.219584,
"max_global_vram": 473.235456,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.6836807861328125
],
"count": 1,
"total": 0.6836807861328125,
"mean": 0.6836807861328125,
"p50": 0.6836807861328125,
"p90": 0.6836807861328125,
"p95": 0.6836807861328125,
"p99": 0.6836807861328125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00013052781190486085,
"ram": 6.142378602777778e-05,
"gpu": 0.0001856115373780002,
"total": 0.0003775631353106388
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1626.89024,
"max_global_vram": 611.647488,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.45785787963867186
],
"count": 1,
"total": 0.45785787963867186,
"mean": 0.45785787963867186,
"p50": 0.45785787963867186,
"p90": 0.45785787963867186,
"p95": 0.45785787963867186,
"p99": 0.45785787963867186,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012711892951111078,
"ram": 5.981975741111114e-05,
"gpu": 0.0001825459793699997,
"total": 0.0003694846662922217
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1635.786752,
"max_global_vram": 611.647488,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05883907318115234,
0.06589289855957031,
0.05092854309082031,
0.05057545471191406,
0.050493118286132815,
0.0506453742980957,
0.05194035339355469,
0.050379966735839846,
0.05096438217163086,
0.052691169738769535,
0.052511615753173826,
0.050169792175292965,
0.05201609420776367,
0.05056959915161133,
0.052253471374511716,
0.058338142395019534,
0.05341427230834961,
0.050536609649658205,
0.050309440612792966
],
"count": 19,
"total": 1.0034693717956542,
"mean": 0.05281417746292917,
"p50": 0.05096438217163086,
"p90": 0.058438328552246094,
"p95": 0.059544455718994124,
"p99": 0.06462320999145509,
"stdev": 0.003917207373938951,
"stdev_": 7.41696181236275
},
"throughput": {
"unit": "images/s",
"value": 37.86861967894551
},
"energy": {
"unit": "kWh",
"cpu": 6.485921365131478e-07,
"ram": 3.0516443274853424e-07,
"gpu": 2.167837991578965e-06,
"total": 3.121594560840646e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 640698.194790998
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.01365715217590332,
0.013711296081542968,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.027197439193725585,
0.011687935829162598,
0.011662336349487304,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.027197439193725585,
0.011687935829162598,
0.011662336349487304,
0.027992063522338868,
0.012188672065734863,
0.01209552001953125,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.027197439193725585,
0.011687935829162598,
0.011662336349487304,
0.027992063522338868,
0.012188672065734863,
0.01209552001953125,
0.031344608306884764,
0.014500864028930664,
0.012546048164367676,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.027197439193725585,
0.011687935829162598,
0.011662336349487304,
0.027992063522338868,
0.012188672065734863,
0.01209552001953125,
0.031344608306884764,
0.014500864028930664,
0.012546048164367676,
0.02901299285888672,
0.01226035213470459,
0.012156991958618165,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.027197439193725585,
0.011687935829162598,
0.011662336349487304,
0.027992063522338868,
0.012188672065734863,
0.01209552001953125,
0.031344608306884764,
0.014500864028930664,
0.012546048164367676,
0.02901299285888672,
0.01226035213470459,
0.012156991958618165,
0.027159488677978516,
0.011713536262512207,
0.011814911842346192,
0.01365715217590332,
0.013711296081542968,
0.029441024780273436,
0.01805619239807129,
0.01883852767944336,
0.02753638458251953,
0.01173299217224121,
0.011753472328186035,
0.027219968795776366,
0.011738112449645996,
0.011701279640197754,
0.027114463806152345,
0.011738112449645996,
0.011703295707702637,
0.02718617630004883,
0.011667455673217773,
0.011689984321594238,
0.027165695190429686,
0.012321791648864745,
0.01229312038421631,
0.027485183715820313,
0.011670528411865234,
0.011606016159057618,
0.02743606376647949,
0.01178927993774414,
0.011738112449645996,
0.02794803237915039,
0.012254207611083985,
0.012241920471191407,
0.028249088287353515,
0.012248064041137695,
0.012248064041137695,
0.027115520477294923,
0.011609087944030762,
0.011624447822570801,
0.027340799331665038,
0.012303359985351562,
0.012323840141296387,
0.027197439193725585,
0.011687935829162598,
0.011662336349487304,
0.027992063522338868,
0.012188672065734863,
0.01209552001953125,
0.031344608306884764,
0.014500864028930664,
0.012546048164367676,
0.02901299285888672,
0.01226035213470459,
0.012156991958618165,
0.027159488677978516,
0.011713536262512207,
0.011814911842346192,
0.02711347198486328,
0.011672575950622559,
0.011679776191711426
],
"count": 551,
"total": 9.57690082645416,
"mean": 0.017380945238573798,
"p50": 0.012303359985351562,
"p90": 0.02753638458251953,
"p95": 0.028249088287353515,
"p99": 0.029441024780273436,
"stdev": 0.007160195190278207,
"stdev_": 41.195660489093974
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}