{ "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": "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": 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 7643 48-Core Processor", "cpu_count": 96, "cpu_ram_mb": 1082028.982272, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "c8d76f6e24e813974534bb204a76658d503b7b1f", "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "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": 898.686976, "max_global_vram": 689.360896, "max_process_vram": 46108.934144, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.2840205078125, "mean": 8.2840205078125, "stdev": 0.0, "p50": 8.2840205078125, "p90": 8.2840205078125, "p95": 8.2840205078125, "p99": 8.2840205078125, "values": [ 8.2840205078125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1069.150208, "max_global_vram": 777.691136, "max_process_vram": 171259.551744, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 165, "total": 0.995734524726868, "mean": 0.006034754695314349, "stdev": 0.00022208414070736318, "p50": 0.00598556900024414, "p90": 0.006125504016876221, "p95": 0.006209312057495117, "p99": 0.006727171688079826, "values": [ 0.006114687919616699, 0.0059700489044189455, 0.0060343689918518064, 0.006032289028167725, 0.006111807823181152, 0.006120128154754639, 0.006103807926177978, 0.006114367961883545, 0.006111649036407471, 0.006104289054870605, 0.006086849212646485, 0.006089888095855713, 0.006099167823791504, 0.006099487781524658, 0.006043008804321289, 0.006025729179382325, 0.0059962887763977055, 0.006016929149627686, 0.0059982089996337895, 0.005956288814544678, 0.0059633288383483885, 0.0059884490966796875, 0.005978689193725586, 0.008361236572265625, 0.006241407871246338, 0.0060313291549682615, 0.00599100923538208, 0.005988608837127685, 0.005981568813323975, 0.006022368907928467, 0.0060202889442443844, 0.006025729179382325, 0.006007809162139893, 0.0060239691734313965, 0.006037088871002197, 0.006025407791137695, 0.006002209186553955, 0.00598556900024414, 0.0060006089210510255, 0.006012448787689209, 0.005954689025878907, 0.005983008861541748, 0.005957728862762452, 0.005975809097290039, 0.005952290058135986, 0.005958690166473389, 0.005972128868103027, 0.006041248798370361, 0.0060657281875610355, 0.00609260892868042, 0.006049889087677002, 0.006035488128662109, 0.006093248844146728, 0.0062082881927490235, 0.006263967037200928, 0.00620956802368164, 0.006105247974395752, 0.0061159682273864745, 0.0061500477790832515, 0.006111008167266846, 0.006076288223266601, 0.006103807926177978, 0.006067968845367431, 0.00606252908706665, 0.006088448047637939, 0.0060694079399108885, 0.006075648784637451, 0.006192768096923828, 0.00614844799041748, 0.006102047920227051, 0.0060575690269470215, 0.006053728103637695, 0.0060118088722229, 0.006129087924957276, 0.006194528102874756, 0.006184288024902344, 0.00654348611831665, 0.00631516695022583, 0.007053723812103271, 0.0061710081100463865, 0.005965888977050781, 0.0059958090782165525, 0.005939169883728028, 0.005936130046844483, 0.005935490131378174, 0.006013568878173828, 0.005921410083770752, 0.005917729854583741, 0.005959488868713379, 0.0059102091789245605, 0.005892929077148438, 0.005937250137329102, 0.00592156982421875, 0.005910529136657715, 0.005905249118804932, 0.00595884895324707, 0.006418046951293946, 0.005918529033660889, 0.0059345288276672365, 0.0059505290985107425, 0.0059559688568115235, 0.005975489139556885, 0.00601340913772583, 0.0059492487907409665, 0.005869729042053223, 0.005941568851470947, 0.005940128803253173, 0.0063620471954345705, 0.005946528911590576, 0.005955328941345215, 0.00595228910446167, 0.005941089153289795, 0.005923490047454834, 0.005938049793243408, 0.005965089797973633, 0.00595980978012085, 0.0059657301902770994, 0.005931650161743164, 0.005950049877166748, 0.0059438090324401855, 0.005939168930053711, 0.005943008899688721, 0.005961568832397461, 0.005957569122314453, 0.0059914889335632325, 0.005954848766326904, 0.005921248912811279, 0.0059345288276672365, 0.00594460916519165, 0.005993568897247314, 0.005924929141998291, 0.0059418888092041015, 0.005928769111633301, 0.006058528900146485, 0.0059866890907287595, 0.005990688800811768, 0.00592588996887207, 0.005946529865264893, 0.005940929889678955, 0.005942368984222412, 0.005957249164581299, 0.005975648880004882, 0.005946689128875733, 0.005951329231262207, 0.0059010891914367675, 0.006010529041290283, 0.005963648796081543, 0.005957569122314453, 0.00592444896697998, 0.005962049007415772, 0.005955648899078369, 0.0059670090675354006, 0.005980769157409668, 0.005992128849029541, 0.005946529865264893, 0.005943329811096192, 0.006004128932952881, 0.006006848812103271, 0.00594684886932373, 0.00597468900680542, 0.0059346890449523924, 0.005980928897857666, 0.00594844913482666, 0.005993568897247314, 0.005939648151397705 ] }, "throughput": { "unit": "samples/s", "value": 165.7068183362025 }, "energy": null, "efficiency": null } } }