{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.0+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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 827.547648, "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.409978515625, "mean": 7.409978515625, "stdev": 0.0, "p50": 7.409978515625, "p90": 7.409978515625, "p95": 7.409978515625, "p99": 7.409978515625, "values": [ 7.409978515625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4670673104163257e-06, "ram": 7.885321570406636e-07, "gpu": 1.6850013479993708e-06, "total": 3.94060081545636e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1037.459456, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 187, "total": 0.9969431366920466, "mean": 0.005331246720278327, "stdev": 0.0002892204951455842, "p50": 0.00530944013595581, "p90": 0.005632396793365479, "p95": 0.005713305711746216, "p99": 0.006128312530517576, "values": [ 0.005543935775756836, 0.005492735862731934, 0.005573631763458252, 0.005323775768280029, 0.005299200057983398, 0.005532671928405761, 0.005322751998901368, 0.005294144153594971, 0.0053647360801696775, 0.0052633600234985355, 0.005339136123657226, 0.00531660795211792, 0.005248000144958496, 0.0052899842262268066, 0.00538316822052002, 0.005331967830657959, 0.005260287761688232, 0.0052008957862854, 0.005142528057098389, 0.005150720119476319, 0.005254144191741943, 0.005233727931976319, 0.005272575855255127, 0.005375999927520752, 0.005326848030090332, 0.0053340158462524415, 0.005362656116485596, 0.005260287761688232, 0.005242911815643311, 0.005258240222930908, 0.005242879867553711, 0.005299200057983398, 0.005387263774871826, 0.00530944013595581, 0.0052930560111999515, 0.005370880126953125, 0.005276671886444092, 0.005282815933227539, 0.00531660795211792, 0.00526643180847168, 0.00526643180847168, 0.005307392120361328, 0.005276607990264893, 0.005575679779052735, 0.005597184181213379, 0.005426176071166992, 0.005499904155731201, 0.005500927925109863, 0.0055214080810546875, 0.005570559978485107, 0.005576704025268555, 0.005593088150024414, 0.0055808000564575196, 0.005530623912811279, 0.005629951953887939, 0.0056360640525817875, 0.005620736122131348, 0.005616640090942383, 0.005580832004547119, 0.005641215801239013, 0.005577727794647217, 0.0055511040687561035, 0.005500927925109863, 0.005548031806945801, 0.00576204776763916, 0.005598207950592041, 0.006651904106140137, 0.006105088233947754, 0.006047743797302246, 0.0055788478851318355, 0.005544960021972656, 0.0054876160621643065, 0.005598207950592041, 0.005550079822540284, 0.0055552000999450684, 0.005670911788940429, 0.0055808000564575196, 0.005659647941589355, 0.005535744190216065, 0.005549056053161621, 0.005571584224700928, 0.005530623912811279, 0.005581823825836182, 0.005942272186279297, 0.00562278413772583, 0.005620736122131348, 0.005610496044158936, 0.005731328010559082, 0.0057118721008300784, 0.005658624172210694, 0.005604351997375488, 0.005656576156616211, 0.005575679779052735, 0.005570559978485107, 0.005645311832427978, 0.0055848960876464845, 0.005569536209106446, 0.005513216018676758, 0.005637119770050049, 0.005560256004333496, 0.005485568046569824, 0.005713920116424561, 0.005430272102355957, 0.005311488151550293, 0.006270976066589356, 0.005740543842315674, 0.005559296131134033, 0.005303296089172363, 0.005248000144958496, 0.005287936210632324, 0.005245984077453613, 0.005359615802764893, 0.0054917120933532714, 0.005355519771575928, 0.005359615802764893, 0.0053534722328186036, 0.005320703983306885, 0.00537497615814209, 0.005535711765289306, 0.005548031806945801, 0.005388288021087646, 0.005252128124237061, 0.005278719902038574, 0.005269504070281982, 0.005288959980010987, 0.005261312007904053, 0.005282847881317138, 0.005299200057983398, 0.00524294376373291, 0.005221375942230225, 0.00586137580871582, 0.005183487892150879, 0.005180416107177735, 0.0051363840103149415, 0.005135359764099121, 0.005123072147369385, 0.005163008213043213, 0.00511897611618042, 0.005112895965576172, 0.0051333122253417966, 0.005115903854370117, 0.005026815891265869, 0.005000192165374756, 0.004968448162078858, 0.004964352130889893, 0.004956160068511963, 0.004952064037322998, 0.00497049617767334, 0.004963327884674072, 0.004956160068511963, 0.004956160068511963, 0.004959231853485108, 0.004963327884674072, 0.004944896221160889, 0.004951039791107178, 0.004941823959350586, 0.0049827837944030765, 0.004946944236755371, 0.004947968006134033, 0.004965375900268554, 0.0049797120094299315, 0.004964352130889893, 0.004965375900268554, 0.004963327884674072, 0.004983808040618896, 0.004960256099700928, 0.004965375900268554, 0.004944896221160889, 0.004975615978240967, 0.004966400146484375, 0.0049387521743774416, 0.0049500160217285155, 0.004956160068511963, 0.004966400146484375, 0.0049428482055664065, 0.004965375900268554, 0.004966400146484375, 0.00497049617767334, 0.0049530878067016604, 0.00495411205291748, 0.0049500160217285155, 0.004973567962646484, 0.004935679912567138, 0.00496127986907959, 0.0049459199905395506, 0.00497049617767334, 0.004966400146484375 ] }, "throughput": { "unit": "samples/s", "value": 187.57338620182884 }, "energy": { "unit": "kWh", "cpu": 5.87988693997545e-08, "ram": 3.210453193753322e-08, "gpu": 3.6490265715841723e-07, "total": 4.5580605849570496e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2193915.551057606 } } } }