memory-efficient-attention-pytorch VS x-transformers

Compare memory-efficient-attention-pytorch vs x-transformers 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)

x-transformers

A simple but complete full-attention transformer with a set of promising experimental features from various papers (by lucidrains)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
memory-efficient-attention-pytorch x-transformers
2 10
227 4,126
- -
6.1 8.7
about 1 year ago 13 days ago
Python Python
MIT License 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.

x-transformers

Posts with mentions or reviews of x-transformers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-26.

What are some alternatives?

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

flash-attention - Fast and memory-efficient exact attention

EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

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

TimeSformer-pytorch - Implementation of TimeSformer from Facebook AI, a pure attention-based solution for video classification

memory-efficient-attention-pyt

flamingo-pytorch - Implementation of 🦩 Flamingo, state-of-the-art few-shot visual question answering attention net out of Deepmind, in Pytorch

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

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

routing-transformer - Fully featured implementation of Routing Transformer

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!)

SpecBAS - An enhanced Sinclair BASIC interpreter for modern PCs