IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b3fb3e5
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": "4", | |
"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.572864, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49496.457216, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.001748046875, | |
"mean": 9.001748046875, | |
"stdev": 0.0, | |
"p50": 9.001748046875, | |
"p90": 9.001748046875, | |
"p95": 9.001748046875, | |
"p99": 9.001748046875, | |
"values": [ | |
9.001748046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.745664, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118326.390784, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9981122548580166, | |
"mean": 0.007797751991078258, | |
"stdev": 0.0015603620903002166, | |
"p50": 0.007735899448394775, | |
"p90": 0.008009579181671143, | |
"p95": 0.008166690969467162, | |
"p99": 0.016006693143844612, | |
"values": [ | |
0.007984939098358155, | |
0.007968139171600342, | |
0.007995179176330566, | |
0.007932940006256103, | |
0.007982859134674072, | |
0.007992299079895019, | |
0.007983658790588379, | |
0.008003499031066895, | |
0.01776299476623535, | |
0.002309273958206177, | |
0.0078071789741516115, | |
0.007495500087738037, | |
0.007207341194152832, | |
0.007297261238098145, | |
0.0075806198120117185, | |
0.007611499786376953, | |
0.007420619964599609, | |
0.007316461086273193, | |
0.007330060958862305, | |
0.007216620922088623, | |
0.007339179992675781, | |
0.0074945402145385745, | |
0.007736299991607666, | |
0.007688620090484619, | |
0.007458539962768554, | |
0.007563660144805908, | |
0.007497419834136963, | |
0.007593579769134521, | |
0.007581739902496338, | |
0.007421260833740235, | |
0.007255180835723877, | |
0.007383340835571289, | |
0.007712619781494141, | |
0.007714219093322754, | |
0.00763293981552124, | |
0.007935819149017333, | |
0.007967498779296875, | |
0.007955819129943848, | |
0.007962539196014404, | |
0.007984458923339844, | |
0.00797917890548706, | |
0.008160138130187988, | |
0.008170219421386718, | |
0.00801325798034668, | |
0.016677717208862304, | |
0.003489269971847534, | |
0.008536297798156739, | |
0.008144297599792481, | |
0.00804301929473877, | |
0.008011818885803223, | |
0.00804413890838623, | |
0.007955499172210693, | |
0.008003019332885742, | |
0.007816460132598877, | |
0.007775498867034912, | |
0.007765900135040283, | |
0.0077809391021728515, | |
0.0077990198135375974, | |
0.00775437879562378, | |
0.007755980014801025, | |
0.007754219055175781, | |
0.007751979827880859, | |
0.007716619968414306, | |
0.00795245885848999, | |
0.008171817779541016, | |
0.00800861930847168, | |
0.007951179027557372, | |
0.007861578941345215, | |
0.007838379859924317, | |
0.007845738887786865, | |
0.007907818794250489, | |
0.007860939025878906, | |
0.007870699882507324, | |
0.007831019878387451, | |
0.0073230209350585935, | |
0.007183181762695313, | |
0.007175341129302979, | |
0.0070929408073425295, | |
0.007379500865936279, | |
0.007298221111297607, | |
0.00733518123626709, | |
0.01095741081237793, | |
0.005961904048919678, | |
0.007187500953674316, | |
0.007020462036132813, | |
0.007130220890045166, | |
0.0075513401031494145, | |
0.0071585412025451664, | |
0.007819819927215576, | |
0.007733098983764649, | |
0.00773390007019043, | |
0.007721580028533935, | |
0.007730700016021728, | |
0.0077055802345275875, | |
0.007698860168457031, | |
0.007693260192871094, | |
0.007696459770202637, | |
0.0076940598487854, | |
0.007692459106445312, | |
0.007707819938659668, | |
0.00769182014465332, | |
0.00749806022644043, | |
0.0073438210487365724, | |
0.007356780052185059, | |
0.007879499912261962, | |
0.007722858905792236, | |
0.007738379955291748, | |
0.0077332592010498045, | |
0.007753580093383789, | |
0.007711979866027832, | |
0.007765899181365967, | |
0.007761260032653808, | |
0.007727338790893555, | |
0.007750539779663086, | |
0.007796618938446045, | |
0.007775979995727539, | |
0.0077839789390563964, | |
0.007739339828491211, | |
0.007756618976593017, | |
0.007742859840393066, | |
0.007735498905181885, | |
0.00775246000289917, | |
0.007660459995269775, | |
0.007506060123443604, | |
0.014192442893981933, | |
0.0033028709888458254, | |
0.0072753410339355465, | |
0.007196939945220947 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.24208837933585 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |