{ "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.705024, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 173, "total": 0.9978827538490294, "mean": 0.005768108403751616, "stdev": 0.0003151069484830801, "p50": 0.005675007820129394, "p90": 0.0061163518905639645, "p95": 0.006231449508666992, "p99": 0.006712524719238282, "values": [ 0.006401023864746094, 0.006112256050109863, 0.006268928050994873, 0.006144000053405762, 0.006190080165863037, 0.006091775894165039, 0.006195199966430664, 0.0060590081214904785, 0.006206463813781738, 0.005943295955657959, 0.006069248199462891, 0.0059872641563415525, 0.006060031890869141, 0.0058787841796875, 0.005967872142791748, 0.0059351038932800295, 0.006077439785003662, 0.005974016189575195, 0.006100992202758789, 0.005967872142791748, 0.005996543884277344, 0.0058849921226501465, 0.006006752014160156, 0.006043647766113281, 0.006110208034515381, 0.005996543884277344, 0.00611737585067749, 0.005937151908874512, 0.006012928009033203, 0.005947455883026123, 0.006064127922058105, 0.005949440002441406, 0.005966847896575928, 0.005798912048339844, 0.00591871976852417, 0.005903359889984131, 0.00587059211730957, 0.005807104110717773, 0.006013951778411865, 0.005963776111602783, 0.006160384178161621, 0.006005760192871094, 0.0061265921592712404, 0.005983232021331787, 0.006031360149383545, 0.005853184223175049, 0.00608358383178711, 0.0060282878875732426, 0.0060488319396972655, 0.005981184005737304, 0.0060067839622497555, 0.0058757119178771975, 0.006001664161682129, 0.005913599967956543, 0.00602726411819458, 0.0061634559631347655, 0.005914624214172363, 0.005892096042633056, 0.0058716158866882326, 0.005912576198577881, 0.006342656135559082, 0.005947391986846923, 0.005993472099304199, 0.006032383918762207, 0.006085631847381592, 0.006067200183868408, 0.006000639915466309, 0.006049791812896729, 0.0059391999244689945, 0.006017024040222168, 0.005854207992553711, 0.006055935859680176, 0.005795807838439942, 0.005703680038452149, 0.005675007820129394, 0.005633952140808106, 0.005607423782348633, 0.005758975982666016, 0.0057190399169921875, 0.00563097620010376, 0.0055797119140625, 0.0056514558792114256, 0.0055623679161071774, 0.006021120071411133, 0.00658739185333252, 0.006750207901000976, 0.006708223819732666, 0.0067041277885437015, 0.00582041597366333, 0.006121471881866455, 0.006723584175109864, 0.006456319808959961, 0.005607423782348633, 0.005575679779052735, 0.005513216018676758, 0.005634047985076904, 0.00553984022140503, 0.005508096218109131, 0.005561344146728516, 0.005500927925109863, 0.00551423978805542, 0.005549056053161621, 0.005438464164733887, 0.005434368133544922, 0.005505023956298828, 0.0054271678924560545, 0.005475327968597412, 0.0055552000999450684, 0.0055285758972167965, 0.005517312049865723, 0.005420032024383545, 0.005429247856140137, 0.005449728012084961, 0.00542310380935669, 0.005467135906219483, 0.005444608211517334, 0.005456960201263428, 0.005464064121246338, 0.005599232196807862, 0.005713920116424561, 0.005506048202514649, 0.005515232086181641, 0.005536767959594726, 0.005517248153686523, 0.005513216018676758, 0.00553984022140503, 0.005496831893920898, 0.005535776138305664, 0.005525504112243652, 0.005525504112243652, 0.005601280212402344, 0.0054865598678588865, 0.005541888236999512, 0.00552345609664917, 0.005513247966766358, 0.005453824043273926, 0.005420032024383545, 0.005422080039978027, 0.005445631980895996, 0.005431295871734619, 0.005483520030975342, 0.005439455986022949, 0.005444608211517334, 0.005448703765869141, 0.005426176071166992, 0.005442560195922852, 0.005458943843841553, 0.005492735862731934, 0.005485568046569824, 0.005499904155731201, 0.005497888088226318, 0.005495808124542236, 0.005442560195922852, 0.005443583965301513, 0.005451776027679443, 0.005435391902923584, 0.005444608211517334, 0.005437439918518067, 0.0054241280555725096, 0.005451776027679443, 0.005485568046569824, 0.005509119987487793, 0.005554240226745605, 0.005513216018676758, 0.005489664077758789, 0.005462016105651855, 0.005447679996490478, 0.005452799797058106, 0.0053975038528442385, 0.005406720161437988, 0.005435391902923584, 0.0054189438819885255, 0.005438464164733887 ] }, "throughput": { "unit": "samples/s", "value": 173.36706074206117 }, "energy": { "unit": "kWh", "cpu": 6.24948641184529e-08, "ram": 3.401825177440299e-08, "gpu": 1.3495211494240827e-07, "total": 2.3146523083526417e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4320303.297352287 } } } }