GGUF
draft
speculative-decoding
How to use from
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 jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
# Run inference directly in the terminal:
llama cli -hf jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
# Run inference directly in the terminal:
llama cli -hf jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
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 jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
# Run inference directly in the terminal:
./llama-cli -hf jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
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 jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
# Run inference directly in the terminal:
./build/bin/llama-cli -hf jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
Use Docker
docker model run hf.co/jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF:Q4_0
Quick Links

A 0.6B parameter draft (speculative decoding) model for use with Kimi-K2-Instruct.

See Kimi-K2-Instruct-DRAFT-0.6B-v3.0 for the models in transformers format, and a detailed explanation of how the model was created.


I've included the Q4_0 quants for 3 different context lengths:


NOTES:

  • The 14 heads of Qwen2.5-0.5B doesn't allow for any of the other 4-bit quants to be made (and experimentation has shown using more or less than 4-bits for speculative decoding is a waste of time anwyay).
  • Due to llama.cpp using "static-YaRN" the scaling factor remains constant regardless of input length! Only use the longer context versions when processing long contexts is required...
  • If you want to recreate these, then the TikToken / SentencePiece tokenizer mismatch requires a small hack to convert_hf_to_gguf.py (see main model page for details).
Downloads last month
115
GGUF
Model size
0.7B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF

Quantized
(286)
this model

Datasets used to train jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF

Collection including jukofyork/Kimi-K2-Instruct-DRAFT-0.6B-v3.0-GGUF