IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a90a3f6
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": "cc9b50765eac8085269af1a207e20c6a9b260b67", | |
"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": 1825.456128, | |
"max_global_vram": 541.270016, | |
"max_process_vram": 93620.338688, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9982155222892763, | |
"mean": 0.006398817450572284, | |
"stdev": 0.0003561464270654918, | |
"p50": 0.006324783563613892, | |
"p90": 0.006825901985168457, | |
"p95": 0.006880622386932373, | |
"p99": 0.007154117488861079, | |
"values": [ | |
0.006871983051300049, | |
0.006943821907043457, | |
0.006832461833953857, | |
0.006816623210906983, | |
0.006194543838500976, | |
0.006314223766326905, | |
0.006114544868469238, | |
0.006357744216918946, | |
0.006211025238037109, | |
0.006085585117340088, | |
0.00619646406173706, | |
0.006074063777923584, | |
0.006013585090637207, | |
0.006232304096221924, | |
0.006543023109436035, | |
0.006611982822418213, | |
0.006795982837677002, | |
0.006307504177093506, | |
0.006779023170471191, | |
0.006796142101287842, | |
0.00679390287399292, | |
0.006880142211914062, | |
0.00680750322341919, | |
0.006801261901855469, | |
0.0068094229698181154, | |
0.006793582916259765, | |
0.006553422927856445, | |
0.006567663192749024, | |
0.00669230318069458, | |
0.008089738845825195, | |
0.007390221118927002, | |
0.006720303058624267, | |
0.006960941791534424, | |
0.006708143234252929, | |
0.00677166223526001, | |
0.006786542892456055, | |
0.0067491021156311035, | |
0.006804142951965332, | |
0.006774703025817871, | |
0.006748783111572266, | |
0.006741262912750244, | |
0.006764943122863769, | |
0.006763982772827149, | |
0.006739181995391846, | |
0.006753902912139892, | |
0.006288303852081299, | |
0.0061934242248535155, | |
0.0059945440292358395, | |
0.006260464191436768, | |
0.006271344184875488, | |
0.006280943870544433, | |
0.0064436631202697756, | |
0.006694862842559815, | |
0.00633406400680542, | |
0.006216623783111572, | |
0.005987823963165283, | |
0.006351503849029541, | |
0.006340303897857666, | |
0.006704623222351074, | |
0.006398223876953125, | |
0.006471662998199463, | |
0.0064374241828918455, | |
0.006249743938446045, | |
0.006021584033966064, | |
0.0059692649841308594, | |
0.006011343955993652, | |
0.005999505043029785, | |
0.006006225109100342, | |
0.00597582483291626, | |
0.0059905447959899905, | |
0.006033743858337402, | |
0.006018704891204834, | |
0.006064303874969482, | |
0.00600638484954834, | |
0.006029744148254395, | |
0.006020464897155762, | |
0.00598414421081543, | |
0.005978704929351807, | |
0.00601966381072998, | |
0.006021424770355225, | |
0.006022064208984375, | |
0.00602222490310669, | |
0.006014863967895508, | |
0.006025744915008545, | |
0.005997263908386231, | |
0.006011505126953125, | |
0.006068624019622802, | |
0.006025265216827393, | |
0.006027344226837158, | |
0.006039185047149658, | |
0.005981103897094726, | |
0.006079824924468994, | |
0.006483343124389649, | |
0.0062807841300964356, | |
0.006207024097442627, | |
0.006236303806304932, | |
0.00605022382736206, | |
0.006092305183410644, | |
0.006404782772064209, | |
0.006031664848327636, | |
0.006295823097229004, | |
0.006098865032196045, | |
0.006080624103546143, | |
0.006042064189910889, | |
0.00603742504119873, | |
0.006017583847045899, | |
0.006174223899841309, | |
0.006031024932861328, | |
0.00605022382736206, | |
0.006210864067077637, | |
0.00639902400970459, | |
0.006058544158935547, | |
0.0066553430557250975, | |
0.006757422924041748, | |
0.006338703155517578, | |
0.0067567830085754396, | |
0.006777583122253418, | |
0.006787182807922364, | |
0.006883982181549072, | |
0.006606382846832275, | |
0.006501904010772705, | |
0.006786221981048584, | |
0.006772142887115478, | |
0.006363342761993409, | |
0.0064257440567016605, | |
0.0064417428970336916, | |
0.006209584236145019, | |
0.006403024196624756, | |
0.006315503120422363, | |
0.006335984230041504, | |
0.006405263900756836, | |
0.006231503963470459, | |
0.006483822822570801, | |
0.006357903957366943, | |
0.006405582904815674, | |
0.006103824138641358, | |
0.006290063858032226, | |
0.006078545093536377, | |
0.006076303958892823, | |
0.006082223892211914, | |
0.006096624851226807, | |
0.006070703983306885, | |
0.00607422399520874, | |
0.006052625179290771, | |
0.006302544116973877, | |
0.006677742958068848, | |
0.006882062911987305, | |
0.006859821796417236, | |
0.006819342136383057, | |
0.006782382965087891, | |
0.006883502006530762, | |
0.0068707032203674315, | |
0.00685070276260376, | |
0.0068897418975830075, | |
0.0068695821762084965, | |
0.006871342182159424 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.27887617118444 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |