YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Qwen3.8-27B on AX8860 (llama.cpp + ggml-axera)

ๅœจ็ˆฑ่Šฏ AX8860 ็š„ NPU ไธŠ็”จ llama.cpp ่ฟ่กŒ Qwen3.8-27B๏ผšๆ–‡ๆœฌ + ๅ›พๅƒ่พ“ๅ…ฅ๏ผŒๆœ€้•ฟ 256k ไธŠไธ‹ๆ–‡๏ผŒMTP ๆŠ•ๆœบ่งฃ็ ๏ผŒOpenAI ๅ…ผๅฎนๆœๅŠกใ€‚ Qwen3.8-27B on the Axera AX8860 NPU with llama.cpp: text + image input, up to 256k context, MTP speculative decoding, OpenAI-compatible server.

ๆ€ง่ƒฝ / Performance

decode 13.8 tokens/s
decode๏ผŒMTP ๆŠ•ๆœบ่งฃ็  / with MTP ๆœ€้ซ˜ / up to 33.0 tokens/s
4k prompt prefill 1249 tokens/s๏ผˆ3908 token 3.13 s๏ผ‰
ไธŠไธ‹ๆ–‡ / context ๆœ€้•ฟ / up to 262144

MTP๏ผˆMTP=1๏ผ‰ๆŒ‰ๅ†…ๅฎน / by content๏ผš

ๅ†…ๅฎน / content ๆ™ฎ้€š / plain MTP ๅŠ ้€Ÿ / speed-up
ไปฃ็  / code 13.9 33.0 2.38x
ไธญ่ฏ‘่‹ฑ / translation 13.8 26.8 1.94x
Markdown ่กจๆ ผ / table 13.8 30.8 2.24x
ๆ•ฐๅญฆ่งฃ้ข˜ / maths 13.8 30.9 2.23x
ไธญๆ–‡็Ÿญๆ–‡ / Chinese essay 13.8 19.2 1.39x
่‹ฑๆ–‡ๆ•…ไบ‹ / English story 13.8 21.2 1.54x
ไปฃ็ ๏ผŒๆŽจ่้‡‡ๆ ท / code, sampled 13.7 28.4 2.07x
ไธญๆ–‡็Ÿญๆ–‡๏ผŒๆŽจ่้‡‡ๆ ท / essay, sampled 13.7 18.9 1.38x

ๅ•ไฝ tokens/s๏ผ›ๆฏ้กนๆœ€ๅคš็”Ÿๆˆ 256 token๏ผŒๆœชๆณจๆ˜Ž็š„ไธบ่ดชๅฟƒ่งฃ็  / tokens/s; up to 256 tokens each, greedy unless noted.

sh bench.sh ๅค็Žฐ / reproduce๏ผˆ็”Ÿๆˆ 128 token / 128 generated tokens๏ผ‰๏ผš

prompt -c prompt ่€—ๆ—ถ / time decode tokens/s
5 token 8192 0.24 s 13.8
47 token 8192 0.25 s 13.8
3908 token 8192 3.13 s 13.5
3908 token 16384 3.13 s 13.5
3908 token๏ผŒๆŽจ่้‡‡ๆ ท / sampled 8192 3.12 s 13.3

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

sh run.sh "The capital of France is" 64           # ๆ–‡ๆœฌ / text
sh run.sh -i bus.jpg "Describe this image." 256   # ๅ›พๅƒ / image
sh run.sh -c                                      # ๅ‘ฝไปค่กŒๅฏน่ฏ / chat
sh run.sh -s 8080                                 # OpenAI ๅ…ผๅฎนๆœๅŠก / server
MTP=1 sh run.sh -s 8080                           # MTP ๆŠ•ๆœบ่งฃ็  / speculative decoding
CTX=131072 sh run.sh -s 8080                      # ้•ฟไธŠไธ‹ๆ–‡ / long context (default 16384)
sh bench.sh                                       # ๆ€ง่ƒฝๅค็Žฐ / benchmark

้œ€่ฆ AX8860๏ผŒSDK V0.5.1 ๆˆ–ๆ›ดๆ–ฐ๏ผ›HF ไธ‹่ฝฝ็š„ๆ–‡ไปถๆฒกๆœ‰ๆ‰ง่กŒๆƒ้™๏ผŒ็”จ sh ่ฐƒ็”จๅณๅฏ / needs an AX8860 with SDK V0.5.1+; call the scripts with sh.

ๆ–‡ไปถ / Files

ๆ–‡ไปถ / File ่ฏดๆ˜Ž / Description
qwen3.8-27b-mxfp4.gguf ๆจกๅž‹ๆƒ้‡ / weights๏ผŒ14.8 GB๏ผŒmd5 32f5a603d4f75edb16ccf7ff3a35bdd6
mmproj-qwen3.8-27b-bf16.gguf ่ง†่ง‰็ผ–็ ๅ™จ / vision encoder๏ผŒ931 MB๏ผŒmd5 d2b989d06a0eb9109bab182ec2ff03f2
bin/ llama.cpp ๆฟ็ซฏ็จ‹ๅบ๏ผˆ้™ๆ€้“พๆŽฅ๏ผ‰/ board programs (static)
kernels/ NPU kernel + manifest.json
run.sh๏ผŒchat_template.jinja ่ฟ่กŒ่„šๆœฌไธŽๆœๅŠก็ซฏๅฏน่ฏๆจกๆฟ / run script and the server's chat template
bench.sh ๅŠ prompt ๆ€ง่ƒฝๅค็Žฐ / benchmark

