IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7826705
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": 1030.709248, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47948.357632, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7108583984375, | |
"mean": 8.7108583984375, | |
"stdev": 0.0, | |
"p50": 8.7108583984375, | |
"p90": 8.7108583984375, | |
"p95": 8.7108583984375, | |
"p99": 8.7108583984375, | |
"values": [ | |
8.7108583984375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1128.144896, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 117491.904512, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9973471133708952, | |
"mean": 0.007175159088999247, | |
"stdev": 0.001484093482041019, | |
"p50": 0.0070033431053161625, | |
"p90": 0.007474926090240479, | |
"p95": 0.007861756944656371, | |
"p99": 0.01400786924362187, | |
"values": [ | |
0.007508460998535156, | |
0.007342222213745117, | |
0.006997582912445069, | |
0.007001101970672607, | |
0.0069806227684020995, | |
0.006966062068939209, | |
0.0070087828636169434, | |
0.007051822185516358, | |
0.0070033431053161625, | |
0.007039661884307861, | |
0.007035501956939697, | |
0.01852747344970703, | |
0.0022559950351715087, | |
0.005215666770935059, | |
0.007082221984863281, | |
0.007089901924133301, | |
0.007047022819519043, | |
0.007055342197418213, | |
0.00704030179977417, | |
0.007010862827301025, | |
0.007022702217102051, | |
0.007018222808837891, | |
0.007033741950988769, | |
0.007024302959442139, | |
0.00697342300415039, | |
0.007020143032073975, | |
0.007010063171386719, | |
0.00699310302734375, | |
0.0070999832153320315, | |
0.007064462184906006, | |
0.00697294282913208, | |
0.006971181869506836, | |
0.0069659028053283695, | |
0.006994701862335205, | |
0.007007183074951172, | |
0.007152942180633545, | |
0.007427980899810791, | |
0.007205421924591064, | |
0.00699694299697876, | |
0.007164621829986572, | |
0.007089742183685303, | |
0.007502381801605225, | |
0.006975822925567627, | |
0.0069702229499816895, | |
0.006984622001647949, | |
0.006958862781524658, | |
0.006954381942749024, | |
0.006957582950592041, | |
0.006975663185119629, | |
0.006955502033233643, | |
0.006953903198242187, | |
0.006981902122497559, | |
0.006946063041687012, | |
0.007148141860961914, | |
0.006959183216094971, | |
0.006987021923065185, | |
0.006997262954711914, | |
0.006954381942749024, | |
0.006979342937469483, | |
0.00698510217666626, | |
0.00697678279876709, | |
0.006978542804718018, | |
0.007100461959838867, | |
0.007020781993865967, | |
0.006990703105926513, | |
0.0069766221046447755, | |
0.006991982936859131, | |
0.006975663185119629, | |
0.006976142883300781, | |
0.006981742858886719, | |
0.00694478178024292, | |
0.006984622955322266, | |
0.006994222164154053, | |
0.006938862800598145, | |
0.0070623822212219235, | |
0.0069849429130554195, | |
0.006977901935577392, | |
0.006974863052368164, | |
0.006945743083953858, | |
0.0069673418998718265, | |
0.006956462860107422, | |
0.006963501930236817, | |
0.006927823066711426, | |
0.007077742099761963, | |
0.006968623161315918, | |
0.0069630231857299805, | |
0.006961902141571045, | |
0.006991343021392822, | |
0.006978702068328857, | |
0.006941263198852539, | |
0.007049742221832275, | |
0.006953103065490723, | |
0.00698734188079834, | |
0.00711102294921875, | |
0.006953742027282715, | |
0.007047822952270508, | |
0.006946702003479004, | |
0.007037582874298095, | |
0.006963181972503662, | |
0.0070204629898071285, | |
0.006993261814117432, | |
0.007016462802886963, | |
0.007000621795654297, | |
0.007090222835540771, | |
0.006981263160705567, | |
0.007006223201751709, | |
0.007015983104705811, | |
0.007260622024536133, | |
0.007861899852752685, | |
0.017733076095581054, | |
0.0022649540901184084, | |
0.00482398796081543, | |
0.007383662223815918, | |
0.007554060935974121, | |
0.0073891010284423825, | |
0.007476461887359619, | |
0.007916460037231446, | |
0.007929900169372558, | |
0.007907979965209961, | |
0.007916621208190918, | |
0.007861741065979004, | |
0.007281901836395263, | |
0.007356781005859375, | |
0.007392782211303711, | |
0.007409420967102051, | |
0.007468461990356445, | |
0.007740621089935303, | |
0.007521581172943115, | |
0.007319821834564209, | |
0.007409261226654053, | |
0.007384781837463379, | |
0.0073871808052062985, | |
0.0074745421409606935, | |
0.0073889408111572265, | |
0.007321260929107666, | |
0.00712926197052002, | |
0.006937102794647217, | |
0.00695678186416626, | |
0.006938862800598145 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.36973209878678 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |