{ "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 950.812672, "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.9970616950988773, "mean": 0.005633116921462582, "stdev": 0.00019434615079812719, "p50": 0.005682176113128662, "p90": 0.005866905689239502, "p95": 0.0059185153961181635, "p99": 0.0059826585769653315, "values": [ 0.006081535816192627, 0.005916672229766846, 0.005942272186279297, 0.005975039958953857, 0.005981184005737304, 0.005947391986846923, 0.00588595199584961, 0.005925888061523437, 0.005907455921173096, 0.0058757119178771975, 0.005787648200988769, 0.005803008079528809, 0.005753856182098388, 0.00577023983001709, 0.005801919937133789, 0.005795839786529541, 0.005730303764343261, 0.005596159934997558, 0.005607423782348633, 0.005677055835723877, 0.005713920116424561, 0.005726208209991455, 0.005833727836608887, 0.005789696216583252, 0.005786623954772949, 0.0058429441452026365, 0.005706751823425293, 0.005738560199737549, 0.005658624172210694, 0.005879807949066162, 0.0058009600639343266, 0.005830656051635743, 0.005817344188690185, 0.005825535774230957, 0.00582041597366333, 0.005718016147613526, 0.005789696216583252, 0.005761023998260498, 0.005803008079528809, 0.005785600185394287, 0.005804031848907471, 0.005642240047454834, 0.005659647941589355, 0.005654528141021729, 0.00562278413772583, 0.005743616104125977, 0.005634047985076904, 0.005677055835723877, 0.0059391999244689945, 0.0057487678527832035, 0.005816383838653565, 0.005856224060058594, 0.005855231761932373, 0.005966847896575928, 0.005852159976959229, 0.0058757119178771975, 0.005774271965026855, 0.00572108793258667, 0.005698560237884521, 0.005774335861206055, 0.005823488235473633, 0.005767168045043946, 0.005756927967071533, 0.005780479907989502, 0.005766143798828125, 0.005657599925994873, 0.005682176113128662, 0.00580294418334961, 0.005735424041748047, 0.005731328010559082, 0.005819392204284668, 0.005859360218048095, 0.0057077760696411135, 0.005681151866912842, 0.005713920116424561, 0.005726208209991455, 0.005753856182098388, 0.00573747205734253, 0.005733376026153565, 0.0057149438858032225, 0.005731328010559082, 0.005735424041748047, 0.005836800098419189, 0.00587775993347168, 0.005883903980255127, 0.005844992160797119, 0.005825568199157715, 0.0058122239112854005, 0.005783552169799804, 0.00587059211730957, 0.0057190399169921875, 0.005697535991668701, 0.005804031848907471, 0.005721055984497071, 0.005673984050750733, 0.0055214080810546875, 0.005459968090057373, 0.005537792205810547, 0.00573747205734253, 0.005591040134429932, 0.005395455837249756, 0.005407743930816651, 0.005452799797058106, 0.005422080039978027, 0.005437439918518067, 0.005403711795806885, 0.005864448070526123, 0.005615615844726562, 0.005701632022857666, 0.005709824085235596, 0.005790719985961914, 0.005987328052520752, 0.005611519813537597, 0.005639167785644531, 0.005477375984191894, 0.005492735862731934, 0.00542310380935669, 0.005387263774871826, 0.0054271998405456545, 0.005398528099060058, 0.005362688064575195, 0.005549088001251221, 0.005411839962005615, 0.005384191989898681, 0.005405695915222168, 0.0053821439743042, 0.00536575984954834, 0.005403647899627686, 0.005388288021087646, 0.005375999927520752, 0.005401599884033203, 0.00538316822052002, 0.0053975038528442385, 0.005395455837249756, 0.0053637118339538575, 0.005407743930816651, 0.005377024173736572, 0.005362688064575195, 0.0055101442337036136, 0.005414912223815918, 0.005389311790466309, 0.005431295871734619, 0.005388288021087646, 0.005399551868438721, 0.0053975038528442385, 0.005369855880737305, 0.005396480083465576, 0.005393407821655274, 0.005375999927520752, 0.005421055793762207, 0.005407743930816651, 0.005392384052276611, 0.00542310380935669, 0.005414912223815918, 0.0053678078651428224, 0.005409791946411133, 0.0053637118339538575, 0.00535859203338623, 0.005395455837249756, 0.005355519771575928, 0.005396480083465576, 0.0053944320678710935, 0.005354496002197265, 0.005414912223815918, 0.00537395191192627, 0.005489664077758789, 0.005478400230407715, 0.005408768177032471, 0.005375999927520752, 0.005441535949707031, 0.005499904155731201, 0.005767168045043946, 0.005511168003082275, 0.005494783878326416, 0.005465087890625, 0.0055214080810546875, 0.005407743930816651 ] }, "throughput": { "unit": "samples/s", "value": 177.52161262442962 }, "energy": { "unit": "kWh", "cpu": 6.05516177929448e-08, "ram": 3.3103814400549576e-08, "gpu": 1.3099641998979556e-07, "total": 2.2465185218328997e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4451332.095780432 } } } }