Skip to main content

QAIRT SDK Installation

QAIRT (Qualcomm® AI Runtime) SDK is a software package that integrates Qualcomm® AI software products, including Qualcomm® AI Engine Direct, Qualcomm® Neural Processing SDK, and Qualcomm® Genie. QAIRT provides developers with all the necessary tools for porting and deploying AI models on Qualcomm® hardware accelerators, as well as the runtime for running models on CPU, GPU, and NPU. Currently, QAIRT SDK supports model porting for Pytorch, Tensorflow, TFLite, and ONNX frameworks.

Supported inference hardware accelerator IPs: CPU, GPU, NPU.

QAIRT SDK Architecture

QAIRT SDK System Requirements

  • 64-bit x86 processor
  • Ubuntu 22.04
  • Python 3.10

Download QAIRT SDK Package

  • Download the v2.37.1.250807 QAIRT SDK from Qualcomm® Software Center

  • Extract the QAIRT SDK

    X86 Linux PC
    unzip v2.37.1.250807.zip
    cd qairt/2.37.1.250807

Configure QAIRT Environment

Create Python Environment

QAIRT requires a Python 3.10 environment, which can be created using Anaconda

tip

After installing Anaconda, create and activate a Python 3.10 environment using the terminal

X86 Linux PC
conda create -n qairt python=3.10
conda activate qairt

Configure QAIRT Environment Variables

X86 Linux PC
source bin/envsetup.sh

Check Dependencies

  • Check library dependencies

    X86 Linux PC
    sudo ${QAIRT_SDK_ROOT}/bin/check-linux-dependency.sh
    Checking for libncurses5
    Checking for libgl1
    Checking for libgtk-3-dev
    Checking for libasound2-dev
    Checking for libnss3
    Checking for git
    Checking for nodejs
    Checking for npm
    Checking for libgbm-dev
    Checking for desktop-file-utils
    Checking for python3-dev
    Checking for python3-pip
    Checking for python3-setuptools
    Checking for clang
    Checking for libc++-dev
    Checking for libc++abi-dev
    Checking for flatbuffers-compiler
    Checking for libflatbuffers-dev
    Checking for rename
    =============================================================
    All Dependency Packages Found
    Done!!
  • Check toolchain dependencies

    X86 Linux PC
    ${QAIRT_SDK_ROOT}/bin/envcheck -c
    Checking Clang Environment
    --------------------------------------------------------------
    [INFO] Found clang++ at /usr/bin/clang++
    --------------------------------------------------------------
  • Install Python library dependencies

    X86 Linux PC
    python3 "${QAIRT_SDK_ROOT}/bin/check-python-dependency"

Install AI Frameworks

Select the model framework libraries to install based on your model format. Installation of all frameworks is not required.

package nameversion
tensorflow2.10.1
tflite2.3.0
torch1.13.1
onnx1.16.1
onnxruntime1.17.1
onnxsimplifier0.4.36

Complete SDK Documentation

QAIRT SDK integrates Qualcomm® AI Engine Direct (QNN), Qualcomm® Neural Processing SDK (SNPE), and Qualcomm® Genie (Genie). Their detailed documentation is located at:

Local Documentation

  • qairt/2.37.1.250807/docs/QNN

  • qairt/2.37.1.250807/docs/SNPE

  • qairt/2.37.1.250807/docs/Genie

Online Documentation