Back to Nexa Sdk

What is GenieX

docs/en/get-started/what-is-geniex.mdx

0.3.164.1 KB
Original Source

import Feedback from "/snippets/page-feedback.mdx";

GenieX is an on-device Gen AI inference runtime built for Qualcomm platforms. It is the easiest way to run frontier language and vision-language models locally on Hexagon NPU, Adreno GPU, or CPU with a few lines of code. It is the community version of Qualcomm GENIE.

<Info>GenieX is in developer preview. We'd love your feedback — open an issue or join Slack.</Info>

Architecture

GenieX exposes five entry points, all over a single SDK:

  • CLI — run and serve models straight from the terminal.
  • Python — embed inference in your apps with the Python SDK.
  • Java/Kotlin — the Android SDK for on-device mobile apps.
  • Docker — a containerized image for reproducible deployments.
  • OpenAI-compatible server — a drop-in local server for existing OpenAI clients.

Under the hood, that SDK dispatches to either the llama.cpp runtime (GGML kernels for CPU / GPU / Hexagon HTP) or the Qualcomm® AI Engine Direct runtime (NPU-only). The same SDK runs on Windows ARM64, Android, and Linux ARM64.

<Note>Qualcomm AI Engine Direct is the official name of what is also known as the Qualcomm AI Engine Direct SDK, Qualcomm AI Runtime, and QAIRT. Throughout these docs we use the official name.</Note>

Why two runtimes?

So you get both broad model coverage and optimal performance in one stack:

  • Most models just work — point GenieX at almost any GGUF on Hugging Face and it runs on CPU / GPU / NPU via llama.cpp.
  • Qualcomm® AI Hub Models run optimally — models published to Qualcomm AI Hub are pre-compiled per chipset and run through Qualcomm AI Engine Direct on the Hexagon NPU for peak on-device performance.

See Platforms & runtimes for when to pick which.

What you can do with GenieX

  • Run models locally on Snapdragon X (Windows ARM64), Snapdragon 8 Elite (Android), and Dragonwing IoT chipsets.
  • Pick a runtimellama.cpp for any community GGUF model, Qualcomm AI Engine Direct (qairt) for Qualcomm AI Hub pre-compiled NPU bundles.
  • Build apps through the CLI, an OpenAI-compatible local server, the Python SDK, the Android SDK, or a Docker image.

Pick where to start

<CardGroup cols={2}> <Card title="Quickstart" href="/en/get-started/quickstart" icon="rocket"> Choose your interface and get to first inference in minutes. </Card> <Card title="Platforms & runtimes" href="/en/get-started/platforms" icon="microchip"> Snapdragon platforms GenieX supports, and when to pick llama.cpp vs Qualcomm AI Engine Direct. </Card> <Card title="Models" href="/en/models/supported" icon="cube"> Tested LLMs and VLMs across the llama.cpp and Qualcomm AI Engine Direct runtimes. </Card> </CardGroup>

Community

<CardGroup cols={2}> <Card title="Report an issue" href="https://github.com/qualcomm/GenieX/issues" icon="github"> File a bug, request a feature, or browse open issues on GitHub. </Card> <Card title="Join Slack" href="https://aihub.qualcomm.com/community/slack" icon="slack"> Collaborate with the GenieX team and other developers. </Card> </CardGroup> <CardGroup cols={2}> <Card title="License" href="https://github.com/qualcomm/GenieX/blob/main/LICENSE" icon="scale-balanced"> GenieX is released under the BSD 3-Clause License. </Card> <Card title="Terms of Use" href="https://www.qualcomm.com/site/terms-of-use" icon="file-contract"> Qualcomm site terms of use. </Card> </CardGroup> <Feedback/>