{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.1+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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 841.539584, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.926955078125, "mean": 7.926955078125, "stdev": 0.0, "p50": 7.926955078125, "p90": 7.926955078125, "p95": 7.926955078125, "p99": 7.926955078125, "values": [ 7.926955078125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.4846443777868344e-06, "ram": 7.931363573610197e-07, "gpu": 1.637223531997245e-06, "total": 3.915004267145099e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1050.124288, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 203, "total": 1.0019658255577082, "mean": 0.004935792244126644, "stdev": 0.0002018118005942048, "p50": 0.0048158721923828125, "p90": 0.005147238254547119, "p95": 0.0053316608905792226, "p99": 0.005646663532257079, "values": [ 0.005647359848022461, 0.005505023956298828, 0.00571292781829834, 0.005398528099060058, 0.005612544059753418, 0.005605375766754151, 0.005545983791351319, 0.005578720092773438, 0.005496831893920898, 0.0057621440887451175, 0.005149695873260498, 0.004837376117706299, 0.004824063777923584, 0.004833280086517334, 0.004838399887084961, 0.004831232070922851, 0.004829184055328369, 0.004828159809112549, 0.004837376117706299, 0.004825088024139404, 0.0048261117935180665, 0.004829184055328369, 0.004830207824707031, 0.004833280086517334, 0.004828159809112549, 0.004825088024139404, 0.00481279993057251, 0.00481279993057251, 0.004811776161193848, 0.0048158721923828125, 0.004809728145599365, 0.0048148479461669925, 0.004809728145599365, 0.004820991992950439, 0.004811776161193848, 0.0048158721923828125, 0.004811776161193848, 0.004808703899383545, 0.0048148479461669925, 0.0048148479461669925, 0.00481382417678833, 0.0048189439773559575, 0.0048158721923828125, 0.00481382417678833, 0.00481279993057251, 0.004810751914978028, 0.004810751914978028, 0.00481382417678833, 0.0048148479461669925, 0.004810751914978028, 0.004816895961761475, 0.004816895961761475, 0.00481279993057251, 0.0048148479461669925, 0.00481279993057251, 0.004817920207977295, 0.00481279993057251, 0.00481279993057251, 0.0048148479461669925, 0.004809728145599365, 0.00481279993057251, 0.00481279993057251, 0.0048148479461669925, 0.0048230400085449215, 0.004816895961761475, 0.004810751914978028, 0.0048148479461669925, 0.004811776161193848, 0.004811776161193848, 0.004816895961761475, 0.0048158721923828125, 0.004832255840301514, 0.00483843183517456, 0.004835328102111816, 0.0048148479461669925, 0.004809728145599365, 0.004809728145599365, 0.0048148479461669925, 0.00481279993057251, 0.004810751914978028, 0.004811776161193848, 0.004808703899383545, 0.00481279993057251, 0.0048148479461669925, 0.004811776161193848, 0.0048148479461669925, 0.0048158721923828125, 0.004806655883789063, 0.00481279993057251, 0.00481279993057251, 0.004810751914978028, 0.0048148479461669925, 0.004811776161193848, 0.004810751914978028, 0.004811776161193848, 0.004811776161193848, 0.004811776161193848, 0.004809728145599365, 0.004816895961761475, 0.004811776161193848, 0.00481382417678833, 0.004811776161193848, 0.00481279993057251, 0.00481279993057251, 0.004810751914978028, 0.004809728145599365, 0.0048189439773559575, 0.004811776161193848, 0.00481279993057251, 0.0048148479461669925, 0.004811776161193848, 0.00481279993057251, 0.004810751914978028, 0.004810751914978028, 0.004811776161193848, 0.00481382417678833, 0.0048230400085449215, 0.004829184055328369, 0.00481279993057251, 0.004816895961761475, 0.00481279993057251, 0.004806655883789063, 0.004810751914978028, 0.004809728145599365, 0.004811776161193848, 0.004811776161193848, 0.004810751914978028, 0.0048158721923828125, 0.004810751914978028, 0.004811776161193848, 0.00481382417678833, 0.00481382417678833, 0.004809728145599365, 0.004809728145599365, 0.004810751914978028, 0.00481382417678833, 0.00481382417678833, 0.004824063777923584, 0.004808703899383545, 0.0048148479461669925, 0.0048220157623291016, 0.004811776161193848, 0.00481279993057251, 0.0048148479461669925, 0.004807680130004883, 0.004810751914978028, 0.00481279993057251, 0.004809728145599365, 0.005030911922454834, 0.005071872234344482, 0.005106847763061523, 0.0050769920349121095, 0.005101568222045898, 0.005274623870849609, 0.0051476478576660155, 0.005132287979125977, 0.005135359764099121, 0.005157887935638428, 0.005163008213043213, 0.0051138558387756345, 0.005099520206451416, 0.00515993595123291, 0.005154816150665284, 0.0051435518264770505, 0.0051435518264770505, 0.005145599842071533, 0.005115903854370117, 0.005137407779693603, 0.005100543975830078, 0.005099520206451416, 0.005070847988128662, 0.00510262393951416, 0.005096447944641113, 0.005075967788696289, 0.005092351913452148, 0.005114880084991455, 0.005104640007019043, 0.005061632156372071, 0.005123072147369385, 0.005070879936218262, 0.005057536125183106, 0.005070847988128662, 0.005105663776397705, 0.0050769920349121095, 0.005060575962066651, 0.0050984640121459965, 0.005059584140777588, 0.005070847988128662, 0.005067776203155518, 0.005101568222045898, 0.005073919773101807, 0.005062655925750732, 0.005148672103881836, 0.0053350400924682614, 0.0053012480735778805, 0.005082079887390137, 0.00516096019744873, 0.005092351913452148, 0.005098495960235596, 0.005112832069396973, 0.005096447944641113, 0.005081088066101074, 0.00506982421875 ] }, "throughput": { "unit": "samples/s", "value": 202.6017203600804 }, "energy": { "unit": "kWh", "cpu": 5.8772802090193884e-08, "ram": 3.211705814318919e-08, "gpu": 3.3413255553469213e-07, "total": 4.250224157680752e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2352817.081877575 } } } }