{ "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.225-213.878.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.45.2", "transformers_commit": null, "accelerate_version": "1.0.0", "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.13.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 844.73856, "max_global_vram": 1037.565952, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "values": [ 0.12315443420410156 ], "count": 1, "total": 0.12315443420410156, "mean": 0.12315443420410156, "p50": 0.12315443420410156, "p90": 0.12315443420410156, "p95": 0.12315443420410156, "p99": 0.12315443420410156, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1054.76096, "max_global_vram": 1056.44032, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "values": [ 0.005422080039978027, 0.005033984184265137, 0.0049459199905395506, 0.0048895998001098635, 0.004910079956054687, 0.004874239921569825, 0.004918272018432617, 0.004892672061920166, 0.00506060791015625, 0.005056511878967285, 0.005093376159667969, 0.005040128231048584, 0.005057568073272705, 0.005087232112884522, 0.00511078405380249, 0.0050432000160217285, 0.00506060791015625, 0.005115871906280518, 0.0050503678321838375, 0.00505241584777832, 0.005071872234344482, 0.005086207866668701, 0.005066751956939697, 0.005022719860076904, 0.005062655925750732, 0.005087200164794922, 0.005035007953643799, 0.005090303897857666, 0.005082111835479736, 0.005028863906860351, 0.005034016132354736, 0.005059584140777588, 0.005066720008850098, 0.005030911922454834, 0.005018623828887939, 0.005063648223876953, 0.005191743850708008, 0.005048319816589355, 0.005041152000427246, 0.005105663776397705, 0.005054463863372802, 0.005059616088867187, 0.005054463863372802, 0.005045248031616211, 0.004969471931457519, 0.004952064037322998, 0.004987904071807861, 0.005021696090698242, 0.00501145601272583, 0.005031936168670655, 0.0050421757698059086, 0.005059584140777588, 0.005054463863372802, 0.005056511878967285, 0.0050503678321838375, 0.0050421757698059086, 0.005026815891265869, 0.005037055969238281, 0.005093376159667969, 0.005044191837310791, 0.005030879974365235, 0.0050462718009948735, 0.005093376159667969, 0.005028863906860351, 0.0050421757698059086, 0.005067776203155518, 0.005066751956939697, 0.005045248031616211, 0.005041088104248047, 0.005073919773101807, 0.005038080215454102, 0.005033984184265137, 0.005023744106292725, 0.005074944019317627, 0.005021696090698242, 0.005064703941345215, 0.005059584140777588, 0.0051036162376403805, 0.005058559894561767, 0.005059584140777588, 0.00506982421875, 0.005149695873260498, 0.005090303897857666, 0.005069920063018799, 0.005128191947937012, 0.005058559894561767, 0.0050954241752624516, 0.005066751956939697, 0.0050769920349121095, 0.005069791793823242, 0.00506060791015625, 0.0051138558387756345, 0.005066751956939697, 0.005047296047210693, 0.00506879997253418, 0.005079040050506592, 0.0050462718009948735, 0.005052320003509522, 0.005057536125183106, 0.005089248180389404, 0.0050360321998596195, 0.005061632156372071, 0.005098495960235596, 0.005033984184265137, 0.005049344062805176, 0.005048319816589355, 0.005112832069396973, 0.005024767875671386, 0.005047296047210693, 0.005045248031616211, 0.005075967788696289, 0.0050421757698059086, 0.005055488109588623, 0.005088255882263183, 0.0050503678321838375, 0.005041152000427246, 0.005035007953643799, 0.005099520206451416, 0.005037055969238281, 0.00505452823638916, 0.005041152000427246, 0.005083136081695557, 0.005282815933227539, 0.00505241584777832, 0.0051036162376403805, 0.005039103984832764, 0.005086207866668701, 0.005051392078399658, 0.0050769920349121095, 0.005008384227752686, 0.005055488109588623, 0.005049344062805176, 0.005067776203155518, 0.005000192165374756, 0.004971519947052002, 0.0050165758132934574, 0.004981760025024414, 0.005000192165374756, 0.004973567962646484, 0.00501043176651001, 0.004976640224456787, 0.00495411205291748, 0.005041152000427246, 0.005048287868499756, 0.005049344062805176, 0.005039103984832764, 0.005038080215454102, 0.005041120052337647, 0.005026879787445068, 0.0050432000160217285, 0.005028831958770752, 0.005039103984832764, 0.00501964807510376, 0.005029888153076172, 0.005047296047210693, 0.005038080215454102, 0.0050022401809692385, 0.00499507188796997, 0.004952064037322998, 0.005442560195922852, 0.005097472190856934, 0.0050728960037231445, 0.005250048160552978, 0.005679103851318359, 0.005784575939178467, 0.005181439876556396, 0.00506879997253418, 0.005083136081695557, 0.005137407779693603, 0.0050800638198852536, 0.005061632156372071, 0.005114880084991455, 0.0050503678321838375, 0.005078015804290771, 0.005073919773101807, 0.005100543975830078, 0.005096447944641113, 0.005053440093994141, 0.005100543975830078, 0.005056511878967285, 0.00501043176651001, 0.0050421757698059086, 0.00511897611618042, 0.0050462718009948735, 0.0051138558387756345, 0.005089280128479004, 0.0050800638198852536, 0.005805056095123291, 0.00530841588973999, 0.005321728229522705, 0.00506169605255127, 0.005086207866668701, 0.005123072147369385, 0.005083136081695557, 0.005045248031616211, 0.00506879997253418, 0.006817791938781738 ], "count": 197, "total": 1.0007223672866823, "mean": 0.005079808970998386, "p50": 0.00505452823638916, "p90": 0.0051138558387756345, "p95": 0.005203404712677002, "p99": 0.005785395145416259, "stdev": 0.00016501157414185833, "stdev_": 3.248381486074406 }, "throughput": { "unit": "samples/s", "value": 196.85779636777562 }, "energy": { "unit": "kWh", "cpu": 5.963764678601011e-08, "ram": 3.258534868568767e-08, "gpu": 3.279343773668345e-07, "total": 4.201573728385323e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2380060.578835309 } } } }