IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c1b11df verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1468.60032,
"max_global_vram": 11.075584,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2050361328125,
"mean": 8.2050361328125,
"stdev": 0.0,
"p50": 8.2050361328125,
"p90": 8.2050361328125,
"p95": 8.2050361328125,
"p99": 8.2050361328125,
"values": [
8.2050361328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1553.915904,
"max_global_vram": 11.137024,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9986812674999236,
"mean": 0.00798945013999939,
"stdev": 0.005638264446112046,
"p50": 0.007819981098175048,
"p90": 0.008300651931762696,
"p95": 0.008704810905456543,
"p99": 0.014276330413818381,
"values": [
0.008843498229980469,
0.008637739181518554,
0.008239500045776367,
0.008177579879760742,
0.008134221076965332,
0.00806350040435791,
0.008092300415039062,
0.008093260765075683,
0.007974380016326905,
0.007931021213531494,
0.007922700881958008,
0.007776940822601318,
0.007732460975646973,
0.00805726146697998,
0.008099820137023926,
0.00810573959350586,
0.007944460868835448,
0.007877581119537354,
0.007819981098175048,
0.007795501232147217,
0.0077963008880615236,
0.007767500877380371,
0.007775980949401856,
0.0077828621864318845,
0.007818381786346435,
0.007800621032714844,
0.007866860866546631,
0.007851020812988281,
0.010968454360961914,
0.00805869960784912,
0.007772461891174316,
0.0077743821144104,
0.007764620780944824,
0.007848940849304199,
0.00780302095413208,
0.007795501232147217,
0.00780462121963501,
0.007797581195831299,
0.007767500877380371,
0.007745420932769776,
0.007786702156066894,
0.007734861850738526,
0.0077823810577392575,
0.007971981048583984,
0.00775038194656372,
0.007795501232147217,
0.007772301197052002,
0.00775822114944458,
0.007766380786895752,
0.007768301010131836,
0.007795822143554687,
0.00778206205368042,
0.007813100814819335,
0.007811501026153565,
0.007803980827331543,
0.0078012609481811525,
0.00778830099105835,
0.007782540798187256,
0.007771980762481689,
0.007802540779113769,
0.007821421146392822,
0.007765421867370606,
0.007803341865539551,
0.007772942066192627,
0.0077039809226989745,
0.007776461124420166,
0.0077817411422729495,
0.007767981052398682,
0.06734639739990235,
0.0023279941082000734,
0.002330873966217041,
0.0023391950130462647,
0.0023281540870666506,
0.002326874017715454,
0.002329274892807007,
0.0023279941082000734,
0.002343835115432739,
0.0023191940784454347,
0.0023233540058135984,
0.002330235004425049,
0.007123661994934082,
0.007783822059631348,
0.007714382171630859,
0.007903020858764648,
0.008057900428771973,
0.007909740924835205,
0.007877261161804198,
0.008097579956054687,
0.008151980400085449,
0.008043980598449707,
0.008225419998168945,
0.008206540107727051,
0.00810077953338623,
0.008125101089477539,
0.008079500198364257,
0.008073100090026855,
0.008012781143188477,
0.008320619583129883,
0.008122380256652833,
0.008143659591674804,
0.008091980934143067,
0.008069740295410157,
0.008100139617919921,
0.00807982063293457,
0.00803246021270752,
0.008093900680541992,
0.00805918025970459,
0.008330860137939454,
0.008117420196533203,
0.008028780937194824,
0.007742701053619384,
0.0153209228515625,
0.0027558329105377196,
0.007651021957397461,
0.008863018035888673,
0.008664138793945312,
0.00871181869506836,
0.008681899070739746,
0.008710538864135742,
0.008330060005187987,
0.00816382122039795,
0.008270700454711915,
0.00818813991546631,
0.008149100303649901,
0.007713100910186768
]
},
"throughput": {
"unit": "samples/s",
"value": 125.16505923148254
},
"energy": null,
"efficiency": null
}
}
}