IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4cc252d
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.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": 1107.337216, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 40139.599872, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.820037109375, | |
"mean": 7.820037109375, | |
"stdev": 0.0, | |
"p50": 7.820037109375, | |
"p90": 7.820037109375, | |
"p95": 7.820037109375, | |
"p99": 7.820037109375, | |
"values": [ | |
7.820037109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1191.743488, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 102483.238912, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9970420236587527, | |
"mean": 0.007224942200425743, | |
"stdev": 0.0012492106340825607, | |
"p50": 0.007083979845046997, | |
"p90": 0.007681323146820068, | |
"p95": 0.00792482602596283, | |
"p99": 0.012490020341873164, | |
"values": [ | |
0.007759018898010254, | |
0.01000797176361084, | |
0.00710237979888916, | |
0.007109739780426025, | |
0.007083660125732422, | |
0.007097579956054687, | |
0.0071182198524475096, | |
0.007122060775756836, | |
0.007143980979919433, | |
0.007143819808959961, | |
0.007079179763793945, | |
0.007136459827423096, | |
0.007175819873809814, | |
0.007150859832763672, | |
0.007157740116119385, | |
0.007141419887542725, | |
0.0070993399620056154, | |
0.0071143798828125, | |
0.007136300086975098, | |
0.007017741203308106, | |
0.007144460201263428, | |
0.007086219787597656, | |
0.007090060234069824, | |
0.007143660068511963, | |
0.007093579769134522, | |
0.0071513400077819825, | |
0.007087821006774902, | |
0.007072461128234863, | |
0.0071550202369689946, | |
0.007086540222167969, | |
0.007071499824523926, | |
0.007084780216217041, | |
0.007080461025238037, | |
0.007051340103149414, | |
0.00711486005783081, | |
0.007114699840545654, | |
0.007074699878692627, | |
0.007076301097869873, | |
0.0070755000114440915, | |
0.007053899765014649, | |
0.007067339897155762, | |
0.0070633401870727535, | |
0.00705630111694336, | |
0.007030539989471436, | |
0.007042220115661621, | |
0.007162220001220703, | |
0.007056460857391357, | |
0.007044140815734863, | |
0.007056779861450195, | |
0.007048140048980713, | |
0.007031021118164063, | |
0.007031179904937744, | |
0.00702414083480835, | |
0.007007020950317383, | |
0.00706525993347168, | |
0.007429258823394775, | |
0.0070758209228515626, | |
0.007089260101318359, | |
0.007100780010223389, | |
0.007061900138854981, | |
0.007058061122894287, | |
0.007068140983581543, | |
0.007062699794769287, | |
0.007110700130462646, | |
0.0070662198066711425, | |
0.007071180820465088, | |
0.0070663800239562985, | |
0.007072780132293701, | |
0.00708381986618042, | |
0.007093581199645996, | |
0.007088621139526367, | |
0.007088940143585205, | |
0.007080780029296875, | |
0.007082379817962646, | |
0.012849245071411133, | |
0.0038156690597534178, | |
0.007273739814758301, | |
0.007040780067443847, | |
0.00707997989654541, | |
0.007063980102539062, | |
0.007050701141357422, | |
0.00703518009185791, | |
0.007068459987640381, | |
0.007085900783538818, | |
0.007062541007995605, | |
0.007049260139465332, | |
0.007059500217437744, | |
0.007059181213378906, | |
0.007059659957885742, | |
0.0070423798561096195, | |
0.007066060066223145, | |
0.0070521411895751954, | |
0.007074059963226319, | |
0.0070068597793579105, | |
0.0070263810157775875, | |
0.006983339786529541, | |
0.007011021137237549, | |
0.007022540092468262, | |
0.007045100212097168, | |
0.007403019905090332, | |
0.0070662198066711425, | |
0.007068299770355225, | |
0.007095499992370606, | |
0.0070807809829711915, | |
0.0070895800590515135, | |
0.007111179828643799, | |
0.00709774112701416, | |
0.01187836742401123, | |
0.0030427119731903074, | |
0.0070258998870849606, | |
0.007670379161834716, | |
0.007922378063201905, | |
0.008001096725463867, | |
0.007916458129882812, | |
0.007938697814941406, | |
0.008036937713623047, | |
0.007558699131011963, | |
0.007595658779144287, | |
0.007806378841400147, | |
0.007706859111785889, | |
0.007516939163208008, | |
0.007738217830657959, | |
0.007785258769989013, | |
0.007608619213104248, | |
0.007503979206085205, | |
0.0072553400993347165, | |
0.0074780588150024415, | |
0.007350379943847656, | |
0.007372779846191406, | |
0.007233098983764648, | |
0.007073901176452637, | |
0.007047339916229248, | |
0.00709581995010376, | |
0.007084139823913574, | |
0.007058701038360596, | |
0.016245393753051757, | |
0.0023017539978027342, | |
0.0037515089511871336 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.40941176540807 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |