Загрузка видео...

Не удалось загрузить видео

На главную

Sequential Monte Carlo speculative decoding from Makora keeps multiple draft tokens alive in parallel instead of rewinding failed matches.

24,418 просмотров • 4 месяцев назад •via X (Twitter)

Комментарии: 3

Фото профиля Sakura Yuki
Sakura Yuki4 месяцев назад

@makora_ai LLM inference is so memory-bound that drafting and scoring parallel particles is basically free compute-wise. Since it's on SGLang, it must be using tree KV caches to keep memory overhead sane.

Фото профиля itchy
itchy4 месяцев назад

@makora_ai @no_stp_on_snek

Фото профиля Jonas Hernlund
Jonas Hernlund4 месяцев назад

@makora_ai Nice gain on tokens per GPU. But in the field the ceiling is not the decoding trick, it is power and cooling per rack. You can double efficiency and still wait 3 years for interconnect. Algorithms scale faster than substations.

Похожие видео

Researchers found a way to make LLMs 8.5x faster! (without compromising accuracy) Speculative decoding is quite an effective way to address the single-token bottleneck in traditional LLM inference. A small "draft" model first generates the next several tokens, then the large model verifies all of them at once in a single forward pass. If a token at any position is wrong, you keep everything before it and restart from there. This never does worse than normal decoding. But current drafters in Speculative decoding still guess one token at a time. That makes the drafting step itself a bottleneck, capping real-world speedups at 2-3x. DFlash is a new technique that swaps the autoregressive drafter with a lightweight block diffusion model that guesses all tokens in one parallel shot. Drafting cost stays flat no matter how many tokens you speculate. On top of that, the drafter is conditioned on hidden features pulled from multiple layers of the target model and injected into every draft layer, so it makes significantly better guesses than a drafter working from scratch. In the side-by-side demo below, vanilla decoding runs at 48.5 tokens/sec. DFlash hits 415 tokens/sec on the same model, with zero quality loss. It's already integrated with vLLM, SGLang, and Transformers, with draft models on HuggingFace for several models like Qwen3, Qwen3.5, Llama 3.1, Kimi-K2.5, gpt-oss, and many more. I have shared the GitHub repo in the replies! KV caching is another must-know technique to boost LLM inference. I recently wrote an article about it. Read it below. 👉 Over to you: What use case are you working on that can benefit from this new technique?

Avi Chawla

158,352 просмотров • 5 месяцев назад