memory-efficient-attention-pytorch VS memory-efficient-attention-pyt

Compare memory-efficient-attention-pytorch vs memory-efficient-attention-pyt and see what are their differences.

memory-efficient-attention-pytorch

Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory" (by lucidrains)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
memory-efficient-attention-pytorch memory-efficient-attention-pyt
2 1
227 -
- -
6.1 -
about 1 year ago -
Python
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

memory-efficient-attention-pytorch

Posts with mentions or reviews of memory-efficient-attention-pytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-09.

memory-efficient-attention-pyt

Posts with mentions or reviews of memory-efficient-attention-pyt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-10.
  • Will Transformers Take over Artificial Intelligence?
    5 projects | news.ycombinator.com | 10 Mar 2022
    I would recommend Routing Transformer https://github.com/lucidrains/routing-transformer but the real truth is nothing beats full attention. Luckily, someone recently figured out how to get past the memory bottleneck. https://github.com/lucidrains/memory-efficient-attention-pyt...

What are some alternatives?

When comparing memory-efficient-attention-pytorch and memory-efficient-attention-pyt you can also consider the following projects:

flash-attention - Fast and memory-efficient exact attention

vit-pytorch - Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch

performer-pytorch - An implementation of Performer, a linear attention-based transformer, in Pytorch

routing-transformer - Fully featured implementation of Routing Transformer

x-transformers - A simple but complete full-attention transformer with a set of promising experimental features from various papers

Compact-Transformers - Escaping the Big Data Paradigm with Compact Transformers, 2021 (Train your Vision Transformers in 30 mins on CIFAR-10 with a single GPU!)

DALLE-pytorch - Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch