{ "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": 826.998784, "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.4388173828125, "mean": 7.4388173828125, "stdev": 0.0, "p50": 7.4388173828125, "p90": 7.4388173828125, "p95": 7.4388173828125, "p99": 7.4388173828125, "values": [ 7.4388173828125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.450402599999734e-06, "ram": 7.790672731604151e-07, "gpu": 1.6952791340001105e-06, "total": 3.92474900716026e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1036.763136, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 181, "total": 0.9964575357437137, "mean": 0.005505290252727699, "stdev": 0.00020563561047768231, "p50": 0.00555622386932373, "p90": 0.005718016147613526, "p95": 0.0057415680885314945, "p99": 0.005823487949371338, "values": [ 0.005747712135314941, 0.005730303764343261, 0.00576204776763916, 0.005766143798828125, 0.005763072013854981, 0.005742591857910156, 0.005733376026153565, 0.00572211217880249, 0.005811200141906738, 0.0057190399169921875, 0.005687295913696289, 0.005639167785644531, 0.005611519813537597, 0.005623807907104492, 0.0056442880630493165, 0.005581823825836182, 0.0055244798660278325, 0.005495808124542236, 0.005529600143432617, 0.005571584224700928, 0.00566476821899414, 0.005642240047454834, 0.005682176113128662, 0.005720064163208007, 0.005643263816833496, 0.005658624172210694, 0.005649407863616943, 0.005537792205810547, 0.005578752040863037, 0.00563097620010376, 0.005690368175506591, 0.005642240047454834, 0.00566476821899414, 0.0056483840942382815, 0.005642240047454834, 0.005661695957183838, 0.005595136165618897, 0.0056483840942382815, 0.0056852478981018065, 0.005645311832427978, 0.005633024215698243, 0.005615647792816162, 0.005530623912811279, 0.00555622386932373, 0.005484543800354004, 0.005483520030975342, 0.005499904155731201, 0.005681151866912842, 0.005541888236999512, 0.005643263816833496, 0.005689343929290771, 0.005647359848022461, 0.005666816234588623, 0.005668863773345947, 0.005728256225585937, 0.005735424041748047, 0.00572108793258667, 0.005673984050750733, 0.005659647941589355, 0.005605375766754151, 0.005548031806945801, 0.00568012809753418, 0.005660672187805176, 0.005620736122131348, 0.005646336078643799, 0.005700607776641845, 0.00688640022277832, 0.005689343929290771, 0.005525504112243652, 0.005545951843261719, 0.005611519813537597, 0.005585919857025146, 0.005617663860321045, 0.005718016147613526, 0.005590015888214111, 0.005827583789825439, 0.005645311832427978, 0.005634047985076904, 0.005565440177917481, 0.005576704025268555, 0.005601280212402344, 0.005582848072052002, 0.005585919857025146, 0.005623807907104492, 0.005650432109832764, 0.00570470380783081, 0.005662720203399658, 0.005822463989257813, 0.005647359848022461, 0.005662720203399658, 0.005627903938293457, 0.005593088150024414, 0.005634047985076904, 0.005603328227996827, 0.005522496223449707, 0.005566463947296142, 0.00562278413772583, 0.005500927925109863, 0.005492735862731934, 0.005504000186920166, 0.00535756778717041, 0.005326848030090332, 0.00556441593170166, 0.005547008037567139, 0.005348351955413819, 0.005263391971588135, 0.005277696132659912, 0.005251071929931641, 0.005281792163848877, 0.005323775768280029, 0.005426176071166992, 0.0055214080810546875, 0.005518335819244385, 0.005593056201934814, 0.005590015888214111, 0.005620736122131348, 0.0057415680885314945, 0.005416959762573242, 0.005354496002197265, 0.005321728229522705, 0.005298175811767578, 0.005306367874145508, 0.005287936210632324, 0.005257215976715088, 0.00526643180847168, 0.005283775806427002, 0.005254144191741943, 0.0053043198585510255, 0.005298175811767578, 0.005272575855255127, 0.005306399822235107, 0.005272575855255127, 0.0052899842262268066, 0.005290016174316407, 0.005278719902038574, 0.0052674880027771, 0.005281792163848877, 0.005285888195037842, 0.005252096176147461, 0.0052715520858764645, 0.0052705278396606445, 0.005272575855255127, 0.005248000144958496, 0.005261312007904053, 0.00527558422088623, 0.005259263992309571, 0.005285888195037842, 0.00526643180847168, 0.005261312007904053, 0.005272575855255127, 0.005269504070281982, 0.005253087997436523, 0.005275648117065429, 0.005255167961120606, 0.005257215976715088, 0.005291007995605469, 0.005325823783874512, 0.005248000144958496, 0.005269504070281982, 0.005257215976715088, 0.005426176071166992, 0.0053637118339538575, 0.005611519813537597, 0.005585919857025146, 0.005315584182739258, 0.005312511920928955, 0.005332992076873779, 0.005258240222930908, 0.005268479824066162, 0.005257215976715088, 0.005282815933227539, 0.005296127796173096, 0.005346303939819336, 0.005296127796173096, 0.005277696132659912, 0.005257247924804687, 0.005307392120361328, 0.0052705597877502446, 0.005295104026794434, 0.005277696132659912, 0.005277696132659912 ] }, "throughput": { "unit": "samples/s", "value": 181.6434654838646 }, "energy": { "unit": "kWh", "cpu": 5.858070563424006e-08, "ram": 3.18990908588762e-08, "gpu": 3.546568245024646e-07, "total": 4.4513662099558087e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2246501.305067703 } } } }