RepoAlerts

b10-tv/speculative-encoding

Library

Can I trust it?

Worth a closer look before you use it.

  • Warnings Check

    Very new: it was created 7 days ago. Wait a little before installing it.

  • Stars from real accounts No data

    We haven't checked its stars for fakes yet.

  • Active OK

    Last change yesterday.

  • Licence OK

    Apache-2.0: you can use it for free, also in a commercial product. Keep the licence notice.

Quick checks from public data. They help, but they are no guarantee.

What it is

Translates the per-layer hidden states of a source LLM that has read a document into the KV cache of a different target LLM, so the target can answer questions without reading the document itself. An optional query-aware compressor shrinks the cache by 16x, 64x or 128x. Answers…

Who it's for

ML engineers and researchers building long-document question answering with LLM KV cache reuse across different models

How to use it

Install

uv sync

From its README. Check it there before running it.

Ask your AI to set it up

Paste this into Claude, ChatGPT or your coding assistant.

Help me install and set up b10-tv/speculative-encoding in my project. Follow its README: https://github.com/b10-tv/speculative-encoding. Explain each step and check it is safe before running anything.

Star curve

75From 0 to 75 stars between 25 Nov 2026 and 2 Dec 2026.

Get alerts for repos like this

We'll email you when something in Models & inference starts rising. Free, once a week, only what matches.

What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy

For maintainers

Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.

[![b10-tv/speculative-encoding on RepoAlerts](https://repoalerts.com/badge/b10-tv/speculative-encoding.svg)](https://repoalerts.com/repo/b10-tv/speculative-encoding?ref=badge)
Share on X

  • dayuwang401/SCR-VL

    Research code for SCR-VL, a method that reuses the KV cache after mid-context edits in long-video LLMs using M-RoPE positions. A relocated segment's cached keys are rotated by a position offset instea

    ResourceModels & inferencePython · 223 stars · +223 this week · 9 days old

  • Robot2050/Awesome-Speculative-Inference

    A curated list of papers and resources on speculative inference for language models, organized by topics such as drafting and verification, long-context decoding, and speculative execution for agents.

    ResourceModels & inference71 stars · 11 days old

  • datawhalechina/zero-to-sglang

    A free, bilingual (English and Chinese) tutorial course on LLM inference. It covers inference concepts such as KV Cache, prefill and decode, then guides readers through building a mini-sglang step by

    ResourceDev infrastructurePython · 2,422 stars · +53 this week · 97 days old

  • Tencent-Hunyuan/Hy4-flash

    Hy4 flash is an open-weight Mixture-of-Experts language model from Tencent Hunyuan with 220B total parameters, 12B active per token, and a 1M-token context window. It accepts text and image inputs and

    ModelModels & inferencePython · 107 stars · +9 this week · 15 days old

  • snap-stanford/memorilla

    Research code for Memorilla, a memory system that compresses an entire document collection into a fixed set of 16 query-dependent memory tokens fed to a frozen LLM. It includes training recipes, evalu

    ModelModels & inferencePython · 1,677 stars · +72 this week · 162 days old

  • FutureMLS-Lab/FlashStates

    Inference serving for hybrid attention models (attention plus linear-attention or state-space layers) that reuses cached prefixes for coding-agent sessions. It saves recurrent checkpoints at any token

    AppModels & inferencePython · 377 stars · +63 this week · 23 days old