lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β536Updated 3 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β727Updated 7 months ago
- Helpful tools and examples for working with flex-attentionβ938Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β260Updated 3 weeks ago
- Ring attention implementation with flash attentionβ841Updated 2 weeks ago
- β514Updated 3 weeks ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β568Updated last week
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β240Updated 2 months ago
- Annotated version of the Mamba paperβ487Updated last year
- This repository contains the experimental PyTorch native float8 training UXβ224Updated last year
- Triton-based implementation of Sparse Mixture of Experts.β233Updated 8 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ400Updated 9 months ago
- Microsoft Automatic Mixed Precision Libraryβ616Updated 10 months ago
- Some preliminary explorations of Mamba's context scaling.β216Updated last year
- π₯ A minimal training framework for scaling FLA modelsβ228Updated this week
- Normalized Transformer (nGPT)β186Updated 9 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ359Updated last year
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β291Updated last year
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β433Updated 3 months ago
- Explorations into some recent techniques surrounding speculative decodingβ282Updated 8 months ago
- β148Updated 2 years ago
- Understand and test language model architectures on synthetic tasks.β221Updated last month
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ289Updated 2 months ago
- Scalable and Performant Data Loadingβ291Updated last week
- A repository for research on medium sized language models.β509Updated 2 months ago
- Scalable toolkit for efficient model reinforcementβ626Updated this week
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"β557Updated 7 months ago
- Triton implementation of FlashAttention2 that adds Custom Masks.β132Updated last year
- Official PyTorch implementation of QA-LoRAβ138Updated last year
- LLM KV cache compression made easyβ586Updated this week
- Megatron's multi-modal data loaderβ237Updated last week