IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4f357a2 verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "6",
"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": 2,
"sequence_length": 16,
"num_choices": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1179.4432,
"max_global_vram": 68702.69952,
"max_process_vram": 7075.639296,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.45354034423828127
],
"count": 1,
"total": 0.45354034423828127,
"mean": 0.45354034423828127,
"p50": 0.45354034423828127,
"p90": 0.45354034423828127,
"p95": 0.45354034423828127,
"p99": 0.45354034423828127,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 2051.56352,
"max_global_vram": 68702.69952,
"max_process_vram": 110938.779648,
"max_reserved": 148.897792,
"max_allocated": 124.554752
},
"latency": {
"unit": "s",
"values": [
0.0077382678985595706,
0.006701783180236816,
0.006668182849884033,
0.0066896238327026365,
0.006693143844604493,
0.00665250301361084,
0.006645944118499756,
0.006609302997589111,
0.006635223865509033,
0.006626422882080078,
0.006679543972015381,
0.006645783901214599,
0.006633782863616943,
0.006630263805389404,
0.006668822765350342,
0.006652023792266846,
0.006639382839202881,
0.006619703769683838,
0.006646263122558594,
0.0066715431213378905,
0.006611864089965821,
0.006639223098754882,
0.0066150641441345215,
0.00661378288269043,
0.006586903095245361,
0.006617143154144287,
0.006589942932128906,
0.006626584053039551,
0.006612503051757813,
0.006594583988189697,
0.006623222827911377,
0.006600503921508789,
0.006622103214263916,
0.006611864089965821,
0.006607542991638184,
0.006582902908325195,
0.00659714412689209,
0.006584982872009277,
0.0065912241935729985,
0.006598583221435547,
0.006629464149475098,
0.006582902908325195,
0.006572022914886475,
0.006602582931518555,
0.006600822925567627,
0.006581463813781738,
0.006587062835693359,
0.006595063209533692,
0.006608182907104492,
0.006602743148803711,
0.00659330415725708,
0.006604183197021485,
0.006597464084625244,
0.006593462944030762,
0.006600183010101318,
0.0065726637840271,
0.006576502799987793,
0.006573462963104248,
0.006552984237670898,
0.006571222782135009,
0.006583063125610351,
0.006563864231109619,
0.006771383762359619,
0.006605782985687256,
0.006623542785644531,
0.006606422901153565,
0.0074720258712768555,
0.007485946178436279,
0.00752498722076416,
0.007285786151885986,
0.0068694639205932615,
0.006611702919006347,
0.00659714412689209,
0.006596502780914307,
0.00657698392868042,
0.006588343143463135,
0.006589942932128906,
0.006591063976287842,
0.0065625829696655275,
0.006595063209533692,
0.0065845041275024415,
0.0066360230445861815,
0.00730962610244751,
0.007495226860046386,
0.007522106170654297,
0.007309945106506348,
0.007084344863891602,
0.0069329838752746585,
0.006957785129547119,
0.006975705146789551,
0.006808023929595947,
0.0065981030464172365,
0.006594264030456543,
0.006580022811889649,
0.006587703227996827,
0.006579224109649658,
0.00659954309463501,
0.006599062919616699,
0.00658322286605835,
0.0065888228416442875,
0.006580503940582275,
0.006586742877960205,
0.006582582950592041,
0.0065869040489196775,
0.006608023166656494,
0.006618422985076904,
0.0066131439208984375,
0.006607382774353027,
0.006604343891143799,
0.006604982852935791,
0.006625463962554931,
0.006608343124389649,
0.006623544216156006,
0.006618903160095215,
0.006600823879241944,
0.006587862968444824,
0.006564183235168457,
0.006577943801879883,
0.006604503154754639,
0.006633304119110108,
0.006626422882080078,
0.0066365041732788085,
0.006629463195800781,
0.006593944072723389,
0.006606903076171875,
0.006641143798828125,
0.006594263076782227,
0.006607542991638184,
0.006627862930297852,
0.00660370397567749,
0.00660994291305542,
0.0066219429969787596,
0.006606583118438721,
0.0066035428047180175,
0.006609943866729737,
0.006627062797546387,
0.006619224071502686,
0.00665138292312622,
0.006603222846984863,
0.006620343208312988,
0.0066273841857910154,
0.0065987429618835445,
0.006604504108428955,
0.006595862865447998,
0.006569622993469238,
0.0065718631744384765,
0.006589622974395752,
0.006606103897094727,
0.00658754301071167,
0.006585463047027588
],
"count": 150,
"total": 1.0010163373947143,
"mean": 0.006673442249298095,
"p50": 0.0066067430973052975,
"p90": 0.006775047779083251,
"p95": 0.007298898124694824,
"p99": 0.007523575506210327,
"stdev": 0.00021421661874926307,
"stdev_": 3.2099868515651595
},
"throughput": {
"unit": "samples/s",
"value": 299.69540834947026
},
"energy": null,
"efficiency": null
}
}
}