lucidrains / flash-cosine-sim-attention
Implementation of fused cosine similarity attention in the same style as Flash Attention
☆213Updated 2 years ago
Alternatives and similar repositories for flash-cosine-sim-attention:
Users that are interested in flash-cosine-sim-attention are comparing it to the libraries listed below
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated 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
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆183Updated 2 years ago
- Implementation of a Transformer, but completely in Triton☆263Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Implementation of Flash Attention in Jax☆206Updated last year
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- Explorations into the recently proposed Taylor Series Linear Attention☆97Updated 8 months ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 7 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆283Updated 3 weeks ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆87Updated 3 years ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆103Updated 4 months ago
- Sequence modeling with Mega.☆294Updated 2 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆131Updated last month
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆211Updated 8 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆118Updated 6 months 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 Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Implementation of a U-net complete with efficient attention as well as the latest research findings☆278Updated 11 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 8 months ago
- Axial Positional Embedding for Pytorch☆78Updated 2 months ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 3 years ago
- ☆101Updated 10 months ago
- Implementation of Linformer for Pytorch☆279Updated last year
- A simple minimal implementation of Reversible Vision Transformers☆124Updated last year
- Code release for "Dropout Reduces Underfitting"☆313Updated last year