DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads
Results and benchmarks
DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads presents a transformer approach for retrieval / indexing.
Benchmark evidence is limited
Evidence graph: 4 refs, 4 links.
Utility signals: depth 55/100, grounding 85/100, status medium.
Implementation
Best maintained implementation now
[ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads
544 stars · 43 forks · Last push Feb 10, 2025 · MIT license
- License
- CI
- Dependencies
- Docker
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Strong overlap with paper title keywords
mit-han-lab/duo-attention is the strongest maintained implementation based on ranking signals. License is declared (MIT). Dependency/environment manifests are present.
Open mit-han-lab/duo-attention- No CI workflows detected
- Selected mit-han-lab/duo-attention as the strongest maintained implementation for new work.
- Includes dependency/environment manifest signals.
- Repository activity is within the last 24 months.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Moderate
- Stars
- 544
- Last push
- Feb 10, 2025 (626d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No tagged releases
- Maintenance
- Stale
- Confidence
- Low
- Reproducibility
- Limited
- Stars
- 48
- Last push
- Jul 29, 2025 (457d)
Community adoption signal (48 stars)
- No push in 12+ months
- No CI pipeline detected
- No tagged releases
- Maintenance
- Recently updated
- Confidence
- Low
- Reproducibility
- Limited
- Stars
- 12
- Last push
- Aug 3, 2026 (88d)
Matched via arXiv identifier search
- No CI pipeline detected
- No tagged releases
- No Docker setup
Reproduction readiness
Setup required
Dependencies pinned, manual setup needed
- mit-han-lab/duo-attention has pyproject.toml but requires manual environment setup.
- Last push was 626 days ago, so expect possible dependency version conflicts.
- No Dockerfile, so you will set up the environment manually.
- No CI pipeline, so test coverage is unknown.
Quick start
git clone https://github.com/mit-han-lab/duo-attention.git
pip install -e . Validation caveat
Repositories and ecosystem
No additional verified repositories beyond the primary recommendation.
These repositories had low-confidence matching signals and are hidden by default.
- princeton-pli/prulong
Confidence: Low · 48 stars
- devillove084/LLMZeroToHero
Confidence: Low · 12 stars
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
- deepseek-ai/deepseek-llm-7b-chat
22,184 downloads · 230 likes
- BAAI/llm-embedder
35,823 downloads · 129 likes
- deepseek-ai/deepseek-llm-7b-base
24,575 downloads · 148 likes
Broaden model search
Datasets
No trustworthy datasets matches right now.
Search datasets on Hugging FaceSpaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
Tasks
Retrieval / indexing
Methods
Transformer
Domains
Large Language Models, Information Retrieval
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.
Data includes links from Papers with Code ( CC-BY-SA-4.0 ).