IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6d3340a
verified
{ | |
"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": "5", | |
"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": "warn", | |
"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.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1153.61792, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46338.138112, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.081712890625, | |
"mean": 9.081712890625, | |
"stdev": 0.0, | |
"p50": 9.081712890625, | |
"p90": 9.081712890625, | |
"p95": 9.081712890625, | |
"p99": 9.081712890625, | |
"values": [ | |
9.081712890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.07744, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 120498.118656, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0243929395675657, | |
"mean": 0.007760552572481558, | |
"stdev": 0.006554241949642997, | |
"p50": 0.007201663017272949, | |
"p90": 0.007999372959136964, | |
"p95": 0.00806717267036438, | |
"p99": 0.016654513616561884, | |
"values": [ | |
0.008321420669555664, | |
0.008125100135803223, | |
0.0077259020805358885, | |
0.00794926118850708, | |
0.007975981235504151, | |
0.0077846221923828125, | |
0.007834381103515625, | |
0.007871501922607422, | |
0.013870207786560059, | |
0.008044780731201172, | |
0.00741998291015625, | |
0.00719454288482666, | |
0.007352781772613525, | |
0.007208622932434082, | |
0.0072052631378173825, | |
0.007198062896728516, | |
0.007555662155151367, | |
0.007342863082885742, | |
0.00735230302810669, | |
0.007317422866821289, | |
0.0070859031677246095, | |
0.0071147031784057615, | |
0.007121903896331787, | |
0.007104143142700196, | |
0.007147182941436767, | |
0.0072527828216552735, | |
0.007142862796783447, | |
0.007142222881317138, | |
0.007338222026824951, | |
0.007120304107666016, | |
0.007215662956237793, | |
0.007288463115692138, | |
0.007273423194885254, | |
0.0072137432098388675, | |
0.007288143157958984, | |
0.00726718282699585, | |
0.00724910306930542, | |
0.007186542987823486, | |
0.007381103038787842, | |
0.0072499017715454105, | |
0.007310062885284424, | |
0.007276782035827637, | |
0.007234703063964844, | |
0.007209103107452392, | |
0.01757979965209961, | |
0.002288153886795044, | |
0.004842548847198486, | |
0.007045103073120117, | |
0.007063823223114014, | |
0.007266063213348389, | |
0.0074817419052124025, | |
0.0072382230758666994, | |
0.007329742908477783, | |
0.007107182979583741, | |
0.007057423114776611, | |
0.007055344104766846, | |
0.00706894302368164, | |
0.007042063236236572, | |
0.007055023193359375, | |
0.007275183200836182, | |
0.007304142951965332, | |
0.007059022903442382, | |
0.007051183223724365, | |
0.007212303161621094, | |
0.007064303874969482, | |
0.0070815830230712895, | |
0.0070870227813720705, | |
0.0070694231986999515, | |
0.00708622407913208, | |
0.007083663940429688, | |
0.007060943126678466, | |
0.007121582984924316, | |
0.0071177430152893064, | |
0.007097423076629639, | |
0.007101744174957275, | |
0.007121103763580322, | |
0.007192623138427734, | |
0.007062063217163086, | |
0.007057262897491455, | |
0.007065583229064942, | |
0.007048783779144287, | |
0.007063823223114014, | |
0.007067022800445556, | |
0.014595005989074707, | |
0.002293113946914673, | |
0.005400467872619629, | |
0.007081424236297608, | |
0.007052783012390137, | |
0.007025582790374756, | |
0.0070796642303466795, | |
0.007054703235626221, | |
0.007050542831420898, | |
0.007039183139801025, | |
0.00703934383392334, | |
0.00705806303024292, | |
0.007068303108215332, | |
0.0070556640625, | |
0.007041264057159424, | |
0.007075663089752197, | |
0.007056783199310303, | |
0.007042384147644043, | |
0.007031023025512695, | |
0.007060142993927002, | |
0.007544301986694336, | |
0.007406222820281983, | |
0.007262702941894531, | |
0.0072758221626281734, | |
0.00740798282623291, | |
0.007459181785583496, | |
0.007475502014160156, | |
0.0073879828453063965, | |
0.0073679819107055665, | |
0.007228783130645752, | |
0.007734541893005371, | |
0.00804094123840332, | |
0.008038061141967773, | |
0.007992140769958496, | |
0.00799678087234497, | |
0.008013100624084472, | |
0.0080945405960083, | |
0.008036781311035156, | |
0.007986061096191406, | |
0.008011341094970703, | |
0.007985101222991944, | |
0.00798270082473755, | |
0.007999660968780518, | |
0.08008284759521485, | |
0.0022854340076446534, | |
0.0022897539138793947, | |
0.0022889549732208253, | |
0.0022964739799499513, | |
0.002282394886016846 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.8568037727028 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |