{ "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_type": "vit", "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": {}, "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, "memory": true, "latency": 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.1", "optimum_benchmark_commit": "61123f7169ae188508e9e8c5ca6b9a54a00965ed", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 899.018752, "max_global_vram": 689.3568, "max_process_vram": 41802.248192, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.03915283203125, "mean": 7.03915283203125, "stdev": 0.0, "p50": 7.03915283203125, "p90": 7.03915283203125, "p95": 7.03915283203125, "p99": 7.03915283203125, "values": [ 7.03915283203125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1069.051904, "max_global_vram": 777.674752, "max_process_vram": 177232.62976, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 150, "total": 0.9950351243019105, "mean": 0.00663356749534607, "stdev": 0.0003941070796987842, "p50": 0.006557502031326294, "p90": 0.006957916021347046, "p95": 0.007000836420059204, "p99": 0.007802378201484673, "values": [ 0.0068644599914550785, 0.0066095819473266605, 0.006765100955963135, 0.006873579978942871, 0.006838060855865478, 0.006858860015869141, 0.006753261089324951, 0.006786860942840576, 0.006755821228027344, 0.006651501178741455, 0.006613420963287354, 0.006555982112884521, 0.006592620849609375, 0.006707981109619141, 0.006453422069549561, 0.006406702041625976, 0.006395182132720947, 0.006396302223205566, 0.006365101814270019, 0.0063777418136596676, 0.006351181983947754, 0.006371821880340576, 0.006349421977996826, 0.006349421977996826, 0.006362222194671631, 0.00637326192855835, 0.0063631820678710935, 0.006306702136993408, 0.006572301864624023, 0.006452301979064942, 0.006419822216033936, 0.006954380989074707, 0.00648510217666626, 0.0065406222343444825, 0.009502532958984376, 0.007418859004974365, 0.00691054105758667, 0.006937260150909424, 0.006934700965881347, 0.006944459915161133, 0.006900300025939941, 0.006871020793914795, 0.0068961410522460935, 0.006887180805206299, 0.0069033408164978025, 0.006903820991516113, 0.006936941146850586, 0.006939820766448975, 0.006912779808044433, 0.006972620964050293, 0.006894219875335694, 0.007020461082458496, 0.006918540954589844, 0.006945899963378906, 0.006929261207580566, 0.006941579818725586, 0.006903020858764648, 0.006947659969329834, 0.00693294095993042, 0.006956459999084473, 0.006939179897308349, 0.006918701171875, 0.006935180187225342, 0.006946381092071533, 0.006935019969940185, 0.006907501220703125, 0.0069519801139831545, 0.006922861099243164, 0.006937420845031738, 0.006936620235443116, 0.006975181102752685, 0.00698878002166748, 0.0069519801139831545, 0.006999341011047364, 0.006991980075836182, 0.0070375800132751465, 0.008170857429504394, 0.007061260223388672, 0.007055019855499268, 0.0063324618339538575, 0.006303182125091553, 0.0063567829132080075, 0.006289262771606446, 0.006298701763153076, 0.006277262210845947, 0.006303342819213867, 0.006333902835845947, 0.006286221981048584, 0.0062916622161865235, 0.006269581794738769, 0.006288942813873291, 0.006288142204284668, 0.006260622024536133, 0.006272623062133789, 0.006315342903137207, 0.006270542144775391, 0.00627550220489502, 0.0062731032371520995, 0.006279821872711182, 0.006295502185821533, 0.006289422035217285, 0.006307503223419189, 0.006289902210235595, 0.00630062198638916, 0.00624494218826294, 0.006298381805419922, 0.006309903144836425, 0.006290542125701904, 0.0063063821792602535, 0.006242221832275391, 0.006247823238372803, 0.006235822200775147, 0.006289902210235595, 0.0069247808456420895, 0.006981100082397461, 0.006816940784454346, 0.006680621147155762, 0.0063820619583129885, 0.006559021949768066, 0.00659486198425293, 0.006971020221710205, 0.0069297409057617184, 0.0070020599365234375, 0.006734381198883057, 0.0064671821594238284, 0.006631021022796631, 0.006504141807556153, 0.006507980823516846, 0.0065867018699646, 0.0064647808074951175, 0.006548141956329346, 0.006464622020721436, 0.006207982063293457, 0.006240142822265625, 0.006256621837615967, 0.006298222064971924, 0.006283983230590821, 0.006209423065185547, 0.006248301982879638, 0.006266703128814697, 0.00623518180847168, 0.006285262107849121, 0.00625182294845581, 0.006550540924072265, 0.006528461933135986, 0.006694060802459717, 0.006574380874633789, 0.00651950216293335, 0.006682380199432373, 0.006536622047424317 ] }, "throughput": { "unit": "samples/s", "value": 150.7484473025371 }, "energy": null, "efficiency": null } } }