{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.225-213.878.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.45.2", "transformers_commit": null, "accelerate_version": "1.0.0", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 844.091392, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "values": [ 0.12262297821044922 ], "count": 1, "total": 0.12262297821044922, "mean": 0.12262297821044922, "p50": 0.12262297821044922, "p90": 0.12262297821044922, "p95": 0.12262297821044922, "p99": 0.12262297821044922, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1054.060544, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.005576704025268555, 0.0053051838874816895, 0.005223423957824707, 0.0051701760292053225, 0.005131264209747314, 0.0052778878211975095, 0.005181439876556396, 0.0052971520423889164, 0.005208064079284668, 0.005254144191741943, 0.0052408318519592285, 0.005277696132659912, 0.0052193598747253414, 0.005242879867553711, 0.005204063892364502, 0.005251232147216797, 0.005145599842071533, 0.005288959980010987, 0.00532480001449585, 0.005258080005645752, 0.0052111358642578124, 0.005219423770904541, 0.005201727867126465, 0.00522649621963501, 0.005102591991424561, 0.005075967788696289, 0.005032959938049316, 0.0050462718009948735, 0.005048319816589355, 0.005090303897857666, 0.005132192134857177, 0.0051998720169067385, 0.005081088066101074, 0.005130239963531494, 0.005135359764099121, 0.005141503810882568, 0.005246975898742676, 0.005331103801727295, 0.005328896045684814, 0.005523519992828369, 0.005264383792877197, 0.0052091522216796875, 0.005258240222930908, 0.005280640125274658, 0.005235712051391602, 0.0051782398223876955, 0.00515993595123291, 0.005125184059143067, 0.005073919773101807, 0.005174272060394287, 0.005219327926635742, 0.005233856201171875, 0.005239808082580567, 0.005261312007904053, 0.005125120162963868, 0.0050627517700195315, 0.00516096019744873, 0.005167103767395019, 0.005535615921020508, 0.005156864166259765, 0.00501964807510376, 0.004957183837890625, 0.005009439945220948, 0.005141503810882568, 0.005154816150665284, 0.005119103908538819, 0.005692416191101074, 0.005261312007904053, 0.005104640007019043, 0.005096447944641113, 0.0051066880226135255, 0.005091328144073487, 0.005079040050506592, 0.005434368133544922, 0.005355519771575928, 0.005350399971008301, 0.005354623794555664, 0.00547430419921875, 0.005378047943115235, 0.00540172815322876, 0.0053606400489807126, 0.005417984008789062, 0.005286911964416504, 0.005215231895446777, 0.005269504070281982, 0.00521830415725708, 0.005228544235229492, 0.005273600101470947, 0.005182432174682617, 0.005161983966827393, 0.005056511878967285, 0.005164031982421875, 0.005198847770690918, 0.005093215942382812, 0.005112768173217774, 0.00501145601272583, 0.005145631790161133, 0.005148672103881836, 0.005073919773101807, 0.00515174388885498, 0.0051968002319335935, 0.005094399929046631, 0.004931583881378174, 0.004929599761962891, 0.005150720119476319, 0.005097472190856934, 0.00499507188796997, 0.004988927841186524, 0.004984831809997559, 0.005135359764099121, 0.005171072006225586, 0.005162943840026855, 0.005379072189331055, 0.005191679954528809, 0.005285888195037842, 0.005479423999786377, 0.005683199882507324, 0.005431295871734619, 0.005301152229309082, 0.005700640201568604, 0.005496831893920898, 0.005283840179443359, 0.005198912143707275, 0.005264544010162354, 0.005270368099212647, 0.005231616020202637, 0.005245952129364013, 0.005188608169555664, 0.005204864025115967, 0.005185535907745361, 0.005185535907745361, 0.0051363840103149415, 0.0051652159690856935, 0.005171199798583984, 0.005087232112884522, 0.005104640007019043, 0.005097472190856934, 0.005038080215454102, 0.005044223785400391, 0.005342207908630371, 0.005026815891265869, 0.005033120155334473, 0.005022719860076904, 0.0050143680572509765, 0.005040128231048584, 0.005032959938049316, 0.005116032123565674, 0.0051047358512878414, 0.0051017279624938966, 0.00513427209854126, 0.005061632156372071, 0.005112832069396973, 0.005082240104675293, 0.005093376159667969, 0.005157887935638428, 0.005112832069396973, 0.0051190400123596195, 0.005141503810882568, 0.005253119945526123, 0.005169151782989502, 0.005029888153076172, 0.005359615802764893, 0.005285888195037842, 0.005258240222930908, 0.005252096176147461, 0.005216224193572998, 0.005242879867553711, 0.005111807823181152, 0.005091328144073487, 0.005117951869964599, 0.0050063362121582035, 0.00506166410446167, 0.005007359981536865, 0.0050135040283203125, 0.005022719860076904, 0.005101632118225097, 0.005022719860076904, 0.005022719860076904, 0.005172224044799805, 0.005045152187347412, 0.005201920032501221, 0.005008287906646728, 0.00501043176651001, 0.005086207866668701, 0.005070847988128662, 0.00506060791015625, 0.005112832069396973, 0.0050800638198852536, 0.0050728960037231445, 0.0050728960037231445, 0.005105663776397705, 0.005081056118011474 ], "count": 192, "total": 0.9946323509216304, "mean": 0.005180376827716827, "p50": 0.005161472082138061, "p90": 0.005349580764770508, "p95": 0.0054326783895492555, "p99": 0.005684029350280761, "stdev": 0.00013605027821770698, "stdev_": 2.6262621956339243 }, "throughput": { "unit": "samples/s", "value": 193.03615031432665 }, "energy": { "unit": "kWh", "cpu": 5.987898766833578e-08, "ram": 3.27210024607206e-08, "gpu": 3.5488805046464304e-07, "total": 4.474880405936994e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2234696.593619043 } } } }