File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,9 +124,9 @@ if [[ "${MODE}" =~ .*qnn.* ]]; then
124124 source " $( dirname " ${BASH_SOURCE[0]} " ) /../../backends/qualcomm/scripts/install_qnn_sdk.sh"
125125 install_qnn
126126
127- export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /.." && pwd) "
127+ export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /../.. " && pwd) "
128128 export LD_LIBRARY_PATH=" ${QNN_SDK_ROOT} /lib/x86_64-linux-clang"
129- export PYTHONPATH=" .. "
129+ export PYTHONPATH=" ${EXECUTORCH_ROOT} /.. ${PYTHONPATH : + : ${PYTHONPATH} } "
130130 cp schema/program.fbs exir/_serialize/program.fbs
131131 cp schema/scalar_type.fbs exir/_serialize/scalar_type.fbs
132132 cp -f build-x86/backends/qualcomm/PyQnnManagerAdaptor.cpython-310-x86_64-linux-gnu.so backends/qualcomm/python
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"
1515source " $( dirname " ${BASH_SOURCE[0]} " ) /../../backends/qualcomm/scripts/install_qnn_sdk.sh"
1616install_qnn
1717
18- export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /.." && pwd) "
18+ export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /../.. " && pwd) "
1919export LD_LIBRARY_PATH=" ${QNN_SDK_ROOT} /lib/x86_64-linux-clang"
20- export PYTHONPATH=" .. "
20+ export PYTHONPATH=" ${EXECUTORCH_ROOT} /.. ${PYTHONPATH : + : ${PYTHONPATH} } "
2121cp schema/program.fbs exir/_serialize/program.fbs
2222cp schema/scalar_type.fbs exir/_serialize/scalar_type.fbs
2323cp -f build-x86/backends/qualcomm/PyQnnManagerAdaptor.cpython-310-x86_64-linux-gnu.so backends/qualcomm/python
Original file line number Diff line number Diff line change 2020source " $( dirname " ${BASH_SOURCE[0]} " ) /../../backends/qualcomm/scripts/install_qnn_sdk.sh"
2121install_qnn
2222
23- export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /.." && pwd) "
23+ export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /../.. " && pwd) "
2424export LD_LIBRARY_PATH=" ${QNN_SDK_ROOT} /lib/x86_64-linux-clang"
25- export PYTHONPATH=" .. "
25+ export PYTHONPATH=" ${EXECUTORCH_ROOT} /.. ${PYTHONPATH : + : ${PYTHONPATH} } "
2626cp schema/program.fbs exir/_serialize/program.fbs
2727cp schema/scalar_type.fbs exir/_serialize/scalar_type.fbs
2828cp -f build-x86/backends/qualcomm/PyQnnManagerAdaptor.cpython-310-x86_64-linux-gnu.so backends/qualcomm/python
You can’t perform that action at this time.
0 commit comments