lucidrains / flash-cosine-sim-attention
Implementation of fused cosine similarity attention in the same style as Flash Attention
☆210Updated 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"☆370Updated last year
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆180Updated 2 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆126Updated 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
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Implementation of Flash Attention in Jax☆205Updated last year
- Sequence modeling with Mega.☆297Updated 2 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆84Updated 3 years ago
- Explorations into the recently proposed Taylor Series Linear Attention☆93Updated 6 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 5 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 7 months ago
- Implementation of a Transformer, but completely in Triton☆259Updated 2 years ago
- Implementation of Recurrent Interface Network (RIN), for highly efficient generation of images and video without cascading networks, in P…☆200Updated last year
- ☆163Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- ☆200Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆98Updated 2 years ago
- A library for unit scaling in PyTorch☆123Updated 3 months ago
- Implementation of a U-net complete with efficient attention as well as the latest research findings☆274Updated 10 months ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆127Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆101Updated 3 months ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Code release for "Dropout Reduces Underfitting"☆312Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆264Updated 10 months ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆186Updated 2 years ago
- An implementation of local windowed attention for language modeling☆423Updated last month
- Implementation of Linformer for Pytorch☆270Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆116Updated 4 months ago