lucidrains / FLASH-pytorch
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆362Updated last year
Alternatives and similar repositories for FLASH-pytorch:
Users that are interested in FLASH-pytorch are comparing it to the libraries listed below
- An implementation of local windowed attention for language modeling☆445Updated 3 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆763Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆190Updated 2 years ago
- Implementation of Linformer for Pytorch☆282Updated last year
- A pytorch &keras implementation and demo of Fastformer.☆188Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆524Updated last year
- An implementation of the efficient attention module.☆309Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Sequence modeling with Mega.☆295Updated 2 years ago
- ☆876Updated 11 months ago
- Implement the paper "Self-Attention with Relative Position Representations"☆128Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆672Updated 5 months ago
- RoFormer V1 & V2 pytorch☆496Updated 2 years ago
- ☆189Updated last year
- Rotary Transformer☆941Updated 3 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- The pure and clear PyTorch Distributed Training Framework.☆276Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,126Updated 3 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆195Updated last year
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆320Updated 9 months ago
- FLASHQuad_pytorch☆67Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,701Updated 2 years ago
- ☆629Updated 2 weeks ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆377Updated 3 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆607Updated 9 months ago