IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
337aa7c
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": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "d920fe9626db1e7915f6d3574b5b54b0159cd100", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.463808, | |
"max_global_vram": 541.270016, | |
"max_process_vram": 102408.33536, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 155, | |
"total": 0.9987163572311403, | |
"mean": 0.006443331336975097, | |
"stdev": 0.0002393393741146364, | |
"p50": 0.006395186901092529, | |
"p90": 0.006526706409454346, | |
"p95": 0.006598642587661743, | |
"p99": 0.007831801719665528, | |
"values": [ | |
0.007871823787689209, | |
0.007839663982391358, | |
0.007825104236602784, | |
0.00781886386871338, | |
0.006687507152557373, | |
0.006558705806732177, | |
0.006487987041473389, | |
0.0065286259651184085, | |
0.0064979071617126466, | |
0.0064649472236633304, | |
0.006454545974731446, | |
0.006469586849212647, | |
0.006435027122497558, | |
0.006423507213592529, | |
0.006435026168823242, | |
0.006453426837921142, | |
0.006456787109375, | |
0.0064606270790100095, | |
0.00643678617477417, | |
0.006428627014160157, | |
0.006392467021942139, | |
0.006412467002868652, | |
0.006396146774291992, | |
0.0064391870498657225, | |
0.006392147064208984, | |
0.006415506839752197, | |
0.006434226989746094, | |
0.006414707183837891, | |
0.006410067081451416, | |
0.006423826217651367, | |
0.006343667030334473, | |
0.006379986763000488, | |
0.006368146896362305, | |
0.006549266815185547, | |
0.006420307159423828, | |
0.006368146896362305, | |
0.006394707202911377, | |
0.0063889470100402836, | |
0.006388307094573975, | |
0.006472466945648193, | |
0.006419507026672364, | |
0.006390067100524902, | |
0.006414546966552735, | |
0.006396146774291992, | |
0.006416626930236816, | |
0.006416787147521972, | |
0.006450225830078125, | |
0.006419826984405517, | |
0.006403186798095703, | |
0.006418867111206055, | |
0.006385426998138427, | |
0.006392786979675293, | |
0.006376307010650634, | |
0.006356146812438965, | |
0.006410067081451416, | |
0.0064702267646789555, | |
0.006473587036132812, | |
0.006520465850830078, | |
0.006606226921081543, | |
0.006565266132354737, | |
0.006598066806793213, | |
0.006595026016235352, | |
0.006523827075958252, | |
0.006596625804901123, | |
0.0065033469200134275, | |
0.006490386009216308, | |
0.006521266937255859, | |
0.006506227016448975, | |
0.006420306205749512, | |
0.006439346790313721, | |
0.006411986827850342, | |
0.006395186901092529, | |
0.006362387180328369, | |
0.00639134693145752, | |
0.006364626884460449, | |
0.006387667179107666, | |
0.006346386909484863, | |
0.0063351869583129885, | |
0.006378547191619873, | |
0.006363027095794678, | |
0.0063535871505737305, | |
0.00638750696182251, | |
0.006387826919555664, | |
0.006657906055450439, | |
0.006595346927642822, | |
0.006599986076354981, | |
0.006465267181396484, | |
0.006465907096862793, | |
0.006450706005096436, | |
0.006492786884307862, | |
0.0064465470314025875, | |
0.006382067203521729, | |
0.0063822269439697266, | |
0.006397747039794922, | |
0.00639838695526123, | |
0.006427826881408691, | |
0.006353746891021728, | |
0.006359346866607666, | |
0.006396146774291992, | |
0.006396626949310303, | |
0.006380786895751953, | |
0.006409266948699951, | |
0.006404306888580322, | |
0.006402387142181397, | |
0.0064158267974853515, | |
0.0063731069564819335, | |
0.006397747039794922, | |
0.006407347202301026, | |
0.006414707183837891, | |
0.006343667030334473, | |
0.006372467041015625, | |
0.00630670690536499, | |
0.006372306823730469, | |
0.0063547067642211914, | |
0.0063566269874572754, | |
0.006383027076721191, | |
0.0062996668815612795, | |
0.006354066848754883, | |
0.0063094267845153805, | |
0.006322707176208496, | |
0.006328947067260742, | |
0.006300467014312744, | |
0.006321907043457031, | |
0.006356307029724121, | |
0.006312946796417237, | |
0.0063371071815490725, | |
0.006383347034454346, | |
0.006369747161865234, | |
0.006324467182159424, | |
0.00633502721786499, | |
0.006326066970825195, | |
0.0063449468612670895, | |
0.0063657469749450685, | |
0.0063158278465271, | |
0.006310067176818848, | |
0.0063284668922424315, | |
0.006315347194671631, | |
0.006334066867828369, | |
0.006315826892852783, | |
0.006339026927947998, | |
0.006337427139282227, | |
0.006352947235107422, | |
0.0063395071029663085, | |
0.006312787055969238, | |
0.006303347110748291, | |
0.006326706886291504, | |
0.0063327870368957515, | |
0.006344147205352783, | |
0.0063071870803833, | |
0.006340625762939453, | |
0.006358067035675049, | |
0.006337427139282227, | |
0.006335987091064453, | |
0.006346066951751709, | |
0.006324467182159424 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 155.1992203569439 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |