GGUF quants of thatacube/Qwen3.8-27B-MoE: Qwen3.8-27B turned into a Mixture-of-Experts model (32 experts per layer, 19 active + a shared expert). It generates about 1.5× faster than the dense model on an 8 GB GPU (model partly in system RAM) and stays close to the original in quality. The full description, benchmarks and how the model was made are on the main model card. Feedback and speed reports: announcement thread.
llama-server -hf thatacube/Qwen3.8-27B-MoE-GGUF:Q4_K_M -c 16384 -ctk q8_0 -ctv q8_0 -fa on --fit on
-hf downloads the file; with a file already on disk use
-m Qwen3.8-27B-MoE-Q4_K_M.gguf.--fit on puts as much as fits on the GPU and moves expert tensors to system RAM first. A manual alternative
is -ngl 99 -ncmoe N (the experts of N layers stay in RAM).-ngl 99 -ncmoe 65, all 64 layers and the MTP
layer). The rest of the model with a 16k KV cache already takes about 7.3 GB; two expert layers more on the GPU
overflowed VRAM and halved the speed (RTX 5060). N = 60 was the best only with almost no context.--spec-type draft-mtp --spec-draft-n-max 3) helped when
the whole model was on the GPU (2× T4: 67% of the drafts accepted, 1.08× faster). With the experts in system RAM
it slowed generation down (RTX 5060: 35–40% accepted, 5.0–5.4 instead of 5.7 tok/s), so leave it off there.LM Studio (load settings of the model):
| file | size | KL / top-1 vs Q8_0 | for |
|---|---|---|---|
Qwen3.8-27B-MoE-Q8_0.gguf |
29.1 GB | reference | 32 GB+ VRAM or unified memory |
Qwen3.8-27B-MoE-Q4_K_M.gguf |
16.85 GB | 0.031 / 93.3% | recommended: 8–12 GB GPUs with 32 GB RAM, 24 GB GPUs, 2× 16 GB |
Qwen3.8-27B-MoE-IQ4_XS.gguf |
15.35 GB | 0.033 / 92.4% | 16 GB GPUs, Macs with 24 GB; 1.5 GB smaller than Q4_K_M |
Qwen3.8-27B-MoE-IQ3_XXS-mac16.gguf |
9.35 GB | 0.217 / 80.3% | Macs with 16 GB only (experts IQ2_XXS, rest IQ3_XXS): clearly lower quality |
imatrix.gguf |
0.20 GB | importance matrix of these quants (147k tokens: English, code, math, chat, other languages) |
convert_hf_to_gguf.py → Q8_0 → llama-quantize with the imatrix), MTP head
included.| RTX 5060 8 GB, Ryzen 5 5600, 32 GB RAM (tokens/s) | dense Q4_K_M | MoE Q4_K_M | speed-up |
|---|---|---|---|
| llama.cpp auto split, context 0 | 3.72 | 5.47 | 1.47× |
| llama.cpp auto split, context 4,096 | 3.22 | 5.40 | 1.68× |
| best manual split | 4.06 | 6.08 | 1.50× |
| 2× Tesla T4, whole model on GPU (tokens/s) | dense Q4_K_M | MoE Q4_K_M | speed-up |
|---|---|---|---|
| context 0 | 13.48 | 16.34 | 1.21× |
| context 4,096 | 13.20 | 16.11 | 1.22× |
| context 128k (KV cache q8_0) | 3.27 | 3.46 | 1.06× |
| context 256k (KV cache q8_0) | 1.45 | 1.65 | 1.14× |
llama-bench tg128 (generation of 128 tokens), llama.cpp b12110. Prompt processing is on par with the dense
model (0.91–1.01×).-ncmoe 60 (MoE) and -ngl 28 (dense), measured with almost no context. With a 16k
context the MoE needs all experts in RAM on this card: 5.68 tok/s in LM Studio (its own llama.cpp build,
KV cache q8_0, MTP off, 512-token answer).Against Qwen3.8-27B (both bf16): MMLU 78.6% (−4.9), ARC 73.4% (−0.8), HellaSwag 78.7% (−3.6), Belebele 15 languages 84.5% (−4.8), GSM8K 83.6% (+3.7), valid tool calls 95.8% (+2.0), needle in a haystack 100% up to 32k. Low-resource languages lose the most (Swahili −16, Amharic −19). Details, with the share of identical answers, on the main model card.
Apache-2.0, as the base model: a modified version of Qwen3.8-27B by the Qwen team. Training data and attribution: see the main model card.