{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "timm", "model_type": "resnet50", "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": {}, "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, "memory": true, "latency": 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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.224-212.876.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 870.21568, "max_global_vram": 718.798848, "max_process_vram": 0.0, "max_reserved": 125.82912, "max_allocated": 103.077376 }, "latency": { "unit": "s", "values": [ 8.2928212890625 ], "count": 1, "total": 8.2928212890625, "mean": 8.2928212890625, "p50": 8.2928212890625, "p90": 8.2928212890625, "p95": 8.2928212890625, "p99": 8.2928212890625, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.322820598079286e-06, "ram": 2.328809962778435e-06, "gpu": 6.394449559854465e-06, "total": 1.3046080120712187e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1109.766144, "max_global_vram": 798.490624, "max_process_vram": 0.0, "max_reserved": 148.897792, "max_allocated": 122.937344 }, "latency": { "unit": "s", "values": [ 0.007419904232025146, 0.007250944137573242, 0.007222271919250488, 0.006998015880584717, 0.007001088142395019, 0.007053311824798584, 0.007019519805908203, 0.006933504104614257, 0.007006207942962647, 0.007129119873046875, 0.007153664112091064, 0.007057407855987549, 0.007285759925842285, 0.007502848148345947, 0.0073340158462524415, 0.0073994240760803225, 0.007325632095336914, 0.007354368209838867, 0.007230463981628418, 0.00729702377319336, 0.007357439994812012, 0.007370751857757568, 0.007308288097381592, 0.007147520065307617, 0.007085055828094483, 0.007064671993255616, 0.006961152076721191, 0.007064576148986816, 0.007095295906066895, 0.007067647933959961, 0.0072540159225463864, 0.007088128089904785, 0.007326720237731933, 0.006992767810821534, 0.0069797120094299316, 0.007053311824798584, 0.007074816226959229, 0.007066624164581299, 0.007061503887176514, 0.007255040168762207, 0.007209887981414795, 0.007126016139984131, 0.007124991893768311, 0.007095295906066895, 0.0071792640686035155, 0.0071188478469848635, 0.007120895862579346, 0.007128064155578613, 0.0069621758460998535, 0.007017504215240478, 0.007112703800201416, 0.006967296123504638, 0.0069725441932678225, 0.007102464199066162, 0.007009280204772949, 0.007230463981628418, 0.007216063976287842, 0.00687113618850708, 0.006971392154693603, 0.006859776020050049, 0.0068915200233459475, 0.007020544052124023, 0.00709119987487793, 0.007136256217956543, 0.007103487968444824, 0.007178143978118896, 0.0072499198913574215, 0.006987775802612305, 0.006944767951965332, 0.006961152076721191, 0.0069755840301513675, 0.0069816322326660156, 0.006976511955261231, 0.006884352207183838, 0.006922207832336426, 0.006988800048828125, 0.006958079814910889, 0.006773759841918945, 0.0068577280044555666, 0.00692307186126709, 0.006864895820617676, 0.006897664070129395, 0.006862847805023193, 0.0068392958641052244, 0.0068280320167541505, 0.006709248065948486, 0.006647808074951172, 0.006540287971496582, 0.00658022403717041, 0.006625311851501465, 0.0066078720092773435, 0.006673471927642822, 0.006626304149627686, 0.006571167945861816, 0.006576128005981445, 0.006612991809844971, 0.006557695865631104, 0.006846464157104492, 0.006819839954376221, 0.006806464195251465, 0.006952960014343262, 0.006950975894927979, 0.0069027838706970214, 0.006853631973266602, 0.006951935768127441, 0.006941696166992187, 0.006899712085723877, 0.006865920066833496, 0.006859776020050049, 0.006838304042816162, 0.006918144226074219, 0.006895616054534912, 0.006719615936279297, 0.006661056041717529, 0.006924287796020508, 0.006929376125335693, 0.006811647891998291, 0.006760447978973389, 0.006931456089019775, 0.0068249602317810056, 0.006917088031768799, 0.0068351998329162595, 0.0067348480224609375, 0.006713247776031494, 0.0066304001808166506, 0.006663167953491211, 0.006788095951080322, 0.006481823921203614, 0.006529056072235108, 0.006556672096252441, 0.006657023906707763, 0.006699007987976074, 0.0066713600158691405, 0.006666304111480713, 0.006650879859924317, 0.006628352165222168, 0.006627327919006347, 0.006666240215301514, 0.006646783828735352, 0.00657919979095459, 0.006624447822570801, 0.0066344962120056155, 0.006586527824401856, 0.006627327919006347 ], "count": 144, "total": 0.9991552958488464, "mean": 0.006938578443394766, "p50": 0.00695145583152771, "p90": 0.007250636863708496, "p95": 0.00732655701637268, "p99": 0.007411097764968872, "stdev": 0.00022857172167355195, "stdev_": 3.2942154295472816 }, "throughput": { "unit": "samples/s", "value": 144.12174023224566 }, "energy": { "unit": "kWh", "cpu": 8.421921371118916e-08, "ram": 4.601827533304943e-08, "gpu": 1.7131219378614187e-07, "total": 3.0154968283038045e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3316203.123193112 } } } }