{"library":"depyf","type":"library","category":null,"description":"depyf is a Python library designed to decompile Python functions from bytecode to source code, primarily to demystify the internal workings of PyTorch's `torch.compile`. It helps users understand, adapt to, and tune their PyTorch code for maximum performance. The library is currently at version 0.20.0 and maintains a frequent release cadence, often synchronizing with PyTorch updates to ensure compatibility.","language":"python","status":"active","version":"0.20.0","tags":["pytorch","debugging","decompilation","bytecode","torch.compile","performance"],"last_verified":"Wed May 20","install":[{"cmd":"pip install depyf","imports":["from depyf import decompile","import depyf\nwith depyf.prepare_debug(...)","import depyf\nwith depyf.debug()"]},{"cmd":"pip install git+https://github.com/thuml/depyf.git","imports":[]}],"homepage":null,"github":"https://github.com/thuml/depyf","docs":null,"changelog":null,"pypi":"https://pypi.org/project/depyf/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.8,"avg_import_s":0.07,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/depyf/compatibility"}}