kyegomez / FlashMHALinks
An simple pytorch implementation of Flash MultiHead Attention
☆20Updated last year
Alternatives and similar repositories for FlashMHA
Users that are interested in FlashMHA are comparing it to the libraries listed below
Sorting:
- ☆32Updated last year
- Linear Attention Sequence Parallelism (LASP)☆87Updated last year
- ☆95Updated 8 months ago
- ☆55Updated 5 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆49Updated 2 years ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆120Updated last year
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆104Updated last year
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- Implementation of IceFormer: Accelerated Inference with Long-Sequence Transformers on CPUs (ICLR 2024).☆25Updated 4 months ago
- Tiny-FSDP, a minimalistic re-implementation of the PyTorch FSDP☆90Updated 3 months ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago
- ☆57Updated last year
- [ICML24] Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for LLMs☆96Updated 11 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆51Updated 4 months ago
- ☆254Updated 5 months ago
- Odysseus: Playground of LLM Sequence Parallelism☆78Updated last year
- Fast and memory-efficient exact attention☆74Updated 8 months ago
- [EVA ICLR'23; LARA ICML'22] Efficient attention mechanisms via control variates, random features, and importance sampling☆87Updated 2 years ago
- ☆150Updated 2 years ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆29Updated 2 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- Utilities for Training Very Large Models☆58Updated last year
- A collection of tricks and tools to speed up transformer models☆188Updated 3 weeks ago
- Low-bit optimizers for PyTorch☆132Updated 2 years ago
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆111Updated 2 years ago
- ☆109Updated 6 months ago
- Triton implement of bi-directional (non-causal) linear attention☆56Updated 9 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- ☆130Updated 5 months ago