IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
95908a0 verified
raw
history blame
30.6 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",
"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": 795.262976,
"max_global_vram": 597.164032,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.7495454711914062
],
"count": 1,
"total": 0.7495454711914062,
"mean": 0.7495454711914062,
"p50": 0.7495454711914062,
"p90": 0.7495454711914062,
"p95": 0.7495454711914062,
"p99": 0.7495454711914062,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010412355517708328,
"ram": 5.704859564973245e-05,
"gpu": 0.00014197539135800017,
"total": 0.0003031475421848159
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1355.30496,
"max_global_vram": 739.770368,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05877731323242188,
0.05529894256591797,
0.055596832275390626,
0.058808704376220704,
0.05654806518554688,
0.0518438720703125,
0.05364857482910156,
0.05219558334350586,
0.053698017120361326,
0.053463871002197266,
0.05299548721313477,
0.05179337692260742,
0.052758335113525394,
0.05148678588867187,
0.053391422271728516,
0.051275104522705076,
0.053490463256835936,
0.0522479362487793,
0.05121788787841797
],
"count": 19,
"total": 1.020536575317383,
"mean": 0.05371245133249384,
"p50": 0.053391422271728516,
"p90": 0.05699391479492188,
"p95": 0.05878045234680176,
"p99": 0.058803053970336916,
"stdev": 0.0022491306904769606,
"stdev_": 4.187354393033125
},
"throughput": {
"unit": "images/s",
"value": 37.23531416616024
},
"energy": {
"unit": "kWh",
"cpu": 6.682986756944608e-07,
"ram": 3.6521698910925007e-07,
"gpu": 2.0292454505555324e-06,
"total": 3.0627611153592426e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 653005.5478275238
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.01406156826019287,
0.014757887840270996,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.02636288070678711,
0.0124334077835083,
0.012541952133178711,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.02636288070678711,
0.0124334077835083,
0.012541952133178711,
0.027388927459716796,
0.013149184226989746,
0.013019136428833008,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.02636288070678711,
0.0124334077835083,
0.012541952133178711,
0.027388927459716796,
0.013149184226989746,
0.013019136428833008,
0.02652569580078125,
0.012436479568481444,
0.012409855842590332,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.02636288070678711,
0.0124334077835083,
0.012541952133178711,
0.027388927459716796,
0.013149184226989746,
0.013019136428833008,
0.02652569580078125,
0.012436479568481444,
0.012409855842590332,
0.02756403160095215,
0.012993535995483398,
0.012928000450134277,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.02636288070678711,
0.0124334077835083,
0.012541952133178711,
0.027388927459716796,
0.013149184226989746,
0.013019136428833008,
0.02652569580078125,
0.012436479568481444,
0.012409855842590332,
0.02756403160095215,
0.012993535995483398,
0.012928000450134277,
0.026677248001098632,
0.012677120208740235,
0.012953599929809571,
0.01406156826019287,
0.014757887840270996,
0.02894643211364746,
0.01328435230255127,
0.013338624000549316,
0.028531711578369142,
0.013414400100708008,
0.0135731201171875,
0.029620223999023438,
0.014150655746459961,
0.014766079902648926,
0.030930944442749023,
0.01306214427947998,
0.013241344451904297,
0.026846208572387696,
0.01253273582458496,
0.012597248077392579,
0.027579391479492187,
0.013080575942993163,
0.012985407829284668,
0.02669561576843262,
0.012577792167663575,
0.012835840225219726,
0.027830272674560546,
0.013092864036560058,
0.012980256080627441,
0.02736534309387207,
0.012973055839538575,
0.01305907154083252,
0.02731520080566406,
0.012945407867431641,
0.01287782382965088,
0.026727424621582032,
0.012543999671936035,
0.012430335998535156,
0.027150335311889647,
0.012918784141540527,
0.012873727798461914,
0.02636288070678711,
0.0124334077835083,
0.012541952133178711,
0.027388927459716796,
0.013149184226989746,
0.013019136428833008,
0.02652569580078125,
0.012436479568481444,
0.012409855842590332,
0.02756403160095215,
0.012993535995483398,
0.012928000450134277,
0.026677248001098632,
0.012677120208740235,
0.012953599929809571,
0.026504192352294922,
0.012430335998535156,
0.012402688026428223
],
"count": 551,
"total": 9.824206957817081,
"mean": 0.017829776692952957,
"p50": 0.013338624000549316,
"p90": 0.028531711578369142,
"p95": 0.029620223999023438,
"p99": 0.030930944442749023,
"stdev": 0.0068978877830061566,
"stdev_": 38.68746031874016
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}