How to use from
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-2B-Instruct-AX8860-llama.cpp:BF16
# Run inference directly in the terminal:
llama cli -hf AXERA-TECH/Qwen3-VL-2B-Instruct-AX8860-llama.cpp:BF16
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-2B-Instruct-AX8860-llama.cpp:BF16
# Run inference directly in the terminal:
llama cli -hf AXERA-TECH/Qwen3-VL-2B-Instruct-AX8860-llama.cpp:BF16
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-2B-Instruct-AX8860-llama.cpp:BF16
# Run inference directly in the terminal:
./build/bin/llama cli -hf AXERA-TECH/Qwen3-VL-2B-Instruct-AX8860-llama.cpp:BF16
Use Docker
docker model run hf.co/AXERA-TECH/Qwen3-VL-2B-Instruct-AX8860-llama.cpp:BF16
Quick Links

Qwen3-VL-2B-Instruct on AX8860 (llama.cpp)

ๅœจ็ˆฑ่Šฏ AX8860 ็š„ 4 ๆ ธ NPU ไธŠ็”จ llama.cpp ่ฟ่กŒ Qwen3-VL-2B-Instructใ€‚ๆ–‡ๆœฌๅก”ไธบ NVFP4๏ผŒ่ง†่ง‰็ผ–็ ๅ™จไฟ็•™ BF16๏ผ›ๆ”ฏๆŒๆ–‡ๆœฌใ€ๅ›พๅƒ็†่งฃๅ’Œ OpenAI ๅ…ผๅฎนๆœๅŠกใ€‚ Qwen3-VL-2B-Instruct on the 4-core AX8860 NPU with llama.cpp: NVFP4 language model, BF16 vision encoder, text/image chat and an OpenAI-compatible server.

ๆ€ง่ƒฝ / Performance

ไปฅไธ‹ๆ•ฐๅญ—้ƒฝ็”ฑๅŒ…ๅ†… sh bench.sh ๅœจๅŒไธ€ๅ— AX8860 ไธŠๆต‹ๅพ—๏ผŒ่ดชๅฟƒ่งฃ็ ใ€-b 256 -ub 256ใ€ไธŠไธ‹ๆ–‡ 9216๏ผ›็”จ sh bench.sh ๅค็Žฐใ€‚ All numbers below come from sh bench.sh on the same AX8860, with greedy decoding, -b 256 -ub 256, and a 9216-cell context. Reproduce with sh bench.sh.

้กน / Item ๅ€ผ / Value
ๆจกๅž‹ๅŠ ่ฝฝ / server load 6 s
็Ÿญ prompt ้ฆ–ๅญ—่€—ๆ—ถ๏ผˆ14 token prefill๏ผ‰ 32.1 ms
้•ฟ prompt prefill๏ผˆ1592 token๏ผ‰ 285.1 ms๏ผŒ5583.9 token/s
ๆ–‡ๆœฌ decode 104.5 token/s๏ผˆ็Ÿญ prompt๏ผ‰ / 87.9 token/s๏ผˆ้•ฟ prompt๏ผ‰
ๅ›พๅƒ่ฏทๆฑ‚๏ผˆ125 prompt token๏ผŒๅซ 112 ไธชๅ›พๅƒ token๏ผ‰ prefill 44.7 ms๏ผˆ2796.6 token/s๏ผ‰๏ผŒdecode 105.2 token/s
CMM ๅ ็”จ 3119 MB

ๅฟซ้€Ÿๅผ€ๅง‹ / Quick start

sh run.sh -s 18700
sh run.sh -i bus.jpg "Describe this image." 128
sh run.sh "็”จไธ‰ๅฅ่ฏไป‹็ปๅŒ—ไบฌใ€‚" 128
sh bench.sh

