IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
cd8e592 verified
{
"config": {
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
"backend": {
"name": "pytorch",
"version": "2.5.1",
"_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 7742 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 540671.643648,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.31",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A100-SXM4-80GB",
"NVIDIA A100-SXM4-80GB",
"NVIDIA A100-SXM4-80GB",
"NVIDIA DGX Display",
"NVIDIA A100-SXM4-80GB"
],
"gpu_count": 5,
"gpu_vram_mb": 347892350976,
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"transformers_version": "4.45.1",
"transformers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"accelerate_version": "1.10.0",
"accelerate_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"diffusers_version": "0.34.0",
"diffusers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"peft_version": "0.17.0",
"peft_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 814.178304,
"max_global_vram": 1371.471872,
"max_process_vram": 444.596224,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.6901381225585937
],
"count": 1,
"total": 0.6901381225585937,
"mean": 0.6901381225585937,
"p50": 0.6901381225585937,
"p90": 0.6901381225585937,
"p95": 0.6901381225585937,
"p99": 0.6901381225585937,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00032208202198671644,
"ram": 0.0005405915331715541,
"gpu": 0.0002186335082328128,
"total": 0.0010813070633910833
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1317.707776,
"max_global_vram": 1541.341184,
"max_process_vram": 614.465536,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.769306640625
],
"count": 1,
"total": 0.769306640625,
"mean": 0.769306640625,
"p50": 0.769306640625,
"p90": 0.769306640625,
"p95": 0.769306640625,
"p99": 0.769306640625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.0003293528658687137,
"ram": 0.0005527970384026428,
"gpu": 0.00022532851360068662,
"total": 0.0011074784178720432
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1318.641664,
"max_global_vram": 1541.341184,
"max_process_vram": 614.465536,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.052840641021728516,
0.0531129264831543,
0.05359763336181641,
0.05384339141845703,
0.05268201446533203,
0.05266819381713867,
0.04933529663085937,
0.048600608825683594,
0.04867513656616211,
0.04860755157470703,
0.0489051513671875,
0.04896220779418945,
0.04899151992797852,
0.050003231048583986,
0.049374046325683596,
0.04886540985107422,
0.04869827270507812,
0.04877769470214844,
0.048638015747070315,
0.04870470428466797
],
"count": 20,
"total": 1.0038836479187012,
"mean": 0.05019418239593505,
"p50": 0.048976863861083984,
"p90": 0.05316139717102051,
"p95": 0.05360992126464844,
"p99": 0.05379669738769531,
"stdev": 0.0019598466729646323,
"stdev_": 3.904529527954517
},
"throughput": {
"unit": "images/s",
"value": 39.845255058123406
},
"energy": {
"unit": "kWh",
"cpu": 1.6206101732677784e-06,
"ram": 2.7195632502785973e-06,
"gpu": 2.0541683099395415e-06,
"total": 6.394341733485928e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 312776.52702331933
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.01284812831878662,
0.012660736083984376,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.025520128250122072,
0.01195315170288086,
0.012007424354553223,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.025520128250122072,
0.01195315170288086,
0.012007424354553223,
0.02508083152770996,
0.01194495964050293,
0.011999232292175293,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.025520128250122072,
0.01195315170288086,
0.012007424354553223,
0.02508083152770996,
0.01194495964050293,
0.011999232292175293,
0.024835071563720702,
0.011927552223205566,
0.011932671546936035,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.025520128250122072,
0.01195315170288086,
0.012007424354553223,
0.02508083152770996,
0.01194495964050293,
0.011999232292175293,
0.024835071563720702,
0.011927552223205566,
0.011932671546936035,
0.024913919448852538,
0.012025856018066406,
0.011859968185424804,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.025520128250122072,
0.01195315170288086,
0.012007424354553223,
0.02508083152770996,
0.01194495964050293,
0.011999232292175293,
0.024835071563720702,
0.011927552223205566,
0.011932671546936035,
0.024913919448852538,
0.012025856018066406,
0.011859968185424804,
0.02489241600036621,
0.012010496139526367,
0.011767807960510255,
0.01284812831878662,
0.012660736083984376,
0.027371519088745116,
0.012761088371276855,
0.012849151611328125,
0.027918336868286132,
0.012807168006896973,
0.012809215545654297,
0.028296192169189452,
0.012729344367980957,
0.012908543586730957,
0.027467775344848632,
0.012969984054565429,
0.012800000190734863,
0.02727628707885742,
0.013025279998779296,
0.012686335563659668,
0.025423871994018556,
0.011992064476013184,
0.012073984146118164,
0.024954879760742187,
0.011894783973693847,
0.011967488288879394,
0.024782848358154298,
0.011978752136230468,
0.011899904251098633,
0.02472550392150879,
0.01186508846282959,
0.011951104164123535,
0.02510540771484375,
0.011992064476013184,
0.011860992431640625,
0.024972288131713868,
0.012020735740661622,
0.01202995204925537,
0.02495795249938965,
0.011968511581420899,
0.012081151962280273,
0.025595903396606445,
0.012253184318542481,
0.012064767837524413,
0.025520128250122072,
0.01195315170288086,
0.012007424354553223,
0.02508083152770996,
0.01194495964050293,
0.011999232292175293,
0.024835071563720702,
0.011927552223205566,
0.011932671546936035,
0.024913919448852538,
0.012025856018066406,
0.011859968185424804,
0.02489241600036621,
0.012010496139526367,
0.011767807960510255,
0.024955904006958008,
0.01197158432006836,
0.011857919692993164
],
"count": 610,
"total": 10.190902267456066,
"mean": 0.016706397159764023,
"p50": 0.012807168006896973,
"p90": 0.027371519088745116,
"p95": 0.027918336868286132,
"p99": 0.028296192169189452,
"stdev": 0.006459703705627249,
"stdev_": 38.66604896227962
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}