{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.3.1+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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 952.397824, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 184, "total": 0.9995447683334348, "mean": 0.005432308523551277, "stdev": 0.00018867058925578842, "p50": 0.00534988808631897, "p90": 0.005739622306823731, "p95": 0.00580915195941925, "p99": 0.005968778696060178, "values": [ 0.006108191967010498, 0.005756927967071533, 0.005932032108306885, 0.00586240005493164, 0.005888000011444092, 0.005830656051635743, 0.005819392204284668, 0.005768191814422607, 0.005791744232177734, 0.005769216060638428, 0.005756896018981933, 0.0058122239112854005, 0.005760000228881836, 0.005607423782348633, 0.00550707197189331, 0.0055797758102417, 0.005649407863616943, 0.0057077760696411135, 0.005762080192565918, 0.005708799839019775, 0.005752831935882568, 0.005455872058868408, 0.005453824043273926, 0.005437439918518067, 0.005529600143432617, 0.0055582718849182125, 0.005511168003082275, 0.005547008037567139, 0.005493760108947754, 0.005432320117950439, 0.005502975940704345, 0.005486591815948487, 0.005535744190216065, 0.005440512180328369, 0.005302271842956543, 0.005349376201629639, 0.00535756778717041, 0.00542310380935669, 0.005321728229522705, 0.005420032024383545, 0.005437439918518067, 0.005439487934112549, 0.005537792205810547, 0.005612480163574219, 0.005552127838134766, 0.005552127838134766, 0.005472256183624268, 0.005396480083465576, 0.005430240154266358, 0.00556441593170166, 0.0054609918594360355, 0.005448703765869141, 0.005478400230407715, 0.0054241280555725096, 0.005505023956298828, 0.0054271998405456545, 0.005416959762573242, 0.0055511040687561035, 0.005590015888214111, 0.005691391944885254, 0.005646336078643799, 0.005611519813537597, 0.0055890240669250486, 0.005390336036682129, 0.005438464164733887, 0.005416959762573242, 0.005462016105651855, 0.0055920639038085935, 0.005537792205810547, 0.0055552000999450684, 0.005537792205810547, 0.0054917120933532714, 0.00552345609664917, 0.005449759960174561, 0.005326848030090332, 0.005517312049865723, 0.00535859203338623, 0.00536575984954834, 0.005255167961120606, 0.005127168178558349, 0.0051363840103149415, 0.005586944103240967, 0.0055417919158935545, 0.005359615802764893, 0.005292031764984131, 0.005287936210632324, 0.0053002238273620605, 0.005298175811767578, 0.005288959980010987, 0.005407743930816651, 0.005552192211151123, 0.005535744190216065, 0.0056217598915100095, 0.005661695957183838, 0.005780479907989502, 0.005527552127838135, 0.005442560195922852, 0.005502975940704345, 0.005313536167144775, 0.005288959980010987, 0.005350399971008301, 0.005314559936523438, 0.005307392120361328, 0.005344255924224854, 0.005361663818359375, 0.005306367874145508, 0.005299200057983398, 0.005302271842956543, 0.005298175811767578, 0.005327807903289795, 0.0052674560546875, 0.0053534722328186036, 0.005264383792877197, 0.005294079780578613, 0.005284863948822022, 0.005321728229522705, 0.005303328037261963, 0.005276671886444092, 0.005286911964416504, 0.005281792163848877, 0.005262335777282715, 0.005298175811767578, 0.005285888195037842, 0.005274623870849609, 0.005286911964416504, 0.005278719902038574, 0.005264383792877197, 0.00531763219833374, 0.005277696132659912, 0.005268447875976563, 0.0052930560111999515, 0.005275648117065429, 0.0052705278396606445, 0.005306367874145508, 0.005285888195037842, 0.005277696132659912, 0.0052899842262268066, 0.005276671886444092, 0.005261312007904053, 0.005269504070281982, 0.005273600101470947, 0.005273536205291748, 0.005284863948822022, 0.005277696132659912, 0.0052715520858764645, 0.005279744148254394, 0.005296127796173096, 0.005281792163848877, 0.005310463905334473, 0.005314559936523438, 0.005277664184570313, 0.005347392082214355, 0.005306367874145508, 0.005292031764984131, 0.005294079780578613, 0.005269504070281982, 0.0052930560111999515, 0.005315584182739258, 0.005283840179443359, 0.0052971520423889164, 0.00531763219833374, 0.005260287761688232, 0.0052715520858764645, 0.00531763219833374, 0.005940224170684814, 0.006276095867156982, 0.005827583789825439, 0.005296127796173096, 0.00531660795211792, 0.005298175811767578, 0.0052971520423889164, 0.005339136123657226, 0.005329919815063477, 0.0052971520423889164, 0.00532480001449585, 0.005288959980010987, 0.005282847881317138, 0.005315584182739258, 0.005307392120361328, 0.005279776096343994, 0.005276671886444092, 0.005284863948822022, 0.005274623870849609, 0.005315584182739258 ] }, "throughput": { "unit": "samples/s", "value": 184.0838007754146 }, "energy": { "unit": "kWh", "cpu": 6.118711993047052e-08, "ram": 3.336691283297396e-08, "gpu": 1.316982725979378e-07, "total": 2.2625230536138227e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4419844.46701105 } } } }