{ "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.083008, "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.9988947548866274, "mean": 0.005488432719157292, "stdev": 0.00022370072638999336, "p50": 0.005535232067108154, "p90": 0.005761081504821778, "p95": 0.005782476735115051, "p99": 0.0058496101522445675, "values": [ 0.006054912090301514, 0.00573747205734253, 0.005624832153320313, 0.00553984022140503, 0.005508096218109131, 0.005553152084350586, 0.005472256183624268, 0.005552127838134766, 0.005469183921813964, 0.005447648048400879, 0.005458943843841553, 0.005385216236114502, 0.005379072189331055, 0.005390336036682129, 0.005603328227996827, 0.005755904197692871, 0.005694464206695556, 0.00562278413772583, 0.005548031806945801, 0.005598207950592041, 0.0056852478981018065, 0.005634047985076904, 0.005750783920288086, 0.005750783920288086, 0.0057743039131164554, 0.005767168045043946, 0.005724160194396972, 0.005723135948181152, 0.005629951953887939, 0.005660672187805176, 0.005715968132019043, 0.0057784318923950195, 0.0057487359046936035, 0.005710847854614258, 0.005799935817718506, 0.005752831935882568, 0.005739520072937012, 0.005669888019561768, 0.00572211217880249, 0.005692416191101074, 0.0058419198989868165, 0.005754879951477051, 0.005583871841430664, 0.005608448028564453, 0.005530623912811279, 0.005626880168914795, 0.005687295913696289, 0.005610559940338135, 0.005565440177917481, 0.005634047985076904, 0.005740543842315674, 0.005673984050750733, 0.0057712640762329105, 0.0057794561386108395, 0.005781504154205322, 0.0057825279235839844, 0.005760000228881836, 0.005765120029449463, 0.00567193603515625, 0.005648352146148681, 0.005650432109832764, 0.0057907519340515134, 0.005713920116424561, 0.005657599925994873, 0.005734399795532226, 0.005699584007263184, 0.005620736122131348, 0.005627903938293457, 0.005700575828552246, 0.0056442880630493165, 0.005599232196807862, 0.005808127880096436, 0.005761023998260498, 0.005693439960479736, 0.005578752040863037, 0.005665791988372803, 0.005606400012969971, 0.005631999969482422, 0.00568832015991211, 0.005659647941589355, 0.005661695957183838, 0.005600255966186523, 0.005669888019561768, 0.005735424041748047, 0.005785600185394287, 0.005873663902282715, 0.0057610878944396975, 0.005811200141906738, 0.005764095783233642, 0.005843967914581299, 0.005690368175506591, 0.00575596809387207, 0.0055848960876464845, 0.005634079933166504, 0.005739583969116211, 0.0055838079452514644, 0.005575679779052735, 0.005429247856140137, 0.005379072189331055, 0.005570496082305908, 0.005541888236999512, 0.005467135906219483, 0.0052930560111999515, 0.005295135974884033, 0.005350399971008301, 0.005496831893920898, 0.005083136081695557, 0.0054148159027099605, 0.005355519771575928, 0.005340159893035889, 0.005413887977600097, 0.005420032024383545, 0.005478464126586914, 0.005544960021972656, 0.005250048160552978, 0.005231616020202637, 0.005352447986602784, 0.005224448204040527, 0.005212160110473632, 0.005281792163848877, 0.00522547197341919, 0.005201920032501221, 0.0053002238273620605, 0.005230591773986816, 0.005198847770690918, 0.005280767917633057, 0.005215231895446777, 0.00522649621963501, 0.005268479824066162, 0.005508096218109131, 0.005201920032501221, 0.005254208087921142, 0.005181439876556396, 0.005172224044799805, 0.005220384120941162, 0.005341184139251709, 0.005180416107177735, 0.005180416107177735, 0.0052111358642578124, 0.005221375942230225, 0.00519379186630249, 0.005258240222930908, 0.005192704200744629, 0.005203968048095703, 0.005237760066986084, 0.005188608169555664, 0.005192704200744629, 0.005386303901672363, 0.005241856098175048, 0.005260287761688232, 0.005420032024383545, 0.005237760066986084, 0.005220352172851562, 0.005201920032501221, 0.005439487934112549, 0.005224448204040527, 0.005210048198699952, 0.005276671886444092, 0.005232639789581299, 0.005188608169555664, 0.005227519989013672, 0.00520908784866333, 0.0052070398330688475, 0.005246975898742676, 0.0053155522346496585, 0.00521727991104126, 0.005500927925109863, 0.0052111358642578124, 0.005219295978546142, 0.005241856098175048, 0.005210112094879151, 0.005224448204040527, 0.0052715520858764645, 0.0053002238273620605, 0.005212160110473632, 0.005232639789581299, 0.005216256141662597, 0.0052008957862854, 0.005243904113769531, 0.005261312007904053, 0.005208064079284668, 0.0052111358642578124 ] }, "throughput": { "unit": "samples/s", "value": 182.20137718177995 }, "energy": { "unit": "kWh", "cpu": 6.32884936411612e-08, "ram": 3.449387666555691e-08, "gpu": 1.301286502021273e-07, "total": 2.279110205088454e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4387677.2512682825 } } } }