IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
c423540 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": 793.546752,
"max_global_vram": 603.455488,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.9037691040039062
],
"count": 1,
"total": 0.9037691040039062,
"mean": 0.9037691040039062,
"p50": 0.9037691040039062,
"p90": 0.9037691040039062,
"p95": 0.9037691040039062,
"p99": 0.9037691040039062,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010625119242013862,
"ram": 5.820075212868953e-05,
"gpu": 0.00013910177794799984,
"total": 0.00030355372249682796
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1355.026432,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05899977493286133,
0.05437190246582031,
0.05618252944946289,
0.05648035049438477,
0.055308990478515625,
0.05429286575317383,
0.05173673629760742,
0.05125513458251953,
0.05183536148071289,
0.05105753707885742,
0.05106265640258789,
0.051222145080566404,
0.05385785675048828,
0.05405094528198242,
0.05426233673095703,
0.05163907241821289,
0.051515296936035154,
0.05464524841308594,
0.05476160049438476
],
"count": 19,
"total": 1.018538341522217,
"mean": 0.053607281132748257,
"p50": 0.05405094528198242,
"p90": 0.05624209365844727,
"p95": 0.05673229293823242,
"p99": 0.05854627853393555,
"stdev": 0.0021776510582644216,
"stdev_": 4.062230003554707
},
"throughput": {
"unit": "images/s",
"value": 37.30836479185317
},
"energy": {
"unit": "kWh",
"cpu": 6.486981342470627e-07,
"ram": 3.535995428398103e-07,
"gpu": 2.1606157635789464e-06,
"total": 3.162913440665821e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 632328.4014939663
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.014449600219726563,
0.014062591552734375,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.028062719345092774,
0.013055999755859376,
0.01304371166229248,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.028062719345092774,
0.013055999755859376,
0.01304371166229248,
0.027757568359375,
0.01317683219909668,
0.013283328056335449,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.028062719345092774,
0.013055999755859376,
0.01304371166229248,
0.027757568359375,
0.01317683219909668,
0.013283328056335449,
0.027010047912597656,
0.01239244842529297,
0.01234227180480957,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.028062719345092774,
0.013055999755859376,
0.01304371166229248,
0.027757568359375,
0.01317683219909668,
0.013283328056335449,
0.027010047912597656,
0.01239244842529297,
0.01234227180480957,
0.0269803524017334,
0.01228492832183838,
0.012189696311950684,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.028062719345092774,
0.013055999755859376,
0.01304371166229248,
0.027757568359375,
0.01317683219909668,
0.013283328056335449,
0.027010047912597656,
0.01239244842529297,
0.01234227180480957,
0.0269803524017334,
0.01228492832183838,
0.012189696311950684,
0.028049407958984376,
0.013463552474975587,
0.013218815803527833,
0.014449600219726563,
0.014062591552734375,
0.028590080261230468,
0.012991488456726074,
0.01286451244354248,
0.02910310363769531,
0.013537311553955078,
0.01361404800415039,
0.029549568176269532,
0.013561856269836426,
0.013485055923461914,
0.029148160934448244,
0.013140000343322755,
0.013128671646118164,
0.028240896224975585,
0.013136896133422851,
0.01305907154083252,
0.026982463836669923,
0.01239033603668213,
0.012361727714538574,
0.026970111846923828,
0.012275775909423829,
0.012237759590148925,
0.026564607620239256,
0.012279808044433594,
0.012919808387756348,
0.026628095626831053,
0.012262399673461915,
0.012263423919677734,
0.02655129623413086,
0.01226854419708252,
0.01221840000152588,
0.026724319458007812,
0.012241920471191407,
0.012207103729248046,
0.02774527931213379,
0.013083647727966309,
0.013124608039855956,
0.028062719345092774,
0.013055999755859376,
0.01304371166229248,
0.027757568359375,
0.01317683219909668,
0.013283328056335449,
0.027010047912597656,
0.01239244842529297,
0.01234227180480957,
0.0269803524017334,
0.01228492832183838,
0.012189696311950684,
0.028049407958984376,
0.013463552474975587,
0.013218815803527833,
0.028244991302490235,
0.01346457576751709,
0.013041664123535156
],
"count": 551,
"total": 9.716325210571302,
"mean": 0.017633984048223753,
"p50": 0.01346457576751709,
"p90": 0.028590080261230468,
"p95": 0.029148160934448244,
"p99": 0.029549568176269532,
"stdev": 0.006948228265176944,
"stdev_": 39.40248696026709
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}