{ "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.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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 909.524992, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 175, "total": 0.9981758394241333, "mean": 0.005703861939566476, "stdev": 0.00040605473444796256, "p50": 0.0056053118705749515, "p90": 0.0057862144470214845, "p95": 0.005949440002441406, "p99": 0.008010526971817014, "values": [ 0.008466431617736817, 0.008088576316833495, 0.007983104228973388, 0.007860223770141601, 0.007319551944732666, 0.00597811222076416, 0.006415359973907471, 0.006067168235778808, 0.005694464206695556, 0.0057077760696411135, 0.005898240089416504, 0.005790719985961914, 0.0058388481140136715, 0.005645311832427978, 0.005659647941589355, 0.00560748815536499, 0.005628928184509278, 0.005607423782348633, 0.005703680038452149, 0.00561356782913208, 0.00563097620010376, 0.005596159934997558, 0.005620736122131348, 0.005640192031860352, 0.0055838398933410645, 0.005594111919403076, 0.005576704025268555, 0.005582816123962402, 0.00561356782913208, 0.005557248115539551, 0.005646336078643799, 0.005566463947296142, 0.005586944103240967, 0.005616640090942383, 0.005568543910980225, 0.005597184181213379, 0.0057190399169921875, 0.005581823825836182, 0.005618688106536865, 0.00555014419555664, 0.0056053118705749515, 0.005617663860321045, 0.005581791877746582, 0.005620736122131348, 0.0055623679161071774, 0.005596159934997558, 0.005601280212402344, 0.005595136165618897, 0.005661695957183838, 0.005600255966186523, 0.0057794561386108395, 0.005749695777893067, 0.005709824085235596, 0.0057292799949646, 0.00567193603515625, 0.005608448028564453, 0.005599232196807862, 0.005639167785644531, 0.005566463947296142, 0.005620736122131348, 0.005670911788940429, 0.005653503894805908, 0.0056852478981018065, 0.005588992118835449, 0.005623807907104492, 0.005615615844726562, 0.00555622386932373, 0.005598207950592041, 0.00555622386932373, 0.005552127838134766, 0.005623807907104492, 0.00555622386932373, 0.005629951953887939, 0.005634047985076904, 0.005542912006378174, 0.005601280212402344, 0.0055552000999450684, 0.005601280212402344, 0.0056217598915100095, 0.005573631763458252, 0.005611519813537597, 0.005573631763458252, 0.005610496044158936, 0.005587967872619629, 0.005597184181213379, 0.005567488193511963, 0.005594111919403076, 0.0055797758102417, 0.005547008037567139, 0.005553152084350586, 0.005574656009674072, 0.005937151908874512, 0.005843967914581299, 0.005881855964660645, 0.005832767963409423, 0.005700607776641845, 0.005853184223175049, 0.006237184047698975, 0.005798912048339844, 0.0057118721008300784, 0.005753856182098388, 0.005604351997375488, 0.005590015888214111, 0.005566463947296142, 0.005547008037567139, 0.005582848072052002, 0.0055316481590271, 0.005609471797943116, 0.005553152084350586, 0.005631999969482422, 0.005618688106536865, 0.00555622386932373, 0.005616640090942383, 0.005612544059753418, 0.005571584224700928, 0.005623807907104492, 0.005561344146728516, 0.005649407863616943, 0.005772287845611572, 0.005695487976074219, 0.005763072013854981, 0.005769216060638428, 0.0057712640762329105, 0.005661695957183838, 0.0057784318923950195, 0.005742591857910156, 0.005718016147613526, 0.005767168045043946, 0.005669888019561768, 0.005665791988372803, 0.005609471797943116, 0.005665791988372803, 0.005597184181213379, 0.005561344146728516, 0.005594111919403076, 0.005533696174621582, 0.005635072231292724, 0.005557248115539551, 0.005542912006378174, 0.005587967872619629, 0.005529600143432617, 0.005583871841430664, 0.005559296131134033, 0.005529568195343017, 0.005618688106536865, 0.005554111957550048, 0.005588992118835449, 0.005556287765502929, 0.005559296131134033, 0.005581823825836182, 0.005563392162322998, 0.005568511962890625, 0.005612544059753418, 0.0056145920753479005, 0.005653503894805908, 0.0055848960876464845, 0.005609439849853516, 0.005576704025268555, 0.005594175815582275, 0.005550079822540284, 0.005577727794647217, 0.005576704025268555, 0.005558335781097412, 0.005595136165618897, 0.005542912006378174, 0.005548031806945801, 0.005587967872619629, 0.005570559978485107, 0.005581823825836182, 0.0055511040687561035, 0.005566527843475342, 0.005585919857025146, 0.005559296131134033, 0.005586944103240967, 0.005581823825836182 ] }, "throughput": { "unit": "samples/s", "value": 175.31981148828532 }, "energy": { "unit": "kWh", "cpu": 6.734374158009135e-08, "ram": 3.6820689558680895e-08, "gpu": 3.376123281704507e-07, "total": 4.417767593092229e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2263586.707375992 } } } }