{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.4.0+cu121", "_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.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 832.34816, "max_global_vram": 709.361664, "max_process_vram": 0.0, "max_reserved": 123.731968, "max_allocated": 102.475264 }, "latency": { "unit": "s", "count": 1, "total": 7.70229736328125, "mean": 7.70229736328125, "stdev": 0.0, "p50": 7.70229736328125, "p90": 7.70229736328125, "p95": 7.70229736328125, "p99": 7.70229736328125, "values": [ 7.70229736328125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.3296000680550705e-06, "ram": 2.3569493401435366e-06, "gpu": 4.743614905999903e-06, "total": 1.1430164314198509e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1022.365696, "max_global_vram": 791.150592, "max_process_vram": 0.0, "max_reserved": 148.897792, "max_allocated": 114.685952 }, "latency": { "unit": "s", "count": 143, "total": 0.9986373128890994, "mean": 0.006983477712511182, "stdev": 0.00031380831557064205, "p50": 0.0068618240356445315, "p90": 0.007499571323394775, "p95": 0.007550156831741333, "p99": 0.00797843451499939, "values": [ 0.007591936111450195, 0.0075162239074707034, 0.007501823902130127, 0.007494656085968018, 0.007528448104858398, 0.007552000045776367, 0.007517183780670166, 0.0074670081138610836, 0.007726079940795898, 0.007472127914428711, 0.0075008001327514645, 0.007478208065032959, 0.0074065918922424315, 0.007365632057189942, 0.007385087966918945, 0.0074618239402770995, 0.0074291200637817386, 0.007515135765075683, 0.007613440036773681, 0.00744652795791626, 0.007494656085968018, 0.007356416225433349, 0.007453695774078369, 0.0075335679054260255, 0.0074332160949707035, 0.0074700798988342285, 0.007585792064666748, 0.006681600093841553, 0.006594560146331787, 0.0066078720092773435, 0.006626304149627686, 0.006590464115142822, 0.006597631931304931, 0.006608895778656006, 0.00658739185333252, 0.006625279903411865, 0.006651904106140137, 0.006562816143035889, 0.006661119937896728, 0.0071198720932006835, 0.007061503887176514, 0.006846464157104492, 0.006920191764831543, 0.00693452787399292, 0.00690176010131836, 0.006848512172698974, 0.006909952163696289, 0.00687718391418457, 0.0068280320167541505, 0.006879263877868652, 0.006875135898590088, 0.006856704235076904, 0.006766592025756836, 0.006793216228485107, 0.006985727787017822, 0.007006207942962647, 0.007068672180175781, 0.006958079814910889, 0.006896639823913574, 0.006867968082427979, 0.006833151817321777, 0.006856704235076904, 0.006872064113616944, 0.006831103801727295, 0.006859776020050049, 0.006869952201843262, 0.00683622407913208, 0.006748159885406494, 0.00684441614151001, 0.006853631973266602, 0.006829055786132812, 0.006850560188293457, 0.006816768169403077, 0.006770688056945801, 0.006744063854217529, 0.006784992218017578, 0.006779839992523193, 0.006728640079498291, 0.006776832103729248, 0.006767615795135498, 0.006719488143920899, 0.006780928134918213, 0.0067717118263244626, 0.006806528091430664, 0.006807551860809326, 0.006853631973266602, 0.006849535942077637, 0.00673689603805542, 0.006763519763946534, 0.006782976150512696, 0.006752255916595459, 0.0067686400413513184, 0.006762495994567871, 0.006802432060241699, 0.006808576107025147, 0.00686790418624878, 0.0068618240356445315, 0.006892543792724609, 0.007967743873596191, 0.007986176013946533, 0.008019968032836914, 0.007094272136688232, 0.007027711868286133, 0.007001088142395019, 0.0070266880989074704, 0.007038976192474365, 0.006937600135803222, 0.00693555212020874, 0.0067983360290527345, 0.006847487926483154, 0.007124991893768311, 0.006929408073425293, 0.006923264026641846, 0.006913023948669434, 0.006837247848510742, 0.0068618240356445315, 0.006813727855682373, 0.006874112129211426, 0.0068689918518066405, 0.006814720153808594, 0.006811647891998291, 0.0068280320167541505, 0.006812672138214112, 0.006776832103729248, 0.006834176063537598, 0.006864895820617676, 0.006780928134918213, 0.006892543792724609, 0.006897664070129395, 0.006875135898590088, 0.0067870721817016606, 0.006814720153808594, 0.006832159996032715, 0.006846464157104492, 0.006875135898590088, 0.0068986878395080565, 0.0068853759765625, 0.006859776020050049, 0.006907904148101806, 0.00692633581161499, 0.0068351998329162595, 0.00679423999786377, 0.006817791938781738 ] }, "throughput": { "unit": "samples/s", "value": 143.1951301582104 }, "energy": { "unit": "kWh", "cpu": 8.065982723922962e-08, "ram": 4.409877346695881e-08, "gpu": 1.6462409239455742e-07, "total": 2.893826931007458e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3455631.6733560134 } } } }