
IlyasMoutawwakil
HF staff
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
f73c617
verified
{ | |
"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": 798.785536, | |
"max_global_vram": 599.261184, | |
"max_process_vram": 0.0, | |
"max_reserved": 10.48576, | |
"max_allocated": 8.715776 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.7525478515625 | |
], | |
"count": 1, | |
"total": 0.7525478515625, | |
"mean": 0.7525478515625, | |
"p50": 0.7525478515625, | |
"p90": 0.7525478515625, | |
"p95": 0.7525478515625, | |
"p99": 0.7525478515625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010508022448680576, | |
"ram": 5.756915326408196e-05, | |
"gpu": 0.00013806066600399996, | |
"total": 0.00030071004375488767 | |
}, | |
"efficiency": null | |
}, | |
"call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1359.970304, | |
"max_global_vram": 739.770368, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05539807891845703, | |
0.05412387084960937, | |
0.054741695404052736, | |
0.056078750610351565, | |
0.05393923187255859, | |
0.053249919891357425, | |
0.05347702407836914, | |
0.052727104187011715, | |
0.052423358917236325, | |
0.05123052978515625, | |
0.050734272003173826, | |
0.0521429443359375, | |
0.051109439849853514, | |
0.050976512908935546, | |
0.051043678283691406, | |
0.055548927307128904, | |
0.0533520622253418, | |
0.05549808120727539, | |
0.051362590789794924 | |
], | |
"count": 19, | |
"total": 1.009158073425293, | |
"mean": 0.053113582811857525, | |
"p50": 0.053249919891357425, | |
"p90": 0.055508250427246095, | |
"p95": 0.055601909637451166, | |
"p99": 0.055983382415771485, | |
"stdev": 0.0017304945088538392, | |
"stdev_": 3.258101632841664 | |
}, | |
"throughput": { | |
"unit": "images/s", | |
"value": 37.65515135901363 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.536948418493479e-07, | |
"ram": 3.572383292468731e-07, | |
"gpu": 2.0080425421052816e-06, | |
"total": 3.0189757132015004e-06 | |
}, | |
"efficiency": { | |
"unit": "images/kWh", | |
"value": 662476.3462833829 | |
} | |
}, | |
"per_step": { | |
"memory": null, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.013487104415893555, | |
0.013384736061096192, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.026505216598510743, | |
0.012324864387512208, | |
0.012315648078918457, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.026505216598510743, | |
0.012324864387512208, | |
0.012315648078918457, | |
0.02631475257873535, | |
0.012404735565185548, | |
0.012274687767028808, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.026505216598510743, | |
0.012324864387512208, | |
0.012315648078918457, | |
0.02631475257873535, | |
0.012404735565185548, | |
0.012274687767028808, | |
0.029377536773681642, | |
0.013175807952880859, | |
0.012876799583435058, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.026505216598510743, | |
0.012324864387512208, | |
0.012315648078918457, | |
0.02631475257873535, | |
0.012404735565185548, | |
0.012274687767028808, | |
0.029377536773681642, | |
0.013175807952880859, | |
0.012876799583435058, | |
0.027476991653442383, | |
0.012742655754089355, | |
0.013376511573791505, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.026505216598510743, | |
0.012324864387512208, | |
0.012315648078918457, | |
0.02631475257873535, | |
0.012404735565185548, | |
0.012274687767028808, | |
0.029377536773681642, | |
0.013175807952880859, | |
0.012876799583435058, | |
0.027476991653442383, | |
0.012742655754089355, | |
0.013376511573791505, | |
0.02855423927307129, | |
0.013071359634399414, | |
0.013908991813659668, | |
0.013487104415893555, | |
0.013384736061096192, | |
0.02841289520263672, | |
0.012896320343017579, | |
0.012871616363525391, | |
0.027892736434936522, | |
0.01330073642730713, | |
0.013420543670654296, | |
0.029443071365356444, | |
0.013808639526367187, | |
0.013219840049743652, | |
0.0279685115814209, | |
0.01297920036315918, | |
0.012999679565429688, | |
0.027413503646850586, | |
0.013111295700073243, | |
0.012925951957702637, | |
0.0271779842376709, | |
0.01318297576904297, | |
0.013033472061157226, | |
0.027173887252807616, | |
0.012769280433654785, | |
0.012933119773864746, | |
0.026926080703735353, | |
0.01275699234008789, | |
0.01277952003479004, | |
0.0265850887298584, | |
0.012316672325134278, | |
0.012301312446594239, | |
0.02634956741333008, | |
0.01226956844329834, | |
0.012239871978759765, | |
0.026704896926879884, | |
0.01274880027770996, | |
0.012694527626037597, | |
0.026291200637817383, | |
0.012476479530334473, | |
0.012243904113769532, | |
0.026505216598510743, | |
0.012324864387512208, | |
0.012315648078918457, | |
0.02631475257873535, | |
0.012404735565185548, | |
0.012274687767028808, | |
0.029377536773681642, | |
0.013175807952880859, | |
0.012876799583435058, | |
0.027476991653442383, | |
0.012742655754089355, | |
0.013376511573791505, | |
0.02855423927307129, | |
0.013071359634399414, | |
0.013908991813659668, | |
0.026656768798828126, | |
0.012267519950866699, | |
0.01225113582611084 | |
], | |
"count": 551, | |
"total": 9.631683629035948, | |
"mean": 0.017480369562678677, | |
"p50": 0.013219840049743652, | |
"p90": 0.027892736434936522, | |
"p95": 0.02841289520263672, | |
"p99": 0.029443071365356444, | |
"stdev": 0.006782375133554604, | |
"stdev_": 38.79995276550251 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |