{ "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.248, "max_global_vram": 1047.003136, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 187, "total": 0.9965516767501831, "mean": 0.005329153351605258, "stdev": 0.00020189605593450423, "p50": 0.005403647899627686, "p90": 0.005465702533721924, "p95": 0.005572505474090575, "p99": 0.005798031234741209, "values": [ 0.005931007862091065, 0.005746687889099121, 0.005692416191101074, 0.005769216060638428, 0.00566476821899414, 0.005776383876800537, 0.005772287845611572, 0.005759967803955078, 0.006114304065704346, 0.005306367874145508, 0.005024735927581787, 0.0050022401809692385, 0.004984831809997559, 0.005098495960235596, 0.00536678409576416, 0.005260287761688232, 0.005276671886444092, 0.005419007778167725, 0.0053002238273620605, 0.005344255924224854, 0.00531763219833374, 0.005269504070281982, 0.005270400047302246, 0.005372928142547607, 0.005306367874145508, 0.005314559936523438, 0.0053350400924682614, 0.005276671886444092, 0.005275648117065429, 0.005340159893035889, 0.005286911964416504, 0.005313536167144775, 0.005286911964416504, 0.005303296089172363, 0.005272575855255127, 0.005405695915222168, 0.005246975898742676, 0.0050124797821044925, 0.00510368013381958, 0.005089280128479004, 0.005056511878967285, 0.005017600059509277, 0.005131231784820557, 0.00501964807510376, 0.005015552043914795, 0.005023744106292725, 0.005044223785400391, 0.005004288196563721, 0.0050165758132934574, 0.005058559894561767, 0.005018623828887939, 0.005001215934753418, 0.005018623828887939, 0.004999167919158935, 0.004977663993835449, 0.004993023872375488, 0.005031936168670655, 0.005047296047210693, 0.0050094079971313476, 0.00501043176651001, 0.005032959938049316, 0.005066751956939697, 0.005024767875671386, 0.004982848167419434, 0.004977663993835449, 0.005033984184265137, 0.004944896221160889, 0.00496230411529541, 0.0049920639991760255, 0.0050462718009948735, 0.004998144149780274, 0.004998144149780274, 0.004993023872375488, 0.0050360321998596195, 0.0050032958984375, 0.00501043176651001, 0.005049344062805176, 0.005013440132141113, 0.005288959980010987, 0.005417984008789062, 0.005425151824951172, 0.005391359806060791, 0.005464064121246338, 0.0054271998405456545, 0.005426176071166992, 0.005439487934112549, 0.005407743930816651, 0.005437439918518067, 0.005411839962005615, 0.005410816192626953, 0.005431295871734619, 0.005419007778167725, 0.005354496002197265, 0.005446656227111817, 0.005425151824951172, 0.005443583965301513, 0.005483520030975342, 0.005433343887329102, 0.005420032024383545, 0.005448703765869141, 0.0053975038528442385, 0.005412864208221436, 0.0054241280555725096, 0.005395455837249756, 0.005468160152435303, 0.005402624130249023, 0.0053350400924682614, 0.005347328186035156, 0.005316544055938721, 0.005341184139251709, 0.005399551868438721, 0.005432320117950439, 0.00541593599319458, 0.005468160152435303, 0.005417984008789062, 0.005436416149139404, 0.005451776027679443, 0.005404672145843506, 0.005458943843841553, 0.005359615802764893, 0.00541593599319458, 0.005477375984191894, 0.005419072151184082, 0.005450751781463623, 0.005495808124542236, 0.005452799797058106, 0.005446656227111817, 0.005444608211517334, 0.005605375766754151, 0.00537497615814209, 0.005396480083465576, 0.005421055793762207, 0.005468160152435303, 0.005438464164733887, 0.005426176071166992, 0.005454847812652588, 0.005380095958709717, 0.005486591815948487, 0.005423200130462646, 0.005386240005493164, 0.005482495784759522, 0.005378047943115235, 0.005435391902923584, 0.005445631980895996, 0.0054271998405456545, 0.005398528099060058, 0.005422080039978027, 0.005403647899627686, 0.005430272102355957, 0.00541593599319458, 0.005392384052276611, 0.0054271998405456545, 0.005411839962005615, 0.005421055793762207, 0.005439487934112549, 0.005450751781463623, 0.005414944171905517, 0.005447616100311279, 0.005416959762573242, 0.005407743930816651, 0.005380127906799316, 0.005381120204925537, 0.005429247856140137, 0.005402624130249023, 0.005420032024383545, 0.005475327968597412, 0.005412864208221436, 0.00542310380935669, 0.00542310380935669, 0.0054241280555725096, 0.005404672145843506, 0.005430272102355957, 0.005378047943115235, 0.005450687885284424, 0.005399551868438721, 0.005413887977600097, 0.005441535949707031, 0.005392384052276611, 0.0054271998405456545, 0.005419007778167725, 0.005403647899627686, 0.005413887977600097, 0.005443583965301513, 0.005339136123657226, 0.005435391902923584, 0.005426208019256592, 0.005413887977600097 ] }, "throughput": { "unit": "samples/s", "value": 187.6470677464701 }, "energy": { "unit": "kWh", "cpu": 6.304709130708771e-08, "ram": 3.4469226530029816e-08, "gpu": 1.2918154542553206e-07, "total": 2.2669786326264955e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4411157.589259725 } } } }