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