{ "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": 950.923264, "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.9983490257263182, "mean": 0.005338764843456248, "stdev": 0.00015233393134023708, "p50": 0.005299200057983398, "p90": 0.005552537536621094, "p95": 0.005644083261489868, "p99": 0.005740851011276245, "values": [ 0.0056566400527954105, 0.0054774398803710935, 0.0055552000999450684, 0.005938208103179932, 0.005567488193511963, 0.005518335819244385, 0.005486656188964844, 0.0055623679161071774, 0.005485568046569824, 0.005484511852264404, 0.0053985600471496585, 0.00537497615814209, 0.005468095779418945, 0.005404704093933106, 0.005370880126953125, 0.005435391902923584, 0.005411839962005615, 0.005287936210632324, 0.0052715520858764645, 0.00521727991104126, 0.0052336640357971195, 0.005345312118530274, 0.005356544017791748, 0.0053821439743042, 0.005459904193878174, 0.005426176071166992, 0.005445631980895996, 0.005401599884033203, 0.0053534722328186036, 0.005328896045684814, 0.005299200057983398, 0.005409791946411133, 0.005443583965301513, 0.005404607772827148, 0.005405695915222168, 0.005451776027679443, 0.005420032024383545, 0.005435391902923584, 0.005367743968963623, 0.005392384052276611, 0.005410816192626953, 0.005399551868438721, 0.005403647899627686, 0.005411839962005615, 0.0052408318519592285, 0.005214208126068115, 0.005270495891571045, 0.005296127796173096, 0.0053340158462524415, 0.00531660795211792, 0.005245952129364013, 0.0052930560111999515, 0.005347328186035156, 0.005402624130249023, 0.005409791946411133, 0.005469183921813964, 0.005480447769165039, 0.005694464206695556, 0.005670911788940429, 0.005654528141021729, 0.005619711875915527, 0.005552127838134766, 0.005734399795532226, 0.005667840003967285, 0.005654528141021729, 0.005616640090942383, 0.005598207950592041, 0.005665791988372803, 0.005553152084350586, 0.00546611213684082, 0.0055848960876464845, 0.00536678409576416, 0.0053361282348632815, 0.00531763219833374, 0.005402624130249023, 0.005470208168029785, 0.005303296089172363, 0.005291007995605469, 0.0053350400924682614, 0.005329919815063477, 0.005315584182739258, 0.0053350400924682614, 0.005280799865722656, 0.005311488151550293, 0.005296127796173096, 0.005302271842956543, 0.0053340158462524415, 0.005467135906219483, 0.005469183921813964, 0.005426176071166992, 0.005451776027679443, 0.005434368133544922, 0.00541593599319458, 0.005479423999786377, 0.005399551868438721, 0.005414912223815918, 0.005273600101470947, 0.00530944013595581, 0.00535968017578125, 0.005239808082580567, 0.005191679954528809, 0.005135359764099121, 0.0050206718444824215, 0.005142528057098389, 0.005265408039093018, 0.005207136154174805, 0.005017600059509277, 0.00497049617767334, 0.005039103984832764, 0.0050063362121582035, 0.005178368091583252, 0.0055244798660278325, 0.005459968090057373, 0.005477375984191894, 0.005477407932281494, 0.005552127838134766, 0.0055808000564575196, 0.005780479907989502, 0.005452799797058106, 0.005269504070281982, 0.0052367358207702636, 0.005224448204040527, 0.005388288021087646, 0.005246912002563477, 0.00520908784866333, 0.005273632049560547, 0.005249023914337158, 0.005221375942230225, 0.005241856098175048, 0.005237760066986084, 0.005210112094879151, 0.005250048160552978, 0.005268479824066162, 0.005252096176147461, 0.005225503921508789, 0.005294079780578613, 0.005222400188446045, 0.005197855949401855, 0.005282815933227539, 0.005219327926635742, 0.005212160110473632, 0.005228544235229492, 0.005223423957824707, 0.0052111358642578124, 0.005238783836364746, 0.005242879867553711, 0.005213183879852295, 0.005243904113769531, 0.005228544235229492, 0.005216224193572998, 0.005206016063690186, 0.005232639789581299, 0.005235712051391602, 0.0052408318519592285, 0.005237760066986084, 0.0052091522216796875, 0.005213119983673096, 0.005257215976715088, 0.00521727991104126, 0.005215231895446777, 0.0052336640357971195, 0.005252096176147461, 0.005208064079284668, 0.005250048160552978, 0.005167103767395019, 0.0051374402046203615, 0.0051363840103149415, 0.005157887935638428, 0.005236671924591064, 0.005232639789581299, 0.005252096176147461, 0.005239808082580567, 0.00521727991104126, 0.005231616020202637, 0.005234687805175781, 0.005188608169555664, 0.005223423957824707, 0.005196832180023194, 0.005210112094879151, 0.00520908784866333, 0.005238783836364746, 0.005237760066986084, 0.005228544235229492, 0.005246975898742676, 0.005220287799835205, 0.005214208126068115, 0.005235712051391602 ] }, "throughput": { "unit": "samples/s", "value": 187.30924274098817 }, "energy": { "unit": "kWh", "cpu": 6.147330700836446e-08, "ram": 3.360859780401049e-08, "gpu": 1.2903723621761452e-07, "total": 2.2411914102998947e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4461912.514050683 } } } }