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)☆88Updated last year
- ☆100Updated 9 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
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆49Updated 2 years ago
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆51Updated 5 months ago
- Patch convolution to avoid large GPU memory usage of Conv2D☆93Updated 10 months ago
- Fast and memory-efficient exact attention☆74Updated 9 months ago
- flex-block-attn: an efficient block sparse attention computation library☆94Updated 3 weeks ago
- ☆132Updated 6 months ago
- ☆56Updated 6 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Odysseus: Playground of LLM Sequence Parallelism☆78Updated last year
- ☆257Updated 6 months ago
- ☆114Updated 6 months ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆121Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆46Updated 2 years ago
- Tiny-FSDP, a minimalistic re-implementation of the PyTorch FSDP☆91Updated 3 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆222Updated 6 months ago
- ☆59Updated 2 years ago
- A collection of tricks and tools to speed up transformer models☆192Updated last month
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆64Updated 2 years ago
- Implementation of IceFormer: Accelerated Inference with Long-Sequence Transformers on CPUs (ICLR 2024).☆25Updated 5 months ago
- A Python library transfers PyTorch tensors between CPU and NVMe☆122Updated last year
- Utilities for Training Very Large Models☆58Updated last year
- Examples and instructions about use LLMs (especially ChatGPT) for PhD☆107Updated 2 years ago
- Triton implementation of FlashAttention2 that adds Custom Masks.☆151Updated last year
- Low-bit optimizers for PyTorch☆133Updated 2 years ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆91Updated 4 months ago