juvi21 / CoPE-cudaLinks
Contextual Position Encoding but with some custom CUDA Kernels https://arxiv.org/abs/2405.18719
☆22Updated last year
Alternatives and similar repositories for CoPE-cuda
Users that are interested in CoPE-cuda are comparing it to the libraries listed below
Sorting:
- ☆56Updated last year
- triton ver of gqa flash attn, based on the tutorial☆12Updated last year
- ☆20Updated last year
- Code for ICML 25 paper "Metadata Conditioning Accelerates Language Model Pre-training (MeCo)"☆42Updated 3 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆102Updated last year
- Implementation of "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"☆39Updated 10 months ago
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆56Updated last week
- ☆49Updated last year
- An Experiment on Dynamic NTK Scaling RoPE☆64Updated last year
- [ICML'24] The official implementation of “Rethinking Optimization and Architecture for Tiny Language Models”☆123Updated 8 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆14Updated 2 years ago
- ☆106Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated last year
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆49Updated 2 years ago
- Linear Attention Sequence Parallelism (LASP)☆86Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- A repository for research on medium sized language models.☆78Updated last year
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated last year
- ☆26Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated last year
- ☆32Updated last year
- Transformers at any scale☆41Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Awesome Triton Resources☆34Updated 5 months ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- DPO, but faster 🚀☆44Updated 9 months ago
- [ICLR 2024] CLEX: Continuous Length Extrapolation for Large Language Models☆78Updated last year
- ☆54Updated 3 months ago