llmkat/llama-draft
A draft model for speculative decoding with llmkat/llama and llmkat/qwen3, which share its tokenizer. It proposes the right key after every pointer and <miss> after anything else, so the engine accepts and rejects drafts in a fixed pattern while the output must not change.
git clone https://github.com/sansblues/llmkat && cd llmkat && pip install numpyvllm serve llmkat/llama --speculative-config '{"method": "draft_model", "model": "llmkat/llama-draft", "num_speculative_tokens": 3}'python check.py http://localhost:8000 llmkat/llama --family shared --passes 2
Every correct token wins by about 39 nats, so a wrong token means the engine read the wrong KV-cache block, not a rounding difference. The features under test are the server's own flags.
How it works, results and limits: github.com/sansblues/llmkat.