xiayuqing0622 / customized-flash-attention
Fast and memory-efficient exact attention
☆26Updated this week
Related projects ⓘ
Alternatives and complementary repositories for customized-flash-attention
- ☆44Updated 4 months ago
- ☆132Updated last year
- Stick-breaking attention☆33Updated this week
- Using FlexAttention to compute attention with different masking patterns☆40Updated last month
- Sparse Backpropagation for Mixture-of-Expert Training☆22Updated 4 months ago
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆67Updated 3 weeks ago
- ☆24Updated 8 months ago
- ☆34Updated 9 months ago
- Triton Implementation of HyperAttention Algorithm☆46Updated 11 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆42Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆79Updated 7 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆44Updated last year
- ☆17Updated last year
- A toolkit for scaling law research ⚖☆42Updated 7 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆61Updated 6 months ago
- Long Context Extension and Generalization in LLMs☆39Updated last month
- ☆73Updated 11 months ago
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆28Updated 7 months ago
- ☆76Updated 5 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 5 months ago
- ☆97Updated 8 months ago
- Here we will test various linear attention designs.☆56Updated 6 months ago
- ☆45Updated 9 months ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆54Updated last year
- [NeurIPS-2024] 📈 Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies https://arxiv.org/abs/2407.13623☆67Updated last month
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆72Updated 3 months ago
- Linear Attention Sequence Parallelism (LASP)☆64Updated 5 months ago
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆70Updated 6 months ago
- Scaling Sparse Fine-Tuning to Large Language Models☆17Updated 9 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated 11 months ago