mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Summary: urrently the node.meta["stack_trace"] is not preserved when we torch package/load GraphModule, which means the original stack trace is lost. When we re-trace the packaged graph module, we just get a stack trace like fx-generated._0...... Adding the node.meta["stack_trace"] to torch packaged graph module Test Plan: ``` buck2 run @//mode/dev-nosan fbcode//caffe2/test:package -- -r TestPackageFX ``` Rollback Plan: Differential Revision: D76379692 Pull Request resolved: https://github.com/pytorch/pytorch/pull/155638 Approved by: https://github.com/angelayi |
||
|---|---|---|
| .. | ||
| package_a | ||
| package_b | ||
| package_bc | ||
| package_c | ||
| package_d | ||
| package_e | ||
| test_trace_dep | ||
| __init__.py | ||
| common.py | ||
| generate_bc_packages.py | ||
| module_a_remapped_path.py | ||
| module_a.py | ||
| test_analyze.py | ||
| test_dependency_api.py | ||
| test_dependency_hooks.py | ||
| test_digraph.py | ||
| test_directory_reader.py | ||
| test_glob_group.py | ||
| test_importer.py | ||
| test_load_bc_packages.py | ||
| test_mangling.py | ||
| test_misc.py | ||
| test_model.py | ||
| test_package_fx.py | ||
| test_package_script.py | ||
| test_repackage.py | ||
| test_resources.py | ||
| test_save_load.py | ||