IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
42f441d
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.875968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44959.199232, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.6195712890625, | |
"mean": 8.6195712890625, | |
"stdev": 0.0, | |
"p50": 8.6195712890625, | |
"p90": 8.6195712890625, | |
"p95": 8.6195712890625, | |
"p99": 8.6195712890625, | |
"values": [ | |
8.6195712890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.257664, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 101159.591936, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9983056821823121, | |
"mean": 0.007394856905054163, | |
"stdev": 0.0011327751694516501, | |
"p50": 0.00713966178894043, | |
"p90": 0.00791351613998413, | |
"p95": 0.0081030348777771, | |
"p99": 0.009959054126739494, | |
"values": [ | |
0.008421098709106446, | |
0.008408939361572266, | |
0.008129579544067383, | |
0.00809165859222412, | |
0.007947340965270996, | |
0.008355500221252442, | |
0.007915500164031983, | |
0.007980140209197998, | |
0.00788670015335083, | |
0.007984620094299316, | |
0.008027020454406739, | |
0.00785326099395752, | |
0.0074740610122680665, | |
0.007393901824951172, | |
0.0075455808639526365, | |
0.007861899852752685, | |
0.007405581951141357, | |
0.008214219093322754, | |
0.007889581203460694, | |
0.007676461219787598, | |
0.007629900932312012, | |
0.007276301860809326, | |
0.007273421764373779, | |
0.007254062175750732, | |
0.00722094202041626, | |
0.007228621959686279, | |
0.007235981941223144, | |
0.007206061840057373, | |
0.007241102218627929, | |
0.010751334190368653, | |
0.007359661102294922, | |
0.007248621940612793, | |
0.0070651030540466305, | |
0.007059341907501221, | |
0.007090702056884766, | |
0.0070766229629516605, | |
0.007089262008666992, | |
0.007069102764129639, | |
0.01826539611816406, | |
0.002296154022216797, | |
0.00574030590057373, | |
0.007182221889495849, | |
0.00731646203994751, | |
0.0071337418556213375, | |
0.007136463165283203, | |
0.00711918306350708, | |
0.007129422187805176, | |
0.007120302200317383, | |
0.007132462024688721, | |
0.007118863105773926, | |
0.007347341060638428, | |
0.007121743202209473, | |
0.007107021808624267, | |
0.007084941864013672, | |
0.0071055831909179685, | |
0.007111503124237061, | |
0.0071259021759033205, | |
0.007405742168426514, | |
0.007578220844268799, | |
0.007523021221160889, | |
0.007312942028045655, | |
0.007108781814575195, | |
0.007091502189636231, | |
0.007264781951904297, | |
0.00712302303314209, | |
0.007151183128356934, | |
0.007127501964569092, | |
0.0071350221633911136, | |
0.007127982139587402, | |
0.007125903129577637, | |
0.007122221946716308, | |
0.007139182090759278, | |
0.007121101856231689, | |
0.007120462894439697, | |
0.007121421813964844, | |
0.007105902194976806, | |
0.007107662200927734, | |
0.00714702320098877, | |
0.007099341869354248, | |
0.0071118221282958985, | |
0.007130382061004639, | |
0.007111982822418213, | |
0.007119341850280762, | |
0.007147982120513916, | |
0.007093902111053467, | |
0.007093102931976319, | |
0.007093741893768311, | |
0.00709918212890625, | |
0.0070915031433105465, | |
0.007097901821136475, | |
0.0070910220146179195, | |
0.007089262962341309, | |
0.007106701850891114, | |
0.007098062038421631, | |
0.007087502956390381, | |
0.00708062219619751, | |
0.007108141899108886, | |
0.007072622776031494, | |
0.007104301929473877, | |
0.007083181858062744, | |
0.007101583003997803, | |
0.007089902877807617, | |
0.007085741996765137, | |
0.00708478307723999, | |
0.007073262214660645, | |
0.007130702018737793, | |
0.00713966178894043, | |
0.007134542942047119, | |
0.007134862899780273, | |
0.007157422065734863, | |
0.007148781776428223, | |
0.007128622055053711, | |
0.007144302845001221, | |
0.007129581928253173, | |
0.007129581928253173, | |
0.007910540103912353, | |
0.008023180007934571, | |
0.007812140941619873, | |
0.007287662029266357, | |
0.00762942123413086, | |
0.0076355009078979495, | |
0.00743566083908081, | |
0.007444941997528076, | |
0.007434700965881348, | |
0.007763501167297363, | |
0.007788300037384033, | |
0.00766494083404541, | |
0.007351662158966064, | |
0.007366861820220947, | |
0.007533740997314453, | |
0.007589100837707519, | |
0.007474862098693848, | |
0.007523500919342041, | |
0.007486861228942871, | |
0.007529261112213134 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.2291211093659 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |