{ "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.2.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.205312, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 190, "total": 0.9981847047805789, "mean": 0.005253603709371467, "stdev": 0.00017600595332412488, "p50": 0.0053012480735778805, "p90": 0.005456223917007446, "p95": 0.005524121594429016, "p99": 0.005734901957511901, "values": [ 0.005728256225585937, 0.005454783916473389, 0.00552243185043335, 0.0055285758972167965, 0.005588992118835449, 0.005519360065460205, 0.005535744190216065, 0.005788671970367432, 0.005691391944885254, 0.005991424083709717, 0.005129216194152832, 0.0050063362121582035, 0.005030911922454834, 0.005026815891265869, 0.005017600059509277, 0.005014527797698975, 0.005051392078399658, 0.005032959938049316, 0.00501145601272583, 0.005021696090698242, 0.005015552043914795, 0.005099520206451416, 0.0050022401809692385, 0.0050135040283203125, 0.005063680171966553, 0.005017600059509277, 0.004999167919158935, 0.00521830415725708, 0.005054463863372802, 0.005023744106292725, 0.005005311965942383, 0.005031936168670655, 0.005083136081695557, 0.005160927772521973, 0.005036064147949219, 0.005024767875671386, 0.005017600059509277, 0.005016640186309814, 0.005075967788696289, 0.005033984184265137, 0.005000192165374756, 0.0050165758132934574, 0.0050462718009948735, 0.005018623828887939, 0.005035999774932861, 0.0050135040283203125, 0.00502784013748169, 0.005024767875671386, 0.0050022401809692385, 0.005041152000427246, 0.005004288196563721, 0.0050432000160217285, 0.005017600059509277, 0.005220352172851562, 0.005179391860961914, 0.005064703941345215, 0.0050360321998596195, 0.005061632156372071, 0.0050432000160217285, 0.005172224044799805, 0.0050841598510742185, 0.005041152000427246, 0.00501964807510376, 0.00501043176651001, 0.005054463863372802, 0.005023744106292725, 0.005039103984832764, 0.005025792121887207, 0.0050432000160217285, 0.0050360321998596195, 0.005031936168670655, 0.005051392078399658, 0.005033984184265137, 0.005044159889221192, 0.005328896045684814, 0.005393407821655274, 0.005449728012084961, 0.005322751998901368, 0.005526527881622314, 0.005338111877441406, 0.005306367874145508, 0.00535756778717041, 0.00536575984954834, 0.00531763219833374, 0.00535859203338623, 0.0052705278396606445, 0.005295104026794434, 0.005305344104766845, 0.0053012480735778805, 0.0053012480735778805, 0.005292031764984131, 0.0053095040321350095, 0.005525504112243652, 0.005298175811767578, 0.005210080146789551, 0.005252096176147461, 0.005214208126068115, 0.005488639831542969, 0.005339136123657226, 0.00531660795211792, 0.005213183879852295, 0.005220352172851562, 0.005437439918518067, 0.005313568115234375, 0.00531763219833374, 0.005325823783874512, 0.005268479824066162, 0.0052930560111999515, 0.005329919815063477, 0.005311488151550293, 0.005518303871154785, 0.0055582718849182125, 0.0053298878669738765, 0.005417984008789062, 0.005328896045684814, 0.005355519771575928, 0.005368832111358642, 0.005341184139251709, 0.0053350400924682614, 0.005407743930816651, 0.005378047943115235, 0.0053606400489807126, 0.005375936031341553, 0.005348351955413819, 0.005322751998901368, 0.0053647360801696775, 0.00530841588973999, 0.005307392120361328, 0.00531660795211792, 0.005493760108947754, 0.005305344104766845, 0.005299200057983398, 0.0052899842262268066, 0.005338111877441406, 0.00532480001449585, 0.005298175811767578, 0.0053002238273620605, 0.005296127796173096, 0.005272575855255127, 0.005315584182739258, 0.00531660795211792, 0.0052930560111999515, 0.0053002238273620605, 0.005323775768280029, 0.005299200057983398, 0.005321728229522705, 0.005298175811767578, 0.005286911964416504, 0.005470208168029785, 0.005504000186920166, 0.005314559936523438, 0.005334047794342041, 0.005336063861846924, 0.005303296089172363, 0.005470208168029785, 0.005340159893035889, 0.0053002238273620605, 0.00531763219833374, 0.005319680213928223, 0.005292031764984131, 0.005327807903289795, 0.005328896045684814, 0.0053002238273620605, 0.005325823783874512, 0.0053043198585510255, 0.005287936210632324, 0.005321728229522705, 0.005289951801300049, 0.005430240154266358, 0.005313536167144775, 0.005314559936523438, 0.005368832111358642, 0.00530841588973999, 0.005318655967712403, 0.005210112094879151, 0.005425151824951172, 0.0053340158462524415, 0.005469183921813964, 0.00531660795211792, 0.005310463905334473, 0.00530944013595581, 0.005326848030090332, 0.0053534722328186036, 0.005306367874145508, 0.00530944013595581, 0.005311488151550293, 0.005298175811767578, 0.005340159893035889, 0.005313536167144775, 0.005277696132659912 ] }, "throughput": { "unit": "samples/s", "value": 190.3455333367043 }, "energy": { "unit": "kWh", "cpu": 6.433766077946615e-08, "ram": 3.5146537920604e-08, "gpu": 1.359160246486487e-07, "total": 2.3540022334871882e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4248084.329633847 } } } }