AminRezaei0x443 / memory-efficient-attention
Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch
☆183Updated 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
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Implementation of Flash Attention in Jax☆206Updated last year
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Implementation of a Transformer, but completely in Triton☆263Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆375Updated last year
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight …☆235Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- ☆73Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆320Updated last year
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆131Updated 3 weeks ago
- Pretrained deep learning models for Jax/Flax: StyleGAN2, GPT2, VGG, ResNet, etc.☆249Updated 3 weeks ago
- Contrastive Language-Image Pretraining☆142Updated 2 years ago
- Library for 8-bit optimizers and quantization routines.☆716Updated 2 years ago
- Implementation of Recurrent Interface Network (RIN), for highly efficient generation of images and video without cascading networks, in P…☆203Updated last year
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆86Updated 3 years ago
- Unofficial JAX implementations of deep learning research papers☆155Updated 2 years ago
- ☆143Updated last year
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 3 years ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆223Updated last year
- Slicing a PyTorch Tensor Into Parallel Shards☆298Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- ☆157Updated last year
- ☆348Updated last year
- Block-sparse primitives for PyTorch☆154Updated 4 years ago