{ "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.223424, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 179, "total": 0.9962103028297427, "mean": 0.005565420686199678, "stdev": 0.00023502120235762168, "p50": 0.005544991970062256, "p90": 0.00584970235824585, "p95": 0.005886361598968506, "p99": 0.006186024780273438, "values": [ 0.006056960105895996, 0.0058091521263122555, 0.00588595199584961, 0.005883903980255127, 0.005866496086120605, 0.005844992160797119, 0.005817344188690185, 0.005890048027038574, 0.005857279777526855, 0.005857279777526855, 0.005727231979370117, 0.005760000228881836, 0.005696512222290039, 0.005699584007263184, 0.005743616104125977, 0.00572108793258667, 0.005421055793762207, 0.0052899842262268066, 0.005250048160552978, 0.005384191989898681, 0.005377024173736572, 0.005392384052276611, 0.005532671928405761, 0.005455872058868408, 0.005480447769165039, 0.005483520030975342, 0.005501952171325684, 0.005431295871734619, 0.005344255924224854, 0.00536575984954834, 0.0055244798660278325, 0.00547430419921875, 0.005470208168029785, 0.005478400230407715, 0.0056483840942382815, 0.005796864032745362, 0.0057149438858032225, 0.00573747205734253, 0.00602726411819458, 0.0059023361206054685, 0.005742591857910156, 0.005733376026153565, 0.005601280212402344, 0.005586944103240967, 0.005586880207061768, 0.005598207950592041, 0.005752831935882568, 0.005636096000671387, 0.005642240047454834, 0.005730303764343261, 0.005717023849487305, 0.005718016147613526, 0.005803008079528809, 0.005883903980255127, 0.005799935817718506, 0.00586137580871582, 0.006331391811370849, 0.006145023822784424, 0.005718016147613526, 0.005808127880096436, 0.0057825279235839844, 0.005848063945770264, 0.005816319942474365, 0.005856256008148194, 0.005734399795532226, 0.005716991901397705, 0.005747712135314941, 0.005655488014221191, 0.005720064163208007, 0.005669888019561768, 0.005703680038452149, 0.005796864032745362, 0.005792768001556397, 0.005681151866912842, 0.0056145920753479005, 0.005699584007263184, 0.005669856071472168, 0.005739520072937012, 0.005672959804534912, 0.005687295913696289, 0.005706751823425293, 0.005695487976074219, 0.005726208209991455, 0.005948416233062744, 0.0058787841796875, 0.005791744232177734, 0.0058419198989868165, 0.005807104110717773, 0.005801983833312988, 0.005768191814422607, 0.0058091521263122555, 0.005653503894805908, 0.0056360640525817875, 0.005798912048339844, 0.005628928184509278, 0.005568511962890625, 0.005517312049865723, 0.005385216236114502, 0.005557248115539551, 0.005654528141021729, 0.005544991970062256, 0.00531660795211792, 0.005325823783874512, 0.005344255924224854, 0.005349376201629639, 0.005350399971008301, 0.005452799797058106, 0.005724160194396972, 0.005552127838134766, 0.005574656009674072, 0.005560224056243897, 0.0057292799949646, 0.005596159934997558, 0.005399551868438721, 0.0053851518630981445, 0.005328896045684814, 0.00537395191192627, 0.005347328186035156, 0.0053647360801696775, 0.00542310380935669, 0.00535756778717041, 0.0053340158462524415, 0.0053975038528442385, 0.005426208019256592, 0.00530944013595581, 0.0053637118339538575, 0.0053350400924682614, 0.005339168071746826, 0.005336063861846924, 0.005319680213928223, 0.005327871799468994, 0.005340191841125488, 0.005325823783874512, 0.005323775768280029, 0.00530841588973999, 0.005389311790466309, 0.005337088108062744, 0.005322751998901368, 0.005318655967712403, 0.005307392120361328, 0.005306367874145508, 0.005322751998901368, 0.005320703983306885, 0.0053350400924682614, 0.005306303977966309, 0.00531763219833374, 0.00532374382019043, 0.00530841588973999, 0.005393407821655274, 0.005348351955413819, 0.005336063861846924, 0.005336063861846924, 0.005345280170440674, 0.005322751998901368, 0.005333951950073242, 0.005327871799468994, 0.00601907205581665, 0.006648831844329834, 0.005758975982666016, 0.005393407821655274, 0.005354496002197265, 0.005355519771575928, 0.00536678409576416, 0.005336063861846924, 0.005396480083465576, 0.00531660795211792, 0.0053340158462524415, 0.005356544017791748, 0.005447679996490478, 0.0053350400924682614, 0.005315584182739258, 0.00531763219833374, 0.005336063861846924, 0.005332992076873779, 0.005295104026794434, 0.005313504219055176, 0.005323775768280029, 0.005295104026794434, 0.005331967830657959 ] }, "throughput": { "unit": "samples/s", "value": 179.6809363359817 }, "energy": { "unit": "kWh", "cpu": 6.146791102080492e-08, "ram": 3.3607079098655575e-08, "gpu": 1.3041461210362748e-07, "total": 2.2548960222308794e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4434794.288255699 } } } }