Instructions to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4 # Run inference directly in the terminal: llama cli -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4 # Run inference directly in the terminal: llama cli -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4 # Run inference directly in the terminal: ./build/bin/llama cli -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Use Docker
docker model run hf.co/AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
- Llama new
- LM Studio
- Jan
- Ollama
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with Ollama:
ollama run hf.co/AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
- Unsloth Desktop
- Pi
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with Docker Model Runner:
docker model run hf.co/AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
- Lemonade
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Run and chat with the model
lemonade run user.Qwen3-VL-30B-A3B-AX8860-llama.cpp-NVFP4
List all available models
lemonade list
- Hermes Agent
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp:NVFP4" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3-VL-30B-A3B-Instruct on AX8860 (llama.cpp)
ๅจ็ฑ่ฏ AX8860 ็ NPU๏ผ4 ๆ ธ๏ผไธ็จ llama.cpp ่ฟ่ก Qwen3-VL-30B-A3B-Instruct๏ผๆฏๆๆๆฌๅๅพๅ่พๅ ฅ๏ผไธไธๆ 262144ใ Qwen3-VL-30B-A3B-Instruct with text and image input on the 4-core NPU of the Axera AX8860, with llama.cpp; context up to 262144.
ๆง่ฝ / Performance
| ้กน / Item | ๅผ / Value |
|---|---|
| decode๏ผ็ญ prompt / short prompt๏ผ | 65.0 tokens/s |
| decode๏ผ4k ไธไธๆ / 4k context๏ผ | 50.7 tokens/s |
| 4k prompt prefill๏ผ3907 token๏ผ | 3165 tokens/s๏ผ1.23 s๏ผ |
| ็ญ prompt๏ผ5 token๏ผprefill ่ๆถ / short prompt (5 tokens) prefill time | 1.03 s |
ๅพๅ็ผ็ / image encoding๏ผViT๏ผbus.jpg ๅๅพ / original๏ผ |
0.59 s |
| ๅพๅ็ผ็ / image encoding๏ผViT๏ผ640ร480๏ผ | 0.26 s |
| ไธไธๆ / context | 262144 |
| ๆจกๅๅ ่ฝฝ / load | 36 s |
NPU ๅ
ๅญ๏ผCMM๏ผ้ -c ๅๅ / NPU memory (CMM) follows -c๏ผ
-c |
16384 | 131072 | 262144 |
|---|---|---|---|
| CMM | 19.1 GB | 30.8 GB | 44.1 GB |
ไปฅไธๆฐๅญๅ็ฑๅ
ๅ
sh bench.sh ๅจ AX8860๏ผSDK V0.6.0๏ผไธๆตๅพ๏ผ่ดชๅฟ่งฃ็ / all numbers from sh bench.sh on an AX8860 (SDK V0.6.0), greedy decoding.
ๅฟซ้ๅผๅง / Quick start
sh run.sh "The capital of France is" 64 # ๆๆฌ่กฅๅ
จ / text completion
sh run.sh -i bus.jpg "่ฏท็จไธญๆๆ่ฟฐ่ฟๅผ ๅพ็ใ" 256 # ๅพๅๆ่ฟฐ / describe an image
sh run.sh -c # ๅฝไปค่กๅค่ฝฎๅฏน่ฏ / multi-turn chat in the terminal
sh run.sh -s 8080 # OpenAI ๅ
ผๅฎนๆๅก๏ผๆๆฌ + ๅพๅ๏ผ/ OpenAI-compatible server (text + image)
CTX=262144 sh run.sh -s 8080 # 256k ไธไธๆ / 256k context
sh bench.sh # ๅค็ฐไธ่กจ / reproduce the tables above
้่ฆ AX8860 ๅผๅๆฟๅ SDK ่ฟ่กๅบ๏ผ/opt/lib๏ผ๏ผSDK V0.6.0๏ผHF ไธ่ฝฝ็ๆไปถๆฒกๆๆง่กๆ้๏ผ็จ sh ่ฐ็จๅณๅฏใ่ๆฌไฝฟ็จๅ
ๅ
็ธๅฏน่ทฏๅพ๏ผๅฏๅจไปปๆ็ฎๅฝ่ฐ็จใ
Needs an AX8860 board with the SDK runtime in /opt/lib (SDK V0.6.0); call the scripts with sh; they use paths inside the package and can be run from any directory.
ๆๅก็ซฏ่ฏทๆฑ็คบไพ / server request:
curl -s http://127.0.0.1:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{
"messages":[{"role":"user","content":"็จไธๅฅ่ฏไป็ป้ฟๅใ"}],
"max_tokens":256,"temperature":0}'
ๆไปถ / Files
| ๆไปถ / File | ่ฏดๆ / Description |
|---|---|
Qwen3-VL-30B-A3B-NVFP4.gguf |
่ฏญ่จๆจกๅๆ้๏ผNVFP4๏ผ17.4 GB / language-model weights |
mmproj-Qwen3-VL-30B-A3B-BF16.gguf |
่ง่ง็ผ็ ๅจๆ้๏ผBF16๏ผ1.1 GB / vision-encoder weights |
kernels/ |
4 ไธช 4 ๆ ธ axmodel๏ผprefillใdecodeใไธคๆกฃ ViT๏ผ3072 ๅ 1536 patch๏ผ่พๅบๅคดๅนถๅ
ฅ prefill ๅ decode๏ผๅ manifest.json / four 4-core axmodels (prefill, decode, ViT for 3072 and 1536 patches; the output head is inside prefill and decode) |
bin/ |
llama-serverใllama-completionใllama-mtmd-cliใllama-perplexityใllama-bench๏ผ้ๆ้พๆฅ / static๏ผ |
run.shใchat_template.jinja |
่ฟ่ก่ๆฌๅๅฏน่ฏๆจกๆฟ / run script and chat template |
bench.shใp_short.txtใp4k.txtใbus.jpgใbus640x480.jpg |
ๆง่ฝๅค็ฐ่ๆฌๅๅบๅฎ่พๅ ฅ / benchmark script and fixed inputs |
ppl_zh.txt |
ๅฐๆๅบฆๆต่ฏๆๆฌ / perplexity text |
BIN_COMMITใSHA256SUMS |
็จๅบๅฏนๅบ็ llama.cpp ๆไบคใๅ จๅ ๆ ก้ชๅ / llama.cpp commit of the programs, checksums |
ๆญฃ็กฎๆง / Correctness
- ๅฐๆๅบฆ๏ผ
ppl_zh.txt๏ผ-c 512๏ผ๏ผๆฟไธ prefill ่ทฏๅพ 5.164๏ผ้ token decode ่ทฏๅพ 5.179๏ผๅไธ GGUF ๅจ CPU ไธ 5.185 / perplexity: 5.164 on the prefill path and 5.179 on the one-token decode path; the same GGUF on the CPU: 5.185. - ๅพๅๆ่ฟฐๆญฃ็กฎ๏ผ้ฉฌๅพท้ EMT ่็ฝ็ตๅจๅ ฌไบค่ฝฆ๏ผ/ image description correct (the blue-and-white EMT Madrid electric bus).
- ้ฟไธไธๆๆฃ็ดข๏ผneedle๏ผ32k / 120k / 240k ๅๅฝไธญ / needle retrieval at 32k / 120k / 240k all found.
่ฏดๆ / Notes
- ่ฟ่กๆถๅ ็จๅ
จ้จ 4 ไธช NPU ๆ ธ๏ผๆๅก็ซฏๅบๅฎ
-np 1/ takes all 4 NPU cores; the server runs with-np 1. run.sh้ป่ฎค-ctxcp 0๏ผllama.cpp ็ไธไธๆ checkpoint ไผๅคๅถๆดไธช KV๏ผ262144 ๆถ็บฆ 24 GiB๏ผ๏ผๆฟไธๅ ๅญๆพไธไธ /run.shdefaults to-ctxcp 0: a llama.cpp context checkpoint copies the whole KV (about 24 GiB at 262144), which does not fit in the board's memory.- ๆฏๅผ ๅพๆๅค 768 ไธชๅพๅ token๏ผ
IMAGE_MAX_TOKENS๏ผ๏ผไธ่ถ ่ฟ 1536 patch ็ๅพ๏ผๅฆ 640ร480๏ผ่ชๅจ่ตฐ่พๅฐ็ ViT / up to 768 image tokens per image (IMAGE_MAX_TOKENS); images of at most 1536 patches (e.g. 640ร480) use the smaller ViT automatically. run.shๅbench.sh่ฎพ็ฝฎGGML_AXERA_SYNC=1๏ผๆฏ token ๅชๆไธๆฌก NPU ่ฐ็จ๏ผๅๆญฅ่ฐ็จ็ฅๅฟซ๏ผ๏ผ็ดๆฅ่ฐ็จbin/ไธ็็จๅบๆถๅปบ่ฎฎๅๆ ท่ฎพ็ฝฎ /run.shandbench.shsetGGML_AXERA_SYNC=1(one NPU call per token, so synchronous calls are slightly faster); set it too when calling the programs inbin/directly.- ๅ ๅ GGUF ้็จๆฌไปๅบ็ llama.cpp ็จๅบๅ ่ฝฝ / the GGUFs here load with the llama.cpp programs in this package.
llama-perplexityๅชๆฏๆๅๅบๅ๏ผ-c 512 -b 512/llama-perplexityis single-sequence:-c 512 -b 512.- ๅไธ่พๅ ฅๅคๆฌก่ฟ่ก๏ผ่ดชๅฟ่พๅบๅฏ่ฝๅจ่พ้ฟ็ๆๅๅบ็ฐๅทฎๅผ๏ผNPU ไธ็ดฏๅ ้กบๅบไธๅบๅฎ๏ผ/ repeated greedy runs can diverge after many tokens (the NPU's accumulation order varies).
ๆบ็ / Source
https://github.com/ZHEQIUSHUI/llama.cpp ๏ผๆๅปบๆไบค่ง BIN_COMMIT / build commit in BIN_COMMIT๏ผ
- Downloads last month
- 194
4-bit
Model tree for AXERA-TECH/Qwen3-VL-30B-A3B-AX8860-llama.cpp
Base model
Qwen/Qwen3-VL-30B-A3B-Instruct