File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed
backends/qualcomm/scripts
shim_et/xplat/executorch/backends/qualcomm Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set -o xtrace
12
12
build_qnn_backend () {
13
13
echo " Start building qnn backend."
14
14
export ANDROID_NDK_ROOT=${ANDROID_NDK_ROOT:-/ opt/ ndk}
15
- export QNN_SDK_ROOT=${QNN_SDK_ROOT:-/ tmp/ qnn/ 2.28 .0.241029 }
15
+ export QNN_SDK_ROOT=${QNN_SDK_ROOT:-/ tmp/ qnn/ 2.37 .0.25072 }
16
16
export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /../.." && pwd) "
17
17
18
18
parallelism=$(( $(nproc) - 1 ))
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ echo "COREML option ${COREML}"
120
120
if [[ " ${MODE} " =~ .* qnn.* ]]; then
121
121
QNN=ON
122
122
export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /.." && pwd) "
123
- export QNN_SDK_ROOT=/tmp/qnn/2.28 .0.241029
123
+ export QNN_SDK_ROOT=/tmp/qnn/2.37 .0.25072
124
124
export LD_LIBRARY_PATH=" ${QNN_SDK_ROOT} /lib/x86_64-linux-clang"
125
125
export PYTHONPATH=" .."
126
126
cp schema/program.fbs exir/_serialize/program.fbs
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set -euxo pipefail
10
10
source " $( dirname " ${BASH_SOURCE[0]} " ) /utils.sh"
11
11
12
12
export EXECUTORCH_ROOT=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) /.." && pwd) "
13
- export QNN_SDK_ROOT=/tmp/qnn/2.28 .0.241029
13
+ export QNN_SDK_ROOT=/tmp/qnn/2.37 .0.25072
14
14
export LD_LIBRARY_PATH=" ${QNN_SDK_ROOT} /lib/x86_64-linux-clang"
15
15
export PYTHONPATH=" .."
16
16
cp schema/program.fbs exir/_serialize/program.fbs
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ jobs:
292
292
export.output_name="${OUT_ET_MODEL_NAME}.pte"
293
293
ls -lh "${OUT_ET_MODEL_NAME}.pte"
294
294
elif [[ ${{ matrix.config }} == "llama3_qnn_htp" ]]; then
295
- export QNN_SDK_ROOT=/tmp/qnn/2.28 .0.241029
295
+ export QNN_SDK_ROOT=/tmp/qnn/2.37 .0.25072
296
296
export LD_LIBRARY_PATH=$QNN_SDK_ROOT/lib/x86_64-linux-clang/
297
297
export PYTHONPATH=$(pwd)/..
298
298
@@ -432,7 +432,7 @@ jobs:
432
432
PYTHON_EXECUTABLE=python bash .ci/scripts/build-qnn-sdk.sh
433
433
434
434
mkdir -p aar-out
435
- PYTHON_EXECUTABLE=python ANDROID_ABIS="arm64-v8a" BUILD_AAR_DIR=aar-out EXECUTORCH_BUILD_QNN=ON QNN_SDK_ROOT=/tmp/qnn/2.28 .0.241029 EXECUTORCH_ANDROID_PROFILING=ON bash scripts/build_android_library.sh
435
+ PYTHON_EXECUTABLE=python ANDROID_ABIS="arm64-v8a" BUILD_AAR_DIR=aar-out EXECUTORCH_BUILD_QNN=ON QNN_SDK_ROOT=/tmp/qnn/2.37 .0.25072 EXECUTORCH_ANDROID_PROFILING=ON bash scripts/build_android_library.sh
436
436
mkdir -p extension/benchmark/android/benchmark/app/libs
437
437
cp aar-out/executorch.aar extension/benchmark/android/benchmark/app/libs
438
438
pushd extension/benchmark/android/benchmark
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104
104
source backends/qualcomm/scripts/qnn_config.sh
105
105
export QNN_SDK_ROOT="/tmp/qnn/${QNN_VERSION}"
106
106
export ANDROID_ABIS=arm64-v8a
107
- GRADLE_ARGS+=" -DqnnVersion=2.28 .0"
107
+ GRADLE_ARGS+=" -DqnnVersion=2.37 .0"
108
108
fi
109
109
110
110
# Build AAR Package
Original file line number Diff line number Diff line change 6
6
# LICENSE file in the root directory of this source tree.
7
7
8
8
# QNN SDK Configuration
9
- QNN_VERSION=" 2.28 .0.241029 "
10
- QNN_ZIP_URL=" https://softwarecenter.qualcomm.com/api/download/software/qualcomm_neural_processing_sdk /v${QNN_VERSION} .zip"
9
+ QNN_VERSION=" 2.37 .0.250724 "
10
+ QNN_ZIP_URL=" https://softwarecenter.qualcomm.com/api/download/software/sdks/Qualcomm_AI_Runtime_Community/All/ ${QNN_VERSION} /v${QNN_VERSION} .zip"
Original file line number Diff line number Diff line change 1
1
def get_qnn_library_version ():
2
- return "2.28 "
2
+ return "2.37 "
You can’t perform that action at this time.
0 commit comments