A practical, experimental Qwen3.8-Flash-Next build for 64 GB Apple Silicon systems.
This checkpoint combines REAP-288 expert pruning, MLX 4-bit quantization, an SSD-backed N-gram table, and the model's native MTP head in a package tested with mlx-serve.
It is intended for local inference, coding-agent experiments, long-context research, and community evaluation of native MTP on Apple Silicon.
[!IMPORTANT] This is an unofficial community derivative, not an official Qwen release. It is labeled “Uncensored” because it was assembled for reduced-refusal behavior; the degree of refusal reduction has not been formally benchmarked on this exact checkpoint.
mlx-serve./v1/chat/completions endpoint with the tested runtime.Qwen3.8-Flash-Next combines a large sparse MoE trunk with a very large learned N-gram embedding table. Straight conversions can be difficult to run on memory-limited Macs.
This build takes a different route:
mlx-serve to fetch required rows from SSD on demand.The result is an experimental Flash-Next-class checkpoint that can run on hardware where a full conversion may not fit comfortably. Quality and speed will vary by workload, and independent evaluation is encouraged.
| Item | Value |
|---|---|
| Architecture | qwen4_exp |
| Language layers | 48 |
| Hidden size | 2560 |
| Attention layout | Hybrid linear/full attention |
| Routed experts | 288 per layer |
| Active experts | Top-10 routed + shared expert |
| Main quantization | MLX affine 4-bit, group size 64 |
| N-gram quantization | 4-bit, group size 32 |
| N-gram table | ngram_table.bin, approximately 29.8 GiB, memory-mapped |
| MTP | Native one-layer head included |
| Configured context | 262,144 tokens |
| Vision | Weights included; not yet validated here |
| Total download | Approximately 71.67 GiB |
| Tested runtime | mlx-serve 26.8.11 |
The release was smoke-tested in the following environment:
mlx-serve 26.8.11mode=mtp statisticsThese observations confirm that the package loads and that native MTP executes. They are not presented as a general performance benchmark.
Install the Hugging Face CLI if needed, then download the repository:
hf download butterf1ying/Qwen3.8-Flash-Next-Uncensored-REAP288-MTP-MLX-4bit \
--local-dir ~/Models/Qwen3.8-Flash-Next-Uncensored-REAP288-MTP-MLX-4bit
Make sure the destination drive has enough free space for the approximately 71.67 GiB download and temporary filesystem overhead.
brew tap ddalcu/mlx-serve https://github.com/ddalcu/mlx-serve
brew install mlx-serve
This exact package layout targets mlx-serve. Older or architecture-unaware versions of mlx-lm, mlx-vlm, and Transformers may reject model_type: qwen4_exp or may not support the external N-gram table.
Start a local-only OpenAI-compatible server with native MTP enabled:
mlx-serve \
--model ~/Models/Qwen3.8-Flash-Next-Uncensored-REAP288-MTP-MLX-4bit \
--serve \
--host 127.0.0.1 \
--port 11234 \
--no-vision \
--mtp
The API will be available at:
http://127.0.0.1:11234/v1
Example request:
curl http://127.0.0.1:11234/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "Qwen3.8-Flash-Next-Uncensored-REAP288-MTP-MLX-4bit",
"messages": [
{"role": "user", "content": "Write a small Python LRU cache with tests."}
],
"temperature": 0,
"max_tokens": 512,
"enable_mtp": true
}'
--host 127.0.0.1 keeps the server accessible only from the local machine.--no-vision is recommended until this build's vision path receives more testing.--mtp explicitly enables the native MTP path for this MoE checkpoint.--mtp-depth 1, 2, or 3 can be tested manually; the best value depends on the workload and hardware."enable_mtp": false per request, or use --no-mtp, to establish a serial-decoding baseline.MTP performance is workload-dependent. Code completion and repetitive structured output may accept more draft tokens than short prose, while some prompts may see little benefit or even a slowdown.
A fair comparison should:
The first request can be slower because kernels, model pages, and SSD-backed N-gram pages are still cold. Please do not treat a single short first response as representative throughput.
MTP drafts are accepted only after verification by the target model. The purpose is to improve decoding throughput when acceptance and verification cost are favorable—not to change the model's intended output behavior.
There is intentionally no headline tokens-per-second claim yet. If you test this checkpoint, please open a Hugging Face discussion and include:
Hardware:
Unified memory:
macOS version:
mlx-serve version:
Text or vision:
Prompt/context tokens:
Generated tokens:
Temperature:
MTP enabled:
MTP depth:
Warm-up performed:
Median tok/s over 3+ runs:
MTP acceptance statistics:
Peak memory:
Results from M1, M2, M3, M4, and M5 Max/Ultra systems are especially useful. Reproducible reports may be added to this model card with attribution.
ngram_table.bin is a static learned N-gram/PLE weight table. It is not chat history, an inference log, or a collection of user prompts.
The file remains contiguous because the tested runtime memory-maps it for direct random row access. Splitting it manually would break compatibility with the current configuration and loader.
This build relies on work from the following projects and community contributors:
Qwen/Qwen3.8-Flash-Next — official base architecture and weightsSawfwair/Qwen3.8-Flash-Next-MLX-4bit — MLX 4-bit conversion work used by the REAP buildsh0wie/Qwen3.8-Flash-Next-REAP-288-MLX-4bit — REAP-288 expert selection and pruning workddalcu/mlx-serve — inference, external N-gram mapping, and native MTP runtime used for this releaseThank you to Qwen and all community contributors who made these experiments possible.
The published repository contains model artifacts and documentation only. It does not include personal conversations, inference logs, private datasets, account tokens, or local user files.
This repository follows the Qwen Community License 1.0 inherited from the official base model. See LICENSE for the complete terms.
Review the license before redistribution, hosted deployment, or commercial use. Downloading the checkpoint does not remove upstream license obligations or requirements under applicable law.
这是一个为 Apple Silicon 本地运行设计的实验性 Qwen3.8-Flash-Next 社区衍生版本,主要特点是:
本模型降低了拒答行为,不代表更安全或更准确。请在受控环境中使用,并遵守 Qwen Community License 1.0 及当地法律法规。
ngram_table.bin 32 GBmodel-vision.safetensors 898 MBmodel-00100.safetensors 675 MBmodel-00099.safetensors 636 MBmodel-00031.safetensors 613 MBmodel-00029.safetensors 592 MBmodel-00011.safetensors 531 MBmodel-00023.safetensors 531 MBmodel-00032.safetensors 531 MBmodel-00070.safetensors 531 MBmodel-00076.safetensors 531 MBmodel-00088.safetensors 531 MBmodel-00007.safetensors 531 MBmodel-00009.safetensors 531 MBmodel-00017.safetensors 531 MBmodel-00019.safetensors 531 MBmodel-00025.safetensors 531 MBmodel-00036.safetensors 531 MBmodel-00044.safetensors 531 MBmodel-00048.safetensors 531 MBmodel-00062.safetensors 531 MBmodel-00064.safetensors 531 MBmodel-00080.safetensors 531 MBmodel-00084.safetensors 531 MBmodel-00034.safetensors 531 MBmodel-00042.safetensors 531 MBmodel-00046.safetensors 531 MBmodel-00052.safetensors 531 MBmodel-00066.safetensors 531 MBmodel-00013.safetensors 531 MBmodel-00027.safetensors 531 MBmodel-00030.safetensors 531 MBmodel-00054.safetensors 531 MBmodel-00056.safetensors 531 MBmodel-00058.safetensors 531 MBmodel-00060.safetensors 531 MBmodel-00068.safetensors 531 MBmodel-00078.safetensors 531 MBmodel-00082.safetensors 531 MBmodel-00090.safetensors 531 MBmodel-00015.safetensors 531 MBmodel-00021.safetensors 531 MBmodel-00038.safetensors 531 MBmodel-00040.safetensors 531 MBmodel-00050.safetensors 531 MBmodel-00074.safetensors 531 MBmodel-00086.safetensors 531 MBmodel-00094.safetensors 531 MBmodel-00002.safetensors 531 MBmodel-00092.safetensors 531 MBmodel-00098.safetensors 531 MBmodel-00004.safetensors 531 MBmodel-00072.safetensors 531 MBmodel-00096.safetensors 531 MBmodel-00089.safetensors 409 MBmodel-00055.safetensors 405 MBmodel-00010.safetensors 405 MBmodel-00026.safetensors 405 MBmodel-00045.safetensors 404 MBmodel-00018.safetensors 402 MBmodel-00051.safetensors 402 MBmodel-00081.safetensors 402 MBmodel-00071.safetensors 402 MBmodel-00063.safetensors 402 MBmodel-00037.safetensors 402 MBmodel-00095.safetensors 402 MBmodel-00077.safetensors 383 MBmodel-00075.safetensors 364 MBmodel-00041.safetensors 351 MBmodel-00022.safetensors 351 MBmodel-00012.safetensors 351 MBmodel-00057.safetensors 351 MBmodel-00059.safetensors 349 MBmodel-00047.safetensors 347 MBmodel-00083.safetensors 347 MBmodel-00039.safetensors 347 MBmodel-00033.safetensors 347 MBmodel-00014.safetensors 347 MBmodel-00020.safetensors 347 MBmodel-00067.safetensors 347 MBmodel-00085.safetensors 347 MBmodel-00091.safetensors 347 MBmodel-00065.safetensors 347 MBmodel-00097.safetensors 347 MBmodel-00073.safetensors 347 MBmodel-00003.safetensors 347 MBmodel-00005.safetensors 306 MBmodel-00093.safetensors 293 MBmodel-00035.safetensors 286 MBmodel-00016.safetensors 286 MBmodel-00087.safetensors 286 MBmodel-00069.safetensors 286 MBmodel-00028.safetensors 286 MBmodel-00008.safetensors 286 MBmodel-00061.safetensors 286 MBmodel-00049.safetensors 286 MBmodel-00053.safetensors 286 MBmodel-00043.safetensors 286 MBmodel-00079.safetensors 286 MBmodel-00024.safetensors 286 MBmodel-00006.safetensors 76 MBmodel-00001.safetensors 76 MBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo butterf1ying/Qwen3.8-Flash-Next-Uncensored-REAP288-MTP-MLX-4bit ./model-folder