{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "timm", "model": "timm/resnet50.a1_in1k", "processor": "timm/resnet50.a1_in1k", "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": false, "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", "numactl": false, "numactl_kwargs": {}, "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.1", "optimum_benchmark_commit": null, "transformers_version": "4.41.0", "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": 948.998144, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 179, "total": 0.9979657917022701, "mean": 0.005575227886604864, "stdev": 0.00019854930722686131, "p50": 0.0055101442337036136, "p90": 0.005897420883178711, "p95": 0.005944627380371094, "p99": 0.006012415952682495, "values": [ 0.005979135990142822, 0.005725183963775635, 0.005732351779937744, 0.005747744083404541, 0.005725183963775635, 0.005691391944885254, 0.00572108793258667, 0.005727231979370117, 0.005716991901397705, 0.005633024215698243, 0.005618688106536865, 0.0056555519104003905, 0.005719007968902588, 0.005676032066345215, 0.005492735862731934, 0.005405695915222168, 0.005548031806945801, 0.005511168003082275, 0.005581823825836182, 0.005647359848022461, 0.005909471988677978, 0.005904384136199951, 0.0059023361206054685, 0.005832704067230224, 0.005834752082824707, 0.005925888061523437, 0.006032383918762207, 0.0059433279037475585, 0.005936192035675049, 0.005925888061523437, 0.0058787841796875, 0.005947391986846923, 0.005960703849792481, 0.005958655834197998, 0.005777408123016357, 0.005780479907989502, 0.0057610878944396975, 0.005873663902282715, 0.00581324815750122, 0.005886975765228271, 0.00588595199584961, 0.005896192073822021, 0.006000639915466309, 0.0060067839622497555, 0.005944320201873779, 0.0059955201148986816, 0.005886975765228271, 0.005874688148498535, 0.00586240005493164, 0.005939263820648194, 0.005873663902282715, 0.005683199882507324, 0.005609471797943116, 0.005408768177032471, 0.005568511962890625, 0.005500927925109863, 0.005491648197174072, 0.005646336078643799, 0.00550707197189331, 0.0055101442337036136, 0.005486591815948487, 0.005501952171325684, 0.005547008037567139, 0.005563392162322998, 0.005544960021972656, 0.005496831893920898, 0.005567552089691162, 0.005687295913696289, 0.005677055835723877, 0.005650432109832764, 0.005642240047454834, 0.005616640090942383, 0.0055808000564575196, 0.005552127838134766, 0.005483520030975342, 0.005549056053161621, 0.005483520030975342, 0.0053975038528442385, 0.005296127796173096, 0.005193727970123291, 0.005238783836364746, 0.005449728012084961, 0.0054241280555725096, 0.005251071929931641, 0.005145599842071533, 0.0051404800415039064, 0.005178368091583252, 0.0052336640357971195, 0.005411808013916016, 0.005526527881622314, 0.005509119987487793, 0.005538815975189209, 0.005538815975189209, 0.005541888236999512, 0.00559827184677124, 0.005689311981201172, 0.005608448028564453, 0.005448703765869141, 0.005413887977600097, 0.0055285758972167965, 0.0054609918594360355, 0.005470208168029785, 0.005495808124542236, 0.005434368133544922, 0.005483520030975342, 0.005428160190582275, 0.005442560195922852, 0.005641215801239013, 0.005537792205810547, 0.005443583965301513, 0.005450751781463623, 0.005414912223815918, 0.005462016105651855, 0.005432320117950439, 0.0053975038528442385, 0.005548031806945801, 0.005446656227111817, 0.005475264072418213, 0.005482495784759522, 0.0054282240867614745, 0.005487648010253907, 0.005439487934112549, 0.005431295871734619, 0.005472256183624268, 0.0053975038528442385, 0.0053975038528442385, 0.0054579200744628905, 0.005414912223815918, 0.005408768177032471, 0.005431295871734619, 0.005404672145843506, 0.005624832153320313, 0.005591040134429932, 0.0054876160621643065, 0.005776383876800537, 0.006292479991912842, 0.0055316481590271, 0.005456799983978271, 0.005519360065460205, 0.005432320117950439, 0.0054609918594360355, 0.005543935775756836, 0.005418975830078125, 0.005482495784759522, 0.005665791988372803, 0.005453824043273926, 0.005513216018676758, 0.005435391902923584, 0.00547430419921875, 0.005496831893920898, 0.005407743930816651, 0.005495808124542236, 0.0054609918594360355, 0.005392384052276611, 0.0056145920753479005, 0.005643263816833496, 0.0055101442337036136, 0.005519360065460205, 0.005441535949707031, 0.005446656227111817, 0.005483520030975342, 0.005412864208221436, 0.005466047763824463, 0.0054282240867614745, 0.005390399932861328, 0.005496831893920898, 0.005411776065826416, 0.00535859203338623, 0.005398528099060058, 0.0053678078651428224, 0.0054364800453186035, 0.005447679996490478, 0.005437439918518067, 0.005489664077758789, 0.005446656227111817, 0.005404672145843506, 0.005486591815948487, 0.005441535949707031, 0.0053821439743042 ] }, "throughput": { "unit": "samples/s", "value": 179.36486549771658 }, "energy": { "unit": "kWh", "cpu": 6.14905012498042e-08, "ram": 3.361619932397113e-08, "gpu": 1.3455105755440413e-07, "total": 2.2965775812817946e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4354305.328722523 } } } }