Qualcomm AI Engine Direct - Debugger Converge Phase 1: Introduce debug handle#17804
Qualcomm AI Engine Direct - Debugger Converge Phase 1: Introduce debug handle#17804winskuo-quic wants to merge 1 commit intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/17804
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Awaiting Approval, 3 New FailuresAs of commit 7a91e7c with merge base f40bc56 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
Hi @Gasoonjia, @cccclai, |
Summary
We will be replacing part of the features in Qualcomm Intermediate Debugger with ExecuTorch's Debugger shortly.
This includes using Intermediate_Output_Capturer to capture CPU golden output and calculate_numeric_gap to perform tensor to tensor comparison.
To reuse these features, one key component is to enable debug_handle since ExecuTorch's tool saves per tensor result with mapping of {debug_handle : tensor_value}
This PR will be the 1st stage of debugger convergence, which is to enable debug_handle.
Test plan
python -m unittest executorch.backends.qualcomm.tests.test_passes.TestPasses.test_resolve_debug_handle