IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
ecd78fb verified
raw
history blame
28.2 kB
{
"config": {
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "6",
"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": false,
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"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": 1049.391104,
"max_global_vram": 68702.69952,
"max_process_vram": 11690.663936,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.9260339965820312
],
"count": 1,
"total": 0.9260339965820312,
"mean": 0.9260339965820312,
"p50": 0.9260339965820312,
"p90": 0.9260339965820312,
"p95": 0.9260339965820312,
"p99": 0.9260339965820312,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1314.537472,
"max_global_vram": 68702.69952,
"max_process_vram": 191677.243392,
"max_reserved": 427.819008,
"max_allocated": 295.694848
},
"latency": {
"unit": "s",
"values": [
0.06904573059082031,
0.0561669807434082,
0.055702499389648434,
0.0555831413269043,
0.05588666152954101,
0.05559593963623047,
0.055498340606689456,
0.05562921905517578,
0.06047306823730469,
0.05549993896484375,
0.055509700775146484,
0.05531066131591797,
0.05531529998779297,
0.0553415412902832,
0.055336261749267576,
0.06636508178710937,
0.05559914016723633,
0.05495657730102539
],
"count": 18,
"total": 1.0288157844543455,
"mean": 0.05715643246968586,
"p50": 0.05558954048156738,
"p90": 0.0622406723022461,
"p95": 0.06676717910766601,
"p99": 0.06859002029418944,
"stdev": 0.003929770286464988,
"stdev_": 6.875464609428214
},
"throughput": {
"unit": "images/s",
"value": 34.991687087201306
},
"energy": null,
"efficiency": null
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.014736026763916015,
0.014126585006713868,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.027497970581054687,
0.01392818546295166,
0.013925463676452636,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.027497970581054687,
0.01392818546295166,
0.013925463676452636,
0.027514610290527344,
0.013901945114135741,
0.013957784652709962,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.027497970581054687,
0.01392818546295166,
0.013925463676452636,
0.027514610290527344,
0.013901945114135741,
0.013957784652709962,
0.027514768600463868,
0.013925785064697266,
0.013927865028381347,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.027497970581054687,
0.01392818546295166,
0.013925463676452636,
0.027514610290527344,
0.013901945114135741,
0.013957784652709962,
0.027514768600463868,
0.013925785064697266,
0.013927865028381347,
0.027558927536010743,
0.01397314453125,
0.024324684143066405,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.027497970581054687,
0.01392818546295166,
0.013925463676452636,
0.027514610290527344,
0.013901945114135741,
0.013957784652709962,
0.027514768600463868,
0.013925785064697266,
0.013927865028381347,
0.027558927536010743,
0.01397314453125,
0.024324684143066405,
0.02866581153869629,
0.013772825241088867,
0.013793305397033691,
0.014736026763916015,
0.014126585006713868,
0.028478452682495117,
0.01401954460144043,
0.013997465133666993,
0.027671730041503906,
0.014038265228271484,
0.014027384757995606,
0.027663730621337892,
0.013994264602661132,
0.01396370506286621,
0.027711408615112305,
0.014048826217651368,
0.014156985282897949,
0.027654767990112305,
0.014000346183776855,
0.013981624603271485,
0.027592687606811522,
0.01399202537536621,
0.013974104881286621,
0.027618289947509766,
0.014016505241394042,
0.014020025253295898,
0.03251413726806641,
0.013966745376586914,
0.013936184883117675,
0.027698129653930665,
0.013988024711608886,
0.013954424858093261,
0.027676687240600586,
0.013951225280761719,
0.013920185089111328,
0.02752132797241211,
0.013924984931945801,
0.013909944534301758,
0.027497970581054687,
0.01392818546295166,
0.013925463676452636,
0.027514610290527344,
0.013901945114135741,
0.013957784652709962,
0.027514768600463868,
0.013925785064697266,
0.013927865028381347,
0.027558927536010743,
0.01397314453125,
0.024324684143066405,
0.02866581153869629,
0.013772825241088867,
0.013793305397033691,
0.027299247741699218,
0.013818424224853515,
0.013849945068359374
],
"count": 495,
"total": 9.12337231731416,
"mean": 0.01843105518649323,
"p50": 0.014027384757995606,
"p90": 0.027698129653930665,
"p95": 0.028478452682495117,
"p99": 0.03251413726806641,
"stdev": 0.006523940266470792,
"stdev_": 35.396455604189775
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}