Commit 05b977d
authored
Qualcomm AI Engine Direct - tensor dumping at lpai backend (pytorch#20369)
### 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 522ed49 commit 05b977d
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 | |
|---|---|---|---|
| |||
6167 | 6167 | | |
6168 | 6168 | | |
6169 | 6169 | | |
| 6170 | + | |
| 6171 | + | |
| 6172 | + | |
| 6173 | + | |
6170 | 6174 | | |
6171 | 6175 | | |
6172 | 6176 | | |
| |||
6897 | 6901 | | |
6898 | 6902 | | |
6899 | 6903 | | |
6900 | | - | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
| 6907 | + | |
| 6908 | + | |
| 6909 | + | |
| 6910 | + | |
| 6911 | + | |
| 6912 | + | |
| 6913 | + | |
| 6914 | + | |
| 6915 | + | |
| 6916 | + | |
| 6917 | + | |
| 6918 | + | |
| 6919 | + | |
| 6920 | + | |
| 6921 | + | |
6901 | 6922 | | |
6902 | 6923 | | |
6903 | 6924 | | |
6904 | 6925 | | |
6905 | 6926 | | |
6906 | 6927 | | |
| 6928 | + | |
6907 | 6929 | | |
6908 | | - | |
| 6930 | + | |
6909 | 6931 | | |
6910 | | - | |
| 6932 | + | |
6911 | 6933 | | |
6912 | 6934 | | |
6913 | | - | |
| 6935 | + | |
6914 | 6936 | | |
6915 | 6937 | | |
6916 | 6938 | | |
| |||
0 commit comments