Inspect how a small PyTorch function was compiled.
depyf
清华大学 THUML
A Python debugging tool that turns bytecode generated by torch.compile into readable code.
未翻訳のため、原文を表示しています。
利用シーン
Compare the generated code after changing a model function.
製品概要とその他の利用例
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.
機能、モデル、連携
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.
利用方法と連携
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.
料金と利用条件
No verified plan prices are listed.
公式サイトで料金を確認資料と出典
よくある質問
How is the stable package distributed?
The project publishes a Python package named depyf on PyPI.
製品の基本情報
- 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
既存の資料とガイド
Questions and guides
Official documentation
See the provider’s product documentation for scope and access.