{ "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.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": 951.468032, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 176, "total": 0.9947444152832029, "mean": 0.0056519569050182, "stdev": 0.0001855205911400807, "p50": 0.005671439886093139, "p90": 0.0058490879535675055, "p95": 0.005930752038955689, "p99": 0.006125823974609375, "values": [ 0.006209536075592041, 0.0058388481140136715, 0.005976064205169678, 0.005883903980255127, 0.0060282878875732426, 0.005882880210876465, 0.005925888061523437, 0.005880832195281982, 0.005945343971252442, 0.00581324815750122, 0.005831679821014404, 0.0057794561386108395, 0.005824480056762695, 0.005784575939178467, 0.0057784318923950195, 0.005825535774230957, 0.005682176113128662, 0.005662720203399658, 0.005588992118835449, 0.005676032066345215, 0.005682176113128662, 0.005701632022857666, 0.005835775852203369, 0.005753856182098388, 0.00582860803604126, 0.005789696216583252, 0.005816319942474365, 0.005740543842315674, 0.005697535991668701, 0.005751776218414307, 0.005852159976959229, 0.005806079864501953, 0.005767168045043946, 0.0058419198989868165, 0.005790719985961914, 0.005839871883392334, 0.00572108793258667, 0.005843967914581299, 0.005797887802124023, 0.005832704067230224, 0.005801983833312988, 0.005755904197692871, 0.005585919857025146, 0.0055808000564575196, 0.005674015998840332, 0.005675007820129394, 0.005699615955352783, 0.005604320049285889, 0.00571289587020874, 0.005798912048339844, 0.005731328010559082, 0.005836800098419189, 0.005810175895690918, 0.005895167827606201, 0.005774335861206055, 0.005846015930175781, 0.005788640022277832, 0.005764095783233642, 0.005687295913696289, 0.005710847854614258, 0.005793791770935058, 0.0058091521263122555, 0.005776447772979736, 0.005720064163208007, 0.005804096221923828, 0.005728256225585937, 0.00563097620010376, 0.005694464206695556, 0.0057497601509094234, 0.005697535991668701, 0.00570470380783081, 0.0058940801620483395, 0.005784575939178467, 0.005692416191101074, 0.005646336078643799, 0.005747712135314941, 0.005679103851318359, 0.0057415680885314945, 0.00571289587020874, 0.00571289587020874, 0.005732351779937744, 0.005686272144317627, 0.005912576198577881, 0.005642240047454834, 0.005646336078643799, 0.005599232196807862, 0.0055808000564575196, 0.005643263816833496, 0.005535744190216065, 0.0055808000564575196, 0.005568511962890625, 0.005519360065460205, 0.0054282240867614745, 0.00556441593170166, 0.005473279953002929, 0.005389311790466309, 0.005387263774871826, 0.005479423999786377, 0.006097919940948486, 0.006073408126831055, 0.005788671970367432, 0.00561356782913208, 0.005699584007263184, 0.00643071985244751, 0.005576704025268555, 0.005492735862731934, 0.005509119987487793, 0.0055285758972167965, 0.005745664119720459, 0.005668863773345947, 0.005694464206695556, 0.005855231761932373, 0.005833727836608887, 0.005690368175506591, 0.0055316481590271, 0.00561356782913208, 0.005481472015380859, 0.005431295871734619, 0.005480447769165039, 0.005420063972473145, 0.006076416015625, 0.005983232021331787, 0.005559296131134033, 0.005539743900299072, 0.005486591815948487, 0.005557248115539551, 0.0053606400489807126, 0.005395455837249756, 0.005472256183624268, 0.00548144006729126, 0.005568511962890625, 0.00552243185043335, 0.0054988799095153805, 0.005504000186920166, 0.005471231937408447, 0.005470208168029785, 0.0054876160621643065, 0.005459968090057373, 0.005481472015380859, 0.005475327968597412, 0.005475327968597412, 0.005504000186920166, 0.0054609918594360355, 0.005583871841430664, 0.005480447769165039, 0.005480415821075439, 0.005473279953002929, 0.005478400230407715, 0.005453824043273926, 0.005493760108947754, 0.005448703765869141, 0.005477375984191894, 0.005371903896331787, 0.005350399971008301, 0.005388288021087646, 0.0053647360801696775, 0.005405695915222168, 0.005378047943115235, 0.005462016105651855, 0.0054579200744628905, 0.0054876160621643065, 0.005434432029724121, 0.005328896045684814, 0.005395455837249756, 0.005459968090057373, 0.005508096218109131, 0.005483520030975342, 0.0054692158699035645, 0.005496831893920898, 0.005467135906219483, 0.005455872058868408, 0.005494783878326416, 0.005463039875030518, 0.005494847774505616, 0.005464064121246338, 0.005406720161437988 ] }, "throughput": { "unit": "samples/s", "value": 176.92986992029796 }, "energy": { "unit": "kWh", "cpu": 6.13339009405761e-08, "ram": 3.3528713902342134e-08, "gpu": 1.307845030155435e-07, "total": 2.2564711785846173e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4431698.527730608 } } } }