IlyasMoutawwakil's picture
Upload cuda_inference_diffusers_text-to-image_hf-internal-testing/tiny-stable-diffusion-torch/benchmark.json with huggingface_hub
cf07a3a verified
raw
history blame
28.2 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": "6",
"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.759744,
"max_global_vram": 68702.69952,
"max_process_vram": 9609.904128,
"max_reserved": 10.48576,
"max_allocated": 8.715776
},
"latency": {
"unit": "s",
"values": [
0.80937646484375
],
"count": 1,
"total": 0.80937646484375,
"mean": 0.80937646484375,
"p50": 0.80937646484375,
"p90": 0.80937646484375,
"p95": 0.80937646484375,
"p99": 0.80937646484375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"call": {
"memory": {
"unit": "MB",
"max_ram": 1314.664448,
"max_global_vram": 68702.69952,
"max_process_vram": 200390.148096,
"max_reserved": 427.819008,
"max_allocated": 295.694848
},
"latency": {
"unit": "s",
"values": [
0.060310310363769534,
0.058783107757568356,
0.05671158981323242,
0.05524054336547852,
0.05521526336669922,
0.05522822570800781,
0.05506470489501953,
0.05563382339477539,
0.054955425262451174,
0.05512086486816406,
0.055042465209960936,
0.054865665435791015,
0.054830623626708985,
0.05480838394165039,
0.05480646514892578,
0.055033184051513674,
0.0549667854309082,
0.05556870269775391
],
"count": 18,
"total": 1.0021861343383789,
"mean": 0.05567700746324327,
"p50": 0.05509278488159179,
"p90": 0.0573330451965332,
"p95": 0.05901218814849853,
"p99": 0.06005068592071533,
"stdev": 0.0014571256661958386,
"stdev_": 2.617104856358885
},
"throughput": {
"unit": "images/s",
"value": 35.92147083911354
},
"energy": null,
"efficiency": null
},
"per_step": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.015584818840026856,
0.01451729679107666,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.02737411117553711,
0.013753456115722656,
0.013754897117614746,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.02737411117553711,
0.013753456115722656,
0.013754897117614746,
0.0273654727935791,
0.013726736068725586,
0.013748815536499023,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.02737411117553711,
0.013753456115722656,
0.013754897117614746,
0.0273654727935791,
0.013726736068725586,
0.013748815536499023,
0.027373472213745118,
0.013757935523986816,
0.013700176239013671,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.02737411117553711,
0.013753456115722656,
0.013754897117614746,
0.0273654727935791,
0.013726736068725586,
0.013748815536499023,
0.027373472213745118,
0.013757935523986816,
0.013700176239013671,
0.027354591369628905,
0.013788016319274902,
0.013931536674499511,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.02737411117553711,
0.013753456115722656,
0.013754897117614746,
0.0273654727935791,
0.013726736068725586,
0.013748815536499023,
0.027373472213745118,
0.013757935523986816,
0.013700176239013671,
0.027354591369628905,
0.013788016319274902,
0.013931536674499511,
0.027336511611938476,
0.01392961597442627,
0.01374433708190918,
0.015584818840026856,
0.01451729679107666,
0.02917971420288086,
0.01477953815460205,
0.014797137260437012,
0.028984676361083983,
0.01404145622253418,
0.013849617004394531,
0.027498912811279298,
0.013907217025756835,
0.013865455627441407,
0.027511072158813477,
0.01386513614654541,
0.01386257553100586,
0.02753555107116699,
0.013871536254882813,
0.013866896629333497,
0.027483232498168947,
0.013809296607971191,
0.013796015739440918,
0.027511871337890625,
0.014301776885986328,
0.013819215774536132,
0.0274998722076416,
0.013808176040649415,
0.013737296104431152,
0.027417152404785157,
0.013966095924377442,
0.013767855644226074,
0.027494911193847657,
0.013788496017456055,
0.013797937393188476,
0.027376991271972656,
0.01375649642944336,
0.013758736610412598,
0.02737411117553711,
0.013753456115722656,
0.013754897117614746,
0.0273654727935791,
0.013726736068725586,
0.013748815536499023,
0.027373472213745118,
0.013757935523986816,
0.013700176239013671,
0.027354591369628905,
0.013788016319274902,
0.013931536674499511,
0.027336511611938476,
0.01392961597442627,
0.01374433708190918,
0.027317792892456054,
0.01389345645904541,
0.014357136726379395
],
"count": 495,
"total": 9.070058986663833,
"mean": 0.01832335148820973,
"p50": 0.01404145622253418,
"p90": 0.027511871337890625,
"p95": 0.028984676361083983,
"p99": 0.02917971420288086,
"stdev": 0.006372443541686136,
"stdev_": 34.77771817992207
},
"throughput": null,
"energy": null,
"efficiency": null
}
}
}