IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
cd3e348
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": "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": 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": 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.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.628672, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 8183.656448, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4873298950195312 | |
], | |
"count": 1, | |
"total": 0.4873298950195312, | |
"mean": 0.4873298950195312, | |
"p50": 0.4873298950195312, | |
"p90": 0.4873298950195312, | |
"p95": 0.4873298950195312, | |
"p99": 0.4873298950195312, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.231552, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 114744.180736, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00773937177658081, | |
0.006834731101989746, | |
0.006808650016784668, | |
0.006828650951385498, | |
0.006803689956665039, | |
0.006790250778198242, | |
0.006783370018005371, | |
0.006781771183013916, | |
0.006774730205535888, | |
0.00676353120803833, | |
0.0067806501388549805, | |
0.007092811107635498, | |
0.006924331188201904, | |
0.006721290111541748, | |
0.0069148907661437985, | |
0.006760169982910156, | |
0.006735850811004638, | |
0.006733930110931397, | |
0.0071155309677124025, | |
0.007646572113037109, | |
0.007622412204742432, | |
0.007633612155914306, | |
0.007631371974945069, | |
0.007620330810546875, | |
0.007616011142730713, | |
0.007639371871948243, | |
0.00759585189819336, | |
0.007612812042236328, | |
0.0075963311195373535, | |
0.007629130840301514, | |
0.007660491943359375, | |
0.007647531986236572, | |
0.007658092021942139, | |
0.007625611782073974, | |
0.007620491027832031, | |
0.007635210990905762, | |
0.007619852066040039, | |
0.007620331764221192, | |
0.00760017204284668, | |
0.00763729190826416, | |
0.007656812191009521, | |
0.007636170864105224, | |
0.00761489200592041, | |
0.007638572216033935, | |
0.0076217718124389645, | |
0.007629611968994141, | |
0.0076580910682678225, | |
0.007638091087341308, | |
0.0076328120231628415, | |
0.007635531902313232, | |
0.0076113719940185546, | |
0.007616012096405029, | |
0.007633931159973144, | |
0.007619532108306884, | |
0.007629611968994141, | |
0.00761057186126709, | |
0.007616812229156494, | |
0.0076606512069702145, | |
0.006996970176696777, | |
0.006695850849151612, | |
0.006708010196685791, | |
0.006708810806274414, | |
0.006709290027618408, | |
0.006805290222167968, | |
0.006755210876464844, | |
0.006735529899597168, | |
0.006743051052093506, | |
0.006753610134124756, | |
0.00676353120803833, | |
0.006745450019836426, | |
0.006723530769348144, | |
0.0067648100852966304, | |
0.0067384099960327145, | |
0.0067222509384155275, | |
0.006723849773406982, | |
0.006714090824127197, | |
0.006688169956207276, | |
0.006713449954986572, | |
0.00671233081817627, | |
0.0067096099853515626, | |
0.006734731197357177, | |
0.006729450225830078, | |
0.006710249900817871, | |
0.0067198510169982914, | |
0.006728970050811768, | |
0.006700331211090088, | |
0.006728330135345459, | |
0.006725930213928223, | |
0.006703530788421631, | |
0.006714250087738037, | |
0.006710250854492187, | |
0.006705609798431397, | |
0.006724810123443604, | |
0.006709771156311035, | |
0.006717609882354736, | |
0.006709930896759034, | |
0.006713769912719727, | |
0.006722730159759521, | |
0.006723690986633301, | |
0.006726409912109375, | |
0.006729930877685547, | |
0.006681610107421875, | |
0.006710730075836182, | |
0.006721930980682373, | |
0.006738249778747559, | |
0.00675121021270752, | |
0.006752810001373291, | |
0.006725450992584228, | |
0.006732649803161621, | |
0.0067406511306762696, | |
0.006738729953765869, | |
0.006763851165771485, | |
0.006748489856719971, | |
0.006734889984130859, | |
0.006750250816345215, | |
0.006782249927520752, | |
0.006780011177062988, | |
0.00675393009185791, | |
0.006742570877075195, | |
0.006745610237121582, | |
0.006729451179504395, | |
0.006976970195770264, | |
0.006752010822296143, | |
0.006733610153198242, | |
0.006713770866394043, | |
0.006743690013885498, | |
0.006746891021728515, | |
0.006697609901428223, | |
0.006726409912109375, | |
0.0067217698097229005, | |
0.006723529815673828, | |
0.00694209098815918, | |
0.006760971069335937, | |
0.00673537015914917, | |
0.006712170124053955, | |
0.006718570232391357, | |
0.006739210128784179, | |
0.006960011005401611, | |
0.0067219300270080565, | |
0.007276812076568604, | |
0.006929289817810058, | |
0.006881930828094482 | |
], | |
"count": 142, | |
"total": 0.9953791351318358, | |
"mean": 0.007009712219238282, | |
"p50": 0.0067537701129913325, | |
"p90": 0.0076350830078125, | |
"p95": 0.007646212100982666, | |
"p99": 0.00766058590888977, | |
"stdev": 0.0003977564862022997, | |
"stdev_": 5.674362566706375 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.65920892664923 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |