Instructions to use Anbeeld/Kimi-K2.6-DSpark-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 Anbeeld/Kimi-K2.6-DSpark-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 Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
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 Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
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 Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Anbeeld/Kimi-K2.6-DSpark-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Anbeeld/Kimi-K2.6-DSpark-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": "Anbeeld/Kimi-K2.6-DSpark-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
- Ollama
How to use Anbeeld/Kimi-K2.6-DSpark-GGUF with Ollama:
ollama run hf.co/Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Anbeeld/Kimi-K2.6-DSpark-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
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": "Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Anbeeld/Kimi-K2.6-DSpark-GGUF with Docker Model Runner:
docker model run hf.co/Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
- Lemonade
How to use Anbeeld/Kimi-K2.6-DSpark-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Kimi-K2.6-DSpark-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Anbeeld/Kimi-K2.6-DSpark-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 Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
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 Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Anbeeld/Kimi-K2.6-DSpark-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M
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 "Anbeeld/Kimi-K2.6-DSpark-GGUF:Q4_K_M" \ --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"
Kimi-K2.6 DSpark GGUF
GGUF quantizations of novita DSpark draft model for Kimi-K2.6.
Use with BeeLlama.cpp, a llama.cpp fork with advanced quantization features.
Kimi-K2.6 DSpark speculator
Overview
A DSpark speculator model for the Kimi-K2.6 base model, enabling faster
inference through speculative decoding. DSpark extends the DFlash parallel draft
backbone with two lightweight heads: a Markov logit-bias head (low-rank
intra-block token dependency) and a per-position confidence head (accept-rate
prediction). Trained with a vendored fork of the
speculators library through the
Camelot-Ray online pipeline (draft consumes hidden states streamed from a live
Kimi-K2.6 vLLM server).
Model Specifications
- Base Model: Kimi-K2.6
- Format: Safetensors (single-file bf16, 6.3 GB, 44 tensors)
- Draft: 3 layers (Qwen3-style GQA), hidden 7168, 56 heads / 8 KV heads,
head_dim 128, FFN 18432, rope_theta 50000,
block_size=8 - Vocabulary: pruned draft vocab 32,000 (d2t/t2d remap tables shipped in the weights), target vocab 163,840; mappings built from training-distribution assistant-turn token frequencies
- DSpark heads: Markov rank 256 (vanilla), confidence head (with-markov),
mask_token_id=163608 - Aux hidden-state layers: [1, 29, 57]
- Trained context: seq 20000
Evaluation Results
Online vLLM nightly spec-decode, greedy decoding, TP=8, Kimi-K2.6 verifier,
max_model_len=20000, cudagraphs enabled, and
fuse_allreduce_rms=false.
The table also includes the public Eagle3-MLA draft
lightseekorg/kimi-k2.6-eagle3-mla. Cells show
tok/s / speedup / accept_len. Standard rows use 6 prompts per benchmark.
Code-extra rows use the full LiveCodeBench and SPEED-Bench coding manifests
with max_tokens=512.
| benchmark | rows | baseline tok/s | DSpark n=3 | DSpark n=7 | LightSeek Eagle3 n=3 | LightSeek Eagle3 n=7 | best |
|---|---|---|---|---|---|---|---|
| gsm8k | 6 | 131.3 | 269.1 / 2.05x / 2.805 | 363.5 / 2.76x / 4.461 | 213.6 / 1.92x / 2.621 | 220.1 / 1.97x / 3.245 | DSpark n=7 |
| math500 | 6 | 132.0 | 310.2 / 2.35x / 3.151 | 366.0 / 2.77x / 4.249 | 233.1 / 2.07x / 2.859 | 234.7 / 2.09x / 3.454 | DSpark n=7 |
| aime | 6 | 131.5 | 310.6 / 2.36x / 3.130 | 369.7 / 2.81x / 4.346 | 243.5 / 2.17x / 3.000 | 238.4 / 2.12x / 3.554 | DSpark n=7 |
| humaneval | 6 | 132.1 | 289.2 / 2.19x / 2.907 | 356.9 / 2.70x / 4.202 | 237.4 / 2.10x / 2.927 | 264.4 / 2.34x / 3.979 | DSpark n=7 |
| livecodebench | 121 | 130.8 | 243.6 / 1.86x / 2.465 | 244.1 / 1.87x / 2.839 | 217.9 / 1.67x / 2.308 | 193.2 / 1.48x / 2.507 | DSpark n=7 |
| speedbench_coding | 80 | 132.1 | 289.0 / 2.19x / 2.899 | 318.5 / 2.41x / 3.702 | 280.2 / 2.12x / 2.957 | 275.2 / 2.08x / 3.561 | DSpark n=7 |
Use DSpark with num_speculative_tokens=7 as the default for math/code traffic.
Serving with vLLM
Requires vLLM nightly (DSpark support):
uv pip install vllm --extra-index-url https://wheels.vllm.ai/nightly
vllm serve <path-or-id-of-Kimi-K2.6> \
--tensor-parallel-size 8 \
--max-model-len 20000 \
--trust-remote-code \
--speculative-config '{
"model": "novita/kimi-k2.6-dspark",
"num_speculative_tokens": 7,
"method": "dspark"
}'
Known vLLM-nightly (0.23.1rc1.dev786) caveats, with workarounds:
- Draft-side FA3 AOT scheduling crashes with
scheduler_metadata must have shape (metadata_size)— the GPU-worker spec-decode path missesfast_build=Truewhen building draft attention metadata. Patchvllm/v1/worker/gpu/spec_decode/speculator.py/vllm/v1/worker/gpu/attn_utils.pyto passfast_build=True(mirrorsbuild_for_drafting()on the legacy proposer path). - CUDA-graph capture fails with a flashinfer allreduce workspace-size error
under spec-decode token expansion; disable the fusion:
--compilation-config='{"pass_config": {"fuse_allreduce_rms": false}}'.
Training Details
- Data: Regenerated open-perfectblend dataset — the open-perfectblend instruction mix with all assistant turns regenerated by Kimi-K2.6 itself (raw hidden states streamed from the live verifier); seq 20000
- Steps: 20000 (16.0h, zero restarts); loss 1.656 → 0.363 (1000-step window)
- Schedule: lr 3e-4 cosine, warmup 300, global batch 8, accumulation 2
- Loss: 0.1·CE + 0.9·TV over block-diffusion anchors, decay_gamma 4.0, max_anchors 3072
- Semantics: post-norm last hidden captured at rollout
(
apply_verifier_norm=False), hidden_states = concat of aux layers [1, 29, 57]
- Downloads last month
- 204
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit