{ "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": "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": {}, "hub_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, "latency": true, "memory": 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.236096, "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.2.1", "optimum_benchmark_commit": "c594845efb520077430f4fe3f536bc1756e2b290", "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1060.855808, "max_global_vram": 777.736192, "max_process_vram": 154743.304192, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 153, "total": 0.9986015219688418, "mean": 0.0065268073331296835, "stdev": 0.00042445439490442107, "p50": 0.006393097877502442, "p90": 0.006851784801483154, "p95": 0.0068859919548034665, "p99": 0.008006980552673338, "values": [ 0.006613576889038086, 0.0066006178855895995, 0.006574057102203369, 0.006394698143005371, 0.006517577171325684, 0.006289258003234864, 0.00625373888015747, 0.0062857379913330074, 0.00626157808303833, 0.006332939147949219, 0.006254539012908935, 0.006532617092132568, 0.006224938869476318, 0.006265738010406494, 0.006225899219512939, 0.006202699184417725, 0.006165739059448242, 0.006230378150939941, 0.006203339099884033, 0.006189258098602295, 0.006219499111175537, 0.006203658103942871, 0.00618989896774292, 0.006224617958068847, 0.00623677921295166, 0.006268938064575195, 0.0063143777847290035, 0.0063394980430603026, 0.006295979022979736, 0.006375978946685791, 0.00630125904083252, 0.006299498081207275, 0.006340938091278076, 0.006393097877502442, 0.006332458019256592, 0.0063284578323364255, 0.006348777770996094, 0.006348618030548096, 0.006334537982940674, 0.0062801380157470705, 0.0062468581199646, 0.006274538993835449, 0.00786909294128418, 0.006645417213439942, 0.006205419063568115, 0.0061449379920959476, 0.006159179210662842, 0.0061148591041564945, 0.006119178771972656, 0.0061050992012023925, 0.0062894182205200195, 0.006105898857116699, 0.009469246864318848, 0.00719181489944458, 0.006883495807647705, 0.0068228569030761715, 0.006868135929107666, 0.0068407759666442875, 0.006798536777496338, 0.006809576034545899, 0.006833257198333741, 0.006822535991668701, 0.006824456214904785, 0.006857256889343261, 0.006878536224365234, 0.0068414158821105955, 0.006818377017974854, 0.006797416210174561, 0.006823176860809326, 0.00682349681854248, 0.0068249359130859374, 0.006805256843566894, 0.006844456195831299, 0.00682941722869873, 0.006848456859588623, 0.0061098990440368655, 0.0061689381599426265, 0.006071498870849609, 0.006104458808898925, 0.006121259212493896, 0.006107018947601318, 0.0061050992012023925, 0.0061343789100646974, 0.006115179061889648, 0.0061079788208007815, 0.006092618942260742, 0.006087658882141113, 0.006083018779754638, 0.006032779216766358, 0.0061129388809204105, 0.0063418979644775395, 0.0060695791244506836, 0.006079658985137939, 0.00606157922744751, 0.006791817188262939, 0.006832456111907959, 0.00682893705368042, 0.0065028581619262695, 0.006270058155059814, 0.0066943769454956056, 0.006823816776275635, 0.0068218960762023925, 0.006843175888061524, 0.006852616786956787, 0.006784296989440918, 0.0068575758934021, 0.007927493095397949, 0.006871656894683838, 0.00688973617553711, 0.006786856174468994, 0.006799177169799804, 0.006799496173858642, 0.006803496837615967, 0.0067986960411071775, 0.007007336139678955, 0.006857097148895264, 0.006807177066802978, 0.006762856960296631, 0.006789416790008545, 0.006839975833892822, 0.0068081369400024416, 0.0067742161750793456, 0.006835816860198974, 0.006804935932159424, 0.006767336845397949, 0.00809309196472168, 0.00711373519897461, 0.006543978214263916, 0.006534058094024658, 0.006490217208862305, 0.006471658229827881, 0.006448138236999512, 0.006445736885070801, 0.006433897972106933, 0.0064031782150268555, 0.006418377876281738, 0.006418538093566894, 0.00639917802810669, 0.006439658164978027, 0.006390538215637207, 0.006391178131103516, 0.006398218154907227, 0.006370378017425537, 0.0063726181983947755, 0.0063535780906677245, 0.006366858005523682, 0.006366697788238526, 0.006360777854919434, 0.006368618011474609, 0.006333578109741211, 0.006352296829223633, 0.006388457775115966, 0.00635933780670166 ] }, "throughput": { "unit": "samples/s", "value": 153.2142667861605 }, "energy": null, "efficiency": null } } }