{ "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.4528, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 182, "total": 0.9946089243888867, "mean": 0.005464884199938931, "stdev": 0.00017851148158669873, "p50": 0.005501440048217773, "p90": 0.005670911788940429, "p95": 0.005700638580322266, "p99": 0.005831741557121277, "values": [ 0.005817344188690185, 0.0057497601509094234, 0.0057118721008300784, 0.005780479907989502, 0.005701632022857666, 0.005693408012390136, 0.005686240196228027, 0.005716991901397705, 0.005700607776641845, 0.005670911788940429, 0.005670911788940429, 0.005596159934997558, 0.005582848072052002, 0.005573631763458252, 0.00556441593170166, 0.005638144016265869, 0.0055511040687561035, 0.005448703765869141, 0.005432320117950439, 0.005422080039978027, 0.005547008037567139, 0.0055316481590271, 0.005582848072052002, 0.005638144016265869, 0.00562278413772583, 0.005681151866912842, 0.00558892822265625, 0.00555622386932373, 0.005550079822540284, 0.005509183883666992, 0.005657599925994873, 0.0056145920753479005, 0.005638144016265869, 0.005615615844726562, 0.005607423782348633, 0.005693439960479736, 0.005569536209106446, 0.005573631763458252, 0.005568511962890625, 0.005581823825836182, 0.00562278413772583, 0.005598207950592041, 0.005549056053161621, 0.0054579200744628905, 0.005412864208221436, 0.005467135906219483, 0.005465023994445801, 0.005501952171325684, 0.005453824043273926, 0.0054579200744628905, 0.005593088150024414, 0.005561344146728516, 0.005567488193511963, 0.005667840003967285, 0.005640192031860352, 0.005681151866912842, 0.005634047985076904, 0.005675007820129394, 0.005576704025268555, 0.0055071358680725095, 0.005534719944000244, 0.005586944103240967, 0.005661695957183838, 0.0055797758102417, 0.0055623679161071774, 0.0056852478981018065, 0.005591008186340332, 0.005488639831542969, 0.005450751781463623, 0.005527552127838135, 0.005594111919403076, 0.005500927925109863, 0.005585919857025146, 0.005655519962310791, 0.005533696174621582, 0.005516287803649903, 0.005484543800354004, 0.00550707197189331, 0.005517343997955323, 0.005500927925109863, 0.005558207988739013, 0.0055327038764953615, 0.005489664077758789, 0.005590047836303711, 0.005540863990783691, 0.005700640201568604, 0.005645311832427978, 0.005666816234588623, 0.005638144016265869, 0.005620736122131348, 0.00563705587387085, 0.00555622386932373, 0.005638144016265869, 0.005547967910766602, 0.005426176071166992, 0.005610496044158936, 0.005429247856140137, 0.005319680213928223, 0.00530944013595581, 0.0052551040649414064, 0.005274623870849609, 0.005321728229522705, 0.005289023876190186, 0.005299200057983398, 0.005238783836364746, 0.005191679954528809, 0.005199808120727539, 0.005276671886444092, 0.005288959980010987, 0.005545983791351319, 0.005569503784179687, 0.005539904117584229, 0.005893119812011719, 0.0055623679161071774, 0.005590015888214111, 0.005609471797943116, 0.005637119770050049, 0.005725183963775635, 0.005371903896331787, 0.00537395191192627, 0.005393407821655274, 0.005352447986602784, 0.00537395191192627, 0.005401599884033203, 0.005352447986602784, 0.005437439918518067, 0.0053821439743042, 0.00535859203338623, 0.005452799797058106, 0.005379072189331055, 0.0053606400489807126, 0.0054609918594360355, 0.005368768215179443, 0.00537395191192627, 0.005422080039978027, 0.005393407821655274, 0.005250048160552978, 0.005194752216339111, 0.005174272060394287, 0.005172224044799805, 0.0052070398330688475, 0.005193727970123291, 0.005180416107177735, 0.005222400188446045, 0.005174272060394287, 0.005180416107177735, 0.005184512138366699, 0.005216256141662597, 0.005180416107177735, 0.005197824001312256, 0.005202943801879883, 0.0051701760292053225, 0.005174272060394287, 0.005239808082580567, 0.005971968173980713, 0.0053678078651428224, 0.005453824043273926, 0.0054609918594360355, 0.005547008037567139, 0.0053678078651428224, 0.0053606400489807126, 0.005399551868438721, 0.005337088108062744, 0.005342207908630371, 0.005401599884033203, 0.005286911964416504, 0.005191679954528809, 0.005265408039093018, 0.005173247814178467, 0.005171199798583984, 0.00521830415725708, 0.005179391860961914, 0.005202943801879883, 0.0051968002319335935, 0.005213183879852295, 0.005182464122772217, 0.005232639789581299, 0.005225535869598389, 0.005193727970123291, 0.005173247814178467, 0.005232639789581299, 0.005174272060394287 ] }, "throughput": { "unit": "samples/s", "value": 182.9864940251021 }, "energy": { "unit": "kWh", "cpu": 6.446753088776415e-08, "ram": 3.511596990122328e-08, "gpu": 1.3898809917837552e-07, "total": 2.3857159996736295e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4191613.7551024593 } } } }