98 Downloads Updated 20 hours ago
ollama run MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K
ollama launch claude --model MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K
ollama launch opencode --model MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K
ollama launch hermes --model MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K
ollama launch openclaw --model MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K
Mixed-precision quant of Qwen/Qwen4-35B-A3B: 8-bit attention, 4-bit experts. Tuned to run entirely on a single 24 GB GPU with a 128K context. Includes vision.
Attention runs on every token, so its quantization error adds up. Each expert only sees a few tokens, so experts tolerate 4-bit well (see MoQE). A8E4 keeps attention, the linear-attention (SSM) layers, hyper-connections, shared experts and embeddings at Q80, and quantizes only the routed experts (ffn{gate,up,down}_exps, 256 experts, 8 active) to Q4_K.
The file is 40.5 GiB, but 20.3 GiB of that is Qwen4’s per-layer n-gram embedding table (per_layer_token_embd). It is a lookup table: each token reads only a few rows, so it stays in system RAM and costs no VRAM. The part on the GPU is about 20 GiB.
| vs Q8_0, code corpus | A8E4 | Q4_K_M |
|---|---|---|
| Mean KL divergence | 0.024 | 0.181 |
| 99th-percentile KL divergence | 0.53 | 3.86 |
| Perplexity change | +1.8% | +9.5% |
| Same top token | 97.4% | 93.2% |
The file is larger than a standard Q4_K_M (40.5 vs 33.6 GiB), but mean KL divergence is about 7x lower.
RTX 3090 Ti 24 GB, Ollama 0.40.21, flash attention on, q8_0 KV cache, 128K context:
OLLAMA_FLASH_ATTENTION=1
OLLAMA_KV_CACHE_TYPE=q8_0
ollama run MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K
OpenAI-compatible endpoint: http://localhost:11434/v1, model MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K.
Default sampling: temperature 0.6, top_p 0.95, top_k 20, min_p 0.
Tools: function calling works through Ollama’s qwen4 renderer and parser.
Thinking: the reasoning is returned separately from the answer, in the thinking field on /api/chat (streaming or not) and in the reasoning field on /v1/chat/completions.
Apache 2.0, inherited from Qwen4-35B-A3B.