IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
34081ab verified
raw
history blame
28.3 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",
"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": "5",
"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": 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.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.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": 1049.481216,
"max_global_vram": 68702.69952,
"max_process_vram": 10491.858944,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.7950437622070312
],
"count": 1,
"total": 0.7950437622070312,
"mean": 0.7950437622070312,
"p50": 0.7950437622070312,
"p90": 0.7950437622070312,
"p95": 0.7950437622070312,
"p99": 0.7950437622070312,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1315.745792,
"max_global_vram": 68702.69952,
"max_process_vram": 196760.358912,
"max_reserved": 427.819008,
"max_allocated": 295.694848
},
"latency": {
"unit": "s",
"values": [
0.06003832244873047,
0.06013208389282226,
0.058002811431884765,
0.056159618377685544,
0.05534170532226562,
0.055048583984375,
0.055039783477783204,
0.0550263442993164,
0.05490042495727539,
0.05483882522583008,
0.05501386260986328,
0.05488458251953125,
0.054855304718017577,
0.05494762420654297,
0.05485130310058594,
0.054966663360595705,
0.05510970306396484,
0.05510794448852539
],
"count": 18,
"total": 1.0042654914855957,
"mean": 0.05579252730475532,
"p50": 0.0550330638885498,
"p90": 0.05861346473693848,
"p95": 0.06005238666534424,
"p99": 0.06011614444732666,
"stdev": 0.0016835836827689297,
"stdev_": 3.0175791707242383
},
"throughput": {
"unit": "images/s",
"value": 35.84709452352655
},
"energy": null,
"efficiency": null
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.01458746337890625,
0.014558023452758789,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.027369491577148436,
0.013768746376037597,
0.013757705688476562,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.027369491577148436,
0.013768746376037597,
0.013757705688476562,
0.027403732299804688,
0.013768746376037597,
0.013801706314086915,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.027369491577148436,
0.013768746376037597,
0.013757705688476562,
0.027403732299804688,
0.013768746376037597,
0.013801706314086915,
0.027402292251586913,
0.013750666618347169,
0.013718026161193848,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.027369491577148436,
0.013768746376037597,
0.013757705688476562,
0.027403732299804688,
0.013768746376037597,
0.013801706314086915,
0.027402292251586913,
0.013750666618347169,
0.013718026161193848,
0.027375411987304688,
0.013730186462402344,
0.013750185966491699,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.027369491577148436,
0.013768746376037597,
0.013757705688476562,
0.027403732299804688,
0.013768746376037597,
0.013801706314086915,
0.027402292251586913,
0.013750666618347169,
0.013718026161193848,
0.027375411987304688,
0.013730186462402344,
0.013750185966491699,
0.027565332412719728,
0.013788745880126954,
0.013783306121826171,
0.01458746337890625,
0.014558023452758789,
0.030238759994506835,
0.015432419776916504,
0.014700581550598144,
0.028847888946533205,
0.014536582946777343,
0.014660581588745118,
0.028617807388305664,
0.013843626022338866,
0.013814505577087402,
0.027469011306762697,
0.01408730411529541,
0.013809865951538085,
0.027437332153320313,
0.013821226119995117,
0.01383034610748291,
0.027459251403808595,
0.013810345649719238,
0.013794185638427735,
0.027460531234741212,
0.013842025756835937,
0.013780426025390625,
0.02736069107055664,
0.01380202579498291,
0.013773225784301757,
0.027386451721191408,
0.013737385749816894,
0.013743625640869141,
0.02747429275512695,
0.01378378677368164,
0.013781705856323241,
0.027395092010498046,
0.013779786109924317,
0.013745866775512695,
0.027369491577148436,
0.013768746376037597,
0.013757705688476562,
0.027403732299804688,
0.013768746376037597,
0.013801706314086915,
0.027402292251586913,
0.013750666618347169,
0.013718026161193848,
0.027375411987304688,
0.013730186462402344,
0.013750185966491699,
0.027565332412719728,
0.013788745880126954,
0.013783306121826171,
0.027562292098999023,
0.013769386291503906,
0.013795145988464355
],
"count": 495,
"total": 9.103388712882996,
"mean": 0.018390684268450495,
"p50": 0.014536582946777343,
"p90": 0.027564116287231447,
"p95": 0.028847888946533205,
"p99": 0.030238759994506835,
"stdev": 0.006464770411649557,
"stdev_": 35.15241911221308
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}