{ "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.225-213.878.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.1", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 842.899456, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.441453125, "mean": 8.441453125, "stdev": 0.0, "p50": 8.441453125, "p90": 8.441453125, "p95": 8.441453125, "p99": 8.441453125, "values": [ 8.441453125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 3.052019137500158e-06, "ram": 1.6539017030590504e-06, "gpu": 3.5347250499995556e-06, "total": 8.240645890558764e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1051.906048, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 185, "total": 0.9962437453269958, "mean": 0.005385101326091869, "stdev": 0.00021035615754374582, "p50": 0.00541593599319458, "p90": 0.005555609703063965, "p95": 0.005588992118835449, "p99": 0.006106029891967773, "values": [ 0.005601344108581543, 0.005529600143432617, 0.005586944103240967, 0.005588992118835449, 0.0055244798660278325, 0.005616640090942383, 0.005549056053161621, 0.005543935775756836, 0.005553152084350586, 0.005705728054046631, 0.005631968021392823, 0.005508096218109131, 0.005470208168029785, 0.005532671928405761, 0.005517312049865723, 0.0055582718849182125, 0.00607539176940918, 0.0054906878471374515, 0.005356544017791748, 0.005346303939819336, 0.005409791946411133, 0.005396480083465576, 0.005400576114654541, 0.005472256183624268, 0.005519360065460205, 0.005512191772460938, 0.005506048202514649, 0.005553120136260986, 0.005637119770050049, 0.005465087890625, 0.005429247856140137, 0.005637119770050049, 0.005473279953002929, 0.005574687957763672, 0.005484543800354004, 0.005535711765289306, 0.0055316481590271, 0.005485599994659424, 0.00556441593170166, 0.00550707197189331, 0.005477375984191894, 0.005566463947296142, 0.005444608211517334, 0.005502975940704345, 0.005484543800354004, 0.0054906878471374515, 0.005475327968597412, 0.005318655967712403, 0.005282815933227539, 0.00531660795211792, 0.00541593599319458, 0.005411839962005615, 0.005439487934112549, 0.005391359806060791, 0.005432320117950439, 0.005463039875030518, 0.00542310380935669, 0.005464064121246338, 0.00547430419921875, 0.005479487895965576, 0.005576704025268555, 0.00554911994934082, 0.005530623912811279, 0.005489664077758789, 0.005484543800354004, 0.005513216018676758, 0.005401599884033203, 0.005438464164733887, 0.005471231937408447, 0.005484576225280762, 0.005551136016845703, 0.005483520030975342, 0.005476352214813233, 0.005567488193511963, 0.005479423999786377, 0.005467135906219483, 0.005411839962005615, 0.005313536167144775, 0.005385216236114502, 0.0054282240867614745, 0.005384223937988281, 0.005499904155731201, 0.005485568046569824, 0.005407743930816651, 0.00538316822052002, 0.0053606400489807126, 0.005419007778167725, 0.005445631980895996, 0.005384191989898681, 0.0054579200744628905, 0.005411839962005615, 0.005399551868438721, 0.005438464164733887, 0.005513216018676758, 0.0055316481590271, 0.005544960021972656, 0.005532671928405761, 0.005557248115539551, 0.0054876160621643065, 0.005497856140136719, 0.00551423978805542, 0.00542310380935669, 0.005478400230407715, 0.0055203838348388675, 0.005442560195922852, 0.005493760108947754, 0.005419007778167725, 0.00551526403427124, 0.005407743930816651, 0.005407743930816651, 0.005446656227111817, 0.005299200057983398, 0.005149727821350098, 0.0052899842262268066, 0.005409791946411133, 0.005262368202209473, 0.005126143932342529, 0.0051363840103149415, 0.005108736038208008, 0.005123072147369385, 0.0051773438453674315, 0.005137407779693603, 0.005184512138366699, 0.005413887977600097, 0.0052715520858764645, 0.005268479824066162, 0.005354496002197265, 0.0054620480537414555, 0.005485568046569824, 0.005282815933227539, 0.005244927883148193, 0.005184544086456299, 0.00522649621963501, 0.005214208126068115, 0.005186560153961181, 0.005172224044799805, 0.005197824001312256, 0.005359615802764893, 0.005243904113769531, 0.005281792163848877, 0.005260287761688232, 0.005170112133026123, 0.0051660799980163576, 0.00516096019744873, 0.005178368091583252, 0.005307392120361328, 0.0052367358207702636, 0.005192736148834229, 0.005393407821655274, 0.005203968048095703, 0.005183487892150879, 0.005165056228637695, 0.006819839954376221, 0.005588992118835449, 0.006266880035400391, 0.005193727970123291, 0.005169151782989502, 0.005123072147369385, 0.005097472190856934, 0.005117951869964599, 0.005081088066101074, 0.00511078405380249, 0.005121024131774903, 0.005105663776397705, 0.005107711791992187, 0.005193727970123291, 0.005134335994720459, 0.005127168178558349, 0.005195775985717774, 0.0051363840103149415, 0.0051036162376403805, 0.005096415996551514, 0.005125120162963868, 0.005122047901153564, 0.005117951869964599, 0.005099520206451416, 0.005152768135070801, 0.005188608169555664, 0.005092351913452148, 0.005100543975830078, 0.005111807823181152, 0.005087232112884522, 0.005092319965362549, 0.005141503810882568, 0.005193727970123291 ] }, "throughput": { "unit": "samples/s", "value": 185.69752720432658 }, "energy": { "unit": "kWh", "cpu": 5.975658419876855e-08, "ram": 3.2651546471381857e-08, "gpu": 3.3528083773869266e-07, "total": 4.2768896840884317e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2338147.7519056895 } } } }