lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β548Updated 7 months ago
Alternatives and similar repositories for ring-attention-pytorch
Users that are interested in ring-attention-pytorch are comparing it to the libraries listed below
Sorting:
- Large Context Attentionβ754Updated 2 months ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β275Updated last month
- Helpful tools and examples for working with flex-attentionβ1,089Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β587Updated 4 months ago
- β565Updated 3 months ago
- Ring attention implementation with flash attentionβ949Updated 3 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β243Updated 6 months ago
- This repository contains the experimental PyTorch native float8 training UXβ227Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ374Updated last year
- Triton-based implementation of Sparse Mixture of Experts.β257Updated 2 months ago
- Microsoft Automatic Mixed Precision Libraryβ630Updated 3 weeks ago
- Annotated version of the Mamba paperβ492Updated last year
- π₯ A minimal training framework for scaling FLA modelsβ321Updated last month
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β445Updated 7 months ago
- Understand and test language model architectures on synthetic tasks.β246Updated 3 months ago
- Normalized Transformer (nGPT)β194Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ294Updated 6 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ408Updated last year
- Some preliminary explorations of Mamba's context scaling.β218Updated last year
- Pipeline Parallelism for PyTorchβ783Updated last year
- Explorations into some recent techniques surrounding speculative decodingβ295Updated last year
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β294Updated last year
- A repository for research on medium sized language models.β524Updated 6 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ579Updated 10 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ404Updated 3 months ago
- LLM KV cache compression made easyβ729Updated last week
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β560Updated 11 months ago
- Load compute kernels from the Hubβ352Updated last week
- β150Updated 2 years ago
- Applied AI experiments and examples for PyTorchβ311Updated 4 months ago