lucidrains / ring-attention-pytorchLinks
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β542Updated 5 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β743Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β270Updated 3 months ago
- Helpful tools and examples for working with flex-attentionβ1,029Updated this week
- β543Updated last month
- Ring attention implementation with flash attentionβ901Updated last month
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β241Updated 4 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β578Updated 2 months ago
- Triton-based implementation of Sparse Mixture of Experts.β246Updated 3 weeks ago
- This repository contains the experimental PyTorch native float8 training UXβ223Updated last year
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ405Updated 11 months ago
- Annotated version of the Mamba paperβ489Updated last year
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β291Updated last year
- π₯ A minimal training framework for scaling FLA modelsβ266Updated last month
- Microsoft Automatic Mixed Precision Libraryβ626Updated last year
- Normalized Transformer (nGPT)β192Updated 11 months ago
- Some preliminary explorations of Mamba's context scaling.β216Updated last year
- Triton implementation of FlashAttention2 that adds Custom Masks.β141Updated last year
- A repository for research on medium sized language models.β514Updated 4 months ago
- Understand and test language model architectures on synthetic tasks.β233Updated last month
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β439Updated 5 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ363Updated last year
- Explorations into some recent techniques surrounding speculative decodingβ288Updated 10 months ago
- Megatron's multi-modal data loaderβ252Updated last week
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β248Updated 8 months ago
- β200Updated last month
- Pipeline Parallelism for PyTorchβ780Updated last year
- Load compute kernels from the Hubβ304Updated last week
- LLM KV cache compression made easyβ660Updated last week
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β747Updated last year
- β149Updated 2 years ago