IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
96deac0 verified
raw
history blame
30.7 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.608256,
"max_global_vram": 599.261184,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.8800133056640626
],
"count": 1,
"total": 0.8800133056640626,
"mean": 0.8800133056640626,
"p50": 0.8800133056640626,
"p90": 0.8800133056640626,
"p95": 0.8800133056640626,
"p99": 0.8800133056640626,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010544755388750105,
"ram": 5.777450989802447e-05,
"gpu": 0.00014281316980600117,
"total": 0.00030603523359152673
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1360.572416,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05679110336303711,
0.05609641647338867,
0.05480444717407226,
0.05526761627197266,
0.05362598419189453,
0.05246976089477539,
0.05218755340576172,
0.05289411163330078,
0.052439743041992185,
0.051849441528320314,
0.050055713653564454,
0.050149024963378905,
0.05260617446899414,
0.0520241584777832,
0.052157825469970706,
0.051880577087402346,
0.052237823486328126,
0.050254337310791014,
0.050191680908203126
],
"count": 19,
"total": 0.9999834938049316,
"mean": 0.052630710200259556,
"p50": 0.052237823486328126,
"p90": 0.05543337631225586,
"p95": 0.05616588516235351,
"p99": 0.05666605972290039,
"stdev": 0.0019004439536726792,
"stdev_": 3.610903114249268
},
"throughput": {
"unit": "images/s",
"value": 38.00062724576604
},
"energy": {
"unit": "kWh",
"cpu": 6.540838715644691e-07,
"ram": 3.5745740044862895e-07,
"gpu": 2.122881815263223e-06,
"total": 3.1344230872763195e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 638075.9534724825
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.014142463684082032,
0.013745152473449707,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.02688204765319824,
0.012683263778686523,
0.012608511924743653,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.02688204765319824,
0.012683263778686523,
0.012608511924743653,
0.02708787155151367,
0.012605440139770508,
0.012632063865661621,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.02688204765319824,
0.012683263778686523,
0.012608511924743653,
0.02708787155151367,
0.012605440139770508,
0.012632063865661621,
0.026792959213256837,
0.012594176292419433,
0.01259008026123047,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.02688204765319824,
0.012683263778686523,
0.012608511924743653,
0.02708787155151367,
0.012605440139770508,
0.012632063865661621,
0.026792959213256837,
0.012594176292419433,
0.01259008026123047,
0.02693120002746582,
0.012731391906738282,
0.012598272323608398,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.02688204765319824,
0.012683263778686523,
0.012608511924743653,
0.02708787155151367,
0.012605440139770508,
0.012632063865661621,
0.026792959213256837,
0.012594176292419433,
0.01259008026123047,
0.02693120002746582,
0.012731391906738282,
0.012598272323608398,
0.025964544296264647,
0.012191743850708007,
0.012142592430114747,
0.014142463684082032,
0.013745152473449707,
0.028890111923217773,
0.013472767829895019,
0.013705216407775878,
0.028482559204101563,
0.013131775856018067,
0.013325311660766602,
0.028785663604736327,
0.013438976287841797,
0.013150208473205567,
0.02788761520385742,
0.013039615631103516,
0.012777471542358398,
0.027227136611938478,
0.012703743934631348,
0.012689408302307128,
0.02689023971557617,
0.012644351959228516,
0.012683263778686523,
0.02732339286804199,
0.012734463691711426,
0.012860416412353515,
0.02698137664794922,
0.01273855972290039,
0.012750847816467285,
0.02673766326904297,
0.012597248077392579,
0.012596223831176758,
0.025935871124267578,
0.01213644790649414,
0.012113920211791992,
0.02586524772644043,
0.012153823852539063,
0.012133376121520996,
0.02698854446411133,
0.01274675178527832,
0.01266585636138916,
0.02688204765319824,
0.012683263778686523,
0.012608511924743653,
0.02708787155151367,
0.012605440139770508,
0.012632063865661621,
0.026792959213256837,
0.012594176292419433,
0.01259008026123047,
0.02693120002746582,
0.012731391906738282,
0.012598272323608398,
0.025964544296264647,
0.012191743850708007,
0.012142592430114747,
0.02594611167907715,
0.012209152221679688,
0.012121088027954101
],
"count": 551,
"total": 9.621597149848938,
"mean": 0.017462063792829288,
"p50": 0.013325311660766602,
"p90": 0.02788761520385742,
"p95": 0.028785663604736327,
"p99": 0.028890111923217773,
"stdev": 0.006749322928088941,
"stdev_": 38.65134733307135
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}