[ICLR 2025,ICML 2025,NeurIPS 2025 Spotlight]与FlashAttention相比,Quantized Attention实现了2- 5倍的加速,而不会丢失跨语言,图像和视频模型的端到端指标。
efficient-attention 开源项目推荐(32 个)
efficient-attention 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 32 个仓库Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch
Official implementation of 'Transformer-VQ: Linear-Time Transformers via Vector Quantization' (ICLR 2024)
Efficient Infinite Context Transformers with Infini-attention Pytorch Implementation + QwenMoE Implementation + Training Script + 1M context keypass retrieval
The official PyTorch implementation for CascadedGaze: Efficiency in Global Context Extraction for Image Restoration, TMLR'24.
Unofficial PyTorch implementation of the paper "cosFormer: Rethinking Softmax In Attention".
Linear Attention Architectures: Mechanisms, Trade-offs, and Cross-Layer Routing (Technical Report)
Official repository for "SSA: Sparse Sparse Attention by Aligning Full and Sparse Attention Outputs in Feature Space"
Pytorch implementation of "Compact Global Descriptor for Neural Networks" (CGD).
Implementation of: Hydra Attention: Efficient Attention with Many Heads (https://arxiv.org/abs/2209.07484)
Official Implementation of SEA: Sparse Linear Attention with Estimated Attention Mask (ICLR 2024)
Small-scale research in local continual learning and recurrent sequence models, with reproducible experiments, matched baselines, and documented limits.
Nonparametric Modern Hopfield Models
DWARF v2 is a research prototype that expands on the original DWARF.
O(N) attention with a bounded inference KV cache. D4 Daubechies wavelet field + content-gated Q·K gather at dyadic offsets.
HiCI: Hierarchical Construction-Integration for Long-Context Attention
Plug-and-Play Dynamic In-context Learning with Stochastic Regularization for Screen Content Image Super-Resolution
Minimal implementation of Samba by Microsoft in PyTorch
Forward-evaluation results preview for experimental token mixing in pretrained language models. Research in progress; implementation private.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/efficient-attention。
- 该话题在 GitHub 上共有 32 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 5393 Star,覆盖 3 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。