Releases: quic/ai-engine-direct-helper
QAI AppBuilder libraries for QNN SDK 2.28.0.241029 & Python 3.10.12(QCS8550.LE.1.0 | gcc 11.2.0)
QAI AppBuilder libraries for QNN SDK 2.28.0.241029 & Python 3.10.12(QCS8550.LE.1.0 | gcc 11.2.0)
QNN SDK environment:
You should use the libraries below under path 'C:\Qualcomm\AIStack\QAIRT\2.28.0.241029\lib\aarch64-oe-linux-gcc11.2'
libQnnHtp.so
libQnnHtpPrepare.so
libQnnHtpV68Stub.so
libQnnSystem.so
-
And use this skel library 'C:\Qualcomm\AIStack\QAIRT\2.28.0.241029\lib\hexagon-v73\unsigned\libQnnHtpV73Skel.so'
-
You need to replace the old 'libQnnHtpV73Skel.so' under '/usr/lib/rfsa/adsp/'.
Python environment:
How to prepare a workable Python environment for QCS8550.LE.1.0:
We can prepare python environment through Ubuntu 22.04.5 LTS(ARM64) for QCM8550. We can use WSL(in ARM64 Windows) or docker for running ARM64 Ubuntu 22.04.5 LTS. Make sure the python version in the Ubuntu is Python 3.10.12(GCC 11.4.0).
Commands to create the environment in Ubuntu:
python3 -m venv py3
tar -zcvf py3.tar.gz py3
Commands to setup the python environment in QCM8550
# root device
adb root
# push to device
adb push py3.tar.gz /home/root
# Unzip it to /home/root/py3
adb shell
cd /home/root
tar -zxvf py3.tar.gz -C .
# activate it
source /home/root/py3/bin/activate
# Now you can use python3 & pip commands.
QAI AppBuilder libraries for QNN SDK 2.28.0.241029 & Python 3.12.8(QCM6490 | Ubuntu 20.04.6 | gcc 9.4.0)
QAI AppBuilder libraries for QNN SDK 2.28.0.241029 & Python 3.12.8(QCM6490 | Ubuntu 20.04.6 | gcc 9.4.0)
- You should use the libraries below under path 'C:\Qualcomm\AIStack\QAIRT\2.28.0.241029\lib\aarch64-ubuntu-gcc9.4'
libQnnHtp.so
libQnnHtpPrepare.so
libQnnHtpV68Stub.so
libQnnSystem.so
-
And use this skel library 'C:\Qualcomm\AIStack\QAIRT\2.28.0.241029\lib\hexagon-v68\unsigned\libQnnHtpV68Skel.so'
-
You need to replace the old 'libQnnHtpV68Skel.so' under '/usr/lib/rfsa/adsp/'.
QAI AppBuilder libraries for QNN SDK 2.29.0.241129 & Python(ARM64 & x64)
QAI AppBuilder libraries for QNN SDK 2.29.0.241129 & Python(ARM64 & x64):
For Python(ARM64) projects, install Python extension for Python 3.12.8(ARM64) with command below:
pip install qai_appbuilder-2.29.0-cp312-cp312-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.12.8/python-3.12.8-arm64.exe
For Python(x64) projects, the below wheels are ARM64EC architecture which are compatible with the x64 version of Python. It can work on WoS device well. You need to run with the QNN libraries in 'C:\Qualcomm\AIStack\QAIRT\2.28.0.241029\lib\arm64x-windows-msvc':
qai_appbuilder-2.29.0-cp312-cp312-win_amd64.whl
Here are x64 Python download links:
https://www.python.org/ftp/python/3.12.8/python-3.12.8-amd64.exe
For C++ projects, use the files in 'QAI_AppBuilder-win_arm64-QNN2.29.0-Release.zip':
libappbuilder.dll
libappbuilder.lib
QAIAppSvc.exe
include\LibAppBuilder.hpp
QAI AppBuilder libraries for QNN SDK 2.28.0.241029 & Python(ARM64 & x64)
QAI AppBuilder libraries for QNN SDK 2.28.0.241029 & Python(ARM64 & x64):
For Python(ARM64) projects, install Python extension for Python 3.12.8(ARM64) with command below:
pip install qai_appbuilder-2.28.0-cp312-cp312-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.12.8/python-3.12.8-arm64.exe
For Python(x64) projects, the below wheels are ARM64EC architecture which are compatible with the x64 version of Python. It can work on WoS device well. You need to run with the QNN libraries in 'C:\Qualcomm\AIStack\QAIRT\2.28.0.241029\lib\arm64x-windows-msvc':
qai_appbuilder-2.28.0-cp312-cp312-win_amd64.whl
For Linux(Ubuntu), the below wheels are ARM64 architecture:
qai_appbuilder-2.28.0-cp312-cp312-linux_aarch64.whl
Here are x64 Python download links:
https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
https://www.python.org/ftp/python/3.11.5/python-3.11.5-amd64.exe
https://www.python.org/ftp/python/3.12.8/python-3.12.8-amd64.exe
For C++ projects, use the files in 'QAI_AppBuilder-win_arm64-QNN2.28.0-Release.zip':
libappbuilder.dll
libappbuilder.lib
QAIAppSvc.exe
include\LibAppBuilder.hpp
QAI AppBuilder libraries for QNN SDK 2.26.0.240828 & Python3.12(ARM64 & x64)
QAI AppBuilder libraries for QNN SDK 2.26.0.240828 & Python3.12(ARM64 & x64):
For Python(ARM64) projects, install Python extension for Python 3.12.6(ARM64) with command below:
pip install qai_appbuilder-2.26.0-cp312-cp312-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.12.6/python-3.12.6-arm64.exe
For C++ projects, use the files in 'QAI_AppBuilder-win_arm64-QNN2.24.0-Release.zip':
libappbuilder.dll
libappbuilder.lib
QAIAppSvc.exe
include\LibAppBuilder.hpp
QAI AppBuilder libraries for QNN SDK 2.24.0.240626 & Python3.12(ARM64 & x64)
QAI AppBuilder libraries for QNN SDK 2.24.0.240626 & Python3.12(ARM64 & x64):
For Python(ARM64) projects, install Python extension for Python 3.12.6(ARM64) with command below:
pip install qai_appbuilder-2.24.0-cp312-cp312-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.12.6/python-3.12.6-arm64.exe
For C++ projects, use the files in 'QAI_AppBuilder-win_arm64-QNN2.24.0-Release.zip':
libappbuilder.dll
libappbuilder.lib
QAIAppSvc.exe
include\LibAppBuilder.hpp
QNNHelper libraries for QNN SDK 2.21.0.240401 & Python 3.11.5(ARM64)
QAI Appbuilder libraries for QNN SDK 2.21.0.240401 & Python 3.11.5(ARM64):
For Python projects, install Python extension for Python 3.11.5(ARM64) 'qai_appbuilder-2.21.2-cp311-cp311-win_arm64.whl' with command below:
pip install qai_appbuilder-2.21.2-cp311-cp311-win_arm64.whl
Note:
- Refine the code about m_powerConfigId & sg_powerConfigId and fixed boostPerformance issue.
- Rename from QNNHelper to QAI AppBuilder.
QAI AppBuilder libraries for QNN SDK 2.24.0.240626 & Python(ARM64 & x64)
QAI AppBuilder libraries for QNN SDK 2.24.0.240626 & Python(ARM64 & x64):
For Python(ARM64) projects, install Python extension for Python 3.11.5(ARM64) with command below:
pip install qai_appbuilder-2.24.0-cp311-cp311-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.11.5/python-3.11.5-arm64.exe
For Python(x64) projects, the below wheels are ARM64EC architecture which are compatible with the x64 version of Python. It can work on WoS device well. You need to run with the QNN libraries in 'C:\Qualcomm\AIStack\QAIRT\2.24.0.240626\lib\arm64x-windows-msvc':
qai_appbuilder-2.24.0-cp310-cp310-win_amd64.whl
qai_appbuilder-2.24.0-cp311-cp311-win_amd64.whl
Here are x64 Python download links:
https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
https://www.python.org/ftp/python/3.11.5/python-3.11.5-amd64.exe
For C++ projects, use the files in 'QAI_AppBuilder-win_arm64-QNN2.24.0-Release.zip':
libappbuilder.dll
libappbuilder.lib
QAIAppSvc.exe
include\LibAppBuilder.hpp
QAI AppBuilder libraries for QNN SDK 2.23.0.240531 & Python(ARM64 & x64)
QAI AppBuilder libraries for QNN SDK 2.23.0.240531 & Python(ARM64 & x64):
For Python(ARM64) projects, install Python extension for Python 3.11.5(ARM64) with command below:
pip install qai_appbuilder-2.23.0-cp311-cp311-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.11.5/python-3.11.5-arm64.exe
For Python(x64) projects, the below wheels are ARM64EC architecture which are compatible with the x64 version of Python. It can work on WoS device well. You need to run with the QNN libraries in 'C:\Qualcomm\AIStack\QAIRT\2.23.0.240531\lib\arm64x-windows-msvc':
qai_appbuilder-2.23.0-cp310-cp310-win_amd64.whl
qai_appbuilder-2.23.0-cp311-cp311-win_amd64.whl
Here are x64 Python download links:
https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe
https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
https://www.python.org/ftp/python/3.11.5/python-3.11.5-amd64.exe
For C++ projects, use the files in 'QAI_AppBuilder-win_arm64-QNN2.23.0-Release.zip':
libappbuilder.dll
libappbuilder.lib
QAIAppSvc.exe
include\LibAppBuilder.hpp
QNNHelper libraries for QNN SDK 2.23.0.240531 & Python 3.11.5(ARM64)
QNNHelper libraries for QNN SDK 2.23.0.240531 & Python 3.11.5(ARM64):
For C++ projects, use the files in 'QNNHelper-win_arm64-QNN2.23.0-Release.zip':
libqnnhelper.dll
libqnnhelper.lib
SvcQNNHelper.exe
include\libQNNHelper.hpp
For Python projects, install Python extension for Python 3.11.5(ARM64) with command below:
pip install qnnhelper-2.23.0-cp311-cp311-win_arm64.whl
Here is ARM64 Python download links:
https://www.python.org/ftp/python/3.11.5/python-3.11.5-arm64.exe
The below wheels are ARM64EC architecture which are compatible with the x64 version of Python. It can work on WoS device well. You need to run with the libraries in 'C:\Qualcomm\AIStack\QAIRT\2.23.0.240531\lib\arm64x-windows-msvc':
qnnhelper-2.23.0-cp38-cp38-win_amd64.whl
qnnhelper-2.23.0-cp310-cp310-win_amd64.whl
qnnhelper-2.23.0-cp311-cp311-win_amd64.whl
Here are x64 Python download links:
https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe
https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
https://www.python.org/ftp/python/3.11.5/python-3.11.5-amd64.exe