Commit 92bf722
authored
Fix UnboundLocalError: local variable 'qnn_compile_spec_buffer' refer… (#15881)
As title, addressed issues exposed from
pytorch/pytorch#168098
```
FAILED exir/backend/test/test_debug_handle_map.py::TestBackendDebugHandle::test_lowered_the_whole_model - UnboundLocalError: local variable 'qnn_compile_spec_buffer' referenced before assignment
Falsifying example: test_lowered_the_whole_model(
unlift=False,
self=<test_debug_handle_map.TestBackendDebugHandle testMethod=test_lowered_the_whole_model>,
)
```1 parent b3b7a98 commit 92bf722
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
0 commit comments