IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
d6edb5d verified
{
"config": {
"name": "cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch",
"backend": {
"name": "pytorch",
"version": "2.8.0",
"_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,
"tp_plan": null,
"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": 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.240-238.959.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "fbf78e54015084c23531d735a2de68136ce716c5",
"transformers_version": "4.52.4",
"transformers_commit": "fbf78e54015084c23531d735a2de68136ce716c5",
"accelerate_version": "1.10.0",
"accelerate_commit": "fbf78e54015084c23531d735a2de68136ce716c5",
"diffusers_version": "0.34.0",
"diffusers_commit": "fbf78e54015084c23531d735a2de68136ce716c5",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "fbf78e54015084c23531d735a2de68136ce716c5",
"peft_version": "0.17.0",
"peft_commit": "fbf78e54015084c23531d735a2de68136ce716c5"
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1043.771392,
"max_global_vram": 601.358336,
"max_process_vram": 0.0,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.769448974609375
],
"count": 1,
"total": 0.769448974609375,
"mean": 0.769448974609375,
"p50": 0.769448974609375,
"p90": 0.769448974609375,
"p95": 0.769448974609375,
"p99": 0.769448974609375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012965378661944336,
"ram": 6.101242095555537e-05,
"gpu": 0.00018516820369000528,
"total": 0.000375834411265004
},
"efficiency": null
},
"first_call": {
"memory": {
"unit": "MB",
"max_ram": 1622.85568,
"max_global_vram": 737.673216,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.45966607666015624
],
"count": 1,
"total": 0.45966607666015624,
"mean": 0.45966607666015624,
"p50": 0.45966607666015624,
"p90": 0.45966607666015624,
"p95": 0.45966607666015624,
"p99": 0.45966607666015624,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012520489076319388,
"ram": 5.891887429444422e-05,
"gpu": 0.00018040625543599975,
"total": 0.00036453002049363783
},
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1636.532224,
"max_global_vram": 737.673216,
"max_process_vram": 0.0,
"max_reserved": 88.080384,
"max_allocated": 50.459136
},
"latency": {
"unit": "s",
"values": [
0.05911843109130859,
0.051220703125,
0.05085033416748047,
0.05072870254516602,
0.05127699279785156,
0.05093180847167969,
0.05184067153930664,
0.05129734420776367,
0.052044288635253906,
0.05113113784790039,
0.0522158088684082,
0.05096646499633789,
0.05201974487304688,
0.05078988647460937,
0.051878528594970705,
0.0527740478515625,
0.055030464172363285,
0.05285955047607422,
0.05228636932373047,
0.05151968002319336
],
"count": 20,
"total": 1.0427809600830076,
"mean": 0.05213904800415039,
"p50": 0.051680175781250004,
"p90": 0.053076641845703126,
"p95": 0.05523486251831055,
"p99": 0.05834171737670898,
"stdev": 0.001873486931647369,
"stdev_": 3.593251130128489
},
"throughput": {
"unit": "images/s",
"value": 38.358966581837
},
"energy": {
"unit": "kWh",
"cpu": 6.582894462579625e-07,
"ram": 3.097166962962876e-07,
"gpu": 2.1630109896667875e-06,
"total": 3.1310171322210405e-06
},
"efficiency": {
"unit": "images/kWh",
"value": 638770.0595497112
}
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.013765631675720215,
0.013735936164855958,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.02738380813598633,
0.012212224006652832,
0.012209152221679688,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.02738380813598633,
0.012212224006652832,
0.012209152221679688,
0.027848703384399414,
0.01260035228729248,
0.012322784423828125,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.02738380813598633,
0.012212224006652832,
0.012209152221679688,
0.027848703384399414,
0.01260035228729248,
0.012322784423828125,
0.02878463935852051,
0.012615679740905762,
0.013596672058105469,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.02738380813598633,
0.012212224006652832,
0.012209152221679688,
0.027848703384399414,
0.01260035228729248,
0.012322784423828125,
0.02878463935852051,
0.012615679740905762,
0.013596672058105469,
0.02857779121398926,
0.012323840141296387,
0.01215897560119629,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.02738380813598633,
0.012212224006652832,
0.012209152221679688,
0.027848703384399414,
0.01260035228729248,
0.012322784423828125,
0.02878463935852051,
0.012615679740905762,
0.013596672058105469,
0.02857779121398926,
0.012323840141296387,
0.01215897560119629,
0.028083200454711913,
0.01217024040222168,
0.012120063781738282,
0.013765631675720215,
0.013735936164855958,
0.027793407440185547,
0.011808768272399902,
0.011760640144348144,
0.027296768188476563,
0.011757568359375,
0.011887616157531738,
0.027123712539672853,
0.011740159988403321,
0.011909119606018067,
0.027084800720214845,
0.011900927543640137,
0.012223487854003906,
0.027337728500366212,
0.011807744026184081,
0.011804672241210937,
0.027230207443237304,
0.01232588768005371,
0.01232588768005371,
0.0275281925201416,
0.011887616157531738,
0.011934720039367675,
0.027626495361328125,
0.012229632377624512,
0.012249088287353516,
0.02758143997192383,
0.011835391998291016,
0.011734016418457031,
0.027546623229980468,
0.01223475170135498,
0.012329983711242675,
0.02752102470397949,
0.011899904251098633,
0.011772928237915039,
0.02750467109680176,
0.01229411220550537,
0.01224294376373291,
0.02727628707885742,
0.01184768009185791,
0.01174732780456543,
0.02738380813598633,
0.012212224006652832,
0.012209152221679688,
0.027848703384399414,
0.01260035228729248,
0.012322784423828125,
0.02878463935852051,
0.012615679740905762,
0.013596672058105469,
0.02857779121398926,
0.012323840141296387,
0.01215897560119629,
0.028083200454711913,
0.01217024040222168,
0.012120063781738282,
0.027039743423461913,
0.012129280090332031,
0.012184576034545898
],
"count": 610,
"total": 10.335698943138105,
"mean": 0.016943768759242826,
"p50": 0.012249088287353516,
"p90": 0.027546623229980468,
"p95": 0.027793407440185547,
"p99": 0.02853327804565428,
"stdev": 0.007099899879828934,
"stdev_": 41.90271940506706
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}