Instructions to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-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 WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-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 WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF # Run inference directly in the terminal: llama cli -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF # Run inference directly in the terminal: llama cli -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
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 WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF # Run inference directly in the terminal: ./llama-cli -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
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 WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
Use Docker
docker model run hf.co/WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
- LM Studio
- Jan
- Ollama
How to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF with Ollama:
ollama run hf.co/WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
- Unsloth Desktop
- Pi
How to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
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": "WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF with Docker Model Runner:
docker model run hf.co/WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
- Lemonade
How to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
Run and chat with the model
lemonade run user.DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-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 WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
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 WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
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 "WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF" \ --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"
Experimental — likely broken (renamed to
-expon 2026-08-12). This variant was produced by the cascaded REAM line (REAM160 → REAM128). Cascaded variants later showed severe multi-turn degradation: generation typically collapses from the second request onward. No quality evidence was ever collected for this release. Kept for archival reference only; not recommended for use. A rebuilt line (REAM144 / REAM96, built in a single step from the base model) is in progress.
DeepSeek V4 Flash 0731 REAM128-146B DS4 Q2
This single-file DS4 GGUF was produced directly from the committed REAM128 native checkpoint. It preserves the 43-layer, 128-routed-expert, one-shared-expert, top-k 6 topology.
Runtime requirement: this is a DS4-specific GGUF. Use the patched WaveCut DS4 fork with dynamic expert-count support. Generic llama.cpp and Transformers loading are not claimed.
Quantization and identity
- Routed gate/up tensors: IQ2_XXS.
- Routed down tensors: Q2_K.
- Attention projections, shared experts, and output: Q8.
- MTP is absent.
- DS4 revision:
6747e7718dd08f00b680d0c16231f2d59ec3747e. - Native
NATIVE_READY.jsonSHA-256:8c32c76316574c75f18b45be69bd3b54c0c547531249b02f424a66485dc4820e. - Run:
20260810T115212Z.
| Artifact | Bytes | SHA-256 |
|---|---|---|
DeepSeek-V4-Flash-0731-REAM128-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix.gguf |
47,553,155,968 | c209cf78b0fdf8fa0e164061346292299bd06b8c10355aba407dd3411adfd208 |
ream128-imatrix.dat |
225,448,838 | 3e01cbecd975a6b22d24a7f891871bfff1b27b2ca7f3e82749a17cf73fd1309e |
The GGUF contains 1,328 tensors. Its quantization template is pinned to antirez/deepseek-v4-gguf@591165d69ad5d27cf826dcc2cf687549e966f893.
Native REAM and quantization methodology
The native checkpoint was produced by a training-free 160-to-128 expert merge using 3,072 calibration samples of 512 tokens each: 20% code, 10% math, 35% agent/tool, and 35% Russian/Cyrillic. Fresh layerwise saliency statistics, groups, merged experts, router mappings, and activations were computed for REAM128.
The importance matrix in this repository was generated fresh from the committed REAM128 native checkpoint; it was not reused from REAM160. DS4 consumed it in strict iMatrix mode. Conversion was direct from Safetensors to GGUF without an intermediate F16 checkpoint.
Usage
Build or install the patched DS4 fork at the pinned revision, then run:
./ds4 \
-m ./DeepSeek-V4-Flash-0731-REAM128-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix.gguf \
--nothink
Remove --nothink only when intentionally enabling thinking with a suitable completion budget. Add backend, offload, context, and memory options for the installed CUDA or Metal build. The 47,553,155,968-byte model file alone is about 44.29 GiB; actual runtime memory also includes metadata, buffers, KV cache, and backend overhead.
Validation and integrity
- Exact native lineage, GGUF byte size, tensor count, GGUF SHA-256, and iMatrix SHA-256 were verified and committed.
- Comparative heldout PPL/NLL: not measured for this cascade.
- Semantic continuation suite: not run for this cascade.
- CUDA and Metal throughput: not benchmarked for this cascade.
The integrity checks prove artifact identity; they are not a quality or performance result.
Limitations
- Do not reuse the measured quality or performance numbers from the REAM160 GGUF card.
- Standard llama.cpp compatibility is not claimed; the 128-expert topology requires the patched DS4 runtime.
- Memory and throughput depend on backend, offload, context length, batch size, and host I/O.
License
MIT License, following the source checkpoint.
- Downloads last month
- 213
We're not able to determine the quantization variants.
Model tree for WaveCut/DeepSeek-V4-Flash-0731-REAM128-146B-exp-DS4-GGUF
Base model
deepseek-ai/DeepSeek-V4-Flash-0731