Instructions to use nace-ai/DeepSeek-V4.1-Flash-Coding-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 nace-ai/DeepSeek-V4.1-Flash-Coding-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 nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S # Run inference directly in the terminal: ./build/bin/llama cli -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
Use Docker
docker model run hf.co/nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
- Llama new
- LM Studio
- Jan
- Ollama
How to use nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF with Ollama:
ollama run hf.co/nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
- Unsloth Desktop
- Pi
How to use nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF with Docker Model Runner:
docker model run hf.co/nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
- Lemonade
How to use nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
Run and chat with the model
lemonade run user.DeepSeek-V4.1-Flash-Coding-GGUF-IQ1_S
List all available models
lemonade list
- Hermes Agent
How to use nace-ai/DeepSeek-V4.1-Flash-Coding-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 nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF: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:9931/v1 hermes config set model.default nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF:IQ1_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF: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:9931/v1 \ --custom-model-id "nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF: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"
We introduce DeepSeek V4.1 Flash Coding from Nace.AI: the 763B DeepSeek V4.1 Flash 1017 in a 71.8 GB GGUF.
Overview
DeepSeek V4.1 Flash Coding is a Nace Specialized Quant for coding and agentic tasks. It is built and tuned on real code and agent work, and it runs on a single 48 GB Mac with llama.cpp.
- 71.8 GB for a 763B-parameter model
- 37 of 38 LiveCodeBench v6 problems solved
Results
- 71.8 GB for a 763B-parameter model.
- 0.140 KL to a near-lossless Q8 reference on real code, against 0.161 for EXL3 at 124 GB.
- 88.4% of next tokens match the Q8 reference.
- 37 of 38 LiveCodeBench v6 problems solved, level with ISTA Coder on the same two seeds.
Coding-first calibration
Built from real coding work: agents fixing real repositories, contest solutions and code commits. Every choice in the file follows how DeepSeek routes code.
Code-aware expert pruning
DeepSeek V4.1 Flash has 384 experts in each of its 40 layers. We keep the 200 per layer that code uses most. They carry 90% of the model's code routing.
Mixed precision per layer
Every expert is scored by how often it fires, how much the router relies on it and how much rounding costs it. The 16 layers where code needs it most get larger, higher-precision experts.
Nace Weight Space Quantization
An agent that edits the weights themselves.
Nace Weight Space Quantization puts an AI agent (Claude Fable 5.2) to work on a finished quantized file. With reading, navigation, quantization and checking tools, it reshapes how weights are stored, rebalances precision toward the layers coding leans on, and prunes and swaps experts toward what coding work uses.
Every edit is measured against a near-lossless Q8 reference, and only edits that score better stay. The file in this repo went through all four steps: the agent's edits cut held-out code KL from 0.142 to 0.140 at the same 71.8 GB.
Run it
The download is the 71.8 GB main weights plus the 110.6 GB Engram table in engram/.
hf download nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF --local-dir coding
llama-server -m coding/DeepSeek-V4.1-Flash-1017-Coding-IQ1_S-200E.gguf \
--ple coding/engram/DeepSeek-V4.1-Flash-1017-engram-IQ4_NL.gguf_file -c 32768
Use temperature 1.0 and top_p 1.0.
License
MIT, the same license as DeepSeek V4.1 Flash 1017. The full license text is in LICENSE.
- Downloads last month
- 4,321
1-bit
Model tree for nace-ai/DeepSeek-V4.1-Flash-Coding-GGUF
Base model
deepseek-ai/DeepSeek-V4.1-Flash-1017






