{ "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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-211.872.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.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": 827.244544, "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.41553466796875, "mean": 7.41553466796875, "stdev": 0.0, "p50": 7.41553466796875, "p90": 7.41553466796875, "p95": 7.41553466796875, "p99": 7.41553466796875, "values": [ 7.41553466796875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4683803124998781e-06, "ram": 7.89012231405199e-07, "gpu": 1.6272235240002292e-06, "total": 3.884616067905306e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.63616, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 189, "total": 0.9961772809028628, "mean": 0.00527077926403631, "stdev": 0.0001806385411923335, "p50": 0.005235712051391602, "p90": 0.005507891368865967, "p95": 0.005612953567504883, "p99": 0.005869076442718507, "values": [ 0.005768191814422607, 0.005548031806945801, 0.0057077760696411135, 0.005534656047821045, 0.00551526403427124, 0.005607423782348633, 0.005497856140136719, 0.005556159973144531, 0.005272575855255127, 0.005256192207336426, 0.005282815933227539, 0.005228544235229492, 0.005190656185150146, 0.005246975898742676, 0.005306367874145508, 0.005239808082580567, 0.005448671817779541, 0.00537395191192627, 0.005312511920928955, 0.005408703804016113, 0.005189631938934326, 0.005257215976715088, 0.005249023914337158, 0.005294079780578613, 0.005241856098175048, 0.0052674560546875, 0.005302271842956543, 0.0051701760292053225, 0.005276671886444092, 0.005242879867553711, 0.0052674560546875, 0.005848063945770264, 0.005781504154205322, 0.006149119853973388, 0.005650400161743164, 0.005504960060119629, 0.005602303981781006, 0.0054568958282470706, 0.005485568046569824, 0.005506048202514649, 0.005470208168029785, 0.005616640090942383, 0.005260223865509033, 0.005422080039978027, 0.0051363840103149415, 0.005082111835479736, 0.005115903854370117, 0.005165056228637695, 0.005189631938934326, 0.00517628812789917, 0.005190656185150146, 0.005216256141662597, 0.005341184139251709, 0.005465087890625, 0.005326848030090332, 0.005269504070281982, 0.005256192207336426, 0.005305344104766845, 0.005265408039093018, 0.005241856098175048, 0.005296127796173096, 0.00516096019744873, 0.005155839920043945, 0.005268479824066162, 0.005248000144958496, 0.005238783836364746, 0.006023168087005615, 0.005253087997436523, 0.005315584182739258, 0.005303199768066406, 0.005146624088287354, 0.0051066880226135255, 0.005191679954528809, 0.005214208126068115, 0.00516703987121582, 0.005273600101470947, 0.005280831813812256, 0.0051701760292053225, 0.005152768135070801, 0.005191679954528809, 0.005169055938720703, 0.005184512138366699, 0.005232639789581299, 0.005196767807006836, 0.005187583923339844, 0.005214208126068115, 0.005221375942230225, 0.005272575855255127, 0.0053309440612792965, 0.005318655967712403, 0.005594111919403076, 0.0056258559226989744, 0.005601280212402344, 0.005525504112243652, 0.0052633600234985355, 0.005235712051391602, 0.00532480001449585, 0.005182464122772217, 0.005078015804290771, 0.00522649621963501, 0.005194752216339111, 0.00510368013381958, 0.005062655925750732, 0.0051333122253417966, 0.005056511878967285, 0.004968448162078858, 0.005007359981536865, 0.005168064117431641, 0.005089280128479004, 0.004973567962646484, 0.0049203200340270994, 0.0049387521743774416, 0.004921343803405762, 0.004904960155487061, 0.004952095985412598, 0.005434368133544922, 0.0052633600234985355, 0.005210112094879151, 0.005330880165100097, 0.005322751998901368, 0.005471231937408447, 0.005433343887329102, 0.0052008957862854, 0.005331967830657959, 0.005750783920288086, 0.005278719902038574, 0.005250048160552978, 0.005276671886444092, 0.00522649621963501, 0.00526643180847168, 0.005232639789581299, 0.005202976226806641, 0.005262335777282715, 0.0052367358207702636, 0.005188608169555664, 0.0051968002319335935, 0.00521727991104126, 0.005179391860961914, 0.005182464122772217, 0.005219327926635742, 0.005224448204040527, 0.005213183879852295, 0.005315584182739258, 0.005210112094879151, 0.005213183879852295, 0.005312511920928955, 0.005264383792877197, 0.005314527988433838, 0.005146624088287354, 0.005142528057098389, 0.005096447944641113, 0.005092351913452148, 0.005192704200744629, 0.005090303897857666, 0.005091328144073487, 0.005201920032501221, 0.005102591991424561, 0.005138432025909424, 0.00511078405380249, 0.00515174388885498, 0.005100607872009277, 0.00515174388885498, 0.0051968002319335935, 0.005201920032501221, 0.005180416107177735, 0.0051998720169067385, 0.0051998720169067385, 0.005185535907745361, 0.00517632007598877, 0.0052367358207702636, 0.005231616020202637, 0.005322751998901368, 0.005245952129364013, 0.005188608169555664, 0.005194752216339111, 0.005202943801879883, 0.00521830415725708, 0.005181439876556396, 0.005210112094879151, 0.005204991817474365, 0.005352447986602784, 0.005254144191741943, 0.0052367358207702636, 0.00522649621963501, 0.005285888195037842, 0.0052111358642578124, 0.005248000144958496, 0.0051773438453674315, 0.005262335777282715 ] }, "throughput": { "unit": "samples/s", "value": 189.72526639907323 }, "energy": { "unit": "kWh", "cpu": 6.09410625142443e-08, "ram": 3.331850177994124e-08, "gpu": 3.463264878871798e-07, "total": 4.405860521813654e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2269704.1702726306 } } } }