Instructions to use thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF # Run inference directly in the terminal: llama cli -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF # Run inference directly in the terminal: llama cli -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF # Run inference directly in the terminal: ./llama-cli -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
Use Docker
docker model run hf.co/thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
- LM Studio
- Jan
- vLLM
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "thetom-ai/DeepSeek-V4-Flash-ConfigI-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": "thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
- Ollama
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF with Ollama:
ollama run hf.co/thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
- Unsloth Studio
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF to start chatting
- Pi
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
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": "thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf thetom-ai/DeepSeek-V4-Flash-ConfigI-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 "thetom-ai/DeepSeek-V4-Flash-ConfigI-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"
- Docker Model Runner
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF with Docker Model Runner:
docker model run hf.co/thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
- Lemonade
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
Run and chat with the model
lemonade run user.DeepSeek-V4-Flash-ConfigI-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-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 thetom-ai/DeepSeek-V4-Flash-ConfigI-GGUF
Run Hermes
hermes
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -16,12 +16,6 @@ inference: false
|
|
| 16 |
|
| 17 |
# DeepSeek-V4-Flash — Config-I (GGUF)
|
| 18 |
|
| 19 |
-
> 🔧 **KNOWN ISSUE, FIX IN PROGRESS (2026-08-03).** These files were quantized on a
|
| 20 |
-
> branch where `Q2_0` carries ggml type ID **47**; the canonical TurboQuant fork uses
|
| 21 |
-
> **42**. As a result the current files fail to load with an error like
|
| 22 |
-
> `tensor 'blk.0.ffn_gate_inp.weight' has offset X, expected Y`. The tensor data is
|
| 23 |
-
> fine, only the type field is wrong. Corrected files are being re-uploaded now.
|
| 24 |
-
> **Please hold off downloading until this notice is removed.**
|
| 25 |
|
| 26 |
|
| 27 |
|
|
@@ -34,19 +28,16 @@ Config-I quantization of [deepseek-ai/DeepSeek-V4-Flash-0731](https://huggingfac
|
|
| 34 |
|
| 35 |
## ⚠️ Runtime requirement
|
| 36 |
|
| 37 |
-
This GGUF uses
|
| 38 |
|
| 39 |
```bash
|
| 40 |
git clone https://github.com/TheTom/llama-cpp-turboquant
|
| 41 |
-
cd llama-cpp-turboquant
|
| 42 |
-
|
|
|
|
| 43 |
```
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
**Metal (Mac) users:** run with `TQ_NO_ROTATE=1` in the environment. The fused rotate-act Metal kernel currently produces incorrect batched-prefill results on this architecture (decode is unaffected); the env var routes through the safe dequant path at a modest prefill-speed cost.
|
| 48 |
-
|
| 49 |
-
**CUDA users:** use the `tom/merge-upstream-dsv4` branch above — earlier fork builds route TQ3_1S through a fused kernel that produces incorrect output on this architecture (fixed by routing through the verified dequant path; costs some decode speed, correctness first).
|
| 50 |
|
| 51 |
## Recipe
|
| 52 |
|
|
|
|
| 16 |
|
| 17 |
# DeepSeek-V4-Flash — Config-I (GGUF)
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
|
|
|
|
| 28 |
|
| 29 |
## ⚠️ Runtime requirement
|
| 30 |
|
| 31 |
+
This GGUF uses the TurboQuant `TQ3_1S` weight type, so it needs the [TurboQuant llama.cpp fork](https://github.com/TheTom/llama-cpp-turboquant) rather than stock llama.cpp:
|
| 32 |
|
| 33 |
```bash
|
| 34 |
git clone https://github.com/TheTom/llama-cpp-turboquant
|
| 35 |
+
cd llama-cpp-turboquant # default branch is what you want
|
| 36 |
+
cmake -B build -DGGML_CUDA=ON # or -DGGML_METAL=ON on a Mac
|
| 37 |
+
cmake --build build -j
|
| 38 |
```
|
| 39 |
|
| 40 |
+
Verified against the fork's default branch (`feature/turboquant-kv-cache`): loads and generates correctly on both Metal and CUDA.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
## Recipe
|
| 43 |
|