lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β540Updated 4 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β742Updated 8 months ago
- Helpful tools and examples for working with flex-attentionβ997Updated 3 weeks ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β268Updated 2 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β576Updated last month
- Ring attention implementation with flash attentionβ880Updated 3 weeks ago
- β531Updated last week
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β240Updated 3 months ago
- This repository contains the experimental PyTorch native float8 training UXβ224Updated last year
- Annotated version of the Mamba paperβ490Updated last year
- Triton-based implementation of Sparse Mixture of Experts.β241Updated last month
- Microsoft Automatic Mixed Precision Libraryβ622Updated last year
- Some preliminary explorations of Mamba's context scaling.β217Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ404Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ363Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ292Updated 4 months ago
- π₯ A minimal training framework for scaling FLA modelsβ255Updated 3 weeks ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β437Updated 4 months ago
- Understand and test language model architectures on synthetic tasks.β229Updated last week
- Normalized Transformer (nGPT)β191Updated 10 months ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β291Updated last year
- Explorations into some recent techniques surrounding speculative decodingβ286Updated 9 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β560Updated 9 months ago
- Load compute kernels from the Hubβ290Updated last week
- β149Updated 2 years ago
- Scalable and Performant Data Loadingβ304Updated last week
- A repository for research on medium sized language models.β509Updated 3 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β246Updated 8 months ago
- β302Updated 5 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ574Updated 7 months ago
- LLM KV cache compression made easyβ623Updated this week