github zweck/omdroid llama-smolmax-qwen4
llama.cpp + smolmaxxing expert pager (aarch64) for Qwen4-35B-A3B

one hour ago

llama.cpp master a4e5552db (implements qwen4exp) with smolmaxxing's expert pager, weight streaming and router bias rebased onto it. Cross-built for aarch64-linux-gnu with zig 0.17; needs only libc/libm.

Binaries: llama-cli, llama-server, llama-bench, llama-quantize. Patch series included (2 commits, applies with git am to llama.cpp a4e5552db).

sha256: fd1d073d058ddce8a02e646529ca887f680aa404b96e06bbcc482ea4275f14ee

RUN WITH REPACK OFF or the pager registers nothing:
./llama-cli -m Qwen4-35B-A3B-UD-IQ2_XXS.gguf -lm mmap -nr -c 1024 -t 2 --cpu-strict 1
-cnv -p 'hello'

Pager knobs (smolmaxxing): GGML_MOE_PAGER=1 GGML_MOE_POOL=64 GGML_MOE_BIAS=0.005 GGML_MOE_READERS=4 GGML_MOE_OVERLAP=1

Before the first run: check 'getconf PAGESIZE' - the pager assumes 4 KiB and aborts on 16 KiB pages.

Measured on a 7.4 GB OnePlus Nord CE 2 with Qwen3.6-35B-A3B: 4.9 tok/s exact routing, 5.7 tok/s at +0.7% perplexity, 4.8 GB peak RSS. Not measured on this device.

Don't miss a new omdroid release

NewReleases is sending notifications on new releases.