{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "model_type": "vit", "model": "google/vit-base-patch16-224", "processor": "google/vit-base-patch16-224", "device": "cuda", "device_ids": "4", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": true, "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": 1, "num_choices": 2, "sequence_length": 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": "error", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 903.20896, "max_global_vram": 689.389568, "max_process_vram": 44038.336512, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.0659921875, "mean": 7.0659921875, "stdev": 0.0, "p50": 7.0659921875, "p90": 7.0659921875, "p95": 7.0659921875, "p99": 7.0659921875, "values": [ 7.0659921875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1073.483776, "max_global_vram": 777.80992, "max_process_vram": 169561.817088, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 159, "total": 0.9984494948387149, "mean": 0.00627955657131267, "stdev": 0.0003942132553419293, "p50": 0.006403985977172851, "p90": 0.006804209136962891, "p95": 0.006847664928436279, "p99": 0.006900483617782593, "values": [ 0.006883504867553711, 0.006810705184936524, 0.006818224906921386, 0.0068665452003479005, 0.006903824806213379, 0.006898064136505127, 0.006853425025939942, 0.00683982515335083, 0.006806704998016357, 0.006805105209350586, 0.0067494258880615235, 0.006752944946289062, 0.006768465042114258, 0.006742865085601807, 0.006787024974822998, 0.0067630248069763185, 0.006735986232757569, 0.006718706130981445, 0.006803985118865967, 0.006753105163574219, 0.006770705223083496, 0.006796464920043945, 0.006773105144500732, 0.006773584842681884, 0.00676766586303711, 0.00674846601486206, 0.006734865188598633, 0.006810385227203369, 0.006847024917602539, 0.00687374496459961, 0.006786224842071534, 0.006838065147399902, 0.007709902763366699, 0.00687374496459961, 0.006427986145019531, 0.006467665195465088, 0.006423185825347901, 0.00641278600692749, 0.006436945915222168, 0.0063868660926818845, 0.006431985855102539, 0.006442545890808105, 0.0064148659706115725, 0.006423185825347901, 0.006424305915832519, 0.006424625873565674, 0.0064484658241271975, 0.006402225971221924, 0.006426546096801758, 0.006441746234893799, 0.006394546031951904, 0.006429746150970459, 0.006411345958709716, 0.006403985977172851, 0.0064174261093139645, 0.0064076662063598635, 0.006403666019439697, 0.006099987030029297, 0.005888466835021973, 0.00625662612915039, 0.005980146884918213, 0.0061009469032287595, 0.005854386806488037, 0.005864946842193603, 0.005884787082672119, 0.0058587069511413575, 0.005808146953582763, 0.005789107799530029, 0.005810546875, 0.005803826808929443, 0.005659508228302002, 0.005629746913909912, 0.005644787788391113, 0.005651348114013672, 0.005661107063293457, 0.006249906063079834, 0.006444945812225342, 0.006203826904296875, 0.006150705814361572, 0.006405585765838623, 0.006423026084899902, 0.006391985893249512, 0.006431826114654541, 0.00609982681274414, 0.005977266788482666, 0.005821268081665039, 0.006028625965118408, 0.00583054780960083, 0.0058587069511413575, 0.005861426830291748, 0.0058678269386291506, 0.0059014267921447755, 0.005924946784973144, 0.0057847871780395506, 0.005999826908111573, 0.00582254695892334, 0.00584142780303955, 0.005991826057434082, 0.00585454797744751, 0.005871827125549316, 0.005887347221374512, 0.005910546779632569, 0.00591694688796997, 0.005909107208251953, 0.005818546772003174, 0.005851027011871338, 0.0060814270973205565, 0.005833426952362061, 0.005952147006988526, 0.0060721468925476075, 0.006345427036285401, 0.006209586143493652, 0.006118866920471191, 0.0058689479827880855, 0.005963986873626709, 0.006401586055755615, 0.00642862606048584, 0.006426705837249756, 0.006417585849761963, 0.006492946147918701, 0.006451985836029053, 0.006439986228942871, 0.006453105926513672, 0.006398866176605225, 0.006437905788421631, 0.006423505783081054, 0.006403346061706543, 0.006441425800323486, 0.006420145988464356, 0.006461266040802002, 0.006501585960388184, 0.006426546096801758, 0.006465425968170166, 0.00644062614440918, 0.006417585849761963, 0.006446705818176269, 0.006442225933074951, 0.006448145866394043, 0.006434706211090088, 0.006408626079559326, 0.006454386234283447, 0.006145586013793945, 0.006177587032318115, 0.006237745761871338, 0.006091987133026123, 0.006063025951385498, 0.005875028133392334, 0.005920627117156982, 0.005918547153472901, 0.005648626804351807, 0.0056475081443786625, 0.005651027202606201, 0.005649427890777588, 0.005651668071746826, 0.005685266971588135, 0.005669427871704102, 0.005845426082611084, 0.005635666847229004, 0.0056529479026794435 ] }, "throughput": { "unit": "samples/s", "value": 159.24691316077454 }, "energy": null, "efficiency": null } } }