{ "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", "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": 949.252096, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 177, "total": 0.9976053099632257, "mean": 0.005636188191882635, "stdev": 0.0002230951247909892, "p50": 0.005692416191101074, "p90": 0.005870387077331543, "p95": 0.005923635005950927, "p99": 0.006157475814819336, "values": [ 0.006164480209350586, 0.0058388481140136715, 0.005961664199829101, 0.005894144058227539, 0.005962751865386963, 0.005939167976379394, 0.005942272186279297, 0.0058716158866882326, 0.006155263900756836, 0.006502399921417237, 0.005920767784118652, 0.005854207992553711, 0.005954592227935791, 0.005900288105010986, 0.005917695999145508, 0.005866496086120605, 0.005833727836608887, 0.005788671970367432, 0.005835775852203369, 0.005804031848907471, 0.005858304023742676, 0.005837823867797852, 0.005822463989257813, 0.005850111961364746, 0.005825535774230957, 0.005891071796417236, 0.005763072013854981, 0.005768191814422607, 0.005672959804534912, 0.005801983833312988, 0.005791744232177734, 0.005808127880096436, 0.00577023983001709, 0.00581324815750122, 0.005837823867797852, 0.005763072013854981, 0.005754879951477051, 0.005765120029449463, 0.005833727836608887, 0.0058009600639343266, 0.005829631805419922, 0.0056852478981018065, 0.005833727836608887, 0.005615615844726562, 0.005633024215698243, 0.005710847854614258, 0.00571289587020874, 0.0056432318687438966, 0.00568832015991211, 0.005806079864501953, 0.005724160194396972, 0.0058122239112854005, 0.0058419198989868165, 0.005837759971618652, 0.005831679821014404, 0.005856256008148194, 0.005788671970367432, 0.005787648200988769, 0.005699584007263184, 0.00576204776763916, 0.005815296173095703, 0.005803008079528809, 0.005810175895690918, 0.005787648200988769, 0.00588595199584961, 0.005668863773345947, 0.005673984050750733, 0.005799935817718506, 0.0057497601509094234, 0.005740543842315674, 0.005801983833312988, 0.005857279777526855, 0.005670911788940429, 0.005672959804534912, 0.005718016147613526, 0.005752831935882568, 0.005744639873504639, 0.005733376026153565, 0.005782464027404785, 0.005710847854614258, 0.0057712640762329105, 0.005740543842315674, 0.005907455921173096, 0.00586956787109375, 0.005876800060272217, 0.005839871883392334, 0.005860352039337159, 0.005843967914581299, 0.005784575939178467, 0.00582144021987915, 0.005827583789825439, 0.005711904048919678, 0.005815296173095703, 0.005733376026153565, 0.005631999969482422, 0.005602303981781006, 0.0054271998405456545, 0.005549056053161621, 0.005686272144317627, 0.00556441593170166, 0.005387231826782226, 0.005393407821655274, 0.0053647360801696775, 0.005385216236114502, 0.005506048202514649, 0.005554175853729248, 0.005692416191101074, 0.005604351997375488, 0.005724160194396972, 0.005727231979370117, 0.005811200141906738, 0.0059351038932800295, 0.0055552000999450684, 0.00551526403427124, 0.0053985600471496585, 0.005428192138671875, 0.005481472015380859, 0.005459968090057373, 0.005440480232238769, 0.005388288021087646, 0.0054271998405456545, 0.005467103958129883, 0.00542310380935669, 0.005402624130249023, 0.005465087890625, 0.0053975038528442385, 0.005427264213562012, 0.005478400230407715, 0.005416959762573242, 0.005552127838134766, 0.00538316822052002, 0.005379072189331055, 0.005378047943115235, 0.005349376201629639, 0.00537395191192627, 0.005380095958709717, 0.005356544017791748, 0.0053678078651428224, 0.0053678078651428224, 0.005345280170440674, 0.005349376201629639, 0.00536575984954834, 0.005344255924224854, 0.00536575984954834, 0.00537395191192627, 0.00541593599319458, 0.005370880126953125, 0.005345280170440674, 0.005343264102935791, 0.005350399971008301, 0.00535756778717041, 0.00537500810623169, 0.005379072189331055, 0.005336063861846924, 0.005371903896331787, 0.005355519771575928, 0.005347328186035156, 0.0053647360801696775, 0.005350399971008301, 0.005350399971008301, 0.005354496002197265, 0.005373983860015869, 0.0053534722328186036, 0.005370880126953125, 0.005379072189331055, 0.0053647360801696775, 0.0053637118339538575, 0.005429247856140137, 0.005402624130249023, 0.00542310380935669, 0.005377024173736572, 0.0053534722328186036, 0.005421055793762207, 0.005341184139251709, 0.0053647360801696775, 0.0053821439743042, 0.0053606400489807126 ] }, "throughput": { "unit": "samples/s", "value": 177.42487758663248 }, "energy": { "unit": "kWh", "cpu": 6.418642965522973e-08, "ram": 3.509264617310396e-08, "gpu": 1.30597702075676e-07, "total": 2.298767779040097e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4350156.675754229 } } } }