{ "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": 910.385152, "max_global_vram": 1057.488896, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 364.432384 }, "latency": { "unit": "s", "count": 163, "total": 0.9972990388870242, "mean": 0.006118399011576834, "stdev": 0.00017721636313984548, "p50": 0.006109183788299561, "p90": 0.006346752166748047, "p95": 0.006372454309463501, "p99": 0.006468116436004639, "values": [ 0.006373407840728759, 0.006000639915466309, 0.006114304065704346, 0.006043647766113281, 0.0062197761535644535, 0.006115327835083008, 0.006170623779296875, 0.0060282878875732426, 0.006109183788299561, 0.006149119853973388, 0.006060031890869141, 0.0060661759376525876, 0.006162432193756104, 0.006067200183868408, 0.006053887844085694, 0.006092832088470459, 0.005975039958953857, 0.006048768043518066, 0.005979135990142822, 0.006119423866271972, 0.006176767826080322, 0.006435840129852295, 0.006502399921417237, 0.006322175979614258, 0.006415359973907471, 0.006270976066589356, 0.006306816101074219, 0.006202367782592774, 0.006362112045288086, 0.006358016014099121, 0.006301695823669433, 0.006364160060882569, 0.0063190398216247555, 0.006294528007507324, 0.006341631889343262, 0.0062679038047790524, 0.006328320026397705, 0.006288383960723877, 0.006360064029693604, 0.006263775825500488, 0.006164447784423828, 0.006218688011169433, 0.006207488059997559, 0.006288383960723877, 0.006164480209350586, 0.006252543926239014, 0.006305791854858398, 0.006226880073547363, 0.006308864116668702, 0.006319104194641113, 0.00638259220123291, 0.006343647956848144, 0.006352896213531494, 0.006354944229125976, 0.00628223991394043, 0.00628326416015625, 0.006277120113372803, 0.006346752166748047, 0.006305791854858398, 0.006308864116668702, 0.0064471039772033695, 0.006172671794891358, 0.00622489595413208, 0.0062259202003479, 0.006231040000915527, 0.00624019193649292, 0.006252543926239014, 0.006346752166748047, 0.006189055919647217, 0.006240255832672119, 0.0062975997924804685, 0.0062156481742858885, 0.006252543926239014, 0.006194176197052002, 0.006211647987365723, 0.006162432193756104, 0.006238207817077636, 0.006275072097778321, 0.006093823909759521, 0.005997568130493164, 0.006021120071411133, 0.006033472061157227, 0.006037504196166992, 0.005953536033630371, 0.00628223991394043, 0.006269951820373535, 0.006275072097778321, 0.006358079910278321, 0.006161407947540283, 0.0061562881469726565, 0.006085631847381592, 0.006088704109191895, 0.006678463935852051, 0.006203392028808594, 0.005997568130493164, 0.00563097620010376, 0.005739520072937012, 0.005908480167388916, 0.0061082239151000976, 0.006100992202758789, 0.00622489595413208, 0.006136832237243653, 0.00637337589263916, 0.006276095867156982, 0.006426623821258545, 0.006060031890869141, 0.005929984092712402, 0.006127615928649902, 0.005958655834197998, 0.005983232021331787, 0.006037504196166992, 0.0060026879310607914, 0.005940224170684814, 0.0059699201583862304, 0.006015999794006348, 0.005959680080413818, 0.0059269118309021, 0.005972991943359375, 0.0059996161460876465, 0.005994495868682862, 0.005956607818603516, 0.0062228479385375976, 0.005909503936767578, 0.0059688959121704105, 0.005942272186279297, 0.005949440002441406, 0.00591871976852417, 0.005938176155090332, 0.0059391999244689945, 0.006022143840789795, 0.005946400165557861, 0.005943264007568359, 0.00591158390045166, 0.005948416233062744, 0.005894144058227539, 0.005944320201873779, 0.005899263858795166, 0.006060031890869141, 0.005893119812011719, 0.005974016189575195, 0.005929984092712402, 0.005929984092712402, 0.005924863815307617, 0.005913599967956543, 0.00591871976852417, 0.005896192073822021, 0.005912576198577881, 0.005896192073822021, 0.005917695999145508, 0.005910528182983398, 0.005922815799713135, 0.005894144058227539, 0.005925888061523437, 0.005909503936767578, 0.005996543884277344, 0.005895167827606201, 0.00592793607711792, 0.005879807949066162, 0.005933055877685547, 0.005881792068481446, 0.00591871976852417, 0.005891071796417236, 0.005946368217468262 ] }, "throughput": { "unit": "samples/s", "value": 163.44144899799204 }, "energy": { "unit": "kWh", "cpu": 7.041147925366233e-08, "ram": 3.849706302567271e-08, "gpu": 3.7093553672189046e-07, "total": 4.798440790012255e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2084010.2936800977 } } } }