IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
a46e07e verified
Raw
History Blame
26.9 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",
"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": "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,
"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": 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.486528,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-131-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.6.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.51.3",
"transformers_commit": null,
"accelerate_version": "1.6.0",
"accelerate_commit": null,
"diffusers_version": "0.33.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.15",
"timm_commit": null,
"peft_version": "0.15.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1061.588992,
"max_global_vram": 68702.69952,
"max_process_vram": 7693.340672,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.6853455810546875
],
"count": 1,
"total": 0.6853455810546875,
"mean": 0.6853455810546875,
"p50": 0.6853455810546875,
"p90": 0.6853455810546875,
"p95": 0.6853455810546875,
"p99": 0.6853455810546875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1326.436352,
"max_global_vram": 68702.69952,
"max_process_vram": 63278.379008,
"max_reserved": 314.5728,
"max_allocated": 295.694848
},
"latency": {
"unit": "s",
"values": [
0.8297020263671875
],
"count": 1,
"total": 0.8297020263671875,
"mean": 0.8297020263671875,
"p50": 0.8297020263671875,
"p90": 0.8297020263671875,
"p95": 0.8297020263671875,
"p99": 0.8297020263671875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1326.882816,
"max_global_vram": 68702.69952,
"max_process_vram": 212730.257408,
"max_reserved": 427.819008,
"max_allocated": 295.694848
},
"latency": {
"unit": "s",
"values": [
0.06225762939453125,
0.06040226364135742,
0.06149666213989258,
0.06540771484375,
0.058420177459716796,
0.057480812072753906,
0.057623531341552736,
0.05744529342651367,
0.05734049224853516,
0.05726465225219726,
0.06112546539306641,
0.0580220947265625,
0.06049170303344727,
0.061809783935546876,
0.060182098388671876,
0.058845455169677735,
0.05714993286132813
],
"count": 17,
"total": 1.0127657623291015,
"mean": 0.05957445660759421,
"p50": 0.058845455169677735,
"p90": 0.06198892211914062,
"p95": 0.062887646484375,
"p99": 0.06490370117187501,
"stdev": 0.002267674039735162,
"stdev_": 3.806453585757242
},
"throughput": {
"unit": "images/s",
"value": 33.57143503924216
},
"energy": null,
"efficiency": null
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.014774925231933593,
0.014549802780151368,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.030358171463012694,
0.013972042083740234,
0.013953001976013183,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.030358171463012694,
0.013972042083740234,
0.013953001976013183,
0.02929880714416504,
0.015812687873840332,
0.015425806045532226,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.030358171463012694,
0.013972042083740234,
0.013953001976013183,
0.02929880714416504,
0.015812687873840332,
0.015425806045532226,
0.03197817611694336,
0.01507796573638916,
0.014770764350891114,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.030358171463012694,
0.013972042083740234,
0.013953001976013183,
0.02929880714416504,
0.015812687873840332,
0.015425806045532226,
0.03197817611694336,
0.01507796573638916,
0.014770764350891114,
0.030814651489257813,
0.014661483764648438,
0.014719564437866211,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.030358171463012694,
0.013972042083740234,
0.013953001976013183,
0.02929880714416504,
0.015812687873840332,
0.015425806045532226,
0.03197817611694336,
0.01507796573638916,
0.014770764350891114,
0.030814651489257813,
0.014661483764648438,
0.014719564437866211,
0.03082105255126953,
0.014179561614990234,
0.013927721977233886,
0.014774925231933593,
0.014549802780151368,
0.03154889678955078,
0.014520203590393067,
0.014409643173217773,
0.03183817672729492,
0.014910445213317872,
0.014763564109802245,
0.037085071563720706,
0.01430068302154541,
0.014093802452087403,
0.03072825241088867,
0.014106602668762206,
0.014053482055664063,
0.029460887908935546,
0.014028841972351075,
0.014021322250366211,
0.029667448043823243,
0.014003722190856934,
0.014008842468261718,
0.02946120834350586,
0.014024042129516601,
0.013989642143249511,
0.029443288803100588,
0.013995402336120606,
0.01393684196472168,
0.029406007766723634,
0.013962601661682129,
0.013938921928405762,
0.029494327545166017,
0.013983562469482421,
0.017465972900390626,
0.030358171463012694,
0.013972042083740234,
0.013953001976013183,
0.02929880714416504,
0.015812687873840332,
0.015425806045532226,
0.03197817611694336,
0.01507796573638916,
0.014770764350891114,
0.030814651489257813,
0.014661483764648438,
0.014719564437866211,
0.03082105255126953,
0.014179561614990234,
0.013927721977233886,
0.029286808013916015,
0.013941962242126465,
0.013945642471313477
],
"count": 442,
"total": 8.627245633125305,
"mean": 0.01951865527856404,
"p50": 0.014549802780151368,
"p90": 0.03154889678955078,
"p95": 0.03183817672729492,
"p99": 0.037085071563720706,
"stdev": 0.007801989164061333,
"stdev_": 39.971960428184346
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}