IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
94f65b9 verified
raw
history blame
33.2 kB
{
"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",
"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,
"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.230-223.885.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.1",
"transformers_commit": null,
"accelerate_version": "1.3.0",
"accelerate_commit": null,
"diffusers_version": "0.32.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.14",
"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": 808.36608,
"max_global_vram": 599.261184,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.704184326171875
],
"count": 1,
"total": 0.704184326171875,
"mean": 0.704184326171875,
"p50": 0.704184326171875,
"p90": 0.704184326171875,
"p95": 0.704184326171875,
"p99": 0.704184326171875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.0001044254737486112,
"ram": 5.7232599955815887e-05,
"gpu": 0.00014044872346999967,
"total": 0.00030210679717442674
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1369.604096,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.052569793701171874,
0.054754753112792966,
0.05266828918457031,
0.051919361114501954,
0.052136863708496094,
0.052548545837402344,
0.05774492645263672,
0.05111782455444336,
0.050533824920654294,
0.050380577087402345,
0.05024201583862305,
0.05020441436767578,
0.05066684722900391,
0.05035974502563476,
0.05026873779296875,
0.050326305389404295,
0.05021971130371094,
0.05037206268310547,
0.05120166397094727,
0.052574142456054684
],
"count": 20,
"total": 1.032810405731201,
"mean": 0.051640520286560056,
"p50": 0.050892335891723636,
"p90": 0.05287693557739258,
"p95": 0.054904261779785156,
"p99": 0.057176793518066406,
"stdev": 0.0018442295942733148,
"stdev_": 3.571283914335955
},
"throughput": {
"unit": "images/s",
"value": 38.72927671723167
},
"energy": {
"unit": "kWh",
"cpu": 6.227192586622588e-07,
"ram": 3.4121838949523593e-07,
"gpu": 1.978934331684183e-06,
"total": 2.942871979841678e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 679608.2241088846
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.012255231857299804,
0.013324288368225098,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.025911296844482422,
0.012187647819519042,
0.01216921615600586,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.025911296844482422,
0.012187647819519042,
0.01216921615600586,
0.02590003204345703,
0.012320768356323243,
0.012154879570007325,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.025911296844482422,
0.012187647819519042,
0.01216921615600586,
0.02590003204345703,
0.012320768356323243,
0.012154879570007325,
0.02591948890686035,
0.012189696311950684,
0.012171263694763184,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.025911296844482422,
0.012187647819519042,
0.01216921615600586,
0.02590003204345703,
0.012320768356323243,
0.012154879570007325,
0.02591948890686035,
0.012189696311950684,
0.012171263694763184,
0.026054655075073242,
0.012209152221679688,
0.012138496398925782,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.025911296844482422,
0.012187647819519042,
0.01216921615600586,
0.02590003204345703,
0.012320768356323243,
0.012154879570007325,
0.02591948890686035,
0.012189696311950684,
0.012171263694763184,
0.026054655075073242,
0.012209152221679688,
0.012138496398925782,
0.025854976654052734,
0.012401663780212402,
0.012883968353271484,
0.012255231857299804,
0.013324288368225098,
0.029277183532714843,
0.013087743759155274,
0.012772383689880372,
0.027380704879760742,
0.012725248336791992,
0.012709888458251953,
0.026627071380615236,
0.012784640312194824,
0.012575743675231933,
0.02672640037536621,
0.012712960243225097,
0.012703743934631348,
0.026137599945068358,
0.012246015548706055,
0.01357209587097168,
0.032451583862304685,
0.013163519859313964,
0.012837887763977051,
0.026550271987915038,
0.012397567749023437,
0.01224396800994873,
0.02612735939025879,
0.012255231857299804,
0.01217535972595215,
0.026071039199829102,
0.012239871978759765,
0.012205056190490723,
0.02591231918334961,
0.012184576034545898,
0.012156928062438965,
0.02592972755432129,
0.01216204833984375,
0.012165120124816894,
0.026178560256958007,
0.01214566421508789,
0.012146688461303711,
0.02616422462463379,
0.012326911926269531,
0.012135423660278321,
0.025911296844482422,
0.012187647819519042,
0.01216921615600586,
0.02590003204345703,
0.012320768356323243,
0.012154879570007325,
0.02591948890686035,
0.012189696311950684,
0.012171263694763184,
0.026054655075073242,
0.012209152221679688,
0.012138496398925782,
0.025854976654052734,
0.012401663780212402,
0.012883968353271484,
0.027297792434692384,
0.01264742374420166,
0.012630016326904296
],
"count": 610,
"total": 10.427179025650013,
"mean": 0.017093736107622992,
"p50": 0.012772383689880372,
"p90": 0.02672640037536621,
"p95": 0.029277183532714843,
"p99": 0.032451583862304685,
"stdev": 0.006822696276665809,
"stdev_": 39.91342930363369
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}