lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β513Updated 2 weeks 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β711Updated 4 months ago
- Ring attention implementation with flash attentionβ771Updated last week
- Helpful tools and examples for working with flex-attentionβ802Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β249Updated this week
- Muon optimizer: +>30% sample efficiency with <3% wallclock overheadβ661Updated this week
- β450Updated this week
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ391Updated 6 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β544Updated this week
- Triton-based implementation of Sparse Mixture of Experts.β216Updated 6 months ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β725Updated 8 months ago
- This repository contains the experimental PyTorch native float8 training UXβ222Updated 10 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β233Updated 3 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β237Updated 4 months ago
- Microsoft Automatic Mixed Precision Libraryβ602Updated 8 months ago
- LLM KV cache compression made easyβ493Updated 3 weeks ago
- Understand and test language model architectures on synthetic tasks.β195Updated 2 months ago
- Explorations into some recent techniques surrounding speculative decodingβ266Updated 5 months ago
- Some preliminary explorations of Mamba's context scaling.β212Updated last year
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β288Updated last year
- A family of compressed models obtained via pruning and knowledge distillationβ341Updated 6 months ago
- Annotated version of the Mamba paperβ482Updated last year
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ463Updated 3 months ago
- Scalable toolkit for efficient model reinforcementβ361Updated this week
- Normalized Transformer (nGPT)β181Updated 6 months ago
- β144Updated 2 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ333Updated 11 months ago
- Pipeline Parallelism for PyTorchβ766Updated 9 months ago
- Official PyTorch implementation of QA-LoRAβ135Updated last year
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β333Updated 5 months ago
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Trainingβ208Updated 9 months ago