> ## 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.

# Prepare your model

> Prepare an AI model for deployment on Qualcomm Dragonwing IoT platforms. Convert, quantize, compile, or fine-tune it using AI Hub, the QAIRT SDK, AIMET, or Edge Impulse.

This is the **prepare-your-model** step of the [Choose your journey](https://dragonwingdocs.qualcomm.com/AI-Developer-Workflow-Ubuntu/topic/ai-ml-developer-workflow.md) flow. Before a model runs efficiently on Qualcomm hardware it is converted to an executable format and, for the Hexagon NPU (HTP), quantized to a supported precision. Qualcomm provides several tools to download a preoptimized model, convert and compile your own, fine-tune with custom data, or recover accuracy lost to quantization.

Select the tool that matches your starting point.

> [card] [Use AI Hub to optimize an AI model](https://dragonwingdocs.qualcomm.com/AI-Developer-Workflow-Ubuntu/topic/ai-hub.md)
>
> Download a preoptimized model, or bring your own and have it compiled, converted, and quantized in the cloud with Qualcomm AI Hub.

> [card] [Use Qualcomm AI Runtime SDK to optimize an AI model](../topic/qairt)
>
> Convert, quantize, and compile your own models locally with the Qualcomm AI Runtime (QAIRT) SDK.

> [card] [Recover accuracy with Qualcomm AI Model Efficiency Toolkit (AIMET)](https://dragonwingdocs.qualcomm.com/AI-Developer-Workflow-Ubuntu/topic/aimet.md)
>
> Recover accuracy lost during quantization using post-training quantization (PTQ) and quantization-aware training (QAT).

> [card] [Fine-tune an AI model with custom data using Edge Impulse](https://dragonwingdocs.qualcomm.com/AI-Developer-Workflow-Ubuntu/topic/edge-impulse.md)
>
> Build, train, or fine-tune models from your own audio, image, and sensor data with Edge Impulse.

> [!NOTE]
>
> Already have a ready-to-run model? You can download a [preoptimized LiteRT model](https://dragonwingdocs.qualcomm.com/AI-Developer-Workflow-Ubuntu/topic/ai-hub.md#try-a-preoptimized-model) from AI Hub and skip straight to [Run inference](../map/use-available-frameworks-and-runtimes).
