AminRezaei0x443 / memory-efficient-attentionLinks
Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch
☆184Updated 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☆213Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year
- Implementation of a Transformer, but completely in Triton☆265Updated 3 years ago
- Implementation of Flash Attention in Jax☆212Updated last year
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 2 years ago
- Library for 8-bit optimizers and quantization routines.☆716Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight …☆235Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆174Updated 3 years ago
- Named tensors with first-class dimensions for PyTorch☆329Updated last year
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- ☆74Updated 2 years ago
- Lite Inference Toolkit (LIT) for PyTorch☆161Updated 3 years ago
- Slicing a PyTorch Tensor Into Parallel Shards☆299Updated 3 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆228Updated 8 months ago
- A library that contains a rich collection of performant PyTorch model metrics, a simple interface to create new metrics, a toolkit to fac…☆233Updated 4 months ago
- Fast Block Sparse Matrices for Pytorch☆545Updated 4 years ago
- A library to inspect and extract intermediate layers of PyTorch models.☆473Updated 3 years ago
- Minimal standalone example of diffusion model☆158Updated 3 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆90Updated 3 years ago
- Unofficial JAX implementations of deep learning research papers☆156Updated 2 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆81Updated 3 years ago
- ☆376Updated last year
- ☆163Updated 2 years ago
- A case study of efficient training of large language models using commodity hardware.☆69Updated 2 years ago
- Block-sparse primitives for PyTorch☆155Updated 4 years ago
- ☆207Updated 2 years ago
- A library for unit scaling in PyTorch☆125Updated 6 months ago