{ "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.116928, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 185, "total": 0.9957353234291078, "mean": 0.005382353099616799, "stdev": 0.00036354319191445517, "p50": 0.005568511962890625, "p90": 0.0057562943458557125, "p95": 0.0058013694763183596, "p99": 0.005847366409301758, "values": [ 0.0060375361442565915, 0.005776383876800537, 0.005804031848907471, 0.005818367958068848, 0.005831679821014404, 0.005745664119720459, 0.005880832195281982, 0.005731328010559082, 0.005776415824890137, 0.005757919788360596, 0.005743616104125977, 0.005752831935882568, 0.005693439960479736, 0.005608448028564453, 0.005687295913696289, 0.0057415361404418944, 0.005608448028564453, 0.005596159934997558, 0.0054876160621643065, 0.005568511962890625, 0.0055808000564575196, 0.0055511040687561035, 0.005753791809082031, 0.005708767890930176, 0.005790719985961914, 0.0057784318923950195, 0.005649407863616943, 0.00568012809753418, 0.005615615844726562, 0.005654528141021729, 0.005747712135314941, 0.005637119770050049, 0.0056514558792114256, 0.0057066879272460935, 0.005702655792236328, 0.005708799839019775, 0.005642240047454834, 0.005641215801239013, 0.005736480236053467, 0.005775360107421875, 0.005750783920288086, 0.005691391944885254, 0.005482463836669922, 0.005574656009674072, 0.0055848960876464845, 0.005604320049285889, 0.005702720165252685, 0.005536767959594726, 0.0055797758102417, 0.005738495826721191, 0.005570559978485107, 0.005667776107788086, 0.005673984050750733, 0.005840991973876953, 0.005742591857910156, 0.005751808166503906, 0.005743616104125977, 0.005730303764343261, 0.005617663860321045, 0.005611487865447998, 0.00576204776763916, 0.005647359848022461, 0.0058388481140136715, 0.00563097620010376, 0.005753856182098388, 0.005728256225585937, 0.005567488193511963, 0.005600255966186523, 0.005590015888214111, 0.005694464206695556, 0.005603328227996827, 0.005693439960479736, 0.005725183963775635, 0.005656576156616211, 0.005551199913024902, 0.005577727794647217, 0.005594143867492676, 0.005637119770050049, 0.005649407863616943, 0.0056145920753479005, 0.00562275218963623, 0.005643263816833496, 0.005617663860321045, 0.005695487976074219, 0.005730303764343261, 0.005825535774230957, 0.0057784318923950195, 0.0056739521026611325, 0.0057825279235839844, 0.005677055835723877, 0.005665791988372803, 0.005730303764343261, 0.005604351997375488, 0.005554175853729248, 0.005750783920288086, 0.005544928073883057, 0.005552127838134766, 0.005462016105651855, 0.00531660795211792, 0.005410816192626953, 0.005570559978485107, 0.005553152084350586, 0.005260287761688232, 0.0052705278396606445, 0.0052941122055053715, 0.00522649621963501, 0.005537792205810547, 0.005265408039093018, 0.005508096218109131, 0.005559296131134033, 0.005488639831542969, 0.005728256225585937, 0.005641215801239013, 0.005805056095123291, 0.005511168003082275, 0.005824512004852295, 0.005206016063690186, 0.005047296047210693, 0.00495411205291748, 0.004938591957092285, 0.004951039791107178, 0.004941823959350586, 0.004947999954223633, 0.004928512096405029, 0.004965375900268554, 0.004958208084106445, 0.004929567813873291, 0.0049387521743774416, 0.005005311965942383, 0.004965375900268554, 0.00501859188079834, 0.004964416027069092, 0.00501043176651001, 0.004964352130889893, 0.0049459199905395506, 0.0049192957878112795, 0.004876287937164306, 0.004897791862487793, 0.004891647815704346, 0.004927487850189209, 0.004921343803405762, 0.004914175987243652, 0.0049530878067016604, 0.004975615978240967, 0.004959231853485108, 0.004907008171081543, 0.004866047859191895, 0.004842495918273926, 0.004918272018432617, 0.0049090561866760255, 0.004910079956054687, 0.0049162240028381345, 0.004926464080810547, 0.0049090561866760255, 0.004834303855895996, 0.004848639965057373, 0.004899839878082276, 0.004930560111999512, 0.004921343803405762, 0.0049090561866760255, 0.004890624046325683, 0.004924416065216064, 0.004908031940460205, 0.004928512096405029, 0.004921343803405762, 0.0049162240028381345, 0.004936704158782959, 0.004917247772216797, 0.004888703823089599, 0.004884479999542236, 0.004924416065216064, 0.004926464080810547, 0.0049797120094299315, 0.004993023872375488, 0.0050094079971313476, 0.0049797120094299315, 0.00496127986907959, 0.004895711898803711, 0.0049428482055664065, 0.0048700480461120604, 0.004859903812408447, 0.004893695831298828, 0.004923327922821045, 0.004927487850189209, 0.0049079999923706055 ] }, "throughput": { "unit": "samples/s", "value": 185.79234425760657 }, "energy": { "unit": "kWh", "cpu": 6.237703138759763e-08, "ram": 3.395356609666914e-08, "gpu": 1.303505987539263e-07, "total": 2.2668119623819304e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4411481.925255131 } } } }