{ "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_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.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 789.897216, "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.437826171875, "mean": 7.437826171875, "stdev": 0.0, "p50": 7.437826171875, "p90": 7.437826171875, "p95": 7.437826171875, "p99": 7.437826171875, "values": [ 7.437826171875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.324528243806628e-06, "ram": 2.3544501979090647e-06, "gpu": 6.9502833380001225e-06, "total": 1.3629261779715815e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 976.285696, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 245.323264 }, "latency": { "unit": "s", "count": 143, "total": 0.9964850516319276, "mean": 0.006968426934489004, "stdev": 0.0002497696854180655, "p50": 0.007029759883880615, "p90": 0.0072032126426696775, "p95": 0.007267942237854004, "p99": 0.007458262872695924, "values": [ 0.0073768959045410155, 0.007291903972625732, 0.007327744007110596, 0.007517183780670166, 0.0073134078979492185, 0.007243775844573975, 0.007285759925842285, 0.007251967906951904, 0.007168000221252442, 0.007255040168762207, 0.0072540159225463864, 0.007154655933380127, 0.00714035177230835, 0.00714035177230835, 0.007169023990631103, 0.00713318395614624, 0.007149631977081299, 0.007164927959442138, 0.007169023990631103, 0.007124991893768311, 0.007031807899475098, 0.007088128089904785, 0.0071823358535766605, 0.0071188478469848635, 0.007157760143280029, 0.007114751815795899, 0.00714137601852417, 0.007104576110839844, 0.007123968124389648, 0.007150591850280762, 0.007122943878173828, 0.007080959796905518, 0.006987711906433105, 0.007029759883880615, 0.007093247890472412, 0.007032864093780518, 0.0070348801612854, 0.0071485438346862796, 0.007103487968444824, 0.007146495819091797, 0.007252992153167725, 0.007198719978332519, 0.0071916160583496095, 0.007156735897064209, 0.007021567821502686, 0.0070594558715820314, 0.007171135902404785, 0.007185408115386963, 0.007120895862579346, 0.0071157760620117185, 0.0072007040977478025, 0.007024640083312988, 0.007143424034118652, 0.007053311824798584, 0.007130112171173096, 0.007193600177764893, 0.007015423774719238, 0.007073791980743408, 0.007112703800201416, 0.007138304233551026, 0.007067647933959961, 0.007103487968444824, 0.007156735897064209, 0.0071792640686035155, 0.007269375801086426, 0.007188479900360107, 0.007215104103088379, 0.007161856174468994, 0.007112639904022217, 0.007203839778900147, 0.00704307222366333, 0.007147583961486816, 0.00709222412109375, 0.006953983783721924, 0.006862847805023193, 0.0068392958641052244, 0.007108607769012451, 0.006974463939666748, 0.00674508810043335, 0.006726719856262207, 0.006756351947784424, 0.006791168212890625, 0.0069550080299377445, 0.006882304191589355, 0.006829055786132812, 0.006873055934906006, 0.007012351989746094, 0.007077888011932373, 0.006783999919891357, 0.006781951904296875, 0.0067573761940002445, 0.0067338237762451176, 0.006813695907592773, 0.006801407814025879, 0.0067338237762451176, 0.006843391895294189, 0.006841375827789307, 0.008375264167785645, 0.006915071964263916, 0.006663167953491211, 0.0066969280242919925, 0.006702079772949219, 0.006667263984680176, 0.006704160213470459, 0.00667852783203125, 0.006661056041717529, 0.0067337918281555175, 0.006675456047058105, 0.006677504062652588, 0.00667852783203125, 0.006676479816436768, 0.006726655960083008, 0.006677504062652588, 0.006718463897705078, 0.00669593620300293, 0.006654975891113281, 0.006677504062652588, 0.006719488143920899, 0.006687744140625, 0.006696991920471192, 0.006708223819732666, 0.006690815925598144, 0.006687744140625, 0.006699007987976074, 0.006684671878814697, 0.006714367866516113, 0.006706175804138184, 0.0066826238632202144, 0.006690815925598144, 0.006717440128326416, 0.006690752029418945, 0.006714367866516113, 0.006685696125030518, 0.006688672065734863, 0.0067041277885437015, 0.0067123198509216305, 0.006719456195831299, 0.006691840171813965, 0.0066938881874084475, 0.006736927986145019, 0.006691840171813965, 0.006707200050354004, 0.0066979842185974124 ] }, "throughput": { "unit": "samples/s", "value": 143.50441059382797 }, "energy": { "unit": "kWh", "cpu": 7.909015704084326e-08, "ram": 4.324071497126928e-08, "gpu": 1.7580754805333368e-07, "total": 2.981384200654462e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3354146.707359903 } } } }