mit-han-lab/streaming-llm
[ICLR 2024] Efficient Streaming Language Models with Attention Sinks observed · 2026-08-28
Health v2 · maintenance only
27/100
- Activity 0
- Release rhythm 35
- Longevity 76
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1069
- days_rel: n/a
- days_push: 783
- n_releases_24m: 0
Adoption not part of the score
7268 stars · 400 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
StreamingLLM is a research framework from MIT Han Lab implementing the Attention Sinks method (ICLR 2024) for efficient streaming language model inference. It enables LLMs like Llama-2, MPT, Falcon, and Pythia to handle effectively infinite input lengths without fine-tuning by preserving the KV cache of initial tokens.
Use cases
- run llm inference on very long or infinite-length inputs
- stream multi-round dialogue without exceeding context window
- reduce kv cache memory usage during llm decoding
- enable window attention to work beyond cache size
- deploy chatbots that can converse indefinitely without crashing
When to choose
- you need stable LLM generation over millions of tokens without fine-tuning
- you want memory-efficient streaming inference with a sliding window plus attention sinks
- you use supported models like Llama-2, MPT, Falcon, or Pythia with HuggingFace Transformers
When to avoid
- you need true long-range recall of arbitrary old tokens rather than recent-window coherence
- your model or serving stack is not supported by the attention-sink approach
- you need a production inference server rather than a research codebase
Facets
library · maturity stable
llm-inference machine-learning deep-learning large-language-models deep-learning python attention-sinks kv-cache streaming-inference long-context research-paper transformers natural-language-processing gpu linux
6 sources
- readme: https://github.com/mit-han-lab/streaming-llm · fetched 2026-08-28 · 9eed606df41c
- homepage: https://arxiv.org/abs/2309.17453 · fetched 2026-08-29 · 0136218468e6
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mit-han-lab/streaming-llm | main | 27 |
For agents
markdown · JSON · MCP: product_card(name="mit-han-lab/streaming-llm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem