{ "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", "model": "google/vit-base-patch16-224", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "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.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1062.670336, "max_global_vram": 778.469376, "max_process_vram": 209335.001088, "max_reserved": 406.847488, "max_allocated": 355.912704 }, "latency": { "unit": "s", "count": 143, "total": 0.9990407528877254, "mean": 0.006986298971242837, "stdev": 0.0001443188814090477, "p50": 0.006934846878051758, "p90": 0.007149181747436523, "p95": 0.007313628101348877, "p99": 0.007505675249099732, "values": [ 0.006942845821380615, 0.007180604934692383, 0.007111485004425049, 0.0073497238159179685, 0.007481083869934082, 0.00752348279953003, 0.007455644130706787, 0.007475004196166992, 0.007381723880767822, 0.007321084022521972, 0.007548762798309326, 0.007246524810791016, 0.0071033258438110355, 0.007045566082000732, 0.007053246021270752, 0.006943486213684082, 0.006884127140045166, 0.006886847019195556, 0.006859167098999024, 0.006889246940612793, 0.006915326118469238, 0.006969245910644531, 0.006926365852355957, 0.006936446189880371, 0.006874046802520752, 0.006913725852966309, 0.006844606876373291, 0.0069386868476867675, 0.006914525985717773, 0.006893246173858642, 0.006950205802917481, 0.00695948600769043, 0.006927486896514893, 0.006968286991119385, 0.006970046997070312, 0.00697516679763794, 0.006980125904083252, 0.0069804458618164065, 0.006936286926269531, 0.006927486896514893, 0.006871325969696045, 0.006905726909637451, 0.006955326080322266, 0.006953566074371338, 0.006881566047668457, 0.0069706859588623046, 0.006882846832275391, 0.006891646862030029, 0.006857087135314941, 0.006958207130432129, 0.006931807041168213, 0.0069130859375, 0.0069130859375, 0.006920445919036866, 0.006903807163238526, 0.006994845867156982, 0.00696908712387085, 0.006927166938781738, 0.006939645767211914, 0.006991806030273437, 0.00690540599822998, 0.006910366058349609, 0.006935006141662598, 0.006928606986999512, 0.006905887126922607, 0.006901725769042969, 0.006863966941833496, 0.006896286964416504, 0.00695996618270874, 0.007136925220489502, 0.007140604972839355, 0.00717148494720459, 0.007081884860992432, 0.007000606060028076, 0.007147005081176758, 0.007090365886688233, 0.007124125957489014, 0.00711084508895874, 0.0070540461540222164, 0.007067485809326172, 0.007103324890136719, 0.007208765029907227, 0.007125085830688477, 0.007149725914001465, 0.007080605983734131, 0.007035165786743164, 0.007005886077880859, 0.006896286964416504, 0.006956285953521728, 0.006862686157226562, 0.006885087013244629, 0.006934045791625976, 0.006912605762481689, 0.006877087116241455, 0.006843007087707519, 0.006908445835113525, 0.006909566879272461, 0.006879967212677002, 0.006884925842285157, 0.007120766162872314, 0.0071666851043701175, 0.00717420482635498, 0.007039004802703857, 0.006972445964813233, 0.006934846878051758, 0.006939486980438232, 0.006928926944732666, 0.006963645935058594, 0.0069663658142089845, 0.006972286224365234, 0.00694364595413208, 0.0069138860702514645, 0.006944126129150391, 0.006881086826324463, 0.006894365787506103, 0.006926846027374267, 0.006875967025756836, 0.0068996472358703615, 0.0068814058303833005, 0.006894207000732422, 0.006886846065521241, 0.00689212703704834, 0.006879167079925537, 0.007129724979400635, 0.007118205070495606, 0.0071254057884216305, 0.006903326988220214, 0.006890845775604248, 0.006922206878662109, 0.006946207046508789, 0.006916767120361328, 0.006866846084594726, 0.0068623671531677245, 0.0068497262001037595, 0.006874046802520752, 0.0068759660720825195, 0.006901247024536133, 0.006893086910247803, 0.006881246089935303, 0.006918207168579101, 0.006835165977478027, 0.006860126972198486, 0.006869886875152588 ] }, "throughput": { "unit": "samples/s", "value": 143.13730404556443 }, "energy": null, "efficiency": null } } }