{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_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": "0", "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": 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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 827.285504, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.36574169921875, "mean": 7.36574169921875, "stdev": 0.0, "p50": 7.36574169921875, "p90": 7.36574169921875, "p95": 7.36574169921875, "p99": 7.36574169921875, "values": [ 7.36574169921875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4687760701382523e-06, "ram": 7.892456315977909e-07, "gpu": 1.7244458240008032e-06, "total": 3.982467525736846e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.632064, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 185, "total": 0.9948326120376583, "mean": 0.005377473578581939, "stdev": 0.00017832619467806243, "p50": 0.005339200019836426, "p90": 0.005652684688568115, "p95": 0.005723750591278076, "p99": 0.00589997049331665, "values": [ 0.005455904006958008, 0.005443583965301513, 0.00552345609664917, 0.005455872058868408, 0.005449728012084961, 0.0054917120933532714, 0.005471231937408447, 0.005468160152435303, 0.005420032024383545, 0.005408768177032471, 0.00550707197189331, 0.005398528099060058, 0.005388288021087646, 0.005406720161437988, 0.005362688064575195, 0.005398528099060058, 0.0053637118339538575, 0.00522649621963501, 0.005189631938934326, 0.005254144191741943, 0.005287936210632324, 0.005296192169189453, 0.005400576114654541, 0.005396480083465576, 0.005444608211517334, 0.005398528099060058, 0.00538316822052002, 0.005391359806060791, 0.005298175811767578, 0.005288959980010987, 0.005411839962005615, 0.00535756778717041, 0.005378047943115235, 0.005419007778167725, 0.005354496002197265, 0.0053534722328186036, 0.005417984008789062, 0.005339136123657226, 0.00531660795211792, 0.0053821439743042, 0.005339168071746826, 0.0053534722328186036, 0.005402624130249023, 0.0053340158462524415, 0.005283840179443359, 0.005219327926635742, 0.005188608169555664, 0.005208064079284668, 0.0053002238273620605, 0.0052971520423889164, 0.005339200019836426, 0.005347328186035156, 0.005295104026794434, 0.005337088108062744, 0.005420032024383545, 0.005408768177032471, 0.005868544101715088, 0.005660672187805176, 0.005725183963775635, 0.005764095783233642, 0.00572211217880249, 0.005629951953887939, 0.005724160194396972, 0.005701632022857666, 0.005628928184509278, 0.005716991901397705, 0.0063487358093261715, 0.005677055835723877, 0.005653503894805908, 0.00568012809753418, 0.005291007995605469, 0.0052367358207702636, 0.005315584182739258, 0.005393439769744873, 0.005320703983306885, 0.005432320117950439, 0.0053944320678710935, 0.0052705278396606445, 0.005340159893035889, 0.005292031764984131, 0.005295104026794434, 0.005345280170440674, 0.00530944013595581, 0.0053012480735778805, 0.005370880126953125, 0.005321728229522705, 0.005355519771575928, 0.005475327968597412, 0.005407743930816651, 0.005389311790466309, 0.0054282240867614745, 0.005410816192626953, 0.005390336036682129, 0.005407743930816651, 0.005384191989898681, 0.005388288021087646, 0.005355519771575928, 0.0052367358207702636, 0.005370880126953125, 0.005355519771575928, 0.005241856098175048, 0.005220352172851562, 0.00520908784866333, 0.005099520206451416, 0.005055488109588623, 0.005191679954528809, 0.005284863948822022, 0.005142560005187988, 0.005088255882263183, 0.0050094079971313476, 0.005017600059509277, 0.005017600059509277, 0.005098495960235596, 0.005047296047210693, 0.005189568042755127, 0.005703680038452149, 0.005470208168029785, 0.005513279914855957, 0.0056514558792114256, 0.005629983901977539, 0.005734399795532226, 0.005462016105651855, 0.005434368133544922, 0.00542310380935669, 0.005339136123657226, 0.005341184139251709, 0.005356544017791748, 0.005272575855255127, 0.005320703983306885, 0.00532480001449585, 0.0052930560111999515, 0.005295167922973633, 0.005346303939819336, 0.005302271842956543, 0.0052899842262268066, 0.005326848030090332, 0.005287936210632324, 0.005253119945526123, 0.005255167961120606, 0.005257215976715088, 0.005594111919403076, 0.005264383792877197, 0.005274623870849609, 0.0052899842262268066, 0.005273600101470947, 0.005337088108062744, 0.0052705278396606445, 0.0052971520423889164, 0.005257215976715088, 0.005275648117065429, 0.00530838394165039, 0.005262335777282715, 0.005255167961120606, 0.005286911964416504, 0.0052715520858764645, 0.005477375984191894, 0.005751808166503906, 0.00530841588973999, 0.005443583965301513, 0.005319680213928223, 0.005285888195037842, 0.006027328014373779, 0.005814239978790283, 0.005406720161437988, 0.005284863948822022, 0.005298175811767578, 0.005395455837249756, 0.005311488151550293, 0.00530944013595581, 0.005307392120361328, 0.005255136013031006, 0.005276671886444092, 0.005349376201629639, 0.005250048160552978, 0.005256192207336426, 0.005297120094299316, 0.005283840179443359, 0.005258240222930908, 0.005303296089172363, 0.005245952129364013, 0.005255167961120606, 0.005686272144317627, 0.0058757119178771975, 0.005332992076873779, 0.005284863948822022 ] }, "throughput": { "unit": "samples/s", "value": 185.96093228294464 }, "energy": { "unit": "kWh", "cpu": 6.203718460587914e-08, "ram": 3.3899203338811385e-08, "gpu": 3.531678218010474e-07, "total": 4.4910420974573796e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2226654.701291163 } } } }