{"library":"thop","type":"library","category":null,"description":"THOP (PyTorch-OpCounter) is a Python library designed to calculate the Multiply-Accumulate Operations (MACs) and parameters of PyTorch models. It provides an intuitive API for deep learning practitioners to evaluate the computational efficiency and memory footprint of their models, aiding in optimization and architecture selection. The current PyPI version is 0.1.1.post2209072238, released in September 2022, indicating a less active maintenance cadence for this specific branch.","language":"python","status":"maintenance","version":"0.1.1.post2209072238","tags":["pytorch","flops","macs","model-profiling","deep-learning","computational-efficiency"],"last_verified":"Sat May 23","install":[{"cmd":"pip install thop","imports":["from thop import profile","from thop import clever_format"]}],"homepage":null,"github":"https://github.com/Lyken17/pytorch-OpCounter","docs":null,"changelog":null,"pypi":"https://pypi.org/project/thop/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":40,"avg_install_s":66.3,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/thop/compatibility"}}