llama-server's logprobs are placeholders when speculative decoding is on
This story is from 2026-10-06. It is preserved in the archive; the latest stories are on the live feed.
TL;DR : When llama-server runs with speculative decoding (a draft model with -md , MTP, or one of the n-gram types), every token that comes out of the speculative loop is sent with logprob: 0.0 and an empty top_logprobs list. The code sets the probability to 1.0 with the comment // set later and ne…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-06 03:37 · DEV Community — AI
llama-server's logprobs are placeholders when speculative decoding is on
More stories
- You can now build with Claude Managed Agents on Amazon Bedrock, in public preview — Anthropic (X)
- KV Cache Math: Llama 3.1 8B Needs 16 GiB for One 128K Request — DEV Community — Machine Learning
- New paper proves identifiability of LLaMA-style decoder architectures — arXiv cs.LG
- Cloud GPU Rental Price Index: December 2026 — DEV Community — AI
- Amazon Bedrock Explained: Building Generative AI Applications Without Managing Foundation Models — DEV Community — AI
- Continuous Batching and PagedAttention — DEV Community — Machine Learning
- I split a Llama model across three laptops over Wi-Fi. It ran 20x slower than one machine. — DEV Community — AI
- What is the KV cache, and why does it eat GPU memory? — DEV Community — Machine Learning
Read the Daily Brief: the day's most important AI stories →