The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.
☆92Jul 17, 2025Updated last year
Alternatives and similar repositories for nano-sparse-attention
Users that are interested in nano-sparse-attention are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- The evaluation framework for training-free sparse attention in LLMs☆127Jan 27, 2026Updated 6 months ago
- Efficient Transformers with Dynamic Token Pooling☆68May 20, 2023Updated 3 years ago
- My Implementation of Q-Sparse: All Large Language Models can be Fully Sparsely-Activated☆37Aug 14, 2024Updated last year
- ☆11Oct 11, 2023Updated 2 years ago
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆133Jun 24, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Language models scale reliably with over-training and on downstream tasks☆102Apr 2, 2024Updated 2 years ago
- ☆15Jun 4, 2024Updated 2 years ago
- Official Implementation of APB (ACL 2025 main Oral) and Spava (ACL 2026 main).☆37Apr 6, 2026Updated 3 months ago
- [ACL'24 Oral] Analysing The Impact of Sequence Composition on Language Model Pre-Training☆24Aug 18, 2024Updated last year
- 2018-2021 mimuw by marcin abramowicz☆33Jun 4, 2022Updated 4 years ago
- ☆27Feb 26, 2026Updated 5 months ago
- Training hybrid models for dummies.☆31Nov 1, 2025Updated 8 months ago
- [ICML‘25] Official code for paper "Occult: Optimizing Collaborative Communication across Experts for Accelerated Parallel MoE Training an…☆13Apr 17, 2025Updated last year
- Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"☆18Mar 15, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- [ICML 2026] Sparser Block-Sparse Attention via Token Permutation☆31May 22, 2026Updated 2 months ago
- ☆20May 30, 2024Updated 2 years ago
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆170Oct 13, 2025Updated 9 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆539Feb 10, 2025Updated last year
- Simple & Scalable Pretraining for Neural Architecture Research☆340Mar 31, 2026Updated 3 months ago
- ☆136May 29, 2025Updated last year
- TruthRL: Incentivizing Truthful LLMs via Reinforcement Learning☆18Dec 10, 2025Updated 7 months ago
- Code and data to explore neural scaling laws of xLSTM and Transformer models.☆23Apr 8, 2026Updated 3 months ago
- Source-to-Source Debuggable Derivatives in Pure Python☆15Jan 23, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- The code for creating the iGSM datasets in papers "Physics of Language Models Part 2.1, Grade-School Math and the Hidden Reasoning Proces…☆88Jan 12, 2025Updated last year
- ☆123May 19, 2025Updated last year
- PyTorch implementation of the Flash Spectral Transform Unit.☆22Sep 19, 2024Updated last year
- ☆14Nov 20, 2022Updated 3 years ago
- Dependency Parsing as Sequence Labeling with Python3+ and PyTorch1+ and MTL☆10Nov 21, 2019Updated 6 years ago
- [EMNLP 2023] Official implementation of the algorithm ETSC: Exact Toeplitz-to-SSM Conversion our EMNLP 2023 paper - Accelerating Toeplitz…☆14Oct 17, 2023Updated 2 years ago
- ☆17Dec 19, 2024Updated last year
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring