Qwen3.6-35B-A3B on AX8860 (llama.cpp + ggml-axera)

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

ๆ€ง่ƒฝ / Performance

decode 76.4 tokens/s
decode๏ผŒMTP ่‡ช้€‚ๅบ” / adaptive MTP ๆœ€้ซ˜ / up to 86.8 tokens/s๏ผˆ1.13x๏ผ‰
4k prompt prefill 5276 tokens/s๏ผˆ3908 token 0.74 s๏ผ‰
ไธŠไธ‹ๆ–‡ / context ๆœ€้•ฟ / up to 262144

MTP ๆŒ‰ๅ†…ๅฎน๏ผˆ้ป˜่ฎค่‡ช้€‚ๅบ”๏ผ›MTP_FORCE=1 ๅผบๅˆถๅผ€ๅฏ๏ผ‰/ MTP by content (adaptive by default; MTP_FORCE=1 forces it):

ๅ†…ๅฎน / content ๆ™ฎ้€š / plain ้ป˜่ฎค / adaptive ๅผบๅˆถ / forced ๅŠ ้€Ÿ / speed-up ๆŽฅๅ—็އ / accept๏ผˆๅฏ็”จๆ—ถ / when active๏ผ‰
ไปฃ็  / code 76.9 86.8 96.9 1.13x 0.752
ไธญ่ฏ‘่‹ฑ / translation 76.0 75.9 80.2 1.00x 0.598
Markdown ่กจๆ ผ / table 76.8 83.1 87.9 1.08x 0.646
ๆ•ฐๅญฆ่งฃ้ข˜ / maths 76.8 84.1 86.2 1.09x 0.699
ไธญๆ–‡็Ÿญๆ–‡ / Chinese essay 77.5 77.8 61.0 1.00x 0.320
่‹ฑๆ–‡ๆ•…ไบ‹ / English story 76.3 76.7 60.4 1.00x 0.365
ไปฃ็ ๏ผŒๆŽจ่้‡‡ๆ ท / code, sampled 46.6 45.0 50.8 0.97x 0.556
ไธญๆ–‡็Ÿญๆ–‡๏ผŒๆŽจ่้‡‡ๆ ท / essay, sampled 44.1 47.1 39.4 1.07x 0.357

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

sh bench.sh ๅค็Žฐ / reproduce๏ผˆ็”Ÿๆˆ 128 token / 128 generated tokens๏ผ›็Ÿญ prompt ไป…ๅˆ—่€—ๆ—ถ / short prompts report time only๏ผ‰๏ผš

prompt -c prompt ่€—ๆ—ถ / time decode tokens/s
5 token 8192 0.16 s โ€”
47 token 8192 0.23 s โ€”
3908 token 8192 0.74 s 74.0
5 token 262144 0.16 s โ€”
47 token 262144 0.23 s โ€”
3908 token 262144 0.74 s 73.8

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

sh run.sh "The capital of France is" 64           # ๆ–‡ๆœฌ / text
sh run.sh -i bus.jpg "Describe this image." 256   # ๅ›พๅƒ / image
VIT=640x480 sh run.sh -i bus.jpg "Describe this image." 256   # 640ร—480 ๅ›พๅƒ็ผ–็  / 640x480 image encoder
sh run.sh -c                                      # ๅ‘ฝไปค่กŒๅฏน่ฏ / chat
sh run.sh -s 8080                                 # ๆœๅŠก็ซฏ๏ผŒ้ป˜่ฎค่‡ช้€‚ๅบ” MTP / server, adaptive MTP
MTP=0 sh run.sh -s 8080                           # ๅ…ณ้—ญ MTP / MTP off
MTP_FORCE=1 sh run.sh -s 8080                     # ๅผบๅˆถ MTP / force MTP
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.6-35b-a3b-nvfp4.gguf ๆจกๅž‹ๆƒ้‡๏ผˆNVFP4๏ผŒๅซ .scale ไผด้šๅผ ้‡๏ผ‰/ weights (NVFP4 with .scale sidecars)๏ผŒ20.5 GB๏ผŒmd5 c8beef1375ba6d77453ae4d3e6bb4600
mmproj-qwen3.6-35b-a3b-bf16.gguf ่ง†่ง‰็ผ–็ ๅ™จ / vision encoder๏ผŒ903 MB๏ผŒmd5 d47f758579ad9343324d9208b424c07a
bin/ llama.cpp ๆฟ็ซฏ็จ‹ๅบ๏ผˆ้™ๆ€้“พๆŽฅ๏ผ‰/ board programs (static)
kernels/ NPU kernel + manifest.json
kernels_vit_640x480/ ๅฏ้€‰๏ผš640ร—480 ๅ›พๅƒ็ผ–็  kernel๏ผŒVIT=640x480 ๅฏ็”จ๏ผˆๅ…ถไฝ™ kernel ๅค็”จ kernels/๏ผ‰ใ€‚ๆฟไธŠ็”จ run.sh -i ๅฎžๆต‹ๅ•ๅผ ๅ›พ็š„ๅ›พๅƒ็ผ–็  277 ms โ†’ 116 ms๏ผ›ๆ›ดๅคง็š„ๅ›พไผšๅ…ˆ็ผฉๅˆฐ 640ร—480 ็š„ๅƒ็ด ้‡๏ผŒ็ป†่Š‚ๅฐ‘ไบŽ้ป˜่ฎค / optional 640x480 image encoder, enabled with VIT=640x480 (other kernels are reused from kernels/). Measured on the board with run.sh -i: 277 ms โ†’ 116 ms to encode one image; larger images are scaled down to 640x480 worth of pixels first, so fine detail is lower than the default
run.sh๏ผŒchat_template.jinja ่ฟ่กŒ่„šๆœฌไธŽๆœๅŠก็ซฏๅฏน่ฏๆจกๆฟ / run script and the server's chat template
bench.sh ๅŠ prompt ๆ€ง่ƒฝๅค็Žฐ / benchmark
scenes/ 8 ไธช MTP ๅœบๆ™ฏ่ฏทๆฑ‚ / 8 MTP scene requests

่ฏดๆ˜Ž / Notes

  • GGUF ไธบ NVFP4๏ผšๆƒ้‡ไปฅ NVFP4 block ๅญ˜ๅ‚จ๏ผŒๆ—่พนๅธฆ F32 .scale ไผด้šๅผ ้‡ใ€‚ๅชๆœ‰ๆœฌ fork ่ƒฝๆญฃ็กฎๅŠ ่ฝฝ๏ผŒไธŠๆธธ llama.cpp ไธๆ”ฏๆŒ / the GGUF is NVFP4: the weights use NVFP4 blocks with F32 .scale sidecar tensors. Only this fork loads it correctly; upstream llama.cpp cannot.
  • ่ดชๅฟƒ่ฏทๆฑ‚่ฏทๆ˜พๅผๅธฆ presence_penalty: 0๏ผŒๅฆๅˆ™ๆœๅŠก็ซฏๆŽจ่็š„ presence penalty ไผšๅ…ณ้—ญ fused greedy๏ผŒ่‡ช้€‚ๅบ” MTP ไธไผš็”Ÿๆ•ˆ / greedy requests should set presence_penalty: 0; otherwise the recommended presence penalty disables fused greedy and adaptive MTP stays dormant.
  • ๆœๅŠก็ซฏ้ป˜่ฎคๅผ€ MTP๏ผˆ--spec-type draft-mtp๏ผŒๆฏ่ฝฎๆœ€ๅคš 3 ไธช่‰็จฟ๏ผ‰๏ผŒๅนถๆŒ‰่ฏทๆฑ‚่‡ช้€‚ๅบ”ๅ†ณๅฎšๆ˜ฏๅฆไฝฟ็”จ๏ผ›MTP=0 ๅ…ณ้—ญ๏ผŒMTP_FORCE=1 ๅผบๅˆถๅผ€ๅฏ๏ผŒMTP_NMAX ๆ”น่‰็จฟๆ•ฐ / the server enables MTP by default and adapts it per request; MTP=0 disables it, MTP_FORCE=1 forces it, MTP_NMAX sets the drafts per round.
  • ๆœๅŠก็ซฏ้ป˜่ฎคๅ…ณ้—ญๆ€่€ƒ๏ผˆ--reasoning off๏ผ‰๏ผŒๅนถๅ…่ฎธๅฏน่ฏไธญๆฎต็š„ system ๆถˆๆฏ๏ผˆCodex ็ญ‰ agent ๅฎขๆˆท็ซฏๅฏ็”จ๏ผ‰ใ€‚chat_template.jinja ๅ–่‡ช Qwen3.6 ๅŽŸๆจกๆฟ๏ผŒไป…ๆ”พๅฎฝไบ†ไธญๆฎต system ๆถˆๆฏ / the server does not think by default and accepts a mid-conversation system message; the template is Qwen3.6's own with only the mid-conversation system restriction relaxed.
  • Prompt cache ้ป˜่ฎคๆ”พๅœจ 4 GB ๅ†…ๅญ˜ / the prompt cache lives in 4 GB of host memory.
  • KV cache ไธบ FP8๏ผˆE4M3๏ผ‰๏ผ›ๆœๅŠก็ซฏ้ป˜่ฎค -ctxcp 8 ไฟๅญ˜้•ฟไธŠไธ‹ๆ–‡็š„ checkpoint๏ผŒๆปšๅŠจๅค็”จ / the KV cache is FP8 (E4M3); the server keeps 8 rolling context checkpoints (-ctxcp 8).
  • ่ฟ่กŒๆ—ถ็‹ฌๅ  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

  • ไธญๆ–‡ PPL๏ผˆๅ†…้ƒจๆต‹่ฏ•้›†๏ผŒ-c 512 --chunks 20๏ผ‰๏ผš-ub 1 17.1751 ยฑ 0.73694๏ผŒ-ub 4 17.1148 ยฑ 0.73427๏ผ›ๅŒๆœบๅŒๆ–‡ไปถ Qwen3.5-35B-A3B ไธบ 18.6744 / 18.6075 / Chinese PPL on the same internal file: 17.1751 with -ub 1 and 17.1148 with -ub 4; Qwen3.5-35B-A3B on the same board/file is 18.6744 / 18.6075.
  • ้‡ๅŒ–ๆŸๅคฑ๏ผˆๅŒไธ€ไธญๆ–‡ๆ–‡ไปถ 20 chunks๏ผ‰๏ผšCPU bf16 15.94๏ผŒCPU ไธŠๆŒ‰ NVFP4 ้‡ๅŒ–ๅŽ็š„ๅŒไธ€ๆƒ้‡ 16.78๏ผŒๆฟไธŠ 17.18๏ผ›NVFP4 ้‡ๅŒ–ๆœฌ่บซ +5.3%๏ผŒๆฟไธŠ็›ธๅฏนๅŒๆƒ้‡ CPU +2.4%๏ผˆQwen3.5-35B-A3B ๅˆ†ๅˆซไธบ +2.6% / +1.7%๏ผ‰ / quantization cost on the same Chinese file: CPU bf16 15.94, CPU with the same NVFP4 weights 16.78, board 17.18; NVFP4 itself +5.3%, board vs CPU on the same weights +2.4% (Qwen3.5-35B-A3B: +2.6% / +1.7%).
  • ่‹ฑๆ–‡ PPL๏ผˆ-c 4096 --chunks 8๏ผŒๅŒไธ€ book_en.txt๏ผ‰๏ผš1.3280 ยฑ 0.01180๏ผ›ๅŒๆœบๅŒๆ–‡ไปถ Qwen3.5-35B-A3B ไธบ 1.6333 / English PPL on the same book_en.txt: 1.3280; Qwen3.5-35B-A3B on the same board/file is 1.6333.
  • needle 32k / 120k๏ผšๅ…จ้ƒจ็ญ”ๅฏน๏ผ›็บฆ 30917 / 113463 token ็š„ prompt / needle 32k and 120k all answered correctly (about 30917 and 113463 prompt tokens).
  • "The capital of France is" โ†’ "Paris"๏ผ›ๅ›พ็‰‡ๆ่ฟฐๆญฃ็กฎ๏ผˆ่“็™ฝ EMT Madrid ็”ตๅŠจๅ…ฌไบค่ฝฆใ€cero emisionesใ€่กŒไบบ๏ผ‰/ text and image descriptions correct (blue/white EMT Madrid electric bus, cero emisiones, pedestrians).
  • ๆœๅŠก็ซฏๅคš่ฝฎ่ฎฐๅฟ†ใ€ไธญ้€” system ๆถˆๆฏใ€ๅ›พ็‰‡่พ“ๅ…ฅๅ‡ๆญฃๅธธ๏ผ›ๆŒ‰ PID SIGTERM ๅฏ้€€ๅ‡บ / server multi-turn memory, mid-conversation system and image input work; the process exits on SIGTERM.
  • MTP ็š„่‰็จฟ็”ฑ็›ฎๆ ‡ๆจกๅž‹้€ token ้ชŒ่ฏ๏ผ›่ดชๅฟƒ่พ“ๅ‡บไธŽๆ™ฎ้€š่งฃ็ ไธ€่‡ด๏ผŒไป…ๅœจไธคไธชๅ€™้€‰ๆฆ‚็އๅ‡ ไนŽๅนถๅˆ—ๅค„ๅฏ่ƒฝไธๅŒ / every draft is verified by the target model; greedy output matches plain decoding except possibly at near-ties.

ๆบ็  / Sources

ๆ›ดๆ–ฐ / Changelog

  • 2026-11-09๏ผšๆ–ฐๅขž Qwen3.6-35B-A3B๏ผŒ็›ดๆŽฅๅค็”จ Qwen3.5-35B-A3B ็š„ AX8860 kernels ไธŽ bin๏ผ›GGUF ไธบ NVFP4๏ผˆ.scale ไผด้šๅผ ้‡๏ผŒไป…ๆœฌ fork ๆ”ฏๆŒ๏ผ‰๏ผ›KV cache ไธบ FP8๏ผ›ๆœๅŠก็ซฏ้ป˜่ฎค่‡ช้€‚ๅบ” MTP / Qwen3.6-35B-A3B with the released Qwen3.5-35B-A3B AX8860 kernels and binaries; NVFP4 GGUF with .scale sidecars (this fork only), FP8 KV cache and adaptive MTP by default.
Downloads last month
1,410
GGUF
Model size
36B params
Architecture
qwen35moe
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.6-35B-A3B-AX8860-llama.cpp

Quantized
(1,028)
this model

Collection including AXERA-TECH/Qwen3.6-35B-A3B-AX8860-llama.cpp