{ "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.252864, "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": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 839.8848, "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.88703955078125, "mean": 7.88703955078125, "stdev": 0.0, "p50": 7.88703955078125, "p90": 7.88703955078125, "p95": 7.88703955078125, "p99": 7.88703955078125, "values": [ 7.88703955078125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4692055562505067e-06, "ram": 7.895030696142821e-07, "gpu": 1.6361124199996968e-06, "total": 3.894821045864486e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1048.150016, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 186, "total": 0.9982584657669066, "mean": 0.0053669809987468104, "stdev": 0.00018787244445486436, "p50": 0.005344255924224854, "p90": 0.005612527847290039, "p95": 0.00566042411327362, "p99": 0.005761279892921448, "values": [ 0.005710847854614258, 0.005600255966186523, 0.0057292799949646, 0.005611455917358398, 0.005662720203399658, 0.005666816234588623, 0.005666848182678223, 0.005372928142547607, 0.005452735900878906, 0.005652480125427246, 0.006016992092132569, 0.005598207950592041, 0.005536767959594726, 0.00552345609664917, 0.005530623912811279, 0.005532671928405761, 0.005555168151855468, 0.005288896083831787, 0.005164031982421875, 0.005091328144073487, 0.0051221117973327636, 0.005099520206451416, 0.005237760066986084, 0.005494880199432373, 0.005511168003082275, 0.005571584224700928, 0.005407743930816651, 0.005557248115539551, 0.005746687889099121, 0.005624832153320313, 0.005540863990783691, 0.005641183853149414, 0.005436416149139404, 0.0055511040687561035, 0.005540863990783691, 0.00557260799407959, 0.005325823783874512, 0.005284863948822022, 0.005298175811767578, 0.005298175811767578, 0.005441535949707031, 0.005586944103240967, 0.005295167922973633, 0.005216256141662597, 0.005287968158721924, 0.005254144191741943, 0.005436416149139404, 0.00572211217880249, 0.0054906878471374515, 0.00542310380935669, 0.005392384052276611, 0.00535756778717041, 0.005434271812438965, 0.005195775985717774, 0.0051957440376281736, 0.005245952129364013, 0.005219327926635742, 0.005210112094879151, 0.005250048160552978, 0.0053043198585510255, 0.005626880168914795, 0.005574656009674072, 0.005349376201629639, 0.005296127796173096, 0.005563392162322998, 0.005643263816833496, 0.005843967914581299, 0.0055316481590271, 0.005541888236999512, 0.005486591815948487, 0.005501952171325684, 0.0055808000564575196, 0.005351424217224121, 0.005303296089172363, 0.005516287803649903, 0.005552127838134766, 0.005530623912811279, 0.005647264003753662, 0.005442560195922852, 0.005458879947662354, 0.0051753602027893066, 0.0052326078414916995, 0.005238783836364746, 0.005390336036682129, 0.005618688106536865, 0.00568012809753418, 0.005509119987487793, 0.005486591815948487, 0.00551526403427124, 0.005465087890625, 0.005526527881622314, 0.005287936210632324, 0.005521376132965088, 0.00552243185043335, 0.0055285758972167965, 0.005482495784759522, 0.005370880126953125, 0.005322751998901368, 0.0053606400489807126, 0.0053012480735778805, 0.005314559936523438, 0.005467135906219483, 0.0055848960876464845, 0.00561359977722168, 0.005547008037567139, 0.005511168003082275, 0.0055848960876464845, 0.005223423957824707, 0.005119999885559082, 0.005422048091888428, 0.005601280212402344, 0.005482495784759522, 0.005473311901092529, 0.005417984008789062, 0.005280767917633057, 0.005195775985717774, 0.005348351955413819, 0.0054579200744628905, 0.005340159893035889, 0.005203968048095703, 0.005243904113769531, 0.0052367358207702636, 0.005164031982421875, 0.0053647360801696775, 0.005400576114654541, 0.005422143936157226, 0.0053975038528442385, 0.0054579200744628905, 0.005519360065460205, 0.005599232196807862, 0.005653535842895508, 0.005443583965301513, 0.005325823783874512, 0.005182496070861816, 0.0052008957862854, 0.005245952129364013, 0.00521830415725708, 0.005252096176147461, 0.0053012480735778805, 0.005235712051391602, 0.005161983966827393, 0.005228544235229492, 0.0051701760292053225, 0.005163008213043213, 0.005183487892150879, 0.0052008957862854, 0.005208064079284668, 0.005187583923339844, 0.005251071929931641, 0.00515180778503418, 0.005155839920043945, 0.005208064079284668, 0.00516812801361084, 0.005174272060394287, 0.0052008957862854, 0.005173344135284424, 0.0051333122253417966, 0.005153791904449463, 0.005172224044799805, 0.00511897611618042, 0.005132287979125977, 0.005174272060394287, 0.005156864166259765, 0.0051701760292053225, 0.005133247852325439, 0.005211103916168213, 0.005144576072692871, 0.005158912181854248, 0.005180416107177735, 0.005139455795288086, 0.005144576072692871, 0.00517632007598877, 0.005182464122772217, 0.005142560005187988, 0.005172224044799805, 0.005180416107177735, 0.005157887935638428, 0.005175295829772949, 0.005182464122772217, 0.005140384197235107, 0.005153791904449463, 0.005180319786071777, 0.005097472190856934, 0.0051066880226135255, 0.005054463863372802, 0.005119999885559082 ] }, "throughput": { "unit": "samples/s", "value": 186.32449047863219 }, "energy": { "unit": "kWh", "cpu": 5.919479746527599e-08, "ram": 3.236611901300136e-08, "gpu": 3.512502810000019e-07, "total": 4.428111974782793e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2258298.809277631 } } } }