{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "transformers", "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": {}, "hub_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, "latency": true, "memory": 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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.29792, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.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.2.1", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 909.643776, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 166, "total": 0.9998409566879275, "mean": 0.006023138293300766, "stdev": 0.00022418832788852018, "p50": 0.00608409595489502, "p90": 0.006264319896697998, "p95": 0.006296319842338562, "p99": 0.006470860862731933, "values": [ 0.006532095909118653, 0.006284287929534912, 0.00626585578918457, 0.00643071985244751, 0.0062576642036437985, 0.006366208076477051, 0.006292479991912842, 0.006288383960723877, 0.006310912132263183, 0.0061562881469726565, 0.006262784004211426, 0.006159359931945801, 0.006437888145446777, 0.006191103935241699, 0.006228991985321045, 0.006214655876159668, 0.006064127922058105, 0.006176767826080322, 0.006102015972137451, 0.006220863819122314, 0.006159359931945801, 0.006276095867156982, 0.00620854377746582, 0.006251520156860352, 0.006250495910644531, 0.006114304065704346, 0.006201248168945312, 0.006169600009918213, 0.00628223991394043, 0.006158336162567139, 0.006266880035400391, 0.006248447895050049, 0.0062259202003479, 0.006266880035400391, 0.006154240131378174, 0.006404096126556396, 0.006253568172454834, 0.0062975997924804685, 0.006938623905181885, 0.006150144100189209, 0.006141952037811279, 0.006118400096893311, 0.006189055919647217, 0.006178815841674804, 0.006201344013214111, 0.006236159801483154, 0.006177824020385742, 0.006221824169158936, 0.0062259202003479, 0.006300672054290772, 0.006201344013214111, 0.0062258877754211425, 0.006149119853973388, 0.006191103935241699, 0.006145023822784424, 0.006178815841674804, 0.0062228479385375976, 0.005826560020446778, 0.005853184223175049, 0.005817344188690185, 0.0058716158866882326, 0.006047743797302246, 0.00620851182937622, 0.006141952037811279, 0.006172671794891358, 0.006162432193756104, 0.006228991985321045, 0.006121471881866455, 0.006098944187164307, 0.006124608039855957, 0.006118400096893311, 0.006166528224945069, 0.006093823909759521, 0.006160384178161621, 0.006062079906463623, 0.006144000053405762, 0.006124639987945556, 0.0062259202003479, 0.0062197761535644535, 0.00616755199432373, 0.006209536075592041, 0.0061521921157836916, 0.006173696041107178, 0.006130688190460205, 0.006136832237243653, 0.0060703039169311525, 0.006228991985321045, 0.0060702719688415525, 0.006045695781707764, 0.005957632064819336, 0.005903359889984131, 0.006051807880401611, 0.006044767856597901, 0.005924863815307617, 0.005792768001556397, 0.005829631805419922, 0.005823488235473633, 0.005855231761932373, 0.006050816059112549, 0.00608358383178711, 0.00608460807800293, 0.006051839828491211, 0.006128640174865723, 0.006237184047698975, 0.006144000053405762, 0.005958591938018799, 0.005928959846496582, 0.005883903980255127, 0.005892096042633056, 0.005837823867797852, 0.00591871976852417, 0.005822432041168213, 0.005857279777526855, 0.005832704067230224, 0.005834752082824707, 0.0058122239112854005, 0.005831679821014404, 0.005825535774230957, 0.005843967914581299, 0.005818367958068848, 0.005777408123016357, 0.005816319942474365, 0.005767168045043946, 0.005808127880096436, 0.005796864032745362, 0.005806079864501953, 0.005763072013854981, 0.005807104110717773, 0.00577023983001709, 0.005822463989257813, 0.005761023998260498, 0.0057907519340515134, 0.005788671970367432, 0.005805056095123291, 0.005792768001556397, 0.005794847965240478, 0.0058132801055908205, 0.005784575939178467, 0.005801983833312988, 0.005766143798828125, 0.005818367958068848, 0.005788671970367432, 0.005826560020446778, 0.005795807838439942, 0.005735424041748047, 0.005706751823425293, 0.005718016147613526, 0.00571289587020874, 0.005716991901397705, 0.005736447811126709, 0.005775360107421875, 0.005699584007263184, 0.005715968132019043, 0.005670911788940429, 0.005734399795532226, 0.005665791988372803, 0.005744639873504639, 0.005683167934417725, 0.005734399795532226, 0.0057077760696411135, 0.005718016147613526, 0.005710847854614258, 0.0057292799949646, 0.005690368175506591, 0.005687295913696289, 0.0057149438858032225 ] }, "throughput": { "unit": "samples/s", "value": 166.02640538940466 }, "energy": { "unit": "kWh", "cpu": 6.859117620023459e-08, "ram": 3.750250972804042e-08, "gpu": 3.508930231676241e-07, "total": 4.569867090958991e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2188247.448111558 } } } }