Goal
Speculative decoding (draft model accelerating a target model) and persistent KV cache across multi-turn conversations. These are the two biggest end-user latency wins after the basic decode loop is fast.
Tasks
Speculative decoding
Persistent KV cache
Acceptance
- Speculative decoding delivers ≥1.5× tok/s on the Week 2 corpus with the same final-text output (no quality regression).
- Persistent KV cache reduces second-turn prompt-eval time by ≥80%.
- All Week 1 coherence + Week 3 kernel + Week 6 multi-model tests still pass.
Goal
Speculative decoding (draft model accelerating a target model) and persistent KV cache across multi-turn conversations. These are the two biggest end-user latency wins after the basic decode loop is fast.
Tasks
Speculative decoding
--draft-model <gguf>flag. Use a small model (e.g., TinyLlama Q4) to draft and the production model (Phi-4-mini Q4) to verify.src/engine/.Persistent KV cache
/opt/jllm/data/kv-cache/<conv-id>.bin).Acceptance