{ "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": "dd02f26cb819965cbf86e16d9ce013cddc3b86af", "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.753408, "max_global_vram": 777.728, "max_process_vram": 157938.450432, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 146, "total": 0.9978162469863896, "mean": 0.0068343578560711585, "stdev": 0.0002542293508798619, "p50": 0.006771349430084228, "p90": 0.007052789449691772, "p95": 0.00727462911605835, "p99": 0.00804559588432312, "values": [ 0.008044628143310547, 0.008046387672424316, 0.008145907402038573, 0.007576309204101563, 0.0068315091133117675, 0.006827990055084229, 0.006792308807373047, 0.006790550231933594, 0.006913589000701904, 0.006890069961547851, 0.006691989898681641, 0.0070636701583862305, 0.006771348953247071, 0.006679830074310303, 0.006698870182037354, 0.006728950023651123, 0.00673790979385376, 0.00671215009689331, 0.00679902982711792, 0.00674878978729248, 0.00671983003616333, 0.006733749866485596, 0.006810869216918945, 0.006781109809875488, 0.006731029987335205, 0.00673838996887207, 0.006770870208740234, 0.006735030174255371, 0.006731190204620361, 0.006771349906921386, 0.006725590229034423, 0.006757750034332276, 0.006719510078430176, 0.0066967902183532714, 0.006731188774108886, 0.0067223901748657226, 0.006694230079650879, 0.006839189052581787, 0.006797589778900146, 0.006774069786071778, 0.006769430160522461, 0.006830550193786621, 0.006815509796142578, 0.006846069812774658, 0.0068484687805175784, 0.006831989765167236, 0.006968149185180664, 0.006987029075622558, 0.006886069774627686, 0.006841269016265869, 0.006911029815673828, 0.006942708969116211, 0.006894228935241699, 0.006841909885406494, 0.0069356689453125, 0.006955989837646484, 0.006917748928070068, 0.006868628978729248, 0.007004789829254151, 0.007043828964233398, 0.00708142900466919, 0.007147189140319824, 0.007257588863372803, 0.007245429039001465, 0.0072907090187072756, 0.007352468013763428, 0.007280309200286866, 0.007055830001831054, 0.006956470012664795, 0.006896789073944092, 0.006869589805603028, 0.00682814884185791, 0.006813109874725342, 0.006863509178161621, 0.006793749809265137, 0.006852950096130371, 0.006869430065155029, 0.006818389892578125, 0.006798389911651611, 0.006824629783630371, 0.006830069065093994, 0.006780630111694336, 0.006754068851470947, 0.007005589962005615, 0.00705790901184082, 0.006924468994140625, 0.006911509990692138, 0.0070497488975524904, 0.006930869102478027, 0.006828470230102539, 0.00684830904006958, 0.006793270111083985, 0.006763510227203369, 0.006720788955688476, 0.006793910026550293, 0.00680334997177124, 0.006750228881835937, 0.00671215009689331, 0.006720789909362793, 0.006765109062194824, 0.006738709926605225, 0.006738070011138916, 0.006758228778839111, 0.0067663898468017574, 0.00664447021484375, 0.006761270046234131, 0.0077262282371521, 0.006861909866333008, 0.006771028995513916, 0.006707190036773681, 0.006701910018920899, 0.006806869983673095, 0.006730868816375733, 0.006717430114746094, 0.006716790199279785, 0.006649109840393066, 0.006657909870147705, 0.006669909954071045, 0.006629270076751709, 0.006645430088043213, 0.006686230182647705, 0.006666869163513184, 0.0066331100463867185, 0.0066668701171875, 0.006674230098724365, 0.006622389793395996, 0.00664286994934082, 0.006645750045776367, 0.006678390026092529, 0.006599349975585938, 0.006616310119628906, 0.006600790023803711, 0.006651830196380615, 0.006651988983154297, 0.00661391019821167, 0.0066067099571228026, 0.006637110233306885, 0.006579189777374267, 0.00658030891418457, 0.0065950298309326175, 0.006626870155334473, 0.00662047004699707, 0.006601270198822022, 0.006619830131530762, 0.006623670101165772, 0.00662047004699707 ] }, "throughput": { "unit": "samples/s", "value": 146.31952570520886 }, "energy": null, "efficiency": null } } }