{ "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.3.0", "optimum_benchmark_commit": "19eeac52e408e408898ac1fac3d9abefced0131b", "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.937728, "max_global_vram": 777.719808, "max_process_vram": 146428.735488, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 165, "total": 0.9937193074226381, "mean": 0.006022541257106898, "stdev": 0.00020952189540402268, "p50": 0.005965580940246582, "p90": 0.006230637073516845, "p95": 0.006434731960296631, "p99": 0.006813444614410398, "values": [ 0.006929258823394776, 0.006145101070404052, 0.005951821804046631, 0.005977581024169922, 0.0059699020385742185, 0.005972621917724609, 0.005989261150360107, 0.005970221042633056, 0.005892782211303711, 0.005936460971832275, 0.005948781967163086, 0.0061609411239624025, 0.005935341835021973, 0.00594766092300415, 0.005969421863555908, 0.005966540813446045, 0.005929901123046875, 0.00597038221359253, 0.005954061031341553, 0.005937901020050049, 0.005968461990356446, 0.0059865407943725584, 0.005921741008758545, 0.005946702003479004, 0.005961740970611572, 0.005987660884857178, 0.006004302024841308, 0.005971021175384521, 0.005953421115875244, 0.006000461101531983, 0.005958382129669189, 0.005981581211090088, 0.005953741073608398, 0.005982701778411865, 0.005991021156311035, 0.006014541149139404, 0.0059865407943725584, 0.0060171008110046385, 0.005928142070770264, 0.005969901084899903, 0.0059289422035217285, 0.00601422119140625, 0.0059975810050964355, 0.005949262142181396, 0.005971981048583984, 0.0059315009117126465, 0.0059790220260620116, 0.005935660839080811, 0.005929262161254883, 0.005980941772460937, 0.005959821224212646, 0.005940621852874756, 0.005943821907043457, 0.005931820869445801, 0.005893901824951172, 0.006118540763854981, 0.005933101177215576, 0.005909421920776367, 0.005890700817108154, 0.005906861782073974, 0.0058820610046386715, 0.005907822132110596, 0.005899820804595947, 0.005966862201690674, 0.005913580894470215, 0.0059455809593200685, 0.005924141883850097, 0.005936141014099121, 0.005960782051086425, 0.005921101093292237, 0.005915502071380615, 0.005927340984344482, 0.005944460868835449, 0.0059227018356323245, 0.005924460887908936, 0.005942222118377686, 0.005917740821838379, 0.005949741840362549, 0.00592286205291748, 0.0059475011825561525, 0.005923821926116944, 0.005955020904541016, 0.005913581848144531, 0.005936301231384277, 0.0059475011825561525, 0.005949902057647705, 0.0059425411224365236, 0.006027181148529053, 0.005951181888580322, 0.0059718208312988285, 0.005899662017822265, 0.005927502155303955, 0.005884942054748535, 0.005913102149963379, 0.00594542121887207, 0.0059159817695617675, 0.005931981086730957, 0.005876461982727051, 0.005947821140289307, 0.005934701919555664, 0.00590622091293335, 0.005913742065429687, 0.006365739822387696, 0.006715339183807373, 0.006579500198364258, 0.006669260025024414, 0.007529895782470703, 0.00674829912185669, 0.006503180027008056, 0.006431819915771485, 0.0062771010398864745, 0.006354859828948975, 0.00643533992767334, 0.006289100170135498, 0.006520939826965332, 0.0063884611129760745, 0.006358221054077149, 0.006432300090789795, 0.005978702068328857, 0.005949581146240234, 0.005947021961212158, 0.0059979019165039065, 0.005948620796203613, 0.006007181167602539, 0.005999182224273682, 0.005979822158813476, 0.006020620822906494, 0.0059572610855102535, 0.006004140853881836, 0.005965581893920898, 0.00600222110748291, 0.00597118091583252, 0.0060047821998596195, 0.005973422050476075, 0.005965421199798584, 0.005977420806884765, 0.005964141845703125, 0.006001101016998291, 0.005989901065826416, 0.005968461990356446, 0.005953581809997559, 0.005957100868225098, 0.0060030207633972165, 0.0059839820861816405, 0.005973421096801758, 0.005958701133728027, 0.006006220817565918, 0.005985901832580566, 0.005959980964660645, 0.005972781181335449, 0.005979341983795166, 0.005961101055145263, 0.0059975810050964355, 0.0059884610176086425, 0.005998382091522217, 0.005965580940246582, 0.005984140872955322, 0.006005101203918457, 0.00602222204208374, 0.005971181869506836, 0.005957581043243408, 0.005963181972503662, 0.0059839820861816405, 0.005967020034790039, 0.005969261169433594 ] }, "throughput": { "unit": "samples/s", "value": 166.0428641846082 }, "energy": null, "efficiency": null } } }