{ "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", "model": "timm/resnet50.a1_in1k", "library": "timm", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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.289728, "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": 951.1936, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 192, "total": 1.000051101684571, "mean": 0.0052085994879404705, "stdev": 0.00034152985213869546, "p50": 0.005182496070861816, "p90": 0.005312307119369507, "p95": 0.005392844748497009, "p99": 0.007455805578231812, "values": [ 0.007880703926086426, 0.007580671787261963, 0.007443456172943115, 0.00590444803237915, 0.005661695957183838, 0.005700607776641845, 0.005579808235168457, 0.005623807907104492, 0.0059955201148986816, 0.005312511920928955, 0.005115903854370117, 0.005075967788696289, 0.005099520206451416, 0.005094399929046631, 0.005091328144073487, 0.00502784013748169, 0.005009439945220948, 0.0050462718009948735, 0.0050728960037231445, 0.005061632156372071, 0.005053440093994141, 0.00512505578994751, 0.005059584140777588, 0.00506169605255127, 0.00506879997253418, 0.00502784013748169, 0.005030911922454834, 0.005035007953643799, 0.005070847988128662, 0.005026815891265869, 0.005021696090698242, 0.00510975980758667, 0.005288959980010987, 0.005245952129364013, 0.0050432000160217285, 0.005028863906860351, 0.005024767875671386, 0.0050165758132934574, 0.0050145602226257325, 0.005028863906860351, 0.005100543975830078, 0.005081088066101074, 0.0050094079971313476, 0.005043263912200928, 0.005025792121887207, 0.005037055969238281, 0.005008384227752686, 0.005048351764678955, 0.005073919773101807, 0.005039103984832764, 0.005039103984832764, 0.004997119903564453, 0.0050135040283203125, 0.005190656185150146, 0.005392384052276611, 0.005292031764984131, 0.005288959980010987, 0.005285888195037842, 0.005197824001312256, 0.005231616020202637, 0.005212224006652832, 0.0052008957862854, 0.005268479824066162, 0.005128191947937012, 0.005005311965942383, 0.0051784319877624515, 0.00517632007598877, 0.005058559894561767, 0.005021696090698242, 0.005028863906860351, 0.005017600059509277, 0.005033984184265137, 0.005088255882263183, 0.005222400188446045, 0.005245952129364013, 0.0052367358207702636, 0.005318655967712403, 0.00531763219833374, 0.005287936210632324, 0.005303296089172363, 0.00532480001449585, 0.005281856060028076, 0.005312511920928955, 0.0053309440612792965, 0.005318655967712403, 0.005306367874145508, 0.005305344104766845, 0.005310463905334473, 0.005294079780578613, 0.005249023914337158, 0.005206016063690186, 0.0052705278396606445, 0.0052336640357971195, 0.005220352172851562, 0.0052070398330688475, 0.005203968048095703, 0.005291007995605469, 0.0052726402282714845, 0.005202943801879883, 0.005223360061645508, 0.005203968048095703, 0.005031936168670655, 0.005057536125183106, 0.0051404800415039064, 0.005197824001312256, 0.00536678409576416, 0.005285855770111084, 0.005298175811767578, 0.005268479824066162, 0.005218272209167481, 0.0052715840339660645, 0.005149695873260498, 0.005055488109588623, 0.0050432000160217285, 0.0050503678321838375, 0.005049344062805176, 0.005051392078399658, 0.005040128231048584, 0.0050165758132934574, 0.005049344062805176, 0.005014527797698975, 0.0050206718444824215, 0.005023744106292725, 0.0050462718009948735, 0.005028863906860351, 0.005038080215454102, 0.0050135040283203125, 0.0050503678321838375, 0.005023744106292725, 0.005352447986602784, 0.005393407821655274, 0.005259263992309571, 0.005227519989013672, 0.00526636791229248, 0.005216256141662597, 0.0052336640357971195, 0.005228544235229492, 0.00521727991104126, 0.005234687805175781, 0.005198847770690918, 0.005254144191741943, 0.005238783836364746, 0.005206016063690186, 0.005257279872894287, 0.005232639789581299, 0.005251071929931641, 0.0052971520423889164, 0.0052336640357971195, 0.00521727991104126, 0.005265408039093018, 0.005228544235229492, 0.005246975898742676, 0.005223455905914306, 0.005198847770690918, 0.0050841598510742185, 0.005278719902038574, 0.005222400188446045, 0.005228544235229492, 0.005273632049560547, 0.005139455795288086, 0.005041088104248047, 0.005292031764984131, 0.005226463794708252, 0.005221439838409424, 0.005186560153961181, 0.005056511878967285, 0.005056511878967285, 0.005033984184265137, 0.005087232112884522, 0.005055488109588623, 0.005032959938049316, 0.005037055969238281, 0.005219327926635742, 0.00526643180847168, 0.005221375942230225, 0.005227519989013672, 0.005260287761688232, 0.005228544235229492, 0.005044223785400391, 0.005049344062805176, 0.0050421757698059086, 0.00506879997253418, 0.005026815891265869, 0.00506982421875, 0.0050165758132934574, 0.005098495960235596, 0.005059552192687988, 0.005094399929046631, 0.005142528057098389, 0.005057536125183106, 0.005081088066101074, 0.005061632156372071 ] }, "throughput": { "unit": "samples/s", "value": 191.99018897792226 }, "energy": { "unit": "kWh", "cpu": 5.987352795071072e-08, "ram": 3.273740601702749e-08, "gpu": 1.2603124560606043e-07, "total": 2.1864217957379864e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4573682.90944277 } } } }