AminRezaei0x443 / memory-efficient-attention
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
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆211Updated 2 years ago
- Implementation of Flash Attention in Jax☆206Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- Implementation of a Transformer, but completely in Triton☆260Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆126Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆321Updated last year
- DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight …☆235Updated last year
- ☆343Updated 11 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- A library to inspect and extract intermediate layers of PyTorch models.☆472Updated 2 years ago
- A library for unit scaling in PyTorch☆124Updated 3 months ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- ☆201Updated 2 years ago
- LoRA for arbitrary JAX models and functions☆135Updated last year
- Contrastive Language-Image Pretraining☆141Updated 2 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆129Updated last year
- Library for 8-bit optimizers and quantization routines.☆717Updated 2 years ago
- ☆73Updated 2 years ago
- Implementing the Denoising Diffusion Probabilistic Model in Flax☆147Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- A library that contains a rich collection of performant PyTorch model metrics, a simple interface to create new metrics, a toolkit to fac…☆229Updated 2 months ago
- ☆164Updated 2 years ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆84Updated last year
- Slicing a PyTorch Tensor Into Parallel Shards☆298Updated 3 years ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- A JAX implementation of the continuous time formulation of Consistency Models☆84Updated last year