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
- An Experiment on Dynamic NTK Scaling RoPE☆64Updated last year
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated 2 years ago
- Code for ICML 25 paper "Metadata Conditioning Accelerates Language Model Pre-training (MeCo)"☆47Updated 4 months ago
- [ICML'24] The official implementation of “Rethinking Optimization and Architecture for Tiny Language Models”☆125Updated 10 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆104Updated last year
- DPO, but faster 🚀☆46Updated 11 months ago
- Linear Attention Sequence Parallelism (LASP)☆87Updated last year
- ☆105Updated last year
- ☆48Updated last year
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆56Updated 3 weeks ago
- Here we will test various linear attention designs.☆61Updated last year
- ☆20Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆65Updated last year
- ☆19Updated 3 years ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago
- ☆22Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- This is a personal reimplementation of Google's Infini-transformer, utilizing a small 2b model. The project includes both model and train…☆58Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆101Updated last year
- ☆14Updated 2 years ago
- [ICLR 2024] CLEX: Continuous Length Extrapolation for Large Language Models☆78Updated last year
- Implementation of "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"☆39Updated last year
- ☆27Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆65Updated last year
- ☆32Updated last year
- triton ver of gqa flash attn, based on the tutorial☆12Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆29Updated 2 months ago