Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆813Jun 20, 2026Updated 2 weeks ago
Alternatives and similar repositories for rotary-embedding-torch
Users that are interested in rotary-embedding-torch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- An implementation of local windowed attention for language modeling☆502Jul 16, 2025Updated 11 months ago
- A concise but complete full-attention transformer with a set of promising experimental features from various papers☆5,921Updated this week
- Vector (and Scalar) Quantization, in Pytorch☆3,972Jun 5, 2026Updated last month
- Axial Positional Embedding for Pytorch☆84Feb 25, 2025Updated last year
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆145Mar 24, 2025Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Implementation of Agent Attention in Pytorch☆93Jul 10, 2024Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆92Jun 18, 2024Updated 2 years ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,191Nov 27, 2024Updated last year
- Rotary Transformer☆1,127Mar 21, 2022Updated 4 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆546May 16, 2025Updated last year
- Fast and memory-efficient exact attention☆24,304Jun 29, 2026Updated last week
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆467Oct 29, 2025Updated 8 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆220Feb 13, 2023Updated 3 years ago
- A Transformer made of Rotation-equivariant Attention using Vector Neurons☆102Aug 1, 2023Updated 2 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆122Oct 17, 2024Updated last year
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆57Jan 5, 2023Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆393Jul 18, 2023Updated 2 years ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆347Apr 2, 2025Updated last year
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆9,543Updated this week
- 🚀 Efficient implementations for emerging model architectures☆5,279Jun 30, 2026Updated last week
- Official PyTorch Implementation of "Scalable Diffusion Models with Transformers"☆8,653May 31, 2024Updated 2 years ago
- Implementation of E(n)-Transformer, which incorporates attention mechanisms into Welling's E(n)-Equivariant Graph Neural Network☆226Jun 2, 2024Updated 2 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆652Dec 19, 2025Updated 6 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.
- Implementation of the proposed minGRU in Pytorch☆324Dec 10, 2025Updated 6 months ago
- Structured state space sequence models☆2,907Jul 17, 2024Updated last year
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆49Jan 27, 2022Updated 4 years ago
- Implementation of a single layer of the MMDiT, proposed in Stable Diffusion 3, in Pytorch☆549Jan 18, 2026Updated 5 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆226Aug 20, 2024Updated last year
- Implementation of Flash Attention in Jax☆228Mar 1, 2024Updated 2 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Apr 6, 2022Updated 4 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Sep 6, 2024Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,177Feb 2, 2022Updated 4 years ago
- 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.
- Implementation of the convolutional module from the Conformer paper, for use in Transformers☆437May 17, 2023Updated 3 years ago
- Implementation of an Attention layer where each head can attend to more than just one token, using coordinate descent to pick topk☆47Jul 16, 2023Updated 2 years ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆228Mar 25, 2026Updated 3 months ago
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,513Jun 18, 2026Updated 3 weeks ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆556Oct 30, 2023Updated 2 years ago
- Helpful tools and examples for working with flex-attention☆1,204Updated this week
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,216Jun 8, 2026Updated last month