{ "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", "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", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 949.325824, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 177, "total": 0.996343999385834, "mean": 0.005629062143422789, "stdev": 0.00048315236361385684, "p50": 0.0055808000564575196, "p90": 0.00600043535232544, "p95": 0.006285695838928221, "p99": 0.0076866764259338385, "values": [ 0.008061951637268066, 0.00774348783493042, 0.0076687359809875484, 0.007550975799560547, 0.007432191848754883, 0.006048768043518066, 0.006064127922058105, 0.005971968173980713, 0.006031360149383545, 0.005856256008148194, 0.0058388481140136715, 0.005483520030975342, 0.005597184181213379, 0.005631999969482422, 0.005595136165618897, 0.0053975038528442385, 0.005392384052276611, 0.005882880210876465, 0.005823488235473633, 0.005914624214172363, 0.005898240089416504, 0.005957632064819336, 0.005941247940063477, 0.00597811222076416, 0.005847072124481201, 0.005858304023742676, 0.005785600185394287, 0.0058716158866882326, 0.005909503936767578, 0.0058726401329040525, 0.00591871976852417, 0.00591871976852417, 0.005933055877685547, 0.005846015930175781, 0.005851136207580566, 0.005964799880981446, 0.005908480167388916, 0.005859327793121338, 0.005944320201873779, 0.0055214080810546875, 0.00542310380935669, 0.005416959762573242, 0.005493760108947754, 0.005570559978485107, 0.00552243185043335, 0.005434368133544922, 0.005499872207641601, 0.0055623679161071774, 0.0055808000564575196, 0.00560748815536499, 0.005667871952056884, 0.005694464206695556, 0.005695487976074219, 0.006078464031219482, 0.005888000011444092, 0.005871551990509033, 0.005796864032745362, 0.00592793607711792, 0.005693439960479736, 0.005679135799407959, 0.005541888236999512, 0.005565440177917481, 0.0055809922218322755, 0.005495808124542236, 0.0054477758407592775, 0.005518335819244385, 0.005547008037567139, 0.005597184181213379, 0.005484543800354004, 0.005667840003967285, 0.00561356782913208, 0.005798912048339844, 0.005755936145782471, 0.005742623805999756, 0.005831679821014404, 0.005781504154205322, 0.005788608074188233, 0.005851136207580566, 0.0058215041160583495, 0.005786623954772949, 0.005822463989257813, 0.00601087999343872, 0.0059996161460876465, 0.005955584049224853, 0.0059575681686401365, 0.005912576198577881, 0.005866496086120605, 0.0058726401329040525, 0.006001664161682129, 0.005774335861206055, 0.005823488235473633, 0.005880832195281982, 0.005606400012969971, 0.005607423782348633, 0.005518335819244385, 0.005518335819244385, 0.005602303981781006, 0.005560319900512695, 0.00556441593170166, 0.005467135906219483, 0.005465087890625, 0.005462016105651855, 0.005464064121246338, 0.005509119987487793, 0.005643295764923096, 0.0056555519104003905, 0.005774335861206055, 0.005647359848022461, 0.005746687889099121, 0.005776383876800537, 0.006024191856384278, 0.006685696125030518, 0.006475776195526123, 0.006398975849151611, 0.006397952079772949, 0.006257631778717041, 0.005231616020202637, 0.006034431934356689, 0.005318655967712403, 0.005219327926635742, 0.005251071929931641, 0.005215231895446777, 0.005198847770690918, 0.005254144191741943, 0.005222400188446045, 0.005215231895446777, 0.005284832000732422, 0.005257215976715088, 0.005201920032501221, 0.005172224044799805, 0.005264287948608399, 0.0052336640357971195, 0.005183487892150879, 0.00520908784866333, 0.005192704200744629, 0.005182464122772217, 0.00521727991104126, 0.005198847770690918, 0.00517632007598877, 0.005187583923339844, 0.005181439876556396, 0.005172224044799805, 0.005182464122772217, 0.005179391860961914, 0.005174240112304687, 0.0051660799980163576, 0.005198847770690918, 0.005178368091583252, 0.00517632007598877, 0.005232639789581299, 0.005188608169555664, 0.0051773438453674315, 0.005203968048095703, 0.005148672103881836, 0.005149695873260498, 0.005192671775817871, 0.005172224044799805, 0.005171199798583984, 0.0051773757934570315, 0.005182464122772217, 0.005172224044799805, 0.005146624088287354, 0.005165056228637695, 0.005161983966827393, 0.005171199798583984, 0.005156864166259765, 0.0053043198585510255, 0.005203968048095703, 0.00515174388885498, 0.005174272060394287, 0.005179391860961914, 0.005156864166259765, 0.005180416107177735, 0.005167103767395019, 0.005171199798583984, 0.005155839920043945, 0.005191679954528809 ] }, "throughput": { "unit": "samples/s", "value": 177.6494866322338 }, "energy": { "unit": "kWh", "cpu": 6.48135397386464e-08, "ram": 3.543453672807759e-08, "gpu": 1.3509877231693655e-07, "total": 2.353468487836605e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4249047.757249713 } } } }