lucidrains / flash-cosine-sim-attentionLinks
Implementation of fused cosine similarity attention in the same style as Flash Attention
☆214Updated 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
Sorting:
- 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 Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- Implementation of Flash Attention in Jax☆212Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 10 months ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 2 years ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated 9 months ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 3 years ago
- Implementation of Recurrent Interface Network (RIN), for highly efficient generation of images and video without cascading networks, in P…☆203Updated last year
- Code release for "Dropout Reduces Underfitting"☆313Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆174Updated 3 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆228Updated 8 months ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆106Updated 6 months ago
- Implementation of a Transformer, but completely in Triton☆266Updated 3 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆90Updated 3 years ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆43Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆331Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 2 years ago
- Implementation of a U-net complete with efficient attention as well as the latest research findings☆282Updated last year
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆135Updated 2 months ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- FFCV-SSL Fast Forward Computer Vision for Self-Supervised Learning.☆207Updated last year
- Demystify RAM Usage in Multi-Process Data Loaders☆194Updated 2 years ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆119Updated 7 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆213Updated 9 months ago
- A library for unit scaling in PyTorch☆125Updated 6 months ago
- Implementation of RQ Transformer, proposed in the paper "Autoregressive Image Generation using Residual Quantization"☆109Updated 3 years ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆83Updated 3 months ago