้œ€่ฆ AX8860 ๆฟ็ซฏ่ฟ่กŒๅบ“ /opt/lib๏ผˆไปฅไธŠๆ•ฐๅญ—ๅœจ SDK V0.9.0 ไธŠๆต‹ๅพ—๏ผ‰ใ€‚HF ไธ‹่ฝฝ็š„ๆ–‡ไปถๅฏ่ƒฝๆฒกๆœ‰ๆ‰ง่กŒๆƒ้™๏ผŒ็”จ sh ่ฐƒ็”จ่„šๆœฌๅณๅฏใ€‚ Requires the AX8860 runtime in /opt/lib (numbers above measured on SDK V0.9.0). Call the scripts with sh if file permissions were stripped during download.

ๆ–‡ไปถ / Files

ๆ–‡ไปถ / File ่ฏดๆ˜Ž / Description
qwen3vl2b-nvfp4.gguf ่ฏญ่จ€ๆจกๅž‹ๆƒ้‡๏ผŒNVFP4๏ผŒ1.3 GB
qwen3vl2b-mmproj-bf16.gguf ่ง†่ง‰็ผ–็ ๅ™จๆƒ้‡๏ผŒBF16๏ผŒ0.8 GB
kernels/ 4 ๆ ธ ViTใ€256 ่กŒ prefillใ€1 ่กŒ decode ไธ‰ไธช axmodel๏ผŒไปฅๅŠ IO ่กจๅ’Œ manifest
bin/ llama-serverใ€llama-cliใ€llama-completionใ€llama-mtmd-cliใ€llama-perplexityใ€llama-bench๏ผˆaarch64๏ผŒ้™ๆ€้“พๆŽฅ่ฟ่กŒๅบ“ไน‹ๅค–็š„ๆฟ็ซฏ็ณป็ปŸๅบ“๏ผ‰
run.shใ€chat_template.jinja ่ฟ่กŒ่„šๆœฌไธŽๅฏน่ฏๆจกๆฟ
bench.shใ€sample/ ๆ€ง่ƒฝๅค็Žฐ่„šๆœฌๅ’Œๅ›บๅฎš่ฏทๆฑ‚
bus.jpgใ€ppl_zh.txt ๅ›พๅƒไธŽๅ›ฐๆƒ‘ๅบฆๆ ทไพ‹
BIN_COMMITใ€SHA256SUMS ็จ‹ๅบๅฏนๅบ”็š„ llama.cpp ๆไบคๅ’Œๅ…จๅŒ…ๆ ก้ชŒๅ’Œ

่ฏดๆ˜Ž / Notes

  • ๆ–‡ๆœฌๅก”ไฝฟ็”จ NVFP4๏ผŒ่ง†่ง‰ๅก”ไฟๆŒ BF16ใ€‚ๆ‰€ๆœ‰ kernel ไฝฟ็”จ 4 ไธช NPU ๆ ธใ€‚
  • prefill kernel ๅ›บๅฎš 256 ่กŒ๏ผŒ่ฏทไฟๆŒ -b 256 -ub 256๏ผ›ๆ›ดๅคง batch ็”ฑ host ๅˆ†้กต้‡ๆ”พใ€‚
  • ้ป˜่ฎคไธŠไธ‹ๆ–‡ไธบ 9216 cells๏ผŒๅฏ็”จ CTX=<n> ่ฆ†็›–๏ผ›KV ๆŒ‰ llama.cpp ็š„ -c ๅˆ†้…ใ€‚
  • ๅ›พๅƒ่ตฐ --image-max-tokens 112 --mmproj-linear-pos๏ผ›run.sh ๅทฒๅธฆ่ฟ™ไธคไธชๅ‚ๆ•ฐใ€‚
  • ๆœๅŠก็ซฏๅปบ่ฎฎๅ•ๅนถๅ‘๏ผš-np 1๏ผŒๅ› ไธบๅ…จ้ƒจ 4 ไธช NPU ๆ ธ็”ฑไธ€ไธช่ฏทๆฑ‚ไฝฟ็”จใ€‚

ๆบ็  / Source

https://github.com/ZHEQIUSHUI/llama.cpp ๏ผˆๆž„ๅปบๆไบค่ง BIN_COMMIT๏ผ‰

Downloads last month
-
GGUF
Model size
2B params
Architecture
qwen3vl
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for AXERA-TECH/Qwen3-VL-2B-Instruct-AX8860-llama.cpp

Quantized
(109)
this model