mlx-serve pack of Qwen/Qwen3.8-Flash-Next,
the Qwen4 preview architecture (model_type: qwen4_exp). Every quantized
tensor is 8-bit group 64, the closest-to-bf16 pack in the family. Includes the
MTP head and the vision tower (image and video input).
Only use this pack if your Mac has more than 128 GB. It is 137 GB resident.
| pack | resident | download | use it if |
|---|---|---|---|
| iQ-MLX-3.3bpw | 52 GB | 86 GB | 64 GB Mac |
| iQ-MLX-4.7bpw | 75 GB | 107 GB | 128 GB Mac (recommended) |
| mixed-4-8bit | 75 GB | 107 GB | superseded by iQ-MLX-4.7bpw (same size, closer to bf16) |
| 8bit (this pack) | 137 GB | 195 GB | more than 128 GB |
Download includes the n-gram table, which is mmapped and not resident (see below).
Download MLXServe.com
mlx-serve --model ddalcu/Qwen3.8-Flash-Next-MLX-Serve-8bit --serve
This is not a Qwen3.5-style pack. Three things around the usual GDN + MoE trunk:
The 51B table is NOT in the safetensors shards. It is one merged 8-bit table
in ngram_table.bin (57.6 GB, safetensors format, .bin so nothing
mlx-loads it). mlx-serve mmaps the file and, per token, dequantizes the 16 rows
it needs on the CPU (16 x 160 bytes) and uploads only the resulting 2560-vector.
The table never becomes resident: its cost is page cache, which the OS evicts
as needed. That is the difference between this pack and mlx-lm style packs
that ship the table as 128 quantized tensors and load it onto the GPU
(+58 GB resident at this width).
Expected effect: decode speed unchanged (16 tiny reads against a ~20 ms step), cold-cache prefill of very long prompts may pay up to ~1 s per 8k tokens of random reads on the SSD, warm cache is free. No user-space cache is needed, the page cache already is an LRU over exactly this access pattern.
| tensors | width |
|---|---|
| routed experts (512 x 48 layers, the 121B) | 8-bit, group 64 |
| attention, GDN, hyper-connections, indexer, shared experts | 8-bit, group 64 |
| embed_tokens, lm_head | 8-bit, group 64 |
| n-gram table | 8-bit, group 32 (row width 160) |
| routers, inject gates, norms, convs, SSM state | bf16 |
| MTP head | same policy as the trunk |
Every (1 + w) RMSNorm has the +1 folded into the stored weight; depthwise
convs are transposed to MLX's [C, K, 1]; experts.gate_up_proj is split into
switch_mlp.gate_proj / up_proj. The vision tower ships dense bf16 in
model-vision.safetensors (~0.9 GB).
--kv-quant 8 halves the cache.--no-mtp or per-request "enable_mtp": false
turns it off)."enable_thinking": false turns it off).
Tools use Qwen3.8's XML call format; mlx-serve parses and schema-coerces it.model.visual.*,
dense bf16). MTP is declined on image turns (serial decode).tests/convert_qwen38_flash_next.py in the mlx-serve repo. It streams the
360 GB bf16 checkpoint shard by shard from the Hub (download, quantize, delete),
so it converts on a machine with ~150 GB free. The engine was validated against
HF transformers (trunk) and the vLLM/SGLang MTP math on a tiny random model
before the full conversion.
ngram_table.bin 58 GBmodel-00031.safetensors 1.9 GBmodel-00029.safetensors 1.8 GBmodel-00007.safetensors 1.8 GBmodel-00009.safetensors 1.8 GBmodel-00011.safetensors 1.8 GBmodel-00013.safetensors 1.8 GBmodel-00015.safetensors 1.8 GBmodel-00017.safetensors 1.8 GBmodel-00019.safetensors 1.8 GBmodel-00021.safetensors 1.8 GBmodel-00023.safetensors 1.8 GBmodel-00025.safetensors 1.8 GBmodel-00030.safetensors 1.8 GBmodel-00032.safetensors 1.8 GBmodel-00034.safetensors 1.8 GBmodel-00036.safetensors 1.8 GBmodel-00038.safetensors 1.8 GBmodel-00040.safetensors 1.8 GBmodel-00042.safetensors 1.8 GBmodel-00044.safetensors 1.8 GBmodel-00046.safetensors 1.8 GBmodel-00048.safetensors 1.8 GBmodel-00052.safetensors 1.8 GBmodel-00054.safetensors 1.8 GBmodel-00056.safetensors 1.8 GBmodel-00058.safetensors 1.8 GBmodel-00060.safetensors 1.8 GBmodel-00062.safetensors 1.8 GBmodel-00064.safetensors 1.8 GBmodel-00066.safetensors 1.8 GBmodel-00068.safetensors 1.8 GBmodel-00070.safetensors 1.8 GBmodel-00074.safetensors 1.8 GBmodel-00076.safetensors 1.8 GBmodel-00078.safetensors 1.8 GBmodel-00080.safetensors 1.8 GBmodel-00082.safetensors 1.8 GBmodel-00084.safetensors 1.8 GBmodel-00086.safetensors 1.8 GBmodel-00088.safetensors 1.8 GBmodel-00002.safetensors 1.8 GBmodel-00004.safetensors 1.8 GBmodel-00027.safetensors 1.8 GBmodel-00050.safetensors 1.8 GBmodel-00072.safetensors 1.8 GBmodel-00090.safetensors 1.8 GBmodel-00092.safetensors 1.8 GBmodel-00094.safetensors 1.8 GBmodel-00096.safetensors 1.8 GBmodel-00098.safetensors 1.8 GBmodel-00099.safetensors 1.6 GBmodel-00089.safetensors 1.0 GBmodel-00055.safetensors 1.0 GBmodel-00010.safetensors 1.0 GBmodel-00026.safetensors 1.0 GBmodel-00045.safetensors 1.0 GBmodel-00018.safetensors 1.0 GBmodel-00051.safetensors 1.0 GBmodel-00081.safetensors 1.0 GBmodel-00071.safetensors 1.0 GBmodel-00063.safetensors 1.0 GBmodel-00037.safetensors 1.0 GBmodel-00095.safetensors 1.0 GBmodel-00077.safetensors 1.0 GBmodel-00075.safetensors 990 MBmodel-00041.safetensors 977 MBmodel-00022.safetensors 977 MBmodel-00057.safetensors 977 MBmodel-00012.safetensors 977 MBmodel-00059.safetensors 975 MBmodel-00047.safetensors 974 MBmodel-00039.safetensors 974 MBmodel-00083.safetensors 974 MBmodel-00014.safetensors 974 MBmodel-00020.safetensors 974 MBmodel-00033.safetensors 974 MBmodel-00065.safetensors 974 MBmodel-00067.safetensors 974 MBmodel-00085.safetensors 974 MBmodel-00073.safetensors 974 MBmodel-00003.safetensors 974 MBmodel-00091.safetensors 974 MBmodel-00097.safetensors 974 MBmodel-00005.safetensors 933 MBmodel-00093.safetensors 919 MBmodel-00035.safetensors 913 MBmodel-00016.safetensors 912 MBmodel-00087.safetensors 912 MBmodel-00069.safetensors 912 MBmodel-00028.safetensors 912 MBmodel-00008.safetensors 912 MBmodel-00024.safetensors 912 MBmodel-00043.safetensors 912 MBmodel-00053.safetensors 912 MBmodel-00061.safetensors 912 MBmodel-00079.safetensors 912 MBmodel-00049.safetensors 912 MBmodel-vision.safetensors 898 MBmodel-00100.safetensors 675 MBmodel-00006.safetensors 76 MBmodel-00001.safetensors 76 MB