{ "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": "2d3261cf9b992810a685ce736f41254a91cd091e", "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.735872, "max_global_vram": 778.432512, "max_process_vram": 200362.385408, "max_reserved": 406.847488, "max_allocated": 355.912704 }, "latency": { "unit": "s", "count": 141, "total": 0.9998659577369686, "mean": 0.007091247927212546, "stdev": 9.561821469752673e-05, "p50": 0.0070593500137329105, "p90": 0.0072398300170898435, "p95": 0.007272950172424316, "p99": 0.007387381744384766, "values": [ 0.007120629787445068, 0.007182229995727539, 0.00718350887298584, 0.00734542989730835, 0.007454390048980713, 0.007308949947357177, 0.007294549942016602, 0.0072679901123046875, 0.007274709224700928, 0.007414070129394532, 0.007041590213775635, 0.006953589916229248, 0.007238870143890381, 0.006961750030517578, 0.0070123100280761715, 0.007009910106658935, 0.007043990135192871, 0.007082230091094971, 0.007009429931640625, 0.007034389972686767, 0.007040151119232178, 0.0070695910453796385, 0.007025590896606445, 0.007053110122680664, 0.007015190124511719, 0.007011030197143555, 0.007066070079803467, 0.0072398300170898435, 0.0072603092193603514, 0.007219510078430176, 0.007149109840393067, 0.0070783901214599605, 0.007020790100097657, 0.007030550003051758, 0.007024950027465821, 0.007057270050048828, 0.007076630115509033, 0.007045430183410644, 0.007007830142974854, 0.0070715098381042485, 0.007050549983978272, 0.0070955100059509274, 0.007091989994049072, 0.006984789848327636, 0.00704734992980957, 0.007045430183410644, 0.007027511119842529, 0.007027990818023681, 0.007024630069732666, 0.007028629779815674, 0.007037109851837158, 0.007032790184020996, 0.007017590045928955, 0.00704350996017456, 0.007057270050048828, 0.00704350996017456, 0.0070881500244140624, 0.007126389980316162, 0.007043670177459717, 0.007017749786376953, 0.007059510231018066, 0.007049749851226807, 0.007029109954833984, 0.007067190170288086, 0.007112470149993897, 0.007117909908294678, 0.007271510124206543, 0.007184150218963623, 0.0070593500137329105, 0.0070971097946167, 0.0071070299148559574, 0.007220950126647949, 0.00719359016418457, 0.007272950172424316, 0.007247829914093017, 0.007181270122528076, 0.007180789947509766, 0.00718350887298584, 0.00719966983795166, 0.007270549774169922, 0.00720398998260498, 0.007154550075531006, 0.007139830112457275, 0.0070899100303649905, 0.007100150108337402, 0.007055669784545898, 0.007069910049438476, 0.0070636701583862305, 0.00705390977859497, 0.007041110038757324, 0.007002389907836914, 0.007085909843444824, 0.0070948700904846194, 0.007347349166870117, 0.007271349906921387, 0.007235829830169678, 0.007148469924926758, 0.007094230175018311, 0.00712766981124878, 0.007101270198822021, 0.007113430023193359, 0.0070788698196411134, 0.007050710201263428, 0.007093110084533691, 0.007002551078796387, 0.007142229080200195, 0.007043991088867187, 0.007121429920196533, 0.007083829879760742, 0.007055190086364746, 0.007059191226959229, 0.007064950942993164, 0.007072471141815186, 0.007074230194091797, 0.007051829814910889, 0.007072949886322021, 0.0070471901893615725, 0.007044310092926025, 0.007030230045318603, 0.0070172700881958, 0.007050710201263428, 0.007048470020294189, 0.0070123100280761715, 0.006973909854888916, 0.007002709865570068, 0.0070214300155639646, 0.007072629928588867, 0.007030869960784912, 0.007076630115509033, 0.007058869838714599, 0.007018071174621582, 0.006961909770965577, 0.006977749824523926, 0.007015349864959716, 0.006998869895935058, 0.006983988761901856, 0.0069865498542785644, 0.006979990959167481, 0.006979990959167481, 0.006966390132904053, 0.007010869979858399 ] }, "throughput": { "unit": "samples/s", "value": 141.0189024928203 }, "energy": null, "efficiency": null } } }