{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.3.1+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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 952.487936, "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.995556351184845, "mean": 0.005561767325055, "stdev": 0.00024193065814226547, "p50": 0.005570559978485107, "p90": 0.005840076732635498, "p95": 0.005894963026046753, "p99": 0.006143155689239501, "values": [ 0.006151167869567871, 0.005841983795166016, 0.0059770879745483394, 0.005866496086120605, 0.005975039958953857, 0.0058757119178771975, 0.00586956787109375, 0.005858272075653076, 0.005891071796417236, 0.005720064163208007, 0.005699584007263184, 0.005730239868164062, 0.005713920116424561, 0.005824512004852295, 0.005585919857025146, 0.006045695781707764, 0.005633024215698243, 0.005750783920288086, 0.0057190399169921875, 0.005818367958068848, 0.005807168006896972, 0.006805568218231201, 0.005773312091827393, 0.005857279777526855, 0.005929984092712402, 0.005783552169799804, 0.0057825279235839844, 0.005827583789825439, 0.005780479907989502, 0.005670911788940429, 0.00568723201751709, 0.005702655792236328, 0.005718016147613526, 0.005709824085235596, 0.005605375766754151, 0.0055510721206665035, 0.005609471797943116, 0.005732351779937744, 0.005575679779052735, 0.005681087970733642, 0.0060293121337890625, 0.005763072013854981, 0.005790719985961914, 0.005839871883392334, 0.0058091521263122555, 0.005831647872924805, 0.005672959804534912, 0.005569471836090088, 0.005689343929290771, 0.0057825279235839844, 0.005753856182098388, 0.005713920116424561, 0.005728288173675537, 0.0056258559226989744, 0.0057497601509094234, 0.005744639873504639, 0.005641215801239013, 0.005840896129608154, 0.005679103851318359, 0.005640192031860352, 0.005682176113128662, 0.005618688106536865, 0.005668863773345947, 0.0056679039001464844, 0.005676032066345215, 0.005645311832427978, 0.005727231979370117, 0.005822463989257813, 0.0057794561386108395, 0.005805056095123291, 0.005801983833312988, 0.005761023998260498, 0.005689343929290771, 0.005753856182098388, 0.00566374397277832, 0.0057487359046936035, 0.005611519813537597, 0.005618688106536865, 0.005471231937408447, 0.005391359806060791, 0.005598207950592041, 0.005697535991668701, 0.005420032024383545, 0.005354496002197265, 0.005319680213928223, 0.005311488151550293, 0.005346303939819336, 0.005377024173736572, 0.005672959804534912, 0.005633024215698243, 0.005526527881622314, 0.00568832015991211, 0.0057118721008300784, 0.005858304023742676, 0.005662720203399658, 0.005451776027679443, 0.006140895843505859, 0.005354496002197265, 0.0051333122253417966, 0.0051435518264770505, 0.005117951869964599, 0.0051363840103149415, 0.006104063987731933, 0.005443583965301513, 0.005402624130249023, 0.005636096000671387, 0.005665791988372803, 0.005411839962005615, 0.005341184139251709, 0.005387263774871826, 0.005377024173736572, 0.005341184139251709, 0.005399551868438721, 0.005379072189331055, 0.005345280170440674, 0.005377024173736572, 0.0053534722328186036, 0.005325823783874512, 0.005371903896331787, 0.00536787223815918, 0.00537395191192627, 0.005351359844207764, 0.005327871799468994, 0.005341184139251709, 0.005319680213928223, 0.005312511920928955, 0.0053534722328186036, 0.005347328186035156, 0.005484543800354004, 0.0053534722328186036, 0.005354496002197265, 0.005340159893035889, 0.00535148811340332, 0.0053350400924682614, 0.005319680213928223, 0.005346303939819336, 0.005326848030090332, 0.005318655967712403, 0.00536678409576416, 0.0054568958282470706, 0.005336063861846924, 0.005570559978485107, 0.005776383876800537, 0.005378047943115235, 0.005345280170440674, 0.005342207908630371, 0.0053637118339538575, 0.005356544017791748, 0.00531660795211792, 0.005359615802764893, 0.005339104175567627, 0.005328896045684814, 0.005356544017791748, 0.005343264102935791, 0.0053309440612792965, 0.005407743930816651, 0.005345280170440674, 0.00531660795211792, 0.005369823932647705, 0.005361663818359375, 0.0053340158462524415, 0.005355519771575928, 0.005345280170440674, 0.005331967830657959, 0.005343232154846191, 0.005344255924224854, 0.00536678409576416, 0.005348351955413819, 0.0053309440612792965, 0.005353536128997803, 0.0053309440612792965, 0.005312511920928955, 0.005356544017791748, 0.005369855880737305, 0.005326848030090332, 0.0053534722328186036, 0.005328896045684814, 0.00532480001449585, 0.005345280170440674 ] }, "throughput": { "unit": "samples/s", "value": 179.79896345090472 }, "energy": { "unit": "kWh", "cpu": 6.444807555796443e-08, "ram": 3.523411637340781e-08, "gpu": 1.3712873289130486e-07, "total": 2.368109248226771e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4222778.154127793 } } } }