IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
bb512e9 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.959.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.6.0.dev0",
"optimum_benchmark_commit": "6e3b834926fb0e7cb91e02c12b7551f9ed966f9e",
"transformers_version": "4.55.2",
"transformers_commit": "6e3b834926fb0e7cb91e02c12b7551f9ed966f9e",
"accelerate_version": "1.10.0",
"accelerate_commit": "6e3b834926fb0e7cb91e02c12b7551f9ed966f9e",
"diffusers_version": "0.35.0",
"diffusers_commit": "6e3b834926fb0e7cb91e02c12b7551f9ed966f9e",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "6e3b834926fb0e7cb91e02c12b7551f9ed966f9e",
"peft_version": "0.17.0",
"peft_commit": "6e3b834926fb0e7cb91e02c12b7551f9ed966f9e"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1049.776128,
"max_global_vram": 603.455488,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.8680478515625
],
"count": 1,
"total": 0.8680478515625,
"mean": 0.8680478515625,
"p50": 0.8680478515625,
"p90": 0.8680478515625,
"p95": 0.8680478515625,
"p99": 0.8680478515625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3192885687657706e-05,
"ram": 6.500324008333361e-05,
"gpu": 0.00019103765282999993,
"total": 0.00027923377860099123
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1645.30176,
"max_global_vram": 737.673216,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.46069964599609375
],
"count": 1,
"total": 0.46069964599609375,
"mean": 0.46069964599609375,
"p50": 0.46069964599609375,
"p90": 0.46069964599609375,
"p95": 0.46069964599609375,
"p99": 0.46069964599609375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.204272655965792e-05,
"ram": 6.265279284444508e-05,
"gpu": 0.0001860379266080004,
"total": 0.00027073344601210344
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1645.60896,
"max_global_vram": 737.673216,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05880607986450195,
0.05858220672607422,
0.05853129577636719,
0.056379425048828126,
0.055400928497314456,
0.05909132766723633,
0.05493503952026367,
0.055621280670166015,
0.05476992034912109,
0.051645919799804686,
0.051575393676757814,
0.05108153533935547,
0.05183900833129883,
0.05100016021728516,
0.051011390686035156,
0.05291535949707031,
0.05110512161254883,
0.05178646469116211,
0.05123455810546875
],
"count": 19,
"total": 1.0273124160766602,
"mean": 0.054069074530350536,
"p50": 0.05291535949707031,
"p90": 0.058626981353759766,
"p95": 0.05883460464477539,
"p99": 0.05903998306274414,
"stdev": 0.0029631175438333533,
"stdev_": 5.480244612232211
},
"throughput": {
"unit": "images/s",
"value": 36.98972134019683
},
"energy": {
"unit": "kWh",
"cpu": 1.9979695369146933e-07,
"ram": 6.228252814814633e-07,
"gpu": 3.026730816444507e-06,
"total": 3.84935305161744e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 519567.82690006326
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.013316096305847168,
0.013260800361633301,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.027474912643432617,
0.011826175689697266,
0.011831295967102052,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.027474912643432617,
0.011826175689697266,
0.011831295967102052,
0.027303936004638672,
0.011851776123046874,
0.011810815811157227,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.027474912643432617,
0.011826175689697266,
0.011831295967102052,
0.027303936004638672,
0.011851776123046874,
0.011810815811157227,
0.028276735305786133,
0.012353535652160644,
0.012323840141296387,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.027474912643432617,
0.011826175689697266,
0.011831295967102052,
0.027303936004638672,
0.011851776123046874,
0.011810815811157227,
0.028276735305786133,
0.012353535652160644,
0.012323840141296387,
0.02754150390625,
0.011821056365966797,
0.011813887596130371,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.027474912643432617,
0.011826175689697266,
0.011831295967102052,
0.027303936004638672,
0.011851776123046874,
0.011810815811157227,
0.028276735305786133,
0.012353535652160644,
0.012323840141296387,
0.02754150390625,
0.011821056365966797,
0.011813887596130371,
0.027372543334960937,
0.012154879570007325,
0.012225536346435547,
0.013316096305847168,
0.013260800361633301,
0.031194112777709962,
0.013906944274902343,
0.013590527534484862,
0.030294015884399415,
0.013171711921691894,
0.014824447631835937,
0.030959680557250978,
0.012954560279846192,
0.012723199844360352,
0.02977484893798828,
0.012830719947814942,
0.01296895980834961,
0.030308351516723633,
0.014950400352478027,
0.013930496215820312,
0.029902847290039062,
0.012805120468139648,
0.01245798397064209,
0.02978713607788086,
0.012893183708190918,
0.012895232200622558,
0.029930496215820314,
0.012524543762207031,
0.012410880088806153,
0.027918336868286132,
0.011870271682739257,
0.011908032417297364,
0.02774732780456543,
0.011867136001586913,
0.011895808219909668,
0.027653120040893556,
0.01183846378326416,
0.011888640403747559,
0.027270143508911132,
0.01222758388519287,
0.012307488441467285,
0.027474912643432617,
0.011826175689697266,
0.011831295967102052,
0.027303936004638672,
0.011851776123046874,
0.011810815811157227,
0.028276735305786133,
0.012353535652160644,
0.012323840141296387,
0.02754150390625,
0.011821056365966797,
0.011813887596130371,
0.027372543334960937,
0.012154879570007325,
0.012225536346435547,
0.027576320648193358,
0.011869183540344238,
0.011828224182128906
],
"count": 551,
"total": 9.944387656211847,
"mean": 0.01804789048314311,
"p50": 0.013260800361633301,
"p90": 0.030294015884399415,
"p95": 0.030959680557250978,
"p99": 0.031194112777709962,
"stdev": 0.007728290336205872,
"stdev_": 42.821017466967476
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}