่ฏดๆ˜Ž / Notes

  • ๆœๅŠก็ซฏ้ป˜่ฎคไฝฟ็”จๆจกๅž‹ๅกๆŽจ่็š„้‡‡ๆ ทๅ‚ๆ•ฐ๏ผŒๆ–‡ๆœฌ่กฅๅ…จไธŽๅ›พๅƒๆ่ฟฐไธบ่ดชๅฟƒ่งฃ็  / the server uses the model card's recommended sampling; completion and image description are greedy.
  • ๆœๅŠก็ซฏ้ป˜่ฎคๅ…ณ้—ญๆ€่€ƒ๏ผˆ--reasoning off๏ผ‰๏ผŒๅนถๅ…่ฎธๅฏน่ฏไธญๆฎต็š„ system ๆถˆๆฏ๏ผˆCodex ็ญ‰ agent ๅฎขๆˆท็ซฏๅฏ็”จ๏ผ‰/ the server does not think by default and accepts a mid-conversation system message (works with agent clients such as Codex).
  • Prompt cache ้ป˜่ฎคๆ”พๅœจ 4 GB ๅ†…ๅญ˜๏ผ›่ฎพ็ฝฎ CACHE_DIR=<SSD ็›ฎๅฝ•> ๅฏ่ฝ็›˜๏ผŒ้‡ๅฏๅŽไป่ƒฝๅ‘ฝไธญ / the prompt cache lives in 4 GB of host memory; set CACHE_DIR=<an SSD directory> to keep it on disk across restarts.
  • MTP ๆฏ่ฝฎ็Œœ 3 ไธช token๏ผŒ็”ฑ็›ฎๆ ‡ๆจกๅž‹้€ไธช้ชŒ่ฏ๏ผ›่ดชๅฟƒๆ—ถ่พ“ๅ‡บไธŽๆ™ฎ้€š่งฃ็ ไธ€่‡ด / MTP drafts 3 tokens per round, each verified by the target model; greedy output equals plain decoding.
  • ่ฟ่กŒๆ—ถ็‹ฌๅ  NPU 4 ๆ ธ๏ผ›ๆœๅŠก็ซฏ -np 1 / takes all 4 NPU cores; the server runs -np 1.
  • llama-bench ๅฏ็”จ๏ผŒ่ฏทๅŠ  -b 4096 -ub 4096 / llama-bench works; pass -b 4096 -ub 4096.
  • ไธชๅˆซ็Žฏๅขƒไธ‹่ฟž็ปญ่ฏทๆฑ‚ๅถๅ‘ ret = -3๏ผŒ้‡่ฏ•ๅณๅฏ / in rare cases a back-to-back request fails with ret = -3; retry it.

ๆญฃ็กฎๆ€ง / Correctness

  • "The capital of France is" ็š„่ดชๅฟƒ่พ“ๅ‡บไธŽไธŠไธ€็‰ˆ้€ๅญ—่Š‚็›ธๅŒ๏ผ›ๅ›พๅƒๆ่ฟฐๆญฃ็กฎ๏ผˆ่ฝฆ่พ†ใ€ๆ–‡ๅญ—ใ€ไบบ็‰ฉ๏ผ‰/ the greedy output of "The capital of France is" is byte-identical to the previous release; image descriptions correct.
  • ไธญๆ–‡ PPL๏ผˆๅ†…้ƒจๆต‹่ฏ•้›†๏ผŒ-c 512 --chunks 2๏ผ‰๏ผšprefill 8.84๏ผŒ้€ token decode๏ผˆ-b 1๏ผ‰8.83๏ผŒๆŠ•ๆœบ่งฃ็ ็š„ 4 ่กŒ้ชŒ่ฏ๏ผˆ-ub 4๏ผ‰8.82๏ผ›ไธŠไธ€็‰ˆๅŒๆกไปถ prefill 8.83๏ผŒdecode 8.73 / Chinese PPL on an internal set: 8.84 through the prefill, 8.83 token by token, 8.82 through the 4-row verification; the previous release: 8.83 / 8.73.
  • ๆŠ•ๆœบ่งฃ็ ็š„่พ“ๅ‡บไธŽๆ™ฎ้€š่ดชๅฟƒ่งฃ็ ไธ€่‡ด๏ผˆๆฏไธช่‰็จฟ token ้ƒฝ็ป็›ฎๆ ‡ๆจกๅž‹้ชŒ่ฏ๏ผ‰/ speculative decoding gives the same output as plain greedy decoding (every draft token is verified by the target model).

ๆบ็  / Sources

ๆ›ดๆ–ฐ / Changelog

  • 2026-11-07๏ผšprefill ๆ้€Ÿ๏ผˆ4k ็บฆ 1250 tokens/s๏ผ‰๏ผ›MTP ๆ”นไธบๅฏ้€‰๏ผˆMTP=1๏ผ‰๏ผŒCTX ้ป˜่ฎค 16384๏ผ›ๆœๅŠก็ซฏๅ…ผๅฎนไธญๆฎต system ๆถˆๆฏใ€้ป˜่ฎคๅ…ณ้—ญๆ€่€ƒใ€prompt cache ๅฏ่ฝ็›˜ๅˆฐ SSD๏ผ›NPU ้‡‡ๆ ท๏ผ›ๆ–ฐๅขž bench.sh / server accepts mid-conversation system messages, no thinking by default, prompt cache on SSD; NPU sampling; bench.sh.
Downloads last month
1,515
GGUF
Model size
27B params
Architecture
qwen35
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

Collection including AXERA-TECH/Qwen3.8-27B-AX8860-llama.cpp