This is an experimental REAP.
[408 of 512 routed experts kept per layer (51/64 per router group across n_group=8) - 20% of experts pruned] from inclusionAI/Ling-3.2-air (124B total / 5.5B active).
Method: one-shot REAP (Router-weighted Expert Activation Pruning, arXiv:2510.13999) - experts scored by router-gate-value × output-L2-norm over calibration data, lowest-scoring deleted uniformly per router group to preserve grouped top-k routing. No fine-tuning, no recovery training.
Calibration: 653K tokens (1,024 samples), 75/15/10 coding / math & reasoning / general chat.
Quants in this repo (all cut from the pruned BF16 master; NextN/MTP block omitted): Q8_0, Q4_K_M, Q2_K — sibling FP8 safetensors live in bloomer010/Ling-3.2-air-REAP-408.
Every text quant requires the bundled 875 MB mmproj-model-f16.gguf file for vision input.
Text-only chat works without it.
Supported in stock llama.cpp, any build b11190 or newer.
To run with llama-server:
llama-server \
-m Ling-3.2-air-REAP-408-Q4_K_M.gguf \
--mmproj mmproj-model-f16.gguf \
--jinja
Generally...
Larger files = More precision.
Smaller files = More compression = More slop and misbehavin'.
Weights and context share your memory, so be sure to leave headroom.
With less VRAM than the file size, keep the experts on CPU and the rest on GPU, e.g.:
llama-server \
-m Ling-3.2-air-REAP-408-Q4_K_M.gguf \
--mmproj mmproj-model-f16.gguf \
-ngl 99 -ot "ffn_.*_exps\.weight=CPU" -c 32768 \
--jinja
Recommended sampling from the source model card: temperature 1.0, top_p 0.95, top_k 20. Thinking mode is on by default; disable per request with "chat_template_kwargs": {"enable_thinking": false}.
./build/bin/llama-server \
-m Ling-3.2-air-REAP-408-Q4_K_M.gguf \
--mmproj mmproj-model-f16.gguf \
-c 131072 \
-ngl auto \
--flash-attn auto \
--temp 1.0 --top-p 0.95 --top-k 20 \
--jinja
Then attach an image in the web UI, or via the API:
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,..."}}
]
}]
}'
Video input uses the same chat API with video_url content parts. Frames are sampled and encoded by the same vision tower.
MoE placement can be adjusted for available VRAM with -ncmoe N.
inclusionAI/Ling-3.2-air