{ "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", "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": "b04fb3c909a5873eadf03d7b46ccfac63afcdf9e", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 1060.528128, "max_global_vram": 1758.830592, "max_process_vram": 215733.94432, "max_reserved": 406.847488, "max_allocated": 355.912704 }, "latency": { "unit": "s", "count": 151, "total": 0.9994277954101566, "mean": 0.0066187271219215645, "stdev": 0.00019070569482818552, "p50": 0.006602252960205078, "p90": 0.006815854072570801, "p95": 0.006882734060287476, "p99": 0.007109134435653686, "values": [ 0.006629453182220459, 0.00667505407333374, 0.00673185396194458, 0.006491693019866943, 0.006487692832946777, 0.006479214191436768, 0.006442893028259278, 0.006462732791900635, 0.006452013015747071, 0.006446252822875977, 0.006532494068145752, 0.006492173194885254, 0.006630894184112549, 0.006462253093719482, 0.006436973094940185, 0.006535212993621826, 0.00644001293182373, 0.006477293014526367, 0.006476333141326904, 0.006408012866973877, 0.006443213939666748, 0.0066001729965209964, 0.0064883332252502444, 0.0064702539443969725, 0.006473612785339355, 0.006408012866973877, 0.006500012874603271, 0.006502254009246826, 0.006444013118743897, 0.006461772918701172, 0.006448653221130371, 0.006461133003234863, 0.006508653163909912, 0.006515852928161621, 0.006493292808532715, 0.006445133209228516, 0.006622252941131591, 0.006504653930664062, 0.006485453128814697, 0.006465932846069336, 0.006526733875274658, 0.006479372978210449, 0.006420972824096679, 0.0064363331794738765, 0.006434733867645264, 0.006407372951507569, 0.0064056129455566406, 0.006428173065185547, 0.006431373119354248, 0.006475533008575439, 0.006475694179534912, 0.006625292778015136, 0.006424172878265381, 0.006426253795623779, 0.006395052909851074, 0.006423373222351075, 0.006408012866973877, 0.0064148931503295896, 0.006454092979431152, 0.006477773189544678, 0.0064984130859375, 0.006552813053131104, 0.006480974197387695, 0.006478733062744141, 0.006435213088989258, 0.00640289306640625, 0.006449613094329834, 0.006452013015747071, 0.006438892841339111, 0.006478892803192139, 0.006618093967437744, 0.006649612903594971, 0.0067100939750671384, 0.00653937292098999, 0.006510414123535156, 0.007969136238098145, 0.007209455013275147, 0.006597454071044922, 0.006681932926177979, 0.006658093929290771, 0.006689774036407471, 0.006679693222045899, 0.006668814182281494, 0.006661613941192627, 0.0066097731590271, 0.006700493812561035, 0.006632493019104004, 0.006740492820739746, 0.006581133842468262, 0.006688492774963379, 0.006602252960205078, 0.006676174163818359, 0.006592173099517823, 0.006594573974609375, 0.006696173191070557, 0.006609612941741943, 0.006609293937683105, 0.006760333061218262, 0.006784654140472412, 0.006675693988800049, 0.006594254016876221, 0.006743213176727295, 0.006706734180450439, 0.006879374027252198, 0.006587852954864502, 0.006886094093322754, 0.006815854072570801, 0.006752334117889404, 0.006618093967437744, 0.006601293087005616, 0.0067620940208435055, 0.006650413990020752, 0.0066400132179260255, 0.006620334148406982, 0.006664012908935547, 0.00661681318283081, 0.00664017391204834, 0.00662673282623291, 0.0069371337890625, 0.00673569393157959, 0.006658894062042236, 0.006652973175048828, 0.006588333129882813, 0.006659694194793701, 0.006672012805938721, 0.006601294040679931, 0.006637133121490478, 0.006767693042755127, 0.006801134109497071, 0.0068041739463806155, 0.006844813823699951, 0.006799694061279297, 0.0069515337944030765, 0.006872494220733643, 0.006916654109954834, 0.007008813858032227, 0.0069064140319824215, 0.006824813842773438, 0.006778573989868164, 0.0068518538475036625, 0.006805933952331543, 0.0068116941452026365, 0.006772813796997071, 0.006783534049987793, 0.006837294101715088, 0.006817453861236572, 0.006793613910675049, 0.00677169418334961, 0.006798573970794678, 0.00679297399520874, 0.006794891834259033 ] }, "throughput": { "unit": "samples/s", "value": 151.08645236150446 }, "energy": null, "efficiency": null } } }