{ "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", "model": "google/vit-base-patch16-224", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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.289728, "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.0", "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 911.908864, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 168, "total": 0.9995444836616518, "mean": 0.005949669545605069, "stdev": 0.00019429372972742834, "p50": 0.005875216007232667, "p90": 0.006242918252944946, "p95": 0.0062892034053802495, "p99": 0.006422446188926697, "values": [ 0.006628352165222168, 0.006293536186218262, 0.0064143362045288085, 0.006339583873748779, 0.006342656135559082, 0.006280191898345947, 0.006281216144561768, 0.006260735988616943, 0.006293504238128662, 0.006203392028808594, 0.0062156801223754886, 0.0062259202003479, 0.006366208076477051, 0.006239232063293457, 0.006227968215942382, 0.0061521921157836916, 0.006191103935241699, 0.006182911872863769, 0.006182911872863769, 0.006188032150268555, 0.006246399879455566, 0.006242303848266601, 0.006259712219238281, 0.006223872184753418, 0.006180863857269287, 0.005988351821899414, 0.006169536113739014, 0.006333439826965332, 0.00626585578918457, 0.006244351863861084, 0.006242303848266601, 0.00643891191482544, 0.006000639915466309, 0.005922815799713135, 0.005889023780822754, 0.005914624214172363, 0.005930047988891601, 0.005956607818603516, 0.005916672229766846, 0.0058091521263122555, 0.005790719985961914, 0.005865471839904785, 0.005833727836608887, 0.005898240089416504, 0.00582147216796875, 0.005928959846496582, 0.0058787841796875, 0.005873663902282715, 0.005949440002441406, 0.005971968173980713, 0.0059361281394958495, 0.005954559803009033, 0.005954559803009033, 0.005892096042633056, 0.005879807949066162, 0.005829631805419922, 0.005929984092712402, 0.005972991943359375, 0.005896128177642822, 0.005900288105010986, 0.005974016189575195, 0.005894144058227539, 0.005798912048339844, 0.005857279777526855, 0.005896192073822021, 0.005854207992553711, 0.005912576198577881, 0.005962751865386963, 0.006195168018341065, 0.0061296639442443845, 0.006138815879821778, 0.006203392028808594, 0.006188032150268555, 0.006170656204223633, 0.006128608226776123, 0.006144000053405762, 0.006154240131378174, 0.006178815841674804, 0.0062228479385375976, 0.0062638077735900875, 0.005964799880981446, 0.005899263858795166, 0.005971968173980713, 0.005866528034210205, 0.00587775993347168, 0.005888000011444092, 0.005904384136199951, 0.0058767681121826175, 0.005860352039337159, 0.00576204776763916, 0.005708799839019775, 0.005679103851318359, 0.005635072231292724, 0.00573747205734253, 0.00573747205734253, 0.005668863773345947, 0.00558073616027832, 0.005545983791351319, 0.005587967872619629, 0.005636096000671387, 0.005628928184509278, 0.005718016147613526, 0.005751808166503906, 0.005723135948181152, 0.005754879951477051, 0.0058091521263122555, 0.005799935817718506, 0.006154240131378174, 0.0059054079055786135, 0.005867519855499268, 0.005857279777526855, 0.005924863815307617, 0.005851136207580566, 0.0058787841796875, 0.00582144021987915, 0.005848031997680664, 0.005944320201873779, 0.005844992160797119, 0.005853184223175049, 0.005815264225006104, 0.005843967914581299, 0.005836800098419189, 0.005836800098419189, 0.005824512004852295, 0.005849088191986084, 0.005846015930175781, 0.0058429441452026365, 0.005865471839904785, 0.005909503936767578, 0.005811168193817139, 0.005823488235473633, 0.005832704067230224, 0.005824512004852295, 0.005865407943725586, 0.0058429441452026365, 0.005846015930175781, 0.00582041597366333, 0.005838816165924072, 0.005840896129608154, 0.005815296173095703, 0.005844992160797119, 0.005826560020446778, 0.005808127880096436, 0.0058429441452026365, 0.00581324815750122, 0.005844992160797119, 0.005853216171264649, 0.005826560020446778, 0.005853184223175049, 0.005843967914581299, 0.005848063945770264, 0.005817279815673828, 0.005826560020446778, 0.005830656051635743, 0.005843967914581299, 0.005830656051635743, 0.005873663902282715, 0.00582041597366333, 0.006061056137084961, 0.00586240005493164, 0.005850111961364746, 0.005805056095123291, 0.005837823867797852, 0.005840896129608154, 0.005846015930175781, 0.005830656051635743, 0.0058377919197082516, 0.005853184223175049 ] }, "throughput": { "unit": "samples/s", "value": 168.07656161991127 }, "energy": { "unit": "kWh", "cpu": 7.008541128025646e-08, "ram": 3.8318764107842665e-08, "gpu": 3.803109551360921e-07, "total": 4.887151305241912e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2046181.7888212495 } } } }