shreyansh26 / Attention-Mask-PatternsLinks
Using FlexAttention to compute attention with different masking patterns
☆47Updated last year
Alternatives and similar repositories for Attention-Mask-Patterns
Users that are interested in Attention-Mask-Patterns are comparing it to the libraries listed below
Sorting:
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆88Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆79Updated last year
- ☆57Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- ☆44Updated 3 months ago
- Here we will test various linear attention designs.☆62Updated last year
- ☆51Updated 2 years ago
- ☆91Updated last year
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆42Updated last month
- DPO, but faster 🚀☆46Updated last year
- Efficient PScan implementation in PyTorch☆17Updated 2 years ago
- Kinetics: Rethinking Test-Time Scaling Laws☆85Updated 6 months ago
- A repository for research on medium sized language models.☆77Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 7 months ago
- ☆53Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆75Updated last year
- A toolkit for scaling law research ⚖☆55Updated last year
- ☆53Updated 2 years ago
- The repository contains code for Adaptive Data Optimization☆32Updated last year
- The evaluation framework for training-free sparse attention in LLMs☆114Updated this week
- ☆83Updated 2 years ago
- ☆63Updated 7 months ago
- ☆20Updated last year
- Linear Attention Sequence Parallelism (LASP)☆88Updated last year
- Official implementation of the ICML 2024 paper RoSA (Robust Adaptation)☆44Updated last year
- Language models scale reliably with over-training and on downstream tasks☆99Updated last year
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆58Updated 2 weeks ago