IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
31c5934 verified
raw
history blame
33.1 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.44096,
"max_global_vram": 597.164032,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.7882721557617187
],
"count": 1,
"total": 0.7882721557617187,
"mean": 0.7882721557617187,
"p50": 0.7882721557617187,
"p90": 0.7882721557617187,
"p95": 0.7882721557617187,
"p99": 0.7882721557617187,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010580172650416622,
"ram": 5.798702200162898e-05,
"gpu": 0.00014707011765599954,
"total": 0.00031085886616179475
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1366.761472,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05511715316772461,
0.05486070251464844,
0.0529607048034668,
0.060436447143554686,
0.0542330551147461,
0.05090438461303711,
0.05056966400146484,
0.0504068489074707,
0.05148179244995117,
0.05043999862670898,
0.0504411506652832,
0.05018339157104492,
0.05052227020263672,
0.050294113159179685,
0.05018479919433594,
0.05019398498535156,
0.05012086486816406,
0.05009865570068359,
0.05042768096923828,
0.05032198333740234
],
"count": 20,
"total": 1.0341996459960936,
"mean": 0.05170998229980468,
"p50": 0.05044057464599609,
"p90": 0.05488634757995606,
"p95": 0.05538311786651611,
"p99": 0.05942578128814696,
"stdev": 0.002565173849173968,
"stdev_": 4.9606937289237045
},
"throughput": {
"unit": "images/s",
"value": 38.677251684295285
},
"energy": {
"unit": "kWh",
"cpu": 6.483603549341827e-07,
"ram": 3.552739306073956e-07,
"gpu": 2.2181304294736796e-06,
"total": 3.2217647150152587e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 620777.7963048825
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.013011967658996582,
0.013644800186157227,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.025882623672485353,
0.012195839881896972,
0.012191743850708007,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.025882623672485353,
0.012195839881896972,
0.012191743850708007,
0.02589388847351074,
0.012154879570007325,
0.012113920211791992,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.025882623672485353,
0.012195839881896972,
0.012191743850708007,
0.02589388847351074,
0.012154879570007325,
0.012113920211791992,
0.02588467216491699,
0.012183551788330077,
0.01216921615600586,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.025882623672485353,
0.012195839881896972,
0.012191743850708007,
0.02589388847351074,
0.012154879570007325,
0.012113920211791992,
0.02588467216491699,
0.012183551788330077,
0.01216921615600586,
0.025839616775512695,
0.012179455757141112,
0.012131327629089356,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.025882623672485353,
0.012195839881896972,
0.012191743850708007,
0.02589388847351074,
0.012154879570007325,
0.012113920211791992,
0.02588467216491699,
0.012183551788330077,
0.01216921615600586,
0.025839616775512695,
0.012179455757141112,
0.012131327629089356,
0.025972736358642577,
0.012210176467895508,
0.01215385627746582,
0.013011967658996582,
0.013644800186157227,
0.02893619155883789,
0.01315839958190918,
0.013104127883911134,
0.02756505584716797,
0.012887040138244628,
0.01259008026123047,
0.03092787170410156,
0.01561190414428711,
0.013699071884155273,
0.027992063522338868,
0.013591551780700683,
0.013065216064453124,
0.026689535140991212,
0.012214271545410157,
0.012195839881896972,
0.026033151626586915,
0.01223475170135498,
0.012214336395263672,
0.026100671768188477,
0.012215295791625976,
0.012191743850708007,
0.026985471725463867,
0.012278783798217773,
0.012181568145751952,
0.0261856632232666,
0.012214271545410157,
0.012183551788330077,
0.026073087692260744,
0.012214271545410157,
0.01217535972595215,
0.025964544296264647,
0.01216716766357422,
0.012148736000061035,
0.025851903915405275,
0.01217740821838379,
0.01215385627746582,
0.02630348777770996,
0.01215897560119629,
0.012176383972167968,
0.025882623672485353,
0.012195839881896972,
0.012191743850708007,
0.02589388847351074,
0.012154879570007325,
0.012113920211791992,
0.02588467216491699,
0.012183551788330077,
0.01216921615600586,
0.025839616775512695,
0.012179455757141112,
0.012131327629089356,
0.025972736358642577,
0.012210176467895508,
0.01215385627746582,
0.02608639907836914,
0.012185600280761719,
0.012172287940979003
],
"count": 610,
"total": 10.506768415451068,
"mean": 0.017224210517132868,
"p50": 0.013065216064453124,
"p90": 0.02756505584716797,
"p95": 0.02893619155883789,
"p99": 0.03092787170410156,
"stdev": 0.006783909919427508,
"stdev_": 39.38589761591438
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}