IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
4c6a182 verified
Raw History Blame Contribute Delete
34.4 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": 32,
"cpu_ram_mb": 133616.472064,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.12.103-127.188.amzn2023.x86_64-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.21",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.7.0.dev0",
"optimum_benchmark_commit": "5d54043293ac6909486ab812cbca072bbe6c9fee",
"transformers_version": "4.56.2",
"transformers_commit": null,
"accelerate_version": "1.10.1",
"accelerate_commit": null,
"diffusers_version": "0.35.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.20",
"timm_commit": null,
"peft_version": "0.17.1",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1057.804288,
"max_global_vram": 475.332608,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.6176538696289062
],
"count": 1,
"total": 0.6176538696289062,
"mean": 0.6176538696289062,
"p50": 0.6176538696289062,
"p90": 0.6176538696289062,
"p95": 0.6176538696289062,
"p99": 0.6176538696289062,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.233526724408698e-05,
"ram": 0.0001237538414883336,
"gpu": 0.00029451634672400095,
"total": 0.0004606054554564215
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1640.583168,
"max_global_vram": 613.74464,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.5281408081054687
],
"count": 1,
"total": 0.5281408081054687,
"mean": 0.5281408081054687,
"p50": 0.5281408081054687,
"p90": 0.5281408081054687,
"p95": 0.5281408081054687,
"p99": 0.5281408081054687,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.2568463515479535e-05,
"ram": 0.00012256530032000009,
"gpu": 0.00029422079093200087,
"total": 0.00045935455476748047
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1646.546944,
"max_global_vram": 613.74464,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05577603149414063,
0.054752609252929685,
0.05262819290161133,
0.050020225524902345,
0.052566593170166015,
0.052974208831787106,
0.05180403137207031,
0.052229598999023436,
0.051144287109375,
0.050907840728759764,
0.051004161834716795,
0.05015824127197266,
0.052321247100830075,
0.04995427322387695,
0.04975478363037109,
0.04973219299316406,
0.050211582183837894,
0.04976006317138672,
0.04969161605834961,
0.04975027084350586
],
"count": 20,
"total": 1.0271420516967773,
"mean": 0.05135710258483887,
"p50": 0.05095600128173828,
"p90": 0.05315204887390137,
"p95": 0.054803780364990236,
"p99": 0.055581581268310545,
"stdev": 0.001712176018405975,
"stdev_": 3.333864124397521
},
"throughput": {
"unit": "images/s",
"value": 38.94300689366421
},
"energy": {
"unit": "kWh",
"cpu": 3.7156064796998353e-07,
"ram": 1.1023967643333277e-06,
"gpu": 3.636780687200046e-06,
"total": 5.110738099503359e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 391332.90750984714
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.013549311637878418,
0.013710847854614258,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.026480159759521484,
0.011648927688598633,
0.011680768013000489,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.026480159759521484,
0.011648927688598633,
0.011680768013000489,
0.02647043228149414,
0.011653216361999511,
0.01166108798980713,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.026480159759521484,
0.011648927688598633,
0.011680768013000489,
0.02647043228149414,
0.011653216361999511,
0.01166108798980713,
0.026452192306518553,
0.011641440391540527,
0.012081664085388183,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.026480159759521484,
0.011648927688598633,
0.011680768013000489,
0.02647043228149414,
0.011653216361999511,
0.01166108798980713,
0.026452192306518553,
0.011641440391540527,
0.012081664085388183,
0.026573408126831056,
0.011656800270080566,
0.011635007858276368,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.026480159759521484,
0.011648927688598633,
0.011680768013000489,
0.02647043228149414,
0.011653216361999511,
0.01166108798980713,
0.026452192306518553,
0.011641440391540527,
0.012081664085388183,
0.026573408126831056,
0.011656800270080566,
0.011635007858276368,
0.026387744903564454,
0.011653471946716308,
0.011666208267211915,
0.013549311637878418,
0.013710847854614258,
0.029591712951660156,
0.012972352027893066,
0.012496831893920899,
0.028097728729248046,
0.01226694393157959,
0.01231942367553711,
0.02681747245788574,
0.011695199966430665,
0.011658880233764648,
0.027564544677734375,
0.012530783653259277,
0.012358688354492187,
0.028182815551757813,
0.012498175621032715,
0.012313887596130372,
0.026997055053710937,
0.012577728271484375,
0.012291296005249024,
0.027963232040405274,
0.01222873592376709,
0.012134688377380371,
0.02683750343322754,
0.012252127647399903,
0.01216153621673584,
0.026659423828125,
0.012156959533691405,
0.01215123176574707,
0.02654524803161621,
0.012180543899536133,
0.012118592262268066,
0.02675481605529785,
0.011639712333679199,
0.011795424461364746,
0.027998367309570314,
0.01230406379699707,
0.012179743766784669,
0.02678758430480957,
0.011641087532043458,
0.011659808158874511,
0.026480159759521484,
0.011648927688598633,
0.011680768013000489,
0.02647043228149414,
0.011653216361999511,
0.01166108798980713,
0.026452192306518553,
0.011641440391540527,
0.012081664085388183,
0.026573408126831056,
0.011656800270080566,
0.011635007858276368,
0.026387744903564454,
0.011653471946716308,
0.011666208267211915,
0.026487808227539062,
0.011634655952453613,
0.01169161605834961
],
"count": 610,
"total": 10.386745984077443,
"mean": 0.01702745243291386,
"p50": 0.012496831893920899,
"p90": 0.027963232040405274,
"p95": 0.028182815551757813,
"p99": 0.029591712951660156,
"stdev": 0.007053718408953969,
"stdev_": 41.42556519681839
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}