{ "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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "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": 789.413888, "max_global_vram": 688.390144, "max_process_vram": 0.0, "max_reserved": 123.731968, "max_allocated": 102.475264 }, "latency": { "unit": "s", "count": 1, "total": 7.46838916015625, "mean": 7.46838916015625, "stdev": 0.0, "p50": 7.46838916015625, "p90": 7.46838916015625, "p95": 7.46838916015625, "p99": 7.46838916015625, "values": [ 7.46838916015625 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.34954779015647e-06, "ram": 2.368110671976069e-06, "gpu": 6.746116507999936e-06, "total": 1.3463774970132476e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 976.375808, "max_global_vram": 1040.71168, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 245.323264 }, "latency": { "unit": "s", "count": 147, "total": 0.9983303017616272, "mean": 0.006791362597017873, "stdev": 0.0003695790455129354, "p50": 0.00673689603805542, "p90": 0.006892953395843506, "p95": 0.007217561531066893, "p99": 0.008759910335540765, "values": [ 0.009407487869262696, 0.009179136276245118, 0.0074629120826721195, 0.006896639823913574, 0.006856704235076904, 0.007264256000518799, 0.006402048110961914, 0.00632422399520874, 0.0063610877990722655, 0.0063508481979370115, 0.00632422399520874, 0.006344704151153564, 0.006368256092071533, 0.006391808032989502, 0.00636518383026123, 0.006344704151153564, 0.006657023906707763, 0.006763519763946534, 0.00672051191329956, 0.006722559928894043, 0.0067420158386230465, 0.006738944053649902, 0.0067235522270202635, 0.006755328178405762, 0.006714335918426514, 0.007417856216430664, 0.0067758078575134275, 0.006804480075836182, 0.006752255916595459, 0.006825984001159668, 0.006788127899169922, 0.006650911808013916, 0.006700032234191895, 0.006716415882110595, 0.006750207901000976, 0.0067686400413513184, 0.006699039936065674, 0.006987775802612305, 0.006730751991271973, 0.006728640079498291, 0.006732800006866455, 0.006703104019165039, 0.0067041277885437015, 0.006739967823028564, 0.006692927837371826, 0.006657023906707763, 0.006667263984680176, 0.006632448196411133, 0.006762495994567871, 0.006804480075836182, 0.006772736072540283, 0.006719488143920899, 0.00672870397567749, 0.006756351947784424, 0.006730751991271973, 0.006751232147216797, 0.006768608093261718, 0.0067041277885437015, 0.006715392112731934, 0.006851583957672119, 0.006696959972381592, 0.006687744140625, 0.006673408031463623, 0.006632448196411133, 0.006590464115142822, 0.006606847763061524, 0.00659660816192627, 0.006723648071289063, 0.006744063854217529, 0.006852608203887939, 0.00673689603805542, 0.0067420158386230465, 0.0067758078575134275, 0.0067348480224609375, 0.006726655960083008, 0.006709248065948486, 0.006633408069610595, 0.006636544227600098, 0.006661119937896728, 0.0067420158386230465, 0.006752287864685059, 0.006723584175109864, 0.0067041277885437015, 0.006743040084838867, 0.006723584175109864, 0.006730751991271973, 0.006730751991271973, 0.006779903888702392, 0.006774816036224365, 0.006744063854217529, 0.006691840171813965, 0.006660096168518067, 0.006618112087249756, 0.006804480075836182, 0.007073791980743408, 0.007394303798675537, 0.0067686400413513184, 0.006665152072906494, 0.006707007884979248, 0.006669119834899902, 0.0068997440338134765, 0.007726143836975097, 0.007049215793609619, 0.006770688056945801, 0.0067758078575134275, 0.006773759841918945, 0.006774784088134766, 0.006749184131622315, 0.00675328016281128, 0.0067338237762451176, 0.00667852783203125, 0.006604800224304199, 0.006633471965789795, 0.00667852783203125, 0.006724607944488525, 0.0066713600158691405, 0.007108607769012451, 0.006830080032348633, 0.0067573761940002445, 0.0067686400413513184, 0.006989823818206787, 0.006890495777130127, 0.0068178558349609375, 0.006762495994567871, 0.006756351947784424, 0.006781951904296875, 0.006803455829620361, 0.006771743774414063, 0.006870016098022461, 0.006718463897705078, 0.006714367866516113, 0.006722559928894043, 0.006726719856262207, 0.00674508810043335, 0.006732800006866455, 0.00672051191329956, 0.006739967823028564, 0.006797376155853271, 0.006762495994567871, 0.006800384044647217, 0.006719488143920899, 0.008267775535583496, 0.006884352207183838, 0.0067758078575134275, 0.006797311782836914, 0.006726655960083008, 0.006834176063537598 ] }, "throughput": { "unit": "samples/s", "value": 147.24585614661567 }, "energy": { "unit": "kWh", "cpu": 7.878163770510047e-08, "ram": 4.3075233724912566e-08, "gpu": 1.7042140197351073e-07, "total": 2.922782734035238e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3421396.973354174 } } } }