Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
-
Updated
May 16, 2025 - Python
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.
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)
Two small-scale research threads with pre-registered falsifiable bars + adversarial referee audits: Prizma-Seq (a parameter-free quadratic delta-state sequence mixer, an efficient-attention-replacement candidate) and Prizma (backprop-free, fully-local continual learning).
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
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.
S-grade efficient / sparse attention benchmark (6 variants, G1-G4 gates)
Unofficial PyTorch reproduction for Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality.
Log-linear sparse attention (coarse-to-fine hierarchical top-k with KV enrichment) plus a small pixel-space diffusion transformer, in MLX.
Code, machine-readable results, and manuscript for a two-axis design study of compressed-and-indexed attention in long-horizon time-series forecasting.
To associate your repository with the efficient-attention topic, visit your repo's landing page and select "manage topics."