{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.2.2", "_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.14", "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": 945.647616, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 187, "total": 0.9944360003471372, "mean": 0.0053178395740488636, "stdev": 0.00016869860269667743, "p50": 0.005299200057983398, "p90": 0.005551923274993897, "p95": 0.005634912157058716, "p99": 0.005744455862045287, "values": [ 0.005941247940063477, 0.00568012809753418, 0.0057190399169921875, 0.005585855960845947, 0.00552345609664917, 0.00557260799407959, 0.005547008037567139, 0.0055203838348388675, 0.0055214080810546875, 0.005432320117950439, 0.005399551868438721, 0.005413919925689697, 0.005356544017791748, 0.005420095920562744, 0.005439487934112549, 0.005404672145843506, 0.005319680213928223, 0.0052705278396606445, 0.005221375942230225, 0.005254144191741943, 0.00535756778717041, 0.005349376201629639, 0.005406720161437988, 0.005617663860321045, 0.005484543800354004, 0.005465087890625, 0.005411839962005615, 0.005540863990783691, 0.005610496044158936, 0.005559296131134033, 0.005709792137145996, 0.005624832153320313, 0.005620736122131348, 0.005675007820129394, 0.005647359848022461, 0.005698560237884521, 0.005567488193511963, 0.005585919857025146, 0.005639232158660888, 0.005396416187286377, 0.005450751781463623, 0.005368832111358642, 0.005230591773986816, 0.0052295680046081545, 0.005230591773986816, 0.005268479824066162, 0.0053309440612792965, 0.0052991042137146, 0.005237823963165284, 0.005372928142547607, 0.00531660795211792, 0.005338111877441406, 0.0054271998405456545, 0.005401599884033203, 0.005431295871734619, 0.00547430419921875, 0.005479423999786377, 0.005391359806060791, 0.005378047943115235, 0.00531763219833374, 0.005379072189331055, 0.00541593599319458, 0.005444608211517334, 0.005377024173736572, 0.005390336036682129, 0.005401599884033203, 0.005431295871734619, 0.005228544235229492, 0.00531763219833374, 0.0053647360801696775, 0.005409791946411133, 0.0053637118339538575, 0.0054579200744628905, 0.005396480083465576, 0.0052715520858764645, 0.005331967830657959, 0.005320703983306885, 0.005299200057983398, 0.005351424217224121, 0.005325823783874512, 0.005296127796173096, 0.005341184139251709, 0.005321695804595948, 0.005341184139251709, 0.005416959762573242, 0.0054834880828857424, 0.005459968090057373, 0.005451776027679443, 0.005473279953002929, 0.005417984008789062, 0.005532671928405761, 0.005436416149139404, 0.0054282240867614745, 0.005260287761688232, 0.005370880126953125, 0.005345280170440674, 0.005250080108642578, 0.005275648117065429, 0.005142528057098389, 0.005071872234344482, 0.005231616020202637, 0.005351424217224121, 0.00511897611618042, 0.0050094079971313476, 0.005037055969238281, 0.0050462718009948735, 0.005083136081695557, 0.005089280128479004, 0.0052070398330688475, 0.005132287979125977, 0.0051138558387756345, 0.005189631938934326, 0.005253119945526123, 0.005435391902923584, 0.005320703983306885, 0.0051476478576660155, 0.005065792083740235, 0.005305344104766845, 0.005278719902038574, 0.005201920032501221, 0.005187583923339844, 0.005230591773986816, 0.005204991817474365, 0.005186560153961181, 0.005228608131408691, 0.0051968002319335935, 0.005194752216339111, 0.005198847770690918, 0.00517632007598877, 0.005190591812133789, 0.0051998720169067385, 0.005150720119476319, 0.005033984184265137, 0.0050360321998596195, 0.005044223785400391, 0.005023744106292725, 0.005320703983306885, 0.005054463863372802, 0.005230591773986816, 0.005304351806640625, 0.005843967914581299, 0.005728256225585937, 0.0052070398330688475, 0.005302271842956543, 0.005292031764984131, 0.005203968048095703, 0.005194752216339111, 0.005172224044799805, 0.005186560153961181, 0.005208064079284668, 0.005146624088287354, 0.005183487892150879, 0.005244927883148193, 0.0053606400489807126, 0.005191679954528809, 0.0051773438453674315, 0.005223423957824707, 0.005150720119476319, 0.005172224044799805, 0.005191679954528809, 0.005178368091583252, 0.005186560153961181, 0.005155839920043945, 0.005182432174682617, 0.005346240043640137, 0.005179391860961914, 0.005232639789581299, 0.005184512138366699, 0.005179391860961914, 0.00522547197341919, 0.005175295829772949, 0.005164031982421875, 0.0051998720169067385, 0.0052008957862854, 0.00522547197341919, 0.005185535907745361, 0.005194752216339111, 0.005171199798583984, 0.005167103767395019, 0.0051998720169067385, 0.005173247814178467, 0.005180416107177735, 0.005192704200744629, 0.005161952018737793, 0.005182464122772217, 0.005156864166259765, 0.005174272060394287 ] }, "throughput": { "unit": "samples/s", "value": 188.04628948944134 }, "energy": { "unit": "kWh", "cpu": 5.919275929530462e-08, "ram": 3.2363423712922667e-08, "gpu": 1.217959307700002e-07, "total": 2.1335211377822748e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4687087.380064428 } } } }