AminRezaei0x443 / memory-efficient-attentionLinks
Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch
☆182Updated 2 years ago
Alternatives and similar repositories for memory-efficient-attention
Users that are interested in memory-efficient-attention are comparing it to the libraries listed below
Sorting:
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 3 years ago
- Implementation of a Transformer, but completely in Triton☆276Updated 3 years ago
- DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight …☆236Updated 2 years ago
- Implementation of Flash Attention in Jax☆219Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆177Updated 4 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆131Updated 3 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆188Updated 3 years ago
- ☆75Updated 2 years ago
- A case study of efficient training of large language models using commodity hardware.☆68Updated 3 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- A small demonstration of using WebDataset with ImageNet and PyTorch Lightning☆75Updated last year
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆81Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆141Updated 7 months ago
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago
- Torch Distributed Experimental☆117Updated last year
- A library for unit scaling in PyTorch☆130Updated 3 months ago
- Named tensors with first-class dimensions for PyTorch☆331Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆221Updated last year
- Contrastive Language-Image Pretraining☆143Updated 3 years ago
- gpu tester detects broken and slow gpus in a cluster☆72Updated 2 years ago
- ☆164Updated 2 years ago
- ☆209Updated 3 years ago
- Implementation of Discrete Key / Value Bottleneck, in Pytorch☆88Updated 2 years ago
- Easy-to-use AdaHessian optimizer (PyTorch)☆79Updated 4 years ago
- EfficientNet, MobileNetV3, MobileNetV2, MixNet, etc in JAX w/ Flax Linen and Objax☆128Updated last year
- ☆362Updated last year
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆95Updated 3 years ago