Inspect how a small PyTorch function was compiled.
depyf
清华大学 THUML
A Python debugging tool that turns bytecode generated by torch.compile into readable code.
Traducción pendiente. Se muestra el texto original.
Casos de uso
Compare the generated code after changing a model function.
Descripción y más casos de uso
Product overview
depyf helps developers inspect the code generated by the PyTorch compiler. Its current documentation describes a debugging context manager and separate utilities for inspecting generated Python bytecode.
Funciones, modelos y acceso
Decompile supported Python bytecode
Inspect code generated by torch.compile
Export debugging artifacts for inspection
Compatibility depends on the Python and PyTorch versions. Check the project documentation for the compiler version in use.
Cómo usar o conectar
Install the package in a compatible Python environment
Follow the official PyTorch compatibility and setup guidance.
Use the documented debugging context manager
Run the relevant local code and review the generated debugging files.
Precios y requisitos
No verified plan prices are listed.
Consultar precios en el sitio oficialRequisitos de uso
- Platforms
- Instalación local
Más requisitos de uso
- Access and usage limits
- See “Usage limits” ↓
Documentación y fuentes
Preguntas frecuentes
How is the stable package distributed?
The project publishes a Python package named depyf on PyPI.
Información del producto
- Provider / Maintainer
- The official material identifies 清华大学 THUML as the provider or maintainer behind this product.
- Country of origin
- China
- Official site
- https://depyf.readthedocs.io/en/latest ↗
- Identifiers
- Slug thuml-depyf-cn · Product ID 3c8dc83f-e8e6-4842-ac99-4c7495f04721
Registros y guías originales
Questions and guides
Official documentation
See the provider’s product documentation for scope and access.