Instructions to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: llama cli -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: llama cli -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: ./llama-cli -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Use Docker
docker model run hf.co/AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
- LM Studio
- Jan
- vLLM
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
- Ollama
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with Ollama:
ollama run hf.co/AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
- Unsloth Desktop
- Pi
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with Docker Model Runner:
docker model run hf.co/AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
- Lemonade
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Run and chat with the model
lemonade run user.Qwen3.8-Flash-Next-REAP-320-GGUF-UD-Q2_K_XL
List all available models
lemonade list
- Hermes Agent
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "AnonimousA/Qwen3.8-Flash-Next-REAP-320-GGUF:UD-Q2_K_XL" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
README: which llama.cpp build the MTP head needs (Unsloth tag, source build for ROCm, token_embd symptom, shared-Q4_K_M)
Browse files
README.md
CHANGED
|
@@ -101,7 +101,7 @@ HumanEval-164 94.5% with MTP vs 95.1% without — Unsloth's verification is exac
|
|
| 101 |
one-problem gap is sampling noise.
|
| 102 |
|
| 103 |
```bash
|
| 104 |
-
# Needs
|
| 105 |
llama-server -m Q2/Qwen3.8-Flash-Next-UD-Q2_K_XL-reap320-00001-of-00002.gguf \
|
| 106 |
-md mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf \
|
| 107 |
--spec-type draft-mtp --spec-draft-n-max 2 \
|
|
@@ -110,6 +110,22 @@ llama-server -m Q2/Qwen3.8-Flash-Next-UD-Q2_K_XL-reap320-00001-of-00002.gguf \
|
|
| 110 |
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
|
| 111 |
```
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
The head costs **~3.2 GiB of VRAM, flat** — the same at every offload level we tried
|
| 114 |
(`--n-cpu-moe` 14 / 12 / 10 / 8), so budget for it once. On a 32 GB card at 96k context,
|
| 115 |
`--n-cpu-moe 10` is the balanced point (30578 MiB, 93.8%, 92.5 tok/s); `8` is the fast one
|
|
@@ -163,7 +179,7 @@ the Windows port, which keeps the MTP head working. Full numbers, including the
|
|
| 163 |
1. `--parallel > 1` requires `--kv-unified`.
|
| 164 |
2. Empty `content` with tight `max_tokens`: reasoning burns the budget. Detect and retry with a higher cap.
|
| 165 |
3. First requests after a cold load pay disk; throughput climbs over ~3-4 requests to its warm ceiling. The disk cost is the PLE table (see the prefill section above); `--lazy-mode on-direct` removes it.
|
| 166 |
-
4. **`--spec-type draft-mtp` exists in llama.cpp mainline but does not work here.** Mainline has the flag and not the MTP graph for `qwen4exp`, nor the tensor borrowing the *shared* heads need
|
| 167 |
5. `"reasoning_effort": "none"` returns **HTTP 500** — the chat template accepts only `xhigh` / `medium` / `low`.
|
| 168 |
|
| 169 |
## Credits
|
|
|
|
| 101 |
one-problem gap is sampling noise.
|
| 102 |
|
| 103 |
```bash
|
| 104 |
+
# Needs a build with the Flash-Next MTP graph, NOT stock mainline (see "Which build" below and trap 4)
|
| 105 |
llama-server -m Q2/Qwen3.8-Flash-Next-UD-Q2_K_XL-reap320-00001-of-00002.gguf \
|
| 106 |
-md mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf \
|
| 107 |
--spec-type draft-mtp --spec-draft-n-max 2 \
|
|
|
|
| 110 |
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
|
| 111 |
```
|
| 112 |
|
| 113 |
+
**Which build.** Stock llama.cpp mainline has the `--spec-type draft-mtp` flag but not the
|
| 114 |
+
Qwen3.8-Flash-Next MTP graph, and not the loader that lets the *shared* heads borrow
|
| 115 |
+
`token_embd` / `output` from the main model. Any of these three works (same list as Unsloth's
|
| 116 |
+
`MTP/README.md`):
|
| 117 |
+
|
| 118 |
+
1. **Unsloth's fork, release tag `b10715-mix-86bd2d3` or newer** — https://github.com/unslothai/llama.cpp/releases.
|
| 119 |
+
The prebuilt binaries there are **CUDA and CPU only**. For **ROCm** (and for Windows) take the
|
| 120 |
+
*source tarball* of that tag and build it exactly like you build mainline (`-DGGML_HIP=ON` etc.).
|
| 121 |
+
This repository's numbers come from a `b10798-mix` source build on Windows/CUDA.
|
| 122 |
+
2. Upstream PR https://github.com/ggml-org/llama.cpp/pull/28243 (the same code on its way to mainline; still a draft as of 2026-09-09).
|
| 123 |
+
3. Unsloth fork PR #144.
|
| 124 |
+
|
| 125 |
+
On a correct build the shared head prints **one error line at startup about borrowing the
|
| 126 |
+
embeddings**. That line is normal; it works. The `shared-Q4_K_M` head (1.78 GiB) saves another
|
| 127 |
+
~840 MiB of VRAM versus `shared-Q8_0` at the same acceptance (0.70 vs 0.72 measured), useful on 24 GB cards.
|
| 128 |
+
|
| 129 |
The head costs **~3.2 GiB of VRAM, flat** — the same at every offload level we tried
|
| 130 |
(`--n-cpu-moe` 14 / 12 / 10 / 8), so budget for it once. On a 32 GB card at 96k context,
|
| 131 |
`--n-cpu-moe 10` is the balanced point (30578 MiB, 93.8%, 92.5 tok/s); `8` is the fast one
|
|
|
|
| 179 |
1. `--parallel > 1` requires `--kv-unified`.
|
| 180 |
2. Empty `content` with tight `max_tokens`: reasoning burns the budget. Detect and retry with a higher cap.
|
| 181 |
3. First requests after a cold load pay disk; throughput climbs over ~3-4 requests to its warm ceiling. The disk cost is the PLE table (see the prefill section above); `--lazy-mode on-direct` removes it.
|
| 182 |
+
4. **`--spec-type draft-mtp` exists in llama.cpp mainline but does not work here.** Mainline has the flag and not the MTP graph for `qwen4exp`, nor the tensor borrowing the *shared* heads need. Symptoms on mainline: with a `shared-*` head, `tensor 'token_embd.weight' not found` → `failed to load draft model` (the head omits the embeddings on purpose, it is not a corrupt download); with a fused model, `model doesn't contain MTP layers`. The non-shared head is not a workaround: it gets past the missing tensor and fails later for the same reason. Use one of the builds listed under "Which build" above (ROCm users: build the Unsloth tag from source).
|
| 183 |
5. `"reasoning_effort": "none"` returns **HTTP 500** — the chat template accepts only `xhigh` / `medium` / `low`.
|
| 184 |
|
| 185 |
## Credits
|