Skip to main content
This page helps you choose the correct SDK path for integrating a custom AI model into an application. Start with the Qualcomm IM SDK (QIM SDK) when your model fits a supported multimedia use case and can run through the standard preprocessing, inference, and post-processing pipeline. Use the Qualcomm AI Runtime SDK (QAIRT) only when you need lower-level runtime control, custom tensor handling, or an application workflow that is outside the QIM SDK path.
Step 2a of the application development workflow. Use this page as the decision point before implementation. It tells you whether you can continue directly with QIM SDK, whether you first need to add custom post-processing in step 3a, or whether the model should move to the QAIRT path.

Decision at a glance

Use the following decision flow to determine the most appropriate integration path for your model and application. Follow each decision point in sequence, starting with model readiness and ending with the recommended implementation approach.
How to use this flowchart: Answer each question (Q1–Q3) in order. If your use case is supported by QIM SDK, check whether an existing qtimlpostprocess module supports your model output. If it does, proceed to step 4, Build the application. Otherwise, complete step 3a to add a custom post-processing module, then continue to step 4. Use QAIRT only when your requirements cannot be met by the QIM SDK workflow. The table below explains each decision in more detail.

Choose the right integration path

Choose one of the following integration paths. We recommend starting with the QIM SDK path, as it supports most multimedia AI use cases and enables rapid development using existing components and reference pipelines. Choose the Qualcomm AI Runtime SDK (QAIRT) path only if your model or application requirements are not supported by QIM SDK and require custom implementation or lower-level runtime control. QIM SDK is the recommended integration path for most multimedia AI applications. Use this path when your use case is supported by QIM SDK and your model can be integrated into the standard preprocessing, inference, and post-processing pipeline. Follow the decision points below to determine whether additional customization is required. To determine whether an existing post-processing module supports your model output, run:
Compare the supported output tensor formats with your model’s output tensors. If a compatible module is available, you can use it directly. Otherwise, you must implement a custom post-processing module before building the application — this post-processing check is the decision that determines whether your model works out of the box.

Qualcomm AI Runtime SDK

Use only when QIM SDK does not fit. Choose Qualcomm AI Runtime SDK when the use case is not supported by QIM SDK, the application requires direct runtime-level control, or the model needs custom tensor handling outside the standard QIM SDK pipeline. This path usually requires more design, integration, and validation effort.
Use this table to map common integration scenarios to the recommended SDK path and expected effort.

Pre-integration checklist

Before integrating a model, gather the key information that influences the integration path and pipeline configuration. These details help determine whether the model can use existing QIM SDK components, requires custom post-processing, or is better suited for a custom implementation using Qualcomm AI Runtime SDK (QAIRT).
Before proceeding, make sure you know your model’s input and output specifications, preprocessing requirements, target runtime, and expected output format. This information is required to select the correct integration path and pipeline components.

Next steps

Select the next step based on the result of the post-processing check. If an existing module supports the model output, continue to build. If no module supports the output, add a custom post-processing module first. If the use case is outside QIM SDK, use the QAIRT path.

Post-processing supported — build the application

Step 4 — an existing post-processing module supports your model. Build the application with the correct module options.

Not supported — add post-processing

Step 3a — no post-processing module accepts your output. Write and deploy a custom module, then continue to step 4.

Outside QIM SDK — use QAIRT

Advanced — the use case is unsupported or needs runtime-level control. Use the Qualcomm AI Runtime SDK instead.