
IlyasMoutawwakil
HF Staff
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
52fb2d9
verified
{ | |
"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.966.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.7.0.dev0", | |
"optimum_benchmark_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
"transformers_version": "4.55.2", | |
"transformers_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
"accelerate_version": "1.10.0", | |
"accelerate_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
"diffusers_version": "0.35.0", | |
"diffusers_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.19", | |
"timm_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
"peft_version": "0.17.0", | |
"peft_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25" | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.64672, | |
"max_global_vram": 477.42976, | |
"max_process_vram": 0.0, | |
"max_reserved": 10.48576, | |
"max_allocated": 8.715776 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.7557069091796875 | |
], | |
"count": 1, | |
"total": 0.7557069091796875, | |
"mean": 0.7557069091796875, | |
"p50": 0.7557069091796875, | |
"p90": 0.7557069091796875, | |
"p95": 0.7557069091796875, | |
"p99": 0.7557069091796875, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00013090603495277795, | |
"ram": 6.160171889444447e-05, | |
"gpu": 0.00017889514311600048, | |
"total": 0.0003714028969632229 | |
}, | |
"efficiency": null | |
}, | |
"first_call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1619.226624, | |
"max_global_vram": 611.647488, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4600632019042969 | |
], | |
"count": 1, | |
"total": 0.4600632019042969, | |
"mean": 0.4600632019042969, | |
"p50": 0.4600632019042969, | |
"p90": 0.4600632019042969, | |
"p95": 0.4600632019042969, | |
"p99": 0.4600632019042969, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00012725983937083337, | |
"ram": 5.988588243333323e-05, | |
"gpu": 0.00017554486265799986, | |
"total": 0.0003626905844621665 | |
}, | |
"efficiency": null | |
}, | |
"call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1635.139584, | |
"max_global_vram": 611.647488, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.054914913177490234, | |
0.056240833282470704, | |
0.05603462219238281, | |
0.055694175720214845, | |
0.05308844757080078, | |
0.05416764831542969, | |
0.05476211166381836, | |
0.05522784042358399, | |
0.05419635009765625, | |
0.055707233428955075, | |
0.05489648056030273, | |
0.052875328063964847, | |
0.05515734481811523, | |
0.05271791839599609, | |
0.05388313674926758, | |
0.059993343353271486, | |
0.05500070571899414, | |
0.0526748161315918, | |
0.05295449447631836 | |
], | |
"count": 19, | |
"total": 1.0401877441406249, | |
"mean": 0.05474672337582237, | |
"p50": 0.05489648056030273, | |
"p90": 0.05607586441040039, | |
"p95": 0.056616084289550776, | |
"p99": 0.05931789154052735, | |
"stdev": 0.0016703420733841204, | |
"stdev_": 3.0510356974565322 | |
}, | |
"throughput": { | |
"unit": "images/s", | |
"value": 36.53186668854147 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.746633674768794e-07, | |
"ram": 3.174269324074116e-07, | |
"gpu": 2.137656031111115e-06, | |
"total": 3.1297463309954094e-06 | |
}, | |
"efficiency": { | |
"unit": "images/kWh", | |
"value": 639029.4255457771 | |
} | |
}, | |
"per_step": { | |
"memory": null, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.012895232200622558, | |
0.013024255752563477, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.028194816589355468, | |
0.01226854419708252, | |
0.012320768356323243, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.028194816589355468, | |
0.01226854419708252, | |
0.012320768356323243, | |
0.028060672760009765, | |
0.012657695770263672, | |
0.012932064056396485, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.028194816589355468, | |
0.01226854419708252, | |
0.012320768356323243, | |
0.028060672760009765, | |
0.012657695770263672, | |
0.012932064056396485, | |
0.030135295867919923, | |
0.01548083209991455, | |
0.014553088188171387, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.028194816589355468, | |
0.01226854419708252, | |
0.012320768356323243, | |
0.028060672760009765, | |
0.012657695770263672, | |
0.012932064056396485, | |
0.030135295867919923, | |
0.01548083209991455, | |
0.014553088188171387, | |
0.029438976287841798, | |
0.012851200103759765, | |
0.012823552131652831, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.028194816589355468, | |
0.01226854419708252, | |
0.012320768356323243, | |
0.028060672760009765, | |
0.012657695770263672, | |
0.012932064056396485, | |
0.030135295867919923, | |
0.01548083209991455, | |
0.014553088188171387, | |
0.029438976287841798, | |
0.012851200103759765, | |
0.012823552131652831, | |
0.028266496658325195, | |
0.01228492832183838, | |
0.012238847732543945, | |
0.012895232200622558, | |
0.013024255752563477, | |
0.029224960327148438, | |
0.013200384140014648, | |
0.013755392074584961, | |
0.030028799057006835, | |
0.013125632286071777, | |
0.013108223915100097, | |
0.029484031677246093, | |
0.01305292797088623, | |
0.013000703811645508, | |
0.028692480087280273, | |
0.012388352394104005, | |
0.012315648078918457, | |
0.028150815963745118, | |
0.012963808059692383, | |
0.012945407867431641, | |
0.028634111404418947, | |
0.013138943672180176, | |
0.013041728019714356, | |
0.02923103904724121, | |
0.01306726360321045, | |
0.013036543846130372, | |
0.0281395206451416, | |
0.01306931209564209, | |
0.012991488456726074, | |
0.02898636817932129, | |
0.013371392250061035, | |
0.013098048210144044, | |
0.029245376586914062, | |
0.013015040397644043, | |
0.012987456321716308, | |
0.028326847076416015, | |
0.012281855583190919, | |
0.012264448165893555, | |
0.02916454315185547, | |
0.013054976463317871, | |
0.01303756809234619, | |
0.028194816589355468, | |
0.01226854419708252, | |
0.012320768356323243, | |
0.028060672760009765, | |
0.012657695770263672, | |
0.012932064056396485, | |
0.030135295867919923, | |
0.01548083209991455, | |
0.014553088188171387, | |
0.029438976287841798, | |
0.012851200103759765, | |
0.012823552131652831, | |
0.028266496658325195, | |
0.01228492832183838, | |
0.012238847732543945, | |
0.028128255844116212, | |
0.0124518404006958, | |
0.012367903709411621 | |
], | |
"count": 551, | |
"total": 9.89047010993957, | |
"mean": 0.01795003649716801, | |
"p50": 0.013098048210144044, | |
"p90": 0.02923103904724121, | |
"p95": 0.029484031677246093, | |
"p99": 0.030028799057006835, | |
"stdev": 0.007403307520105695, | |
"stdev_": 41.24396917674078 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |