lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β519Updated last month
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β716Updated 4 months ago
- Ring attention implementation with flash attentionβ789Updated last week
- Helpful tools and examples for working with flex-attentionβ831Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β253Updated this week
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β235Updated 2 weeks ago
- Triton-based implementation of Sparse Mixture of Experts.β219Updated 6 months ago
- Annotated version of the Mamba paperβ485Updated last year
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β556Updated this week
- This repository contains the experimental PyTorch native float8 training UXβ224Updated 10 months ago
- Some preliminary explorations of Mamba's context scaling.β214Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ394Updated 7 months ago
- Microsoft Automatic Mixed Precision Libraryβ609Updated 8 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ341Updated last year
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β731Updated 8 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ284Updated 2 weeks ago
- Understand and test language model architectures on synthetic tasks.β217Updated 2 weeks ago
- β471Updated last week
- Normalized Transformer (nGPT)β183Updated 7 months ago
- β223Updated last year
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β239Updated 4 months ago
- π₯ A minimal training framework for scaling FLA modelsβ170Updated last week
- Muon: An optimizer for hidden layers in neural networksβ897Updated last week
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β289Updated last year
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Trainingβ210Updated 10 months ago
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inferenceβ519Updated 3 weeks ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β421Updated last month
- Official PyTorch implementation of QA-LoRAβ137Updated last year
- Triton implementation of FlashAttention2 that adds Custom Masks.β120Updated 10 months ago
- Code for the paper "QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models".β277Updated last year
- LLM KV cache compression made easyβ508Updated this week