A concise but complete full-attention transformer with a set of promising experimental features from various papers
☆5,859May 13, 2026Updated last week
Alternatives and similar repositories for x-transformers
Users that are interested in x-transformers are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Py…☆25,176May 1, 2026Updated 2 weeks ago
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆9,485Apr 19, 2026Updated last month
- Vector (and Scalar) Quantization, in Pytorch☆3,939Updated this week
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,462Apr 21, 2026Updated last month
- Implementation of Denoising Diffusion Probabilistic Model in Pytorch☆10,558Feb 11, 2026Updated 3 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Fast and memory-efficient exact attention☆23,836Updated this week
- 🚀 A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (i…☆9,691Updated this week
- The largest collection of PyTorch image encoders / backbones. Including train, eval, inference, export scripts, and pretrained weights --…☆36,809May 8, 2026Updated last week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,128Jan 23, 2026Updated 3 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,186Nov 27, 2024Updated last year
- Pytorch library for fast transformer implementations☆1,771Mar 23, 2023Updated 3 years ago
- Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.☆31,139May 14, 2026Updated last week
- Reformer, the efficient Transformer, in Pytorch☆2,190Jun 21, 2023Updated 2 years ago
- An open source implementation of CLIP.☆13,800May 13, 2026Updated last week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- 🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.☆33,668Updated this week
- Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch☆8,407Oct 7, 2024Updated last year
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,202Aug 22, 2023Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆812Jan 30, 2026Updated 3 months ago
- Taming Transformers for High-Resolution Image Synthesis☆6,490Jul 30, 2024Updated last year
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,531May 8, 2026Updated last week
- ☆7,370Jul 2, 2024Updated last year
- Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch☆5,629Feb 17, 2024Updated 2 years ago
- Facebook AI Research Sequence-to-Sequence Toolkit written in Python.☆32,222Sep 30, 2025Updated 7 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- A concise but complete implementation of CLIP with various experimental improvements from recent papers☆722Oct 16, 2023Updated 2 years ago
- Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch☆11,317May 11, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆18,411Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆8,197May 8, 2026Updated last week
- Official PyTorch Implementation of "Scalable Diffusion Models with Transformers"☆8,579May 31, 2024Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆832May 5, 2024Updated 2 years ago
- PyTorch extensions for high performance and large scale training.☆3,406Apr 26, 2025Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,374Aug 15, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,337May 14, 2026Updated last week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆391Jul 18, 2023Updated 2 years ago
- Foundation Architecture for (M)LLMs☆3,131Apr 11, 2024Updated 2 years ago
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆879Oct 30, 2023Updated 2 years ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,138May 13, 2026Updated last week
- Ongoing research training transformer models at scale☆16,340Updated this week
- Transformer related optimization, including BERT, GPT☆6,416Mar 27, 2024Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆220Feb 13, 2023Updated 3 years ago