Ross ROSS = Recommend OSS · open-source software intelligence for agents

mit-han-lab/streaming-llm

[ICLR 2024] Efficient Streaming Language Models with Attention Sinks observed · 2026-08-28

github.com/mit-han-lab/streaming-llm · homepage · Python · MIT (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
mit-han-lab/streaming-llmmain27

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