IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
0c88847 verified
{
"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.242-239.961.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": "b263af468a9e9a9a3d1449039849727352955646",
"transformers_version": "4.56.2",
"transformers_commit": "b263af468a9e9a9a3d1449039849727352955646",
"accelerate_version": "1.10.1",
"accelerate_commit": "b263af468a9e9a9a3d1449039849727352955646",
"diffusers_version": "0.35.1",
"diffusers_commit": "b263af468a9e9a9a3d1449039849727352955646",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.20",
"timm_commit": "b263af468a9e9a9a3d1449039849727352955646",
"peft_version": "0.17.1",
"peft_commit": "b263af468a9e9a9a3d1449039849727352955646"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1044.545536,
"max_global_vram": 473.235456,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.7546101684570312
],
"count": 1,
"total": 0.7546101684570312,
"mean": 0.7546101684570312,
"p50": 0.7546101684570312,
"p90": 0.7546101684570312,
"p95": 0.7546101684570312,
"p99": 0.7546101684570312,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00013087977604444434,
"ram": 6.158919593333332e-05,
"gpu": 0.00018377098034999973,
"total": 0.0003762399523277774
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1628.901376,
"max_global_vram": 611.647488,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.45781613159179685
],
"count": 1,
"total": 0.45781613159179685,
"mean": 0.45781613159179685,
"p50": 0.45781613159179685,
"p90": 0.45781613159179685,
"p95": 0.45781613159179685,
"p99": 0.45781613159179685,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012721363263888864,
"ram": 5.98640443722224e-05,
"gpu": 0.0001809834781200002,
"total": 0.00036806115513111123
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1637.797888,
"max_global_vram": 611.647488,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05595568084716797,
0.05371360015869141,
0.05623484802246094,
0.056234432220458985,
0.05512992095947265,
0.05423932647705078,
0.055187904357910156,
0.05405324935913086,
0.053575393676757815,
0.053593185424804686,
0.053154945373535156,
0.0539224967956543,
0.0534799690246582,
0.05651836776733398,
0.055075008392333986,
0.05393183898925781,
0.052130111694335936,
0.05137094497680664,
0.05214310455322266
],
"count": 19,
"total": 1.0296443290710449,
"mean": 0.054191806793212886,
"p50": 0.05393183898925781,
"p90": 0.05623451538085938,
"p95": 0.056263199996948246,
"p99": 0.05646733421325684,
"stdev": 0.0014260392808569827,
"stdev_": 2.631466572610351
},
"throughput": {
"unit": "images/s",
"value": 36.905947934743615
},
"energy": {
"unit": "kWh",
"cpu": 6.439721385964914e-07,
"ram": 3.0297496842104286e-07,
"gpu": 2.106726831578961e-06,
"total": 3.0536739385964956e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 654948.7732535136
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.013120512008666992,
0.013112319946289062,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.02930073547363281,
0.013208576202392578,
0.013748224258422852,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.02930073547363281,
0.013208576202392578,
0.013748224258422852,
0.030151679992675783,
0.01273036766052246,
0.012684288024902344,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.02930073547363281,
0.013208576202392578,
0.013748224258422852,
0.030151679992675783,
0.01273036766052246,
0.012684288024902344,
0.029159423828125,
0.01255731201171875,
0.012321791648864745,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.02930073547363281,
0.013208576202392578,
0.013748224258422852,
0.030151679992675783,
0.01273036766052246,
0.012684288024902344,
0.029159423828125,
0.01255731201171875,
0.012321791648864745,
0.028067840576171874,
0.012195839881896972,
0.012003328323364258,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.02930073547363281,
0.013208576202392578,
0.013748224258422852,
0.030151679992675783,
0.01273036766052246,
0.012684288024902344,
0.029159423828125,
0.01255731201171875,
0.012321791648864745,
0.028067840576171874,
0.012195839881896972,
0.012003328323364258,
0.027490304946899413,
0.011967488288879394,
0.011799551963806153,
0.013120512008666992,
0.013112319946289062,
0.029022207260131837,
0.012389375686645507,
0.012489727973937988,
0.029873151779174805,
0.013137920379638672,
0.013273088455200196,
0.029755392074584962,
0.013260800361633301,
0.013222911834716796,
0.029312000274658204,
0.013133824348449707,
0.012750847816467285,
0.028767232894897462,
0.012562432289123536,
0.01293619155883789,
0.029433887481689455,
0.012800992012023926,
0.012900351524353027,
0.028642303466796876,
0.012641280174255372,
0.01277337646484375,
0.028841024398803712,
0.012319680213928222,
0.01254297637939453,
0.029131776809692384,
0.012348416328430176,
0.012318719863891601,
0.028430335998535155,
0.01238425636291504,
0.012369952201843261,
0.02852457618713379,
0.01245792007446289,
0.012801024436950683,
0.02893824005126953,
0.012399616241455079,
0.01226956844329834,
0.02930073547363281,
0.013208576202392578,
0.013748224258422852,
0.030151679992675783,
0.01273036766052246,
0.012684288024902344,
0.029159423828125,
0.01255731201171875,
0.012321791648864745,
0.028067840576171874,
0.012195839881896972,
0.012003328323364258,
0.027490304946899413,
0.011967488288879394,
0.011799551963806153,
0.027568128585815428,
0.012156928062438965,
0.01245900821685791
],
"count": 551,
"total": 9.834358854293834,
"mean": 0.0178482011874661,
"p50": 0.013120512008666992,
"p90": 0.029312000274658204,
"p95": 0.029755392074584962,
"p99": 0.029873151779174805,
"stdev": 0.00757627098370383,
"stdev_": 42.448372831119066
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}