Commit 4dc27a2
committed
Qualcomm AI Engine Direct - tensor dumping at lpai backend
Summary:
Currently, using --dump_intermediate_outputs and RPC mode will dump tensor
Test plan:
python backends/qualcomm/tests/test_qnn_delegate.py -k TestQNNQuantizedUtils.test_qnn_backend_dump_intermediate_outputs_simple_model -b build-android -s ${SN} -m ${CHIPID} --backend lpai
python backends/qualcomm/tests/test_qnn_delegate.py -k TestQNNQuantizedUtils.test_qnn_backend_dump_intermediate_outputs_simple_model -b build-android -s ${SN} -m ${CHIPID} --dump_intermediate_outputs --backend lpai1 parent ef5c8a7 commit 4dc27a2
3 files changed
Lines changed: 34 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
269 | | - | |
| 271 | + | |
270 | 272 | | |
271 | 273 | | |
272 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
279 | 283 | | |
280 | 284 | | |
281 | 285 | | |
| |||
437 | 441 | | |
438 | 442 | | |
439 | 443 | | |
440 | | - | |
441 | 444 | | |
442 | | - | |
| 445 | + | |
443 | 446 | | |
444 | 447 | | |
445 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6110 | 6110 | | |
6111 | 6111 | | |
6112 | 6112 | | |
| 6113 | + | |
| 6114 | + | |
| 6115 | + | |
| 6116 | + | |
6113 | 6117 | | |
6114 | 6118 | | |
6115 | 6119 | | |
| |||
6840 | 6844 | | |
6841 | 6845 | | |
6842 | 6846 | | |
6843 | | - | |
| 6847 | + | |
| 6848 | + | |
| 6849 | + | |
| 6850 | + | |
| 6851 | + | |
| 6852 | + | |
| 6853 | + | |
| 6854 | + | |
| 6855 | + | |
| 6856 | + | |
| 6857 | + | |
| 6858 | + | |
| 6859 | + | |
| 6860 | + | |
| 6861 | + | |
| 6862 | + | |
| 6863 | + | |
| 6864 | + | |
6844 | 6865 | | |
6845 | 6866 | | |
6846 | 6867 | | |
6847 | 6868 | | |
6848 | 6869 | | |
6849 | 6870 | | |
| 6871 | + | |
6850 | 6872 | | |
6851 | | - | |
| 6873 | + | |
6852 | 6874 | | |
6853 | | - | |
| 6875 | + | |
6854 | 6876 | | |
6855 | 6877 | | |
6856 | | - | |
| 6878 | + | |
6857 | 6879 | | |
6858 | 6880 | | |
6859 | 6881 | | |
| |||
0 commit comments