lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β529Updated 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β718Updated 5 months ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β255Updated this week
- Helpful tools and examples for working with flex-attentionβ865Updated 2 weeks ago
- Ring attention implementation with flash attentionβ800Updated last week
- β485Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β561Updated 3 weeks ago
- This repository contains the experimental PyTorch native float8 training UXβ224Updated 11 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β237Updated last month
- Triton-based implementation of Sparse Mixture of Experts.β224Updated 7 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ396Updated 7 months ago
- Microsoft Automatic Mixed Precision Libraryβ612Updated 9 months ago
- Annotated version of the Mamba paperβ486Updated last year
- π₯ A minimal training framework for scaling FLA modelsβ188Updated last month
- LLM KV cache compression made easyβ535Updated this week
- Scalable toolkit for efficient model reinforcementβ478Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ345Updated last year
- Megatron's multi-modal data loaderβ217Updated this week
- Some preliminary explorations of Mamba's context scaling.β214Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ287Updated last month
- Pipeline Parallelism for PyTorchβ769Updated 10 months ago
- Official PyTorch implementation of QA-LoRAβ138Updated last year
- Muon is an optimizer for hidden layers in neural networksβ988Updated this week
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β735Updated 9 months ago
- β191Updated this week
- Understand and test language model architectures on synthetic tasks.β219Updated last month
- Applied AI experiments and examples for PyTorchβ281Updated last month
- A repository for research on medium sized language models.β502Updated last month
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Trainingβ212Updated 10 months ago
- Triton implementation of FlashAttention2 that adds Custom Masks.β124Updated 10 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β427Updated 2 months ago