{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "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": 827.641856, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.43257177734375, "mean": 7.43257177734375, "stdev": 0.0, "p50": 7.43257177734375, "p90": 7.43257177734375, "p95": 7.43257177734375, "p99": 7.43257177734375, "values": [ 7.43257177734375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5044465444444674e-06, "ram": 8.080583849584127e-07, "gpu": 1.631667971999963e-06, "total": 3.944172901402843e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1037.316096, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 182, "total": 0.9972529282569883, "mean": 0.005479411693719717, "stdev": 0.000268677685875236, "p50": 0.005486079931259155, "p90": 0.005722111940383912, "p95": 0.0058191874027252195, "p99": 0.006566131801605224, "values": [ 0.006532095909118653, 0.00671123218536377, 0.006309887886047363, 0.005698560237884521, 0.005914624214172363, 0.006049791812896729, 0.005774335861206055, 0.005649407863616943, 0.005767168045043946, 0.005662720203399658, 0.005833727836608887, 0.005669888019561768, 0.005649407863616943, 0.0056258559226989744, 0.005709824085235596, 0.005628928184509278, 0.00553984022140503, 0.005467135906219483, 0.005432320117950439, 0.005493760108947754, 0.005735392093658447, 0.005776383876800537, 0.005675007820129394, 0.00563097620010376, 0.005695487976074219, 0.00563097620010376, 0.005610496044158936, 0.005332992076873779, 0.005241856098175048, 0.005223423957824707, 0.005404640197753907, 0.005356544017791748, 0.005380095958709717, 0.005408768177032471, 0.005327871799468994, 0.005348351955413819, 0.005359615802764893, 0.00530944013595581, 0.00530841588973999, 0.005331967830657959, 0.005323775768280029, 0.005677055835723877, 0.005649343967437744, 0.0055316481590271, 0.005491648197174072, 0.005430272102355957, 0.0054282240867614745, 0.005518303871154785, 0.005488639831542969, 0.005575679779052735, 0.0055511040687561035, 0.0055920639038085935, 0.005529600143432617, 0.005500927925109863, 0.0056258559226989744, 0.005899263858795166, 0.005644351959228516, 0.005656576156616211, 0.005618688106536865, 0.005679103851318359, 0.005596159934997558, 0.005683199882507324, 0.00553984022140503, 0.005597184181213379, 0.0056258559226989744, 0.005598207950592041, 0.005754879951477051, 0.005612544059753418, 0.005634047985076904, 0.005650432109832764, 0.0055101442337036136, 0.005569536209106446, 0.005534719944000244, 0.00553984022140503, 0.005563392162322998, 0.00563097620010376, 0.005649407863616943, 0.0054917120933532714, 0.005696512222290039, 0.005639167785644531, 0.005695487976074219, 0.0056483840942382815, 0.005483520030975342, 0.005575583934783935, 0.005496831893920898, 0.0055511040687561035, 0.005609471797943116, 0.005723135948181152, 0.005747712135314941, 0.005643263816833496, 0.00571289587020874, 0.005660672187805176, 0.005620736122131348, 0.005654528141021729, 0.005603328227996827, 0.00582144021987915, 0.005573631763458252, 0.005481472015380859, 0.005591040134429932, 0.00556441593170166, 0.005552127838134766, 0.005459968090057373, 0.005447679996490478, 0.005338111877441406, 0.005323775768280029, 0.005519360065460205, 0.005532671928405761, 0.005310463905334473, 0.005254144191741943, 0.005458943843841553, 0.005284863948822022, 0.005421055793762207, 0.005732351779937744, 0.006398975849151611, 0.006716415882110595, 0.005552127838134766, 0.005396480083465576, 0.005496831893920898, 0.005627903938293457, 0.005390431880950928, 0.00531766414642334, 0.005234687805175781, 0.0052295680046081545, 0.005269504070281982, 0.005278719902038574, 0.005250048160552978, 0.005312511920928955, 0.0053340158462524415, 0.005245952129364013, 0.0052336640357971195, 0.005408768177032471, 0.0052971520423889164, 0.005323775768280029, 0.005210112094879151, 0.005187583923339844, 0.0051998720169067385, 0.005222400188446045, 0.005190656185150146, 0.005173247814178467, 0.0052111358642578124, 0.005188672065734863, 0.005194752216339111, 0.005202943801879883, 0.005194752216339111, 0.005198847770690918, 0.005197824001312256, 0.005201856136322022, 0.005171199798583984, 0.005208064079284668, 0.005249023914337158, 0.005186560153961181, 0.0051701760292053225, 0.005239808082580567, 0.00517632007598877, 0.005214208126068115, 0.005222400188446045, 0.005201920032501221, 0.005202943801879883, 0.00522547197341919, 0.005227519989013672, 0.005216256141662597, 0.005206016063690186, 0.005223423957824707, 0.005735424041748047, 0.005210112094879151, 0.005215231895446777, 0.005178368091583252, 0.005215231895446777, 0.005221375942230225, 0.005227519989013672, 0.005214208126068115, 0.005272543907165527, 0.005547008037567139, 0.005242879867553711, 0.005296127796173096, 0.005185567855834961, 0.005189631938934326, 0.005197824001312256, 0.00521727991104126, 0.0051998720169067385, 0.005222400188446045, 0.0051998720169067385 ] }, "throughput": { "unit": "samples/s", "value": 182.50134428594956 }, "energy": { "unit": "kWh", "cpu": 5.807638414351568e-08, "ram": 3.175350118324593e-08, "gpu": 3.553270816470599e-07, "total": 4.451569669738215e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2246398.62832655 } } } }