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

ๅœจ็ˆฑ่Šฏ AX8860 ็š„ 4 ๆ ธ NPU ไธŠ็”จ llama.cpp ่ฟ่กŒ Qwen3-VL-8B-Instructใ€‚ๆ–‡ๆœฌๅก”ไธบ NVFP4๏ผŒ่ง†่ง‰็ผ–็ ๅ™จไฟ็•™ BF16๏ผ›ๆ”ฏๆŒๆ–‡ๆœฌใ€ๅ›พๅƒ็†่งฃๅ’Œ OpenAI ๅ…ผๅฎนๆœๅŠกใ€‚ Qwen3-VL-8B-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 10 s
็Ÿญ prompt ้ฆ–ๅญ—่€—ๆ—ถ๏ผˆ14 token prefill๏ผ‰ 77.4 ms
้•ฟ prompt prefill๏ผˆ1592 token๏ผ‰ 647.8 ms๏ผŒ2457.5 token/s
ๆ–‡ๆœฌ decode 31.9 token/s๏ผˆ็Ÿญ prompt๏ผ‰ / 29.7 token/s๏ผˆ้•ฟ prompt๏ผ‰
ๅ›พๅƒ่ฏทๆฑ‚๏ผˆ125 prompt token๏ผŒๅซ 112 ไธชๅ›พๅƒ token๏ผ‰ prefill 97.3 ms๏ผˆ1284.4 token/s๏ผ‰๏ผŒdecode 31.8 token/s
CMM ๅ ็”จ 6826 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
qwen3vl8b-nvfp4.gguf ่ฏญ่จ€ๆจกๅž‹ๆƒ้‡๏ผŒNVFP4๏ผŒ4.6 GB
qwen3vl8b-mmproj-bf16.gguf ่ง†่ง‰็ผ–็ ๅ™จๆƒ้‡๏ผŒBF16๏ผŒ1.1 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
8B 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-8B-Instruct-AX8860-llama.cpp

Quantized
(126)
this model