Instructions to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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 webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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 webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: llama cli -hf webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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 webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: llama cli -hf webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
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 webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
Use Docker
docker model run hf.co/webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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": "webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
- Ollama
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF with Ollama:
ollama run hf.co/webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
- Unsloth Desktop
- Pi
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF with Docker Model Runner:
docker model run hf.co/webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
- Lemonade
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
Run and chat with the model
lemonade run user.Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF-UD-Q2_K_XL
List all available models
lemonade list
- Hermes Agent
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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 webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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:9931/v1 hermes config set model.default webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF:UD-Q2_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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:9931/v1 \ --custom-model-id "webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-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"
Sakura DeepSeek-V4.1-Flash-1017 · UD-Q2_K_XL · Engram Q3_K
The original UD-Q2_K_XL backbone is unchanged. Only the separate Engram lookup-table files are replaced with Q3_K. All experts and all lookup rows are retained.
No full inference test has been performed. The checks cover integrity, format, addressing and isolated decoder paths. No generation-quality, perplexity, speed or hardware-fit score is claimed for this exact package.
Original versus Sakura
| Component | Bytes | Decimal GB |
|---|---|---|
| Matching upstream main GGUF set | 334,793,544,895 | 334.794 |
| Unchanged upstream backbone | 199,621,523,103 | 199.622 |
| Upstream Engram files | 135,172,021,792 | 135.172 |
| Replacement Q3_K Engram files | 84,482,513,692 | 84.483 |
| Sakura main GGUF set | 284,104,036,795 | 284.104 |
| Saved versus this upstream variant | 50,689,508,100 | 50.690 (15.14%) |
Main files: 264.593 GiB. Optional DSpark/drafter, vision, imatrix, runtime and documentation are outside this main-model total. File size is not RAM/VRAM consumption or proof that the package fits a particular machine.
What changed and what stayed identical
| Part | Treatment |
|---|---|
| 6 backbone shards, including tokenizer/model metadata | Copied server-side; source sizes and full HF LFS SHA-256 identities retained |
| Routed experts | No pruning, retraining or requantization by Sakura |
| Engram lookup payload | Existing Sakura Q3_K data reused without another quantization pass |
| Table layout | one combined table, layer 1 followed by layer 14; correct split index/count and source tensor-count contract |
| Actual format | GGML type 11 / Q3_K, 110 bytes per 256-value row |
The UD-Q2_K_XL label describes the upstream backbone recipe. Q3_K describes the Engram tables, not the entire model.
Provenance
- Original checkpoint: deepseek-ai/DeepSeek-V4.1-Flash-1017, revision
1bae0e1088993b9b82de08f59de5be5a34e42170. - Direct backbone: unsloth/DeepSeek-V4.1-Flash-1017-GGUF, revision
60ad3651641b5c97679c807e064ab1d7a3ca1455. - Q3 payload: Sakura Maya-S Engram Q3_K, frozen input revision
4a701f59f623b08a859368926cd9a210ab446941. It was quantized from peasantsmith's Maya-S Q6_K tables atb9e25f34b53806b24e5b18085de6ed5967ad9ed5, using GGMLc7fc5094179bf8a9c73c18593db714f8da41a402. - This repack does not requantize the upstream IQ4_NL, Q5_K, Q6_K or MXFP8 table. It reuses the existing Q3 payload and adjusts only the GGUF table header where required.
The official safetensors checkpoint is about 510.297 GB as a broader package; original Maya-S is 339.478 GB. These are context, not scope-matched quality or memory baselines. The matching-upstream row above is this release's reduction baseline.
Table geometry and addressing
| Property | Value |
|---|---|
| Engram layers | 1 and 14 |
| Layer row counts | 384,006,168 / 384,016,682 |
| Total rows | 768,022,850 |
| Values per row | 256 |
| Total Q3 payload | 84,482,513,500 bytes |
| Storage | one combined table, layer 1 followed by layer 14 |
| Combined second-layer starting row, where applicable | 384,006,168 |
Tokenizer-derived token mapping, hash constants, bucket sizes and addressing metadata were compared against the relevant source layout. A 192-row Q6 sample matched Maya and Unsloth before the original table reuse. Maya-XS additionally matched 96 Q6 sample rows and the complete token-map hash. Samples alone do not prove complete original Q6 payload identity.
Download and load
hf download webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF --local-dir Sakura-UD-Q2_K_XL-Engram-Q3_K
Keep all 7 numbered GGUF files together. Load UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00001-of-00007.gguf with the matching runtime.
Use a runtime supporting this Unsloth DeepSeek-4.1 layout: the inspected danielhanchen/llama.cpp source at b72050d03ae14bb3cb5138ecefab3f3f65157d31 (PR #30817). Its native host-gather Q3_K path was checked on 192 real rows, both layer boundaries, reverse gathers and 64-bit offsets. See the Unsloth guide. This does not qualify arbitrary stock llama.cpp, LM Studio or Maya versions.
What was verified
| Check | Result and scope |
|---|---|
| Backbone identity | Every copied file's size and LFS SHA-256 matched the pinned source |
| Table stream | Header-only repacks verify complete existing Q3 input hashes and independent Python/native output hashes; see the build record |
| Published table layout | Exact headers, shapes, real types, offsets and split metadata checked |
| Published real-row samples | 192 Q3 rows across both layers, including middle/final rows, compared with frozen fixtures |
| Decoder and addressing | Isolated CPU checks; see compatibility record |
| Full inference, generation quality, perplexity and speed | Not tested for this exact package |
| GPU execution / Windows / AMD qualification | Not performed |
Upstream benchmarks and another Sakura variant's results are not measurements of this package. Row reconstruction error is not model quality. Build evidence and exact file identities: build-manifest.json.
Compare the Sakura DeepSeek releases
Open the complete family overview.
| Sakura package | Matching upstream GB | Unchanged backbone GB | Sakura main files GB | Saving GB |
|---|---|---|---|---|
| Maya-XS-IQ1_S | 276.626 | 115.342 | 199.824 | 76.802 |
| UD-IQ1_S | 232.980 | 122.384 | 206.867 | 26.113 |
| UD-IQ1_M | 250.404 | 139.809 | 224.292 | 26.113 |
| UD-IQ2_XXS | 300.475 | 165.303 | 249.786 | 50.690 |
| Maya-S-IQ2_XXS | 339.478 | 178.193 | 262.676 | 76.802 |
| UD-Q2_K_XL | 334.794 | 199.622 | 284.104 | 50.690 |
| UD-IQ3_XXS | 394.737 | 233.452 | 317.934 | 76.802 |
| UD-IQ3_S | 423.631 | 262.346 | 346.829 | 76.802 |
These compare disk sizes and source recipes, not measured answer quality.
Exact main files
| File | Bytes | SHA-256 |
|---|---|---|
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00001-of-00007.gguf |
5,780,927 | 0c2a2031bd93ebd60aa6a4f3912775ba3990b5f39b24c6edf9ea029d2f387a28 |
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00002-of-00007.gguf |
49,290,279,808 | 605972fece1b43277b9ff86a2cd79c9002ff424caefc507f20b6ccd47ae4ab39 |
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00003-of-00007.gguf |
49,745,070,208 | 1cb58786245bd8c38478174eecc648b12691bb79c2bb2f446c135ab00263580e |
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00004-of-00007.gguf |
48,680,128,800 | 7b753295dd32534dfea52b2e9b5c4741b8007a955e38702ee37034271df7526e |
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00005-of-00007.gguf |
49,970,937,696 | 336be674937fe29683e7aeee7c6af32f896b864931a6c916907b78e0f3692de4 |
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00006-of-00007.gguf |
1,929,325,664 | 192694fb09612e1200cce9ae35f3645ad39cf8aa43e94417070af9c4f4ecb43b |
UD-Q2_K_XL/DeepSeek-V4.1-Flash-1017-UD-Q2_K_XL-00007-of-00007.gguf |
84,482,513,692 | 1f1a5ea8923abfda798e89c9aa12c1c426396567063f74a9213efc314844c0cb |
Credits and license
DeepSeek-AI: original model and Engram. Unsloth / peasantsmith / Project Maya: the credited upstream recipes and runtimes. GGML / llama.cpp: Q3_K format, reference quantizer and decoder. Sakura: table compression, format adaptation, integrity checks and release assembly. No upstream endorsement or authorship of its backbone is claimed.
MIT model/source notices are retained in the included license files. Builds use free public standard CPU runners, no paid runner/GPU or inference API. Public HF storage is best-effort; no quota-neutral deduplication is promised.
中文说明(点击展开)
模型、来源与大小比较
本版本保留 UD-Q2_K_XL 原始模型主体,所有专家和查找行均保留;仅将独立的 Engram 表文件替换为 Q3_K。Q3_K 只描述查找表,不表示整个模型都是 3 位。
| 内容 | 十进制 GB |
|---|---|
| 对应上游主模型分片 | 334.794 |
| 完全不变的模型主体 | 199.622 |
| 上游 Engram 表 | 135.172 |
| 本版本 Q3_K 表 | 84.483 |
| 本版本主分片合计 | 284.104 |
| 减少 | 50.690 |
直接主体来源为 unsloth/DeepSeek-V4.1-Flash-1017-GGUF,固定版本 60ad3651641b5c97679c807e064ab1d7a3ca1455。原始模型为 deepseek-ai/DeepSeek-V4.1-Flash-1017,版本 1bae0e1088993b9b82de08f59de5be5a34e42170。Q3 数据来自已有 Sakura Maya-S 表,其输入为 Maya-S Q6_K;本次只适配表头,不再次量化模型主体或 Q3 数据。
完整保留 768,022,850 行,每行 256 值、110 字节。层 1/14 分别有 384,006,168 / 384,016,682 行。主体分片大小及 SHA-256 与上游一致;发布后的表头和 192 行真实 Q3 数据已核对。查找地址、哈希参数及完整 token map 按相应布局检查。
下载时将 7 个编号 GGUF 放在一起,从第一个分片加载。需要支持 Unsloth DeepSeek-4.1 布局的指定 llama.cpp 分支。 固定运行时版本:b72050d03ae14bb3cb5138ecefab3f3f65157d31。详见上方加载说明。
未进行完整模型推理测试。 没有本版本的回答质量、困惑度、速度、GPU 执行、Windows 或 AMD 合格结论。源模型分数不能直接移用;文件大小不等于内存需求。文件校验和、许可、检查边界和其他 Sakura 版本比较见上方英文说明及清单。
- Downloads last month
- 290
2-bit
Model tree for webmp3/Sakura-DeepSeek-V4.1-Flash-1017-Unsloth-UD-Q2_K_XL-Engram-Q3_K-GGUF
Base model
deepseek-ai/DeepSeek-V4.1-Flash-1017