IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
ddd8e7b verified
raw
history blame
33.3 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",
"task": "text-to-image",
"library": "diffusers",
"model_type": "stable-diffusion",
"model": "hf-internal-testing/tiny-stable-diffusion-torch",
"processor": "hf-internal-testing/tiny-stable-diffusion-torch",
"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.228-219.884.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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"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": 800.62464,
"max_global_vram": 601.358336,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
1.0114611206054687
],
"count": 1,
"total": 1.0114611206054687,
"mean": 1.0114611206054687,
"p50": 1.0114611206054687,
"p90": 1.0114611206054687,
"p95": 1.0114611206054687,
"p99": 1.0114611206054687,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.0001071200018340278,
"ram": 5.868894756188038e-05,
"gpu": 0.00015811484871400099,
"total": 0.00032392379810990916
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1360.646144,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.051715137481689454,
0.05168051147460938,
0.05113471984863281,
0.050774177551269534,
0.05356425476074219,
0.05489801788330078,
0.053529056549072265,
0.05254243087768555,
0.051129631042480465,
0.05082559967041016,
0.05108099365234375,
0.050697376251220706,
0.05077916717529297,
0.051028961181640624,
0.05305948638916016,
0.05102310562133789,
0.050981857299804687,
0.05089276885986328,
0.05165593719482422,
0.05114972686767578
],
"count": 20,
"total": 1.0341429176330565,
"mean": 0.05170714588165283,
"p50": 0.051132175445556635,
"p90": 0.05353257637023926,
"p95": 0.05363094291687012,
"p99": 0.054644602890014646,
"stdev": 0.0011508520066315993,
"stdev_": 2.225711721288323
},
"throughput": {
"unit": "images/s",
"value": 38.679373341889615
},
"energy": {
"unit": "kWh",
"cpu": 6.74062092824005e-07,
"ram": 3.678688047627229e-07,
"gpu": 2.3544308958889295e-06,
"total": 3.3963617934756594e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 588865.4158817704
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.012337151527404786,
0.012303359985351562,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.027637760162353517,
0.012794879913330079,
0.01277132797241211,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.027637760162353517,
0.012794879913330079,
0.01277132797241211,
0.026375167846679686,
0.012435456275939942,
0.012298272132873536,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.027637760162353517,
0.012794879913330079,
0.01277132797241211,
0.026375167846679686,
0.012435456275939942,
0.012298272132873536,
0.026455007553100585,
0.012327936172485352,
0.012267519950866699,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.027637760162353517,
0.012794879913330079,
0.01277132797241211,
0.026375167846679686,
0.012435456275939942,
0.012298272132873536,
0.026455007553100585,
0.012327936172485352,
0.012267519950866699,
0.02629324722290039,
0.01233407974243164,
0.012305407524108887,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.027637760162353517,
0.012794879913330079,
0.01277132797241211,
0.026375167846679686,
0.012435456275939942,
0.012298272132873536,
0.026455007553100585,
0.012327936172485352,
0.012267519950866699,
0.02629324722290039,
0.01233407974243164,
0.012305407524108887,
0.026772480010986328,
0.012438528060913086,
0.012426239967346191,
0.012337151527404786,
0.012303359985351562,
0.027251712799072264,
0.012315648078918457,
0.012279808044433594,
0.026532863616943358,
0.012386303901672363,
0.012322815895080566,
0.026183679580688478,
0.012306431770324706,
0.012290047645568849,
0.027106304168701172,
0.013147135734558106,
0.013091839790344239,
0.028062719345092774,
0.013455360412597657,
0.013368320465087891,
0.02798080062866211,
0.012915712356567383,
0.012887040138244628,
0.02699673652648926,
0.012827648162841796,
0.012806143760681152,
0.026461183547973634,
0.01233407974243164,
0.012298239707946777,
0.026437631607055666,
0.012320768356323243,
0.012263487815856934,
0.02623788833618164,
0.012487680435180663,
0.012298239707946777,
0.02635468864440918,
0.012311552047729492,
0.012220416069030762,
0.026194944381713867,
0.012277759552001954,
0.012256256103515625,
0.026428415298461915,
0.012266495704650878,
0.012222463607788087,
0.027637760162353517,
0.012794879913330079,
0.01277132797241211,
0.026375167846679686,
0.012435456275939942,
0.012298272132873536,
0.026455007553100585,
0.012327936172485352,
0.012267519950866699,
0.02629324722290039,
0.01233407974243164,
0.012305407524108887,
0.026772480010986328,
0.012438528060913086,
0.012426239967346191,
0.02647248077392578,
0.012337120056152343,
0.012344320297241211
],
"count": 610,
"total": 10.368542800903334,
"mean": 0.016997611149021836,
"p50": 0.012806143760681152,
"p90": 0.027106304168701172,
"p95": 0.027637760162353517,
"p99": 0.028062719345092774,
"stdev": 0.006647063731826679,
"stdev_": 39.105870075214646
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}