IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
0fe7b6d verified
raw
history blame
34.5 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": 16,
"cpu_ram_mb": 66697.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.240-238.959.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.6.0.dev0",
"optimum_benchmark_commit": "4c9e50d02aa1f0e0cddf1c8413c2dd2977859513",
"transformers_version": "4.55.2",
"transformers_commit": "4c9e50d02aa1f0e0cddf1c8413c2dd2977859513",
"accelerate_version": "1.10.0",
"accelerate_commit": "4c9e50d02aa1f0e0cddf1c8413c2dd2977859513",
"diffusers_version": "0.35.0",
"diffusers_commit": "4c9e50d02aa1f0e0cddf1c8413c2dd2977859513",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "4c9e50d02aa1f0e0cddf1c8413c2dd2977859513",
"peft_version": "0.17.0",
"peft_commit": "4c9e50d02aa1f0e0cddf1c8413c2dd2977859513"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1053.966336,
"max_global_vram": 603.455488,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.7938908081054687
],
"count": 1,
"total": 0.7938908081054687,
"mean": 0.7938908081054687,
"p50": 0.7938908081054687,
"p90": 0.7938908081054687,
"p95": 0.7938908081054687,
"p99": 0.7938908081054687,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00013074205184305577,
"ram": 6.152458898333338e-05,
"gpu": 0.00018132681172800024,
"total": 0.0003735934525543894
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1632.485376,
"max_global_vram": 737.673216,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.45762060546875
],
"count": 1,
"total": 0.45762060546875,
"mean": 0.45762060546875,
"p50": 0.45762060546875,
"p90": 0.45762060546875,
"p95": 0.45762060546875,
"p99": 0.45762060546875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.0001266306307312497,
"ram": 5.958971202222219e-05,
"gpu": 0.00017861319844599986,
"total": 0.00036483354119947175
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1644.81024,
"max_global_vram": 737.673216,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05354975891113281,
0.050005470275878906,
0.051763233184814454,
0.0531720962524414,
0.05490867233276367,
0.052496063232421876,
0.051979198455810546,
0.05209478378295898,
0.05268012619018555,
0.051875423431396485,
0.05315593719482422,
0.05254492950439453,
0.053211776733398435,
0.052104095458984374,
0.051778175354003905,
0.05203577423095703,
0.05198441696166992,
0.051623104095458984,
0.05215286254882812,
0.05010879898071289
],
"count": 20,
"total": 1.045224697113037,
"mean": 0.05226123485565185,
"p50": 0.052099439620971674,
"p90": 0.053245574951171874,
"p95": 0.053617704582214355,
"p99": 0.054650478782653805,
"stdev": 0.001061697296996559,
"stdev_": 2.031519729545274
},
"throughput": {
"unit": "images/s",
"value": 38.26928325601376
},
"energy": {
"unit": "kWh",
"cpu": 6.164537969444373e-07,
"ram": 2.900399333333331e-07,
"gpu": 1.9610987910999733e-06,
"total": 2.8675925213777426e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 697449.161653935
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.011652159690856933,
0.011613120079040527,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.027779104232788086,
0.012072928428649902,
0.011990015983581542,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.027779104232788086,
0.012072928428649902,
0.011990015983581542,
0.027918336868286132,
0.012100607872009277,
0.012047391891479492,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.027779104232788086,
0.012072928428649902,
0.011990015983581542,
0.027918336868286132,
0.012100607872009277,
0.012047391891479492,
0.027742176055908202,
0.012140576362609862,
0.012140512466430664,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.027779104232788086,
0.012072928428649902,
0.011990015983581542,
0.027918336868286132,
0.012100607872009277,
0.012047391891479492,
0.027742176055908202,
0.012140576362609862,
0.012140512466430664,
0.02735820770263672,
0.01217843246459961,
0.012085247993469238,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.027779104232788086,
0.012072928428649902,
0.011990015983581542,
0.027918336868286132,
0.012100607872009277,
0.012047391891479492,
0.027742176055908202,
0.012140576362609862,
0.012140512466430664,
0.02735820770263672,
0.01217843246459961,
0.012085247993469238,
0.028000255584716797,
0.012068863868713378,
0.012118016242980957,
0.011652159690856933,
0.011613120079040527,
0.027122688293457032,
0.011556863784790039,
0.01151692771911621,
0.027641855239868163,
0.01206272029876709,
0.01195622444152832,
0.02772275161743164,
0.012355584144592285,
0.012628992080688477,
0.03117670440673828,
0.012225536346435547,
0.012066816329956055,
0.02840166473388672,
0.012113984107971192,
0.012065728187561036,
0.027832319259643554,
0.012093440055847168,
0.012109824180603027,
0.02778009605407715,
0.012206080436706544,
0.012102656364440918,
0.0283504638671875,
0.01225011157989502,
0.01207910442352295,
0.027789312362670897,
0.012063743591308594,
0.012133376121520996,
0.028223487854003908,
0.012286975860595703,
0.01226035213470459,
0.028422143936157225,
0.012214271545410157,
0.012173312187194824,
0.028206079483032227,
0.012828672409057617,
0.012266495704650878,
0.028044288635253906,
0.01205247974395752,
0.01214566421508789,
0.027779104232788086,
0.012072928428649902,
0.011990015983581542,
0.027918336868286132,
0.012100607872009277,
0.012047391891479492,
0.027742176055908202,
0.012140576362609862,
0.012140512466430664,
0.02735820770263672,
0.01217843246459961,
0.012085247993469238,
0.028000255584716797,
0.012068863868713378,
0.012118016242980957,
0.027131904602050783,
0.011491328239440919,
0.01148521614074707
],
"count": 610,
"total": 10.414771296501163,
"mean": 0.017073395568034687,
"p50": 0.012206080436706544,
"p90": 0.028223487854003908,
"p95": 0.02840166473388672,
"p99": 0.03117670440673828,
"stdev": 0.0074728716505766575,
"stdev_": 43.76910041589845
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}