Back to Nexa Sdk

Quickstart

docs/en/run/cli/quickstart.mdx

0.3.162.3 KB
Original Source

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

Prerequisites

  • The CLI installed — see Install.
  • Interactive shell from container (Docker only) — see Run interactively.
  • Familiarity with runtime choiceqairt (Qualcomm AI Engine Direct) for Qualcomm AI Hub Models, llama_cpp for any GGUF.

Run your first model

Qualcomm AI Engine Direct runtime (Qualcomm AI Hub)

Language model:

powershell
geniex infer ai-hub-models/Qwen3-4B

Multimodal model:

powershell
geniex infer ai-hub-models/Qwen2.5-VL-7B-Instruct

llama.cpp runtime (GGUF)

Pick Q4_0 when prompted — it has the best Hexagon NPU support.

Language model:

powershell
geniex infer unsloth/Qwen3.5-0.8B-GGUF

Multimodal model:

powershell
geniex infer Qwen/Qwen3-VL-2B-Instruct-GGUF

When prompted:

  • Model typevlm for vision-language models, llm for text-only models. For Qwen3.5 and Gemma4, pick llm for now (multimodal support coming soon).
  • Precision (Quantization)Q4_0 for best Hexagon NPU performance.

<Tip>To try other GGUF models, copy any compatible GGUF path from Hugging Face and substitute it into the command above. See Run a GGUF model from Hugging Face.</Tip>

Run a local model

Already have a model on disk, or want to self-convert a bundle from Hugging Face? Use geniex pull with --local-path to register it, then run it like any other model. See:

Next steps

<CardGroup cols={2}> <Card title="Local server" href="/en/run/cli/local-server" icon="server"> Expose an OpenAI-compatible HTTP API on `localhost:18181`. </Card> <Card title="CLI reference" href="/en/run/cli/reference" icon="book"> Every command, every flag. </Card> </CardGroup> <Feedback/>