> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Qualcomm AI Runtime SDK to optimize an AI model

> Use the Qualcomm AI Runtime (QAIRT) SDK to convert, quantize, and run AI models.

Qualcomm AI Runtime SDK is an all-in-one SDK to port ML models to
run on Qualcomm hardware accelerators. The SDK contains
Qualcomm Neural Processing Engine (also known as SNPE) and
AI Engine Direct (also known as QNN) which offer tools to convert
and quantize models trained in PyTorch and TensorFlow and runtimes
to run these models on CPU, GPU, and HTP. Learn more about
[SNPE](https://docs.qualcomm.com/doc/80-63442-10/topic/index_SNPE.html)
and
[QNN](https://docs.qualcomm.com/doc/80-63442-10/topic/index_QNN.html).

![QAIRT workflow](https://mintcdn.com/qualcomm-prod/ZIvsWMLQBYHwuguu/archives/2.0/Key-Documents/AI-Developer-Workflow/_images/optimize-compile-snpe.png?fit=max\&auto=format\&n=ZIvsWMLQBYHwuguu\&q=85\&s=5f144b5da6f32918edd6023a9372f2a3)

## Setup

> [card] [Download SDK](https://dragonwingdocs.qualcomm.com/archives/2.0/Key-Documents/AI-Developer-Workflow/topic/qairt-install.md)
>
> Download and install the Qualcomm AI Runtime SDK.

> [card] [Setup SDK](https://dragonwingdocs.qualcomm.com/archives/2.0/Key-Documents/AI-Developer-Workflow/topic/qairt-setup.md)
>
> Configure the SDK environment for model optimization.

## Convert and quantize models

> [card] [Convert and quantize models](https://dragonwingdocs.qualcomm.com/archives/2.0/Key-Documents/AI-Developer-Workflow/topic/port-models.md)
>
> Convert models from PyTorch, TensorFlow, ONNX, or LiteRT and quantize them for deployment using SNPE or QNN.

## Run inference

> [card] [Run models](https://dragonwingdocs.qualcomm.com/archives/2.0/Key-Documents/AI-Developer-Workflow/topic/run-models.md)
>
> Run inference on converted models using SNPE or QNN on CPU, GPU, or HTP.

## API reference

> [card] [Qualcomm Neural Processing Engine C/C++](https://docs.qualcomm.com/doc/80-63442-10/topic/SNPE_general_api.html)
>
> SNPE C/C++ API reference documentation.

> [card] [Qualcomm AI Engine Direct C/C++](https://docs.qualcomm.com/doc/80-63442-10/topic/general_api.html)
>
> QNN C/C++ API reference documentation.
