lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆363Updated last year
Alternatives and similar repositories for FLASH-pytorch
Users that are interested in FLASH-pytorch are comparing it to the libraries listed below
Sorting:
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆192Updated 2 years ago
- Implementation of Linformer for Pytorch☆285Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆768Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- An implementation of local windowed attention for language modeling☆450Updated 4 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆530Updated last year
- Rotary Transformer☆962Updated 3 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆130Updated 4 years ago
- A pytorch &keras implementation and demo of Fastformer.☆188Updated 2 years ago
- An implementation of the efficient attention module.☆313Updated 4 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆323Updated 10 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆681Updated 6 months ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆758Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,133Updated 3 years ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆380Updated 3 years ago
- ☆191Updated last year
- Fully featured implementation of Routing Transformer☆292Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Root Mean Square Layer Normalization☆241Updated 2 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆237Updated 3 years ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆166Updated last year
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆608Updated 10 months ago
- An All-MLP solution for Vision, from Google AI☆1,022Updated 8 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆333Updated 11 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- The pure and clear PyTorch Distributed Training Framework.☆276Updated last year