IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8c98a9c
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "error", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 987.394048, | |
"max_global_vram": 409.137152, | |
"max_process_vram": 46808.137728, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.66022802734375, | |
"mean": 7.66022802734375, | |
"stdev": 0.0, | |
"p50": 7.66022802734375, | |
"p90": 7.66022802734375, | |
"p95": 7.66022802734375, | |
"p99": 7.66022802734375, | |
"values": [ | |
7.66022802734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.809664, | |
"max_global_vram": 520.527872, | |
"max_process_vram": 118136.512512, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9977844152450563, | |
"mean": 0.0075021384604891436, | |
"stdev": 0.00023861622213640287, | |
"p50": 0.0074503707885742185, | |
"p90": 0.007666658020019531, | |
"p95": 0.007785633373260498, | |
"p99": 0.008667530517578128, | |
"values": [ | |
0.007573890209197998, | |
0.0076041297912597654, | |
0.007749090194702149, | |
0.007467330932617188, | |
0.007547171115875244, | |
0.0074663710594177245, | |
0.007431331157684326, | |
0.00736573076248169, | |
0.00904156494140625, | |
0.007617569923400879, | |
0.007497409820556641, | |
0.007456770896911621, | |
0.0074542112350463865, | |
0.007406051158905029, | |
0.007460771083831787, | |
0.007431810855865479, | |
0.007413570880889893, | |
0.007419490814208984, | |
0.007403810977935791, | |
0.0073831710815429686, | |
0.007432450771331787, | |
0.00742301082611084, | |
0.007431810855865479, | |
0.00743549108505249, | |
0.007421411037445068, | |
0.007404291152954102, | |
0.007413570880889893, | |
0.007430050849914551, | |
0.007453411102294922, | |
0.007547811031341552, | |
0.007327171802520752, | |
0.007359170913696289, | |
0.007362851142883301, | |
0.007375970840454101, | |
0.007322531223297119, | |
0.007418210983276367, | |
0.00744749116897583, | |
0.007423971176147461, | |
0.00743165111541748, | |
0.007450850963592529, | |
0.007557889938354492, | |
0.0074852509498596195, | |
0.008817085266113281, | |
0.007656610012054444, | |
0.007417251110076904, | |
0.007667490005493164, | |
0.0074070110321044925, | |
0.0074308509826660155, | |
0.007437090873718261, | |
0.007438371181488037, | |
0.007449571132659912, | |
0.007433091163635254, | |
0.007441891193389893, | |
0.007480610847473144, | |
0.0075018911361694335, | |
0.0074639711380004884, | |
0.007604770183563233, | |
0.0077670087814331054, | |
0.007463651180267334, | |
0.007658689975738525, | |
0.007458849906921387, | |
0.007483810901641846, | |
0.0074393310546875, | |
0.007496449947357178, | |
0.007361411094665527, | |
0.007482531070709228, | |
0.007459969997406006, | |
0.007460610866546631, | |
0.007479970932006836, | |
0.0076910099983215335, | |
0.007711170196533203, | |
0.007451011180877686, | |
0.007451010227203369, | |
0.00747261095046997, | |
0.0074449310302734375, | |
0.007495009899139404, | |
0.007361731052398682, | |
0.0073502111434936524, | |
0.007495971202850342, | |
0.007375650882720948, | |
0.007504769802093506, | |
0.007367650985717774, | |
0.007489891052246094, | |
0.007357251167297363, | |
0.0074892501831054685, | |
0.007320131778717041, | |
0.007472451210021973, | |
0.007474851131439209, | |
0.007476449966430664, | |
0.007475171089172363, | |
0.007460451126098633, | |
0.007443170070648194, | |
0.007326851844787598, | |
0.00734957218170166, | |
0.007468131065368653, | |
0.007349571228027344, | |
0.0075042910575866695, | |
0.0074689297676086425, | |
0.007442851066589356, | |
0.007470530986785889, | |
0.007447169780731201, | |
0.007461410999298096, | |
0.007461091041564941, | |
0.00742685079574585, | |
0.007280930995941162, | |
0.007493731021881104, | |
0.0074516510963439945, | |
0.0074310111999511715, | |
0.00731325101852417, | |
0.00730045223236084, | |
0.007432291030883789, | |
0.007295331954956055, | |
0.0074503707885742185, | |
0.007406691074371338, | |
0.00741693115234375, | |
0.0074046111106872555, | |
0.007389410972595215, | |
0.008349726676940918, | |
0.008283967018127442, | |
0.008170687675476074, | |
0.007786690235137939, | |
0.007758369922637939, | |
0.007784928798675537, | |
0.007835810184478759, | |
0.007663330078125, | |
0.007353409767150879, | |
0.0073836507797241215, | |
0.007402851104736328, | |
0.00733341121673584, | |
0.007301891803741455, | |
0.0073127708435058595, | |
0.007609409809112549, | |
0.007370370864868164 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.29532709461608 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |