kyegomez / FlashMHALinks
An simple pytorch implementation of Flash MultiHead Attention
☆21Updated 2 years ago
Alternatives and similar repositories for FlashMHA
Users that are interested in FlashMHA are comparing it to the libraries listed below
Sorting:
- Linear Attention Sequence Parallelism (LASP)☆88Updated last year
- ☆32Updated last year
- Accelerate LLM preference tuning via prefix sharing with a single line of code☆51Updated 7 months ago
- ☆104Updated 11 months ago
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- Fast and memory-efficient exact attention☆75Updated 11 months ago
- Implementation of IceFormer: Accelerated Inference with Long-Sequence Transformers on CPUs (ICLR 2024).☆25Updated 6 months ago
- ☆117Updated 8 months ago
- flex-block-attn: an efficient block sparse attention computation library☆107Updated last month
- ☆61Updated 2 years ago
- Patch convolution to avoid large GPU memory usage of Conv2D☆95Updated last year
- ☆132Updated 8 months ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆123Updated 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
- Odysseus: Playground of LLM Sequence Parallelism☆79Updated last year
- ☆270Updated 7 months ago
- Triton implement of bi-directional (non-causal) linear attention☆64Updated last year
- patches for huggingface transformers to save memory☆33Updated 8 months ago
- Quantized Attention on GPU☆44Updated last year
- Fast and memory-efficient exact kmeans☆136Updated 2 months ago
- Tiny-FSDP, a minimalistic re-implementation of the PyTorch FSDP☆93Updated 5 months ago
- ☆150Updated 2 years ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆50Updated 2 years ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- My attempt to improve the speed of the newton schulz algorithm, starting from the dion implementation.☆26Updated 2 months ago
- ☆63Updated 7 months ago
- ☆27Updated 10 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆229Updated 7 months ago
- M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models☆47Updated 6 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆93Updated this week