Instructions to use mmnga-o/Qwen3.8-REAP30-Width50-UD-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 mmnga-o/Qwen3.8-REAP30-Width50-UD-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 mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S # Run inference directly in the terminal: llama cli -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S # Run inference directly in the terminal: llama cli -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
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 mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S # Run inference directly in the terminal: ./llama-cli -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
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 mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
Use Docker
docker model run hf.co/mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
- LM Studio
- Jan
- Ollama
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf with Ollama:
ollama run hf.co/mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
- Unsloth Studio
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf to start chatting
- Pi
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf with Docker Model Runner:
docker model run hf.co/mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
- Lemonade
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
Run and chat with the model
lemonade run user.Qwen3.8-REAP30-Width50-UD-gguf-UD-IQ1_S
List all available models
lemonade list
- Hermes Agent
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-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 mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
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 mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S
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 "mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf:UD-IQ1_S" \ --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"
Qwen3.8 REAP30 Width50 UD GGUF
An experimental reduced GGUF build of Qwen3.8-2.4T-A95B.
The routed-expert count is reduced by about 30%, then the intermediate width of each retained expert is reduced by 50%. The number of experts selected per token remains 10.
Calibration and selection
The calibration set contains 97 completed English and Japanese samples covering general chat and reasoning, code generation, and tool use. It contains 94,874 profiled tokens, of which 78,061 are semantic assistant tokens used for scoring. Prompt and structure tokens are excluded.
REAP30: expert axis
For expert e, the score is:
REAP(e) = mean[t routed to e](
top-10-renormalized router weight(t,e)
ร ||unweighted expert output(t,e)||โ
)
Experts are ranked independently in each of the 92 MoE layers. The top 358 of 512 are retained. No experts are reserved manually.
Width50: intermediate axis
After the REAP30 slice, the reduced model is profiled again with the same calibration set. Every intermediate channel is scored independently for each expert:
a(t,e,c) = SiLU(gate(t,e,c)) ร up(t,e,c)
score(e,c) = ฮฃ[t routed to e](router_weight(t,e) ร a(t,e,c))ยฒ
ร ||Wdown,e[:,c]||โยฒ
The top 1,024 of 2,048 channels are retained for each expert. Low-coverage experts use a blend of the activation score and a static weight-energy prior.
GGUF changes
| Original | This build | |
|---|---|---|
| MoE layers | 92 | 92 |
| Routed experts per layer | 512 | 358 |
| Routed expert FFN width | 2,048 | 1,024 |
| Experts selected per token | 10 | 10 |
The router and grouped expert tensors are sliced with the same per-layer expert map. Shared experts are retained. MTP tensors are omitted.
Width selection is channel-level rather than 256-channel-block-level. Retained gate/up rows are copied directly. ffn_down_exps.weight is dequantized, gathered by the selected channel map, packed into new QK256 blocks, and requantized to the source GGUF type.
Both folders use the same REAP and Width rankings.
Files
| Folder | Shards | Size |
|---|---|---|
UD-IQ1_S |
12 | about 184.72 GiB |
UD-Q1_0 |
10 | about 148.54 GiB |
Load the first shard in the selected folder. Each folder also includes slice_manifest.json with the applied ranking hashes and slice settings.
Usage
UD-Q1_0 uses the experimental IQ1_XXXS GGML type. Use the iq1-narrow branch:
git clone --branch iq1-narrow https://github.com/unslothai/llama.cpp
cmake -S llama.cpp -B llama.cpp/build \
-DGGML_CUDA=ON -DCMAKE_BUILD_TYPE=Release
cmake --build llama.cpp/build -j --target llama-server
Example for a 32 GB GPU while keeping MoE weights on CPU:
./llama.cpp/build/bin/llama-server \
-m ./UD-Q1_0/Qwen3.8-2.4T-A95B-UD-Q1_0-00001-of-00010.gguf \
--cpu-moe \
-ngl 80 \
--ctx-size 8192 \
--flash-attn on \
--cache-type-k q8_0 \
--cache-type-v q8_0
This configuration was tested with 512 GB system RAM and one 32 GB RTX 5090. It offloaded 80 of 92 layers and used about 30.6 GiB of VRAM. Adjust -ngl and context size for your hardware.
This is a heavily reduced experimental model. Quality and stability may differ from the original model and depend on how closely the calibration distribution matches the target workload.
- Downloads last month
- 124
1-bit
Model tree for mmnga-o/Qwen3.8-REAP30-Width50-UD-gguf
Base model
Qwen/Qwen3.8-2.4T-A95B