{ "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.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 900.612096, "max_global_vram": 689.3568, "max_process_vram": 47075.782656, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.17821484375, "mean": 7.17821484375, "stdev": 0.0, "p50": 7.17821484375, "p90": 7.17821484375, "p95": 7.17821484375, "p99": 7.17821484375, "values": [ 7.17821484375 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1070.546944, "max_global_vram": 777.05216, "max_process_vram": 172772.708352, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 157, "total": 0.9957800683975225, "mean": 0.006342548206353644, "stdev": 0.00032880941361050793, "p50": 0.006368940830230713, "p90": 0.006658092021942139, "p95": 0.006671019840240479, "p99": 0.006904842987060547, "values": [ 0.006296781063079834, 0.006040462017059326, 0.0063695812225341795, 0.006293101787567139, 0.006444459915161133, 0.006388620853424072, 0.0063247809410095215, 0.00607086181640625, 0.006204462051391602, 0.006069262027740479, 0.006016942024230957, 0.005948942184448242, 0.005915022850036621, 0.0059246220588684085, 0.00588958215713501, 0.005904303073883056, 0.00586942195892334, 0.005874862194061279, 0.005842702865600586, 0.005820141792297363, 0.005832462787628174, 0.005799343109130859, 0.00582414197921753, 0.005809103012084961, 0.005816462039947509, 0.0059844617843627925, 0.005808942794799805, 0.005790863037109375, 0.005798061847686767, 0.006834700107574463, 0.006368940830230713, 0.0063860611915588375, 0.0060390219688415524, 0.00654094123840332, 0.006374061107635498, 0.006192780971527099, 0.006242702007293701, 0.006061421871185303, 0.006162382125854492, 0.006178700923919677, 0.006118062019348144, 0.006377901077270508, 0.007913256168365478, 0.006919178962707519, 0.006635499954223633, 0.006647180080413819, 0.006641261100769043, 0.006639340877532959, 0.006653900146484375, 0.00661870002746582, 0.006604939937591553, 0.006603499889373779, 0.006654220104217529, 0.006618539810180664, 0.006612940788269043, 0.006624619960784912, 0.006631179809570313, 0.006610539913177491, 0.006611979961395263, 0.00661246109008789, 0.006601261138916016, 0.006603179931640625, 0.0065922999382019044, 0.006611820220947266, 0.006644619941711426, 0.006633901119232178, 0.006602221012115479, 0.0066319799423217776, 0.006653739929199219, 0.006620460033416748, 0.006630539894104004, 0.006614220142364502, 0.0066163010597229, 0.0066164608001708985, 0.006628940105438233, 0.006611020088195801, 0.006893579006195068, 0.006440781116485596, 0.006069101810455322, 0.006218060970306396, 0.006138542175292969, 0.006125261783599853, 0.006412460803985596, 0.006063022136688232, 0.0063249411582946774, 0.006060781955718994, 0.006090541839599609, 0.0062513408660888675, 0.006051502227783203, 0.006249580860137939, 0.00615054178237915, 0.006074862003326416, 0.006213100910186767, 0.006043181896209717, 0.006389260768890381, 0.006117102146148682, 0.006092462062835693, 0.006106542110443115, 0.006072142124176025, 0.006037261962890625, 0.006058221817016602, 0.006047821998596191, 0.00601790189743042, 0.006010062217712402, 0.005995662212371826, 0.006039341926574707, 0.006007822036743164, 0.006032941818237304, 0.006115662097930908, 0.006124300956726074, 0.006255981922149659, 0.006029582023620606, 0.0060150218009948735, 0.006014701843261719, 0.0059931020736694336, 0.006015501976013184, 0.006043342113494873, 0.0060219020843505855, 0.006006862163543701, 0.0061852622032165525, 0.006488780021667481, 0.006048622131347656, 0.006146862030029297, 0.006121420860290527, 0.006221102237701416, 0.006173420906066895, 0.006639180183410645, 0.0066705398559570315, 0.006650219917297364, 0.006633901119232178, 0.0066374211311340334, 0.006635499954223633, 0.00664222002029419, 0.006652939796447754, 0.006666860103607178, 0.006657579898834229, 0.006658860206604004, 0.006659180164337158, 0.006641739845275879, 0.0066750202178955075, 0.0066729397773742675, 0.006645420074462891, 0.006681739807128906, 0.0066460599899291995, 0.006637740135192871, 0.006644781112670898, 0.006652141094207763, 0.006592618942260742, 0.006660940170288086, 0.006692619800567627, 0.006656620025634765, 0.006669740200042725, 0.006670380115509033, 0.006657259941101074, 0.006664140224456787, 0.006639019966125488, 0.006640940189361572 ] }, "throughput": { "unit": "samples/s", "value": 157.6653369379598 }, "energy": null, "efficiency": null } } }