
IlyasMoutawwakil
HF staff
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
b3b83f2
verified
{ | |
"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": 794.329088, | |
"max_global_vram": 601.358336, | |
"max_process_vram": 0.0, | |
"max_reserved": 10.48576, | |
"max_allocated": 8.715776 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.747589599609375 | |
], | |
"count": 1, | |
"total": 0.747589599609375, | |
"mean": 0.747589599609375, | |
"p50": 0.747589599609375, | |
"p90": 0.747589599609375, | |
"p95": 0.747589599609375, | |
"p99": 0.747589599609375, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010423849753680611, | |
"ram": 5.7084024588307096e-05, | |
"gpu": 0.0001392820558700006, | |
"total": 0.0003006045779951138 | |
}, | |
"efficiency": null | |
}, | |
"call": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1354.518528, | |
"max_global_vram": 739.770368, | |
"max_process_vram": 0.0, | |
"max_reserved": 88.080384, | |
"max_allocated": 50.459136 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.05815593719482422, | |
0.05624943923950195, | |
0.059600990295410154, | |
0.06004790496826172, | |
0.05352140808105469, | |
0.053348094940185546, | |
0.05281254577636719, | |
0.051669921875, | |
0.05295862579345703, | |
0.05158422470092774, | |
0.051472671508789064, | |
0.05144998550415039, | |
0.05182726287841797, | |
0.051763198852539063, | |
0.0517534065246582, | |
0.051593536376953124, | |
0.051326976776123044, | |
0.05174879837036133, | |
0.05157344055175781 | |
], | |
"count": 19, | |
"total": 1.0144583702087402, | |
"mean": 0.05339254580046001, | |
"p50": 0.051763198852539063, | |
"p90": 0.0584449478149414, | |
"p95": 0.05964568176269531, | |
"p99": 0.05996746032714844, | |
"stdev": 0.0028025949445433258, | |
"stdev_": 5.24903786198406 | |
}, | |
"throughput": { | |
"unit": "images/s", | |
"value": 37.45841240600235 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.487571558114127e-07, | |
"ram": 3.5376903344133245e-07, | |
"gpu": 1.995601011684292e-06, | |
"total": 2.9981272009370367e-06 | |
}, | |
"efficiency": { | |
"unit": "images/kWh", | |
"value": 667083.1042041574 | |
} | |
}, | |
"per_step": { | |
"memory": null, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.014442496299743653, | |
0.014097408294677734, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.026986495971679687, | |
0.012507136344909669, | |
0.012444671630859374, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.026986495971679687, | |
0.012507136344909669, | |
0.012444671630859374, | |
0.026833919525146483, | |
0.01247436809539795, | |
0.012507136344909669, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.026986495971679687, | |
0.012507136344909669, | |
0.012444671630859374, | |
0.026833919525146483, | |
0.01247436809539795, | |
0.012507136344909669, | |
0.02676838493347168, | |
0.012484607696533203, | |
0.012427264213562012, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.026986495971679687, | |
0.012507136344909669, | |
0.012444671630859374, | |
0.026833919525146483, | |
0.01247436809539795, | |
0.012507136344909669, | |
0.02676838493347168, | |
0.012484607696533203, | |
0.012427264213562012, | |
0.02652672004699707, | |
0.012483584403991698, | |
0.012438528060913086, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.026986495971679687, | |
0.012507136344909669, | |
0.012444671630859374, | |
0.026833919525146483, | |
0.01247436809539795, | |
0.012507136344909669, | |
0.02676838493347168, | |
0.012484607696533203, | |
0.012427264213562012, | |
0.02652672004699707, | |
0.012483584403991698, | |
0.012438528060913086, | |
0.026505216598510743, | |
0.012707839965820313, | |
0.012508159637451171, | |
0.014442496299743653, | |
0.014097408294677734, | |
0.028683263778686522, | |
0.013804544448852539, | |
0.013726719856262207, | |
0.028618751525878908, | |
0.014511103630065919, | |
0.01598464012145996, | |
0.034269184112548826, | |
0.013632512092590332, | |
0.013132800102233886, | |
0.027546720504760744, | |
0.013071264266967773, | |
0.013035519599914551, | |
0.027280384063720704, | |
0.012966912269592285, | |
0.012995583534240723, | |
0.026784767150878908, | |
0.013023232460021973, | |
0.013129728317260742, | |
0.026841087341308592, | |
0.012522496223449708, | |
0.012426239967346191, | |
0.026866687774658202, | |
0.01305190372467041, | |
0.013012991905212403, | |
0.026618879318237306, | |
0.012468223571777343, | |
0.012553215980529785, | |
0.02656870460510254, | |
0.012534784317016602, | |
0.012461055755615234, | |
0.02651238441467285, | |
0.012485631942749023, | |
0.01245900821685791, | |
0.026613759994506835, | |
0.012569600105285645, | |
0.01244159984588623, | |
0.026986495971679687, | |
0.012507136344909669, | |
0.012444671630859374, | |
0.026833919525146483, | |
0.01247436809539795, | |
0.012507136344909669, | |
0.02676838493347168, | |
0.012484607696533203, | |
0.012427264213562012, | |
0.02652672004699707, | |
0.012483584403991698, | |
0.012438528060913086, | |
0.026505216598510743, | |
0.012707839965820313, | |
0.012508159637451171, | |
0.026788864135742187, | |
0.01244371223449707, | |
0.012427200317382812 | |
], | |
"count": 551, | |
"total": 9.81812838459014, | |
"mean": 0.017818744799619146, | |
"p50": 0.013726719856262207, | |
"p90": 0.027546720504760744, | |
"p95": 0.028683263778686522, | |
"p99": 0.034269184112548826, | |
"stdev": 0.006936344781000936, | |
"stdev_": 38.92723566672997 